JP2007174317A - Image processor and program - Google Patents

Image processor and program Download PDF

Info

Publication number
JP2007174317A
JP2007174317A JP2005369879A JP2005369879A JP2007174317A JP 2007174317 A JP2007174317 A JP 2007174317A JP 2005369879 A JP2005369879 A JP 2005369879A JP 2005369879 A JP2005369879 A JP 2005369879A JP 2007174317 A JP2007174317 A JP 2007174317A
Authority
JP
Japan
Prior art keywords
image
code
resolution
unit
read
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.)
Granted
Application number
JP2005369879A
Other languages
Japanese (ja)
Other versions
JP4661580B2 (en
Inventor
Kiyotaka Tsuchibuchi
清隆 土渕
Toshiyuki Yamada
俊之 山田
Yoshitake Matsubara
由武 松原
Hiroshi Hayashi
寛 林
Junichi Shimizu
淳一 清水
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP2005369879A priority Critical patent/JP4661580B2/en
Publication of JP2007174317A publication Critical patent/JP2007174317A/en
Application granted granted Critical
Publication of JP4661580B2 publication Critical patent/JP4661580B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Editing Of Facsimile Originals (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To prevent a code image from deteriorating when scanning or copying an original including the code image such as a two-dimensional code. <P>SOLUTION: A two-dimensional code image is extracted from an image read by a scanner part 1, a two-dimensional code image representing information obtained by decrypting the extracted two-dimensional code image is regenerated, the two-dimensional code image included in the image read by the scanner part 1 is erased, and the regenerated two-dimensional code image is subsequently combined with the image. Since image quality hardly deteriorates in the regenerated two-dimensional code image, high recognizing accuracy is attained with respect to a two-dimensional code image even if, for example, generation copying is performed, and information contents represented by the two-dimensional code image can be maintained. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、スキャナ装置などの画像読取装置によって読み取られた画像に含まれているコード画像を扱う技術に関する。   The present invention relates to a technique for handling a code image included in an image read by an image reading device such as a scanner device.

2次元の図形パターンによって情報を表現した2次元コード(バーコードを含む)の利用が急速に進んでいる。2次元コードの最も典型的な利用形態は、URL(Uniform Resource Locator)を表した2次元コードを広告紙面に印刷しておき、その広告に興味を持ったユーザが、紙面上の2次元コードをデジタルカメラ付きの携帯電話機で読み取らせ、その携帯電話機から上記URLへアクセスさせて広告対象物の詳細を閲覧する、というものである。また、定型の記入フォームに2次元コードを印刷乃至貼付しておき、そのフォームに必要事項を記入した後にスキャンさせることで記入内容を2次元コード単位で自動分類するというような利用形態も多い。例えば特許文献1には、任意の情報を表す2次元コードを原稿の画像部分に重ならないようにして両者を合成するための技術が提案されている。
特開平8−016689公報
The use of two-dimensional codes (including bar codes) expressing information by two-dimensional graphic patterns is rapidly progressing. The most typical usage form of a two-dimensional code is to print a two-dimensional code representing a URL (Uniform Resource Locator) on an advertisement sheet, and a user who is interested in the advertisement downloads the two-dimensional code on the sheet. It is read by a mobile phone with a digital camera, and the URL is accessed from the mobile phone to view details of the advertising object. Also, there are many usage forms in which a two-dimensional code is printed or pasted on a standard entry form, and the entry contents are automatically classified in units of two-dimensional codes by scanning after filling in the necessary items on the form. For example, Patent Document 1 proposes a technique for combining a two-dimensional code representing arbitrary information so as not to overlap an image portion of a document.
JP-A-8-016689

ところで、オフィスや家庭で用いられている一般的な複写機やスキャナの高解像度化が進んでいる。よって、原稿をスキャンして読み取った2次元コードを複写時に忠実に再現することも可能である。ただし、高解像度化が進んだとはいえ、複写前後で画像が寸分違わず完全に一致するわけではない。例えば複写によって得られた複写物を更に複写するというような、いわゆる世代コピーを行った場合、複写を重ねるにつれて2次元コードの再現性はどうしても劣化してしまう。よって、世代コピーを経た2次元コードに対する認識精度は低下する。   By the way, the resolution of general copying machines and scanners used in offices and homes is increasing. Therefore, it is possible to faithfully reproduce a two-dimensional code read by scanning a document at the time of copying. However, even though the resolution has been improved, the images are not exactly the same before and after copying, and do not match completely. For example, when a so-called generation copy is performed such that a copy obtained by copying is further copied, the reproducibility of the two-dimensional code inevitably deteriorates as copying is repeated. Therefore, the recognition accuracy for a two-dimensional code that has undergone generational copy is lowered.

また、雑誌などの印刷物においては、同一ページに写真と2次元コードが混在していることが多い。このような印刷物を複写する場合、写真画像の再現性を重視して複写すると、階調の再現性が優先され、2次元コードの明部(図形)に印刷物紙面の色が入り込んでしまったり、暗部の輪郭がぼやけたりして、複写後の2次元コードに対する認識精度が低下してしまう。一方、文字の再現性を優先してして複写すると、2次元コードの劣化は抑えられるものの、写真画像の再現性が低下してしまうという問題がある。また、複写機で2次元コードが埋め込まれた原稿を複写する際に縮小コピーを指定した場合には、実解像度が低下するため、複写物から2次元コードを解読しづらくなる。
このように、2次元コードを含む原稿を複写した場合、その複写物から2次元コードを正確に読み取ることができなくなる虞がある。
Also, in a printed matter such as a magazine, a photograph and a two-dimensional code are often mixed on the same page. When copying such a printed matter, if the reproduction is made with emphasis on the reproducibility of the photographic image, the reproducibility of the gradation is prioritized, and the color of the printed paper surface enters the bright part (figure) of the two-dimensional code, The outline of the dark part is blurred, and the recognition accuracy for the two-dimensional code after copying is lowered. On the other hand, when copying with priority given to the reproducibility of characters, the deterioration of the two-dimensional code can be suppressed, but there is a problem that the reproducibility of a photographic image is lowered. Further, when a reduced copy is designated when copying a document in which a two-dimensional code is embedded by a copying machine, the actual resolution is lowered, and it is difficult to decode the two-dimensional code from a copy.
As described above, when a document including a two-dimensional code is copied, the two-dimensional code may not be accurately read from the copy.

また、上記と同種の問題は原稿をスキャンする際にも発生する。
一般に、スキャナに対しては600dpiといった高解像度でのスキャンが指示されることは稀であり、大抵の場合、200dpi〜300dpiといった比較的低い解像度が指定されることが多い。解像度が600dpi程度になると、スキャンによって得られた画像データのデータサイズが著しく大きくなり、実用に向かないからである。このように原稿画像が低解像度でスキャンされ、そのスキャン画像がさらに縮小されて利用されるような場合、原稿に埋め込まれていた2次元コードはほとんど解読することができなくなる。更にこの場合、画像として出力した2次元コードをスキャンして初めて解読不能であることが分かるため、例えば2次元コードを含む画像ファイルが電子メールで配布され、オリジナルの原稿をすぐに入手できない場合や、オリジナルの原稿が既に廃棄されていた場合などには、著しく利便性を損なう。一方、2次元コードを認識可能な最低解像度がどの程度であるかを操作者が正確に把握することは困難であり、この問題を回避するためには常に高解像度で原稿をスキャンしなければならないことになる。そのため必要以上の解像度でスキャンすることが多くなり、これによって、記憶リソースを無駄に浪費したり、スキャン画像のデータサイズが大きすぎてメールに添付できないといった2次的な問題が生じてしまう。
The same kind of problem as described above also occurs when scanning a document.
In general, it is rare for a scanner to be instructed to scan at a high resolution of 600 dpi, and in many cases, a relatively low resolution of 200 dpi to 300 dpi is often designated. This is because when the resolution is about 600 dpi, the data size of the image data obtained by scanning becomes extremely large and is not suitable for practical use. As described above, when a document image is scanned at a low resolution and the scanned image is further reduced and used, the two-dimensional code embedded in the document can hardly be decoded. Further, in this case, since it can be understood that the two-dimensional code outputted as an image cannot be decoded for the first time, for example, an image file containing the two-dimensional code is distributed by e-mail and the original manuscript cannot be obtained immediately. When the original manuscript has already been discarded, the convenience is remarkably impaired. On the other hand, it is difficult for an operator to accurately grasp the minimum resolution at which a two-dimensional code can be recognized. In order to avoid this problem, a document must always be scanned at a high resolution. It will be. For this reason, scanning with an unnecessarily high resolution often occurs, which causes secondary problems such as waste of storage resources and the fact that the scanned image data size is too large to be attached to an email.

また、例えば原稿を拡大して複写する場合、その原稿に含まれる2次元コードも拡大されてしまう。2次元コードが拡大されると、例えば携帯電話機でその2次元コードを読み取る場合、2次元コードから相当離れた位置から携帯電話機のデジタルカメラで撮影しなければならず、煩雑である。さらに撮影時のピンぼけや光量不足の問題で2次元コードの認識精度が低下する虞も十分ある。   For example, when an original is enlarged and copied, the two-dimensional code included in the original is also enlarged. When the two-dimensional code is enlarged, for example, when the two-dimensional code is read by a mobile phone, it must be taken with a digital camera of the mobile phone from a position considerably away from the two-dimensional code, which is complicated. Furthermore, there is a possibility that the recognition accuracy of the two-dimensional code is lowered due to a problem of blurring at the time of photographing or insufficient light quantity.

本発明は上述した背景に鑑みてなされたものであり、その目的は、2次元コードなどのコード画像を含む原稿をスキャン或いは複写する際にそのコード画像の劣化を防止することにある。   The present invention has been made in view of the above-described background, and an object thereof is to prevent deterioration of a code image when a document including a code image such as a two-dimensional code is scanned or copied.

上記目的を達成するために、本発明は、画像読取手段によって読み取られた画像から、図形パターンによって情報を表現したコード画像を抽出する抽出手段と、前記抽出手段によって抽出されたコード画像を解読して前記情報を得る解読手段と、前記解読手段によって得られた前記情報を図形パターンによって表現したコード画像を生成するコード再生成手段と、前記画像読取手段によって読み取られた画像に含まれていたコード画像を消去し、前記コード再生成手段によって生成されたコード画像を前記画像読取手段によって読み取られた画像に合成する合成手段と、前記合成手段によってコード画像が合成された画像を表す画像データを出力する出力手段とを備えることを特徴とする画像処理装置を提供する。   To achieve the above object, the present invention provides an extraction means for extracting a code image expressing information by a graphic pattern from an image read by an image reading means, and decoding the code image extracted by the extraction means. A decoding means for obtaining the information, a code regenerating means for generating a code image expressing the information obtained by the decoding means by a graphic pattern, and a code included in the image read by the image reading means An image is erased, and a synthesizing unit for synthesizing the code image generated by the code regenerating unit with an image read by the image reading unit, and image data representing an image obtained by synthesizing the code image by the synthesizing unit are output. And an output means for providing the image processing apparatus.

また、本発明は、コンピュータに、画像読取手段によって読み取られた画像から、図形パターンによって情報を表現したコード画像を抽出する機能と、抽出されたコード画像を解読して前記情報を得る機能と、前記解読によって得られた前記情報を図形パターンによって表現したコード画像を生成する機能と、前記画像読取手段によって読み取られた画像に含まれていた前記コード画像を消去し、前記コード再生成手段によって生成されたコード画像を前記画像読取手段によって読み取られた画像に合成する機能と、前記コード画像が合成された画像を表す画像データを出力する機能とを実現させるプログラムを提供する。   Further, the present invention provides a computer with a function of extracting a code image expressing information from a graphic pattern from an image read by the image reading means, a function of decoding the extracted code image and obtaining the information, A function of generating a code image representing the information obtained by the decoding by a graphic pattern, and erasing the code image included in the image read by the image reading means, and generating by the code regeneration means There is provided a program for realizing a function of synthesizing the coded image with the image read by the image reading means and a function of outputting image data representing the image synthesized with the code image.

以下、本発明に関する実施形態について図面を参照しながら説明する。本実施形態で「2次元コード画像」とは、各種の図形パターンによって情報を表現したコード画像を意味しており、例えばQRコード、PDF417、Data Matrix、Maxi Codeのほか、バーコードも含むものとする。   DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, embodiments of the invention will be described with reference to the drawings. In the present embodiment, the “two-dimensional code image” means a code image expressing information by various graphic patterns, and includes, for example, a bar code in addition to a QR code, PDF417, Data Matrix, and Maxi Code.

(1)実施形態の説明
図1は、本実施形態に係る画像処理装置10の構成の一例を示すブロック図である。この画像処理装置10は、スキャナ装置やプリンタ装置などの複数の装置を備えた複合機に内蔵されている。画像処理装置10は、図1に示すように、CCD等によって原稿上の像を読み取って画像信号を出力するスキャナ部1と、各種キーやタッチパネル等を備えた操作部2と、各種のデータや制御プログラムを記憶するための記憶部3と、ワークメモリとして機能するメモリ4と、この画像処理装置10の全体を制御するCPU5と、液晶ディスプレイ装置のような表示部6と、各種の画像処理を行うためのASIC(Application Specific Integrated Circuit)等が実現する各処理ブロックによって構成された画像処理部7と、用紙に画像を形成する画像形成部8とを備えている。
(1) Description of Embodiment FIG. 1 is a block diagram illustrating an example of a configuration of an image processing apparatus 10 according to the present embodiment. The image processing apparatus 10 is built in a multi-function peripheral having a plurality of devices such as a scanner device and a printer device. As shown in FIG. 1, the image processing apparatus 10 includes a scanner unit 1 that reads an image on a document by a CCD or the like and outputs an image signal, an operation unit 2 that includes various keys, a touch panel, and the like, A storage unit 3 for storing a control program, a memory 4 that functions as a work memory, a CPU 5 that controls the entire image processing apparatus 10, a display unit 6 such as a liquid crystal display device, and various types of image processing. An image processing unit 7 configured by processing blocks realized by an ASIC (Application Specific Integrated Circuit) and the like, and an image forming unit 8 that forms an image on a sheet are provided.

図2は画像処理装置10の動作を説明する図である。
ステップS0はスキャナ部1によって実行され、ステップS1〜S3、S5〜S7,S10、S11は画像処理部によって実行され、ステップS4、S8、S9はCPUによって実行され、ステップS12は画像形成部8によって実行される。以下の説明において処理対象となる原稿を図3の原稿D1とする。この原稿D1には、文字のほかに、2次元コード画像C1が含まれている。また、2次元コード画像C1の周囲には、2次元コード画像を読み取り安くするために、少なくとも所定幅以上の余白領域B1が設けられている。
FIG. 2 is a diagram for explaining the operation of the image processing apparatus 10.
Step S0 is executed by the scanner unit 1, steps S1 to S3, S5 to S7, S10, and S11 are executed by the image processing unit, steps S4, S8, and S9 are executed by the CPU, and step S12 is executed by the image forming unit 8. Executed. In the following description, a document to be processed is referred to as a document D1 in FIG. This document D1 includes a two-dimensional code image C1 in addition to characters. In addition, a margin area B1 having at least a predetermined width is provided around the two-dimensional code image C1 in order to read the two-dimensional code image cheaply.

利用者はまず原稿Dをスキャナ部1にセットし、操作部2を用いて原稿の読み取りを指示する。この操作に応じて、CPU5は、記憶部3から制御プログラムを読み出してメモリ4にロードし、このプログラムに記述された手順に従って処理を開始する。まず、CPU5はスキャナ部1に原稿の読み取りを指示する。スキャナ部1は、この指示に応じて、セットされた原稿に光を照射し、その原稿の像を光学的に読み取って画像信号R,G,Bを生成し、画像処理部7の前段処理ブロックに供給する(ステップS0)。   The user first sets the document D on the scanner unit 1 and instructs the reading of the document using the operation unit 2. In response to this operation, the CPU 5 reads the control program from the storage unit 3 and loads it into the memory 4 and starts processing according to the procedure described in this program. First, the CPU 5 instructs the scanner unit 1 to read a document. In response to this instruction, the scanner unit 1 irradiates the set document with light, optically reads the image of the document, generates image signals R, G, and B, and performs a pre-processing block of the image processing unit 7. (Step S0).

画像処理部7の前段処理ブロックは、この画像信号R,G,Bに対して前段処理を行って画像データL,a,bを生成する(ステップS1)。この前段処理には、ENL補正や、色空間RGBから色空間Labへの色変換処理が含まれている。前段処理を経た画像データは、メモリ4に記憶される(ステップS2)。   The pre-processing block of the image processing unit 7 performs pre-processing on the image signals R, G, and B to generate image data L, a, and b (step S1). This pre-stage processing includes ENL correction and color conversion processing from the color space RGB to the color space Lab. The image data that has undergone the previous stage processing is stored in the memory 4 (step S2).

一方、上述したステップS1からステップS2へと続く処理と並行して、前段処理を経て生成された画像データL,a,bのうちの画像データLに基づいて以下のような処理がなされる。画像処理部7のコード抽出ブロックは、画像データLから2次元コード画像を抽出する(ステップS3)。例えば原稿上で2次元コード画像が配置される位置が予め決まっているような場合は、画像処理部7のコード抽出ブロックはその位置から2次元コード画像を抽出すればよい。また、原稿上で2次元コード画像が配置される位置が決まっていないような場合であっても、画像の中から2次元コード画像を認識してそれを抽出する技術が既にあるので、画像処理部7のコード抽出ブロックはその技術用いて2次元コード画像を抽出すればよい。画像処理部7のコード抽出ブロックは、抽出した2次元コード画像を囲む矩形の位置座標(原稿画像における位置座標)をCPU5に通知する。なお、複数の2次元コード画像が抽出された場合は、画像処理部7のコード抽出ブロックは、それぞれの2次元コード画像を囲む矩形の位置座標をCPU5に通知すればよい。   On the other hand, in parallel with the processing from step S1 to step S2 described above, the following processing is performed based on the image data L of the image data L, a, and b generated through the previous processing. The code extraction block of the image processing unit 7 extracts a two-dimensional code image from the image data L (step S3). For example, when the position where the two-dimensional code image is arranged on the document is determined in advance, the code extraction block of the image processing unit 7 may extract the two-dimensional code image from the position. Even when the position where the two-dimensional code image is arranged on the document is not determined, there is already a technique for recognizing the two-dimensional code image from the image and extracting it. The code extraction block of the unit 7 may extract a two-dimensional code image using the technique. The code extraction block of the image processing unit 7 notifies the CPU 5 of the position coordinates of the rectangle (position coordinates in the document image) surrounding the extracted two-dimensional code image. When a plurality of two-dimensional code images are extracted, the code extraction block of the image processing unit 7 may notify the CPU 5 of the position coordinates of the rectangle surrounding each two-dimensional code image.

前段処理を経て生成された画像データL,a,bのうちの画像データLは、CPU5に対しても供給される。CPU5は、画像処理部7のコード抽出ブロックから通知された位置座標に基づき、上記画像データLが表す画像から2次元コード画像を抽出する。そして、抽出した2次元コード画像を所定のコード解読アルゴリズムに従って解読し、2次元コード画像が表していた情報(例えばURLなど)を得る(ステップS4)。これと同時に、CPU5は、画像処理部7のコード抽出ブロックから通知されていた位置座標を、画像処理部7のコード消去ブロックに通知する。画像処理部7のコード消去ブロックは、画像データL,a,bが表す画像から、通知された位置座標が表す矩形内の画像を消去する(ステップS5)。このときに具体的な消去方法は特に問わないが、例えば2次元コード画像の暗部(図形パターンが存在する領域部分)の周囲に存在する画素(つまり背景部分)の濃度平均値で、その暗部の画素値を置き換える等の方法が考えられる。これによって、図3の原稿D1の画像は、原稿画像D2となる。次に、画像処理部7の後段処理ブロックは、メモリ4に記憶された画像データL,a,bに対して後段処理を実行する(ステップS6)。この後段処理には、エッジ検出処理や、その検出結果に応じてフィルタを選択する処理や、拡大縮小処理や、色空間Labから色空間YMCKへの色変換処理や、階調補正処理などが含まれている。そして、画像処理部7のスクリーン処理ブロックは、2次元コード画像が消去された画像データに対して、誤差拡散やディザ処理などのスクリーン処理を実行する(ステップS7)。   The image data L among the image data L, a, and b generated through the preceding process is also supplied to the CPU 5. The CPU 5 extracts a two-dimensional code image from the image represented by the image data L based on the position coordinates notified from the code extraction block of the image processing unit 7. Then, the extracted two-dimensional code image is decoded according to a predetermined code decoding algorithm to obtain information (for example, URL) represented by the two-dimensional code image (step S4). At the same time, the CPU 5 notifies the code erasure block of the image processing unit 7 of the position coordinates notified from the code extraction block of the image processing unit 7. The code erasure block of the image processing unit 7 erases the image in the rectangle represented by the notified position coordinates from the image represented by the image data L, a, and b (step S5). At this time, a specific erasing method is not particularly limited. For example, the density average value of pixels (that is, the background portion) around the dark portion (region portion where the graphic pattern exists) of the two-dimensional code image is used. A method such as replacing a pixel value can be considered. As a result, the image of the document D1 in FIG. 3 becomes the document image D2. Next, the subsequent processing block of the image processing unit 7 performs the subsequent processing on the image data L, a, and b stored in the memory 4 (step S6). This subsequent processing includes edge detection processing, processing for selecting a filter according to the detection result, enlargement / reduction processing, color conversion processing from the color space Lab to the color space YMCK, tone correction processing, and the like. It is. The screen processing block of the image processing unit 7 executes screen processing such as error diffusion and dither processing on the image data from which the two-dimensional code image has been deleted (step S7).

一方、CPU5は、ステップS4の解読処理によって得られた情報を符号化する(ステップS8)。具体的には、2次元コード画像を構成する各図形モジュールにはそれぞれ型番が付されているから、CPU5は、その情報を表すのに必要なサイズの図形モジュールに付された型番を用いて、情報を符号化する。次に、CPU5は、符号化によって得られた型番の図形モジュールを用いて2次元コード画像を生成する(ステップS9)。そして、CPU5は、生成した2次元コード画像と、画像処理部7のコード抽出ブロックから通知されていた位置座標とを、画像処理部7の合成ブロックに供給する。   On the other hand, the CPU 5 encodes the information obtained by the decoding process in step S4 (step S8). Specifically, since each graphic module constituting the two-dimensional code image is assigned a model number, the CPU 5 uses the model number attached to the graphic module having a size necessary to represent the information. Encode information. Next, the CPU 5 generates a two-dimensional code image using the graphic module of the model number obtained by encoding (step S9). Then, the CPU 5 supplies the generated two-dimensional code image and the position coordinates notified from the code extraction block of the image processing unit 7 to the synthesis block of the image processing unit 7.

画像処理部7の合成ブロックは、CPU5から供給されたコード画像を、スクリーン処理を経た画像データと合成する(ステップS10)。これにより、図3の画像D2に2次元コード画像C2が付加された原稿画像D3を得ることができる。具体的な合成方法としては、例えば、2次元コード画像の暗部のみを2次元コード画像が消去された画像に付加するとか、暗部と明部の双方を2次元コード画像が消去された画像に付加するといった方法がある。暗部及び明部を付加する方が、コード消去ブロックによって2次元コード画像が消去された画像の背景領域の色が消去されることになるため、暗部と明部のコントラストが明確になり、認識精度が向上する。そして、この合成処理によって得られた画像データはメモリ4にバッファリングされる(ステップS11)。バッファリングされた画像データは、適切なプロセス形成タイミングで読み出されて画像形成部8に出力され、画像形成部8は、この画像データに基づく画像形成プロセスを実行する(ステップS12)。   The synthesis block of the image processing unit 7 synthesizes the code image supplied from the CPU 5 with the image data that has undergone screen processing (step S10). Thereby, it is possible to obtain a document image D3 in which the two-dimensional code image C2 is added to the image D2 in FIG. As a specific synthesis method, for example, only a dark part of a two-dimensional code image is added to an image from which the two-dimensional code image has been deleted, or both a dark part and a bright part are added to an image from which the two-dimensional code image has been deleted. There is a method to do. Adding the dark and bright parts erases the color of the background area of the image from which the two-dimensional code image has been erased by the code erasure block, so that the contrast between the dark and bright parts becomes clearer and the recognition accuracy is improved. Will improve. Then, the image data obtained by the synthesis process is buffered in the memory 4 (step S11). The buffered image data is read at an appropriate process formation timing and output to the image forming unit 8, and the image forming unit 8 executes an image forming process based on the image data (step S12).

以上説明したように、スキャナ部1によって読み取られた画像から2次元コード画像を抽出し、抽出された2次元コード画像を解読して得られた情報を表す2次元コード画像を再生成し、スキャナ部1によって読み取られた画像に含まれていた2次元コード画像を消去してから、その画像に対して、再生成した2次元コード画像を合成する。再生成した2次元コード画像においては画像品質の劣化がほとんど生じないから、例えば世代コピーを行ったとしても、2次元コード画像に対して高い認識精度を実現することができ、その2次元コード画像が表す情報の内容を維持することが可能となる。
このように、2次元コード画像の情報は失われる虞がないので、例えば写真画像と2次元コード画像が混在した原稿を複写する場合であっても、ユーザは2次元コード画像を正確に複写することができるかどうかといったことを心配する必要がなく、通常のコピーをする感覚で画像の内容に従って、文字優先か絵柄優先かといった画質モードを選択することができる。つまり、ユーザにとって手馴れた操作手順で画質モードを選択するだけで、2次元コード画像の認識精度を下げることなく、通常のコピーと同様の画質を得ることができる。
As described above, a two-dimensional code image is extracted from an image read by the scanner unit 1, a two-dimensional code image representing information obtained by decoding the extracted two-dimensional code image is regenerated, and the scanner After deleting the two-dimensional code image included in the image read by the unit 1, the regenerated two-dimensional code image is synthesized with the image. Since the image quality is hardly deteriorated in the regenerated two-dimensional code image, for example, even if generation copying is performed, high recognition accuracy can be realized for the two-dimensional code image. It is possible to maintain the content of the information represented by.
Thus, since there is no possibility that the information of the two-dimensional code image is lost, for example, even when copying a document in which a photographic image and a two-dimensional code image are mixed, the user accurately copies the two-dimensional code image. There is no need to worry about whether or not it can be performed, and it is possible to select an image quality mode such as character priority or picture priority according to the content of the image as if making a normal copy. That is, it is possible to obtain the same image quality as that of a normal copy without reducing the recognition accuracy of the two-dimensional code image only by selecting the image quality mode with an operation procedure familiar to the user.

(2)変形例
上述した実施形態を次のように変形してもよい。
(2−1)変形例1
例えば上記実施形態をスキャナ装置に応用した場合は次のようになる。スキャナ装置に対しては600dpiといった高解像度でのスキャンが指示されることは稀であり、大抵の場合、200dpi〜300dpiといった比較的低い解像度が指定されることが多い。解像度が600dpi程度になると、スキャンによって得られた画像データのデータサイズが著しく大きくなり、実用に向かないからである。この場合、スキャナ装置の読み取り解像度自体は変化せず、スキャナ装置は600dpiで読み取った画像を指定された解像度に変換して出力する。一方、そのスキャナ装置で読み込んだ画像を600dpiで用紙に形成するというケースは少なくない。画像形成時のデータ量が増加したとしてもユーザの利便性が悪くなるということはないからである。
(2) Modifications The embodiment described above may be modified as follows.
(2-1) Modification 1
For example, when the above embodiment is applied to a scanner device, the operation is as follows. It is rare for a scanner device to be instructed to scan at a high resolution of 600 dpi, and in many cases, a relatively low resolution of 200 dpi to 300 dpi is often designated. This is because when the resolution is about 600 dpi, the data size of the image data obtained by scanning becomes extremely large and is not suitable for practical use. In this case, the reading resolution itself of the scanner device does not change, and the scanner device converts the image read at 600 dpi into a designated resolution and outputs it. On the other hand, there are many cases in which an image read by the scanner device is formed on a sheet at 600 dpi. This is because even if the amount of data at the time of image formation increases, the convenience for the user does not deteriorate.

例えば図4の矢印Aに示すように、スキャナ部1が画像読取時に高解像度(600dpi)で読み取って出力した画像を高解像度(600dpi)で画像形成した場合は、画質は劣化しないから、最終的に形成された画像に含まれる2次元コード画像C10を認識することは可能である。これに対し、矢印Bに示すように、スキャナ部1が読み取った画像を低解像度(300dpi)に変換してから、それを高解像度(600dpi)で画像形成したとしても、その画質はスキャナ部1からの出力解像度(300dpi)に依存するから、その2次元コード画像C20’の認識精度は300dpi相当となり、認識できない虞がある。   For example, as shown by an arrow A in FIG. 4, when an image output by the scanner unit 1 at a high resolution (600 dpi) is output at the time of image reading, and the image is formed at a high resolution (600 dpi), the image quality does not deteriorate. It is possible to recognize the two-dimensional code image C10 included in the formed image. On the other hand, as shown by an arrow B, even if an image read by the scanner unit 1 is converted into a low resolution (300 dpi) and then formed into an image with a high resolution (600 dpi), the image quality of the scanner unit 1 Depends on the output resolution (300 dpi) of the image, the recognition accuracy of the two-dimensional code image C20 ′ is equivalent to 300 dpi and may not be recognized.

そこで次のようにすればよい。
記憶部3には、2次元コード画像を認識可能な最低の解像度(ここでは600dpiとする)を予め記憶させておく。この解像度は、一般的なスキャナ装置の性能や画像形成装置の性能から、画像形成後の2次元コード画像をスキャナ装置で認識可能な最低の解像度として予め求められている値である。そして、ユーザが、スキャナ部1が読み取った画像を出力する際の解像度(以下、出力解像度と呼び、例えば300dpi)を操作部2によって指定する。スキャナ部1は予め決められた解像度(600dpi)で画像を読み取り、その画像の解像度を上記の出力解像度(300dpi)に変換して出力する。画像処理部7の抽出ブロックは、スキャナ部1によって読み取られた画像から、600dpi相当の2次元コード画像C20を抽出すると共に、その2次元コード画像C20の周囲の余白領域B20も抽出する。そして、CPU5は、ユーザが操作部2によって指定した解像度が、記憶部3に記憶された解像度よりも低い場合には、その旨を画像処理部7の合成ブロックに通知する。合成ブロックは、抽出ブロックによって抽出された余白領域B20”(上記解像度変換後の領域)の位置に、記憶部3に記憶された解像度(600dpi)に相当する画素数となるように再生成した2次元コード画像C20”を配置する。このとき、2次元コード画像C20”以外の画像は指定解像度(300dpi)に相当する画素数のままである。このようにすることで、図4の矢印Cに示すように、スキャナ部1の出力解像度が300dpiの場合であっても、2次元コード画像を認識可能な最低の解像度(600dpi)に相当する分解能の2次元コード画像C20”を形成することができる。よって、2次元コード画像の認識精度を維持することができる。
Therefore, the following may be performed.
The storage unit 3 stores in advance a minimum resolution (here, 600 dpi) at which a two-dimensional code image can be recognized. This resolution is a value that is obtained in advance as the minimum resolution that can be recognized by the scanner device from the performance of a general scanner device and the performance of the image forming device. Then, the user designates the resolution (hereinafter referred to as output resolution, for example, 300 dpi) when the image read by the scanner unit 1 is output by the operation unit 2. The scanner unit 1 reads an image at a predetermined resolution (600 dpi), converts the resolution of the image into the output resolution (300 dpi), and outputs the image. The extraction block of the image processing unit 7 extracts a two-dimensional code image C20 corresponding to 600 dpi from the image read by the scanner unit 1, and also extracts a blank area B20 around the two-dimensional code image C20. When the resolution specified by the user via the operation unit 2 is lower than the resolution stored in the storage unit 3, the CPU 5 notifies the composite block of the image processing unit 7 to that effect. The synthesized block is regenerated 2 so as to have the number of pixels corresponding to the resolution (600 dpi) stored in the storage unit 3 at the position of the blank area B20 ″ (the area after the resolution conversion) extracted by the extraction block. A dimension code image C20 ″ is arranged. At this time, images other than the two-dimensional code image C20 ″ remain the number of pixels corresponding to the designated resolution (300 dpi). By doing so, the output of the scanner unit 1 is output as indicated by an arrow C in FIG. Even when the resolution is 300 dpi, it is possible to form a two-dimensional code image C20 ″ having a resolution corresponding to the lowest resolution (600 dpi) at which the two-dimensional code image can be recognized. Therefore, the recognition accuracy of the two-dimensional code image can be maintained.

(2−2)変形例2
また、例えば原稿を拡大して複写する場合、その原稿に含まれる2次元コードも拡大してしまうと、その2次元コードを読み取る時の作業が繁雑となる。また、原稿を縮小して複写する場合、その原稿に含まれる2次元コードも縮小してしまうと、その2次元コードの認識精度が低下してしまう。そこで、次のようにすればよい。
ユーザは操作部2を用いて画像を複写する際の縮小倍率又は拡大倍率を指定する。画像処理部の抽出ブロックは、スキャナ部1によって読み取られた画像から、2次元コード画像を抽出すると共に、その2次元コード画像の周囲の余白領域も抽出する。画像処理部の合成ブロックは、スキャナ部1によって読み取られた画像に含まれていた2次元コード画像が消去された後の画像については、指定された倍率で縮小又は拡大する。一方、抽出ブロックによって抽出された余白領域の位置には、CPU5によって生成された2次元コード画像を、縮小又は拡大することなく(つまり画像読み取り前の画像と同じサイズで)合成する。このようにすれば、2次元コード画像の認識精度を維持することができる。
(2-2) Modification 2
For example, when an original is enlarged and copied, if the two-dimensional code included in the original is also enlarged, the work for reading the two-dimensional code becomes complicated. Further, when a document is reduced and copied, if the two-dimensional code included in the document is also reduced, the recognition accuracy of the two-dimensional code is lowered. Therefore, the following may be performed.
The user designates a reduction magnification or an enlargement magnification when copying an image using the operation unit 2. The extraction block of the image processing unit extracts a two-dimensional code image from the image read by the scanner unit 1 and also extracts a blank area around the two-dimensional code image. The composite block of the image processing unit reduces or enlarges the image after the two-dimensional code image included in the image read by the scanner unit 1 is erased at a specified magnification. On the other hand, the two-dimensional code image generated by the CPU 5 is synthesized at the position of the blank area extracted by the extraction block without being reduced or enlarged (that is, with the same size as the image before image reading). In this way, the recognition accuracy of the two-dimensional code image can be maintained.

(2−3)変形例3
ところが、特に縮小して複写する場合、縮小後の画像における2次元コード画像の余白領域内に、縮小前と同サイズの2次元コード画像が収まりきれない場合がある。この場合、CPU5は、抽出ブロックによって抽出された余白領域に、生成した2次元コード画像が収まるか否かを判断する。収まりきれない場合、画像処理部7の合成ブロックは、スキャナ部1によって読み取られた画像に含まれていた2次元コード画像が消去された後の画像については、指定された倍率で縮小又は拡大する。そして、合成ブロックは、CPU5によって生成された2次元コード画像が余白領域に収まる程度で、かつ、指定された縮小倍率よりもできるだけ大きい縮小倍率で(つまりできるだけ縮小せずに)、2次元コード画像を余白領域に配置する。このようにすれば、2次元コード画像の認識精度をできる限り高い状態で維持することができる。
(2-3) Modification 3
However, in particular, when copying at a reduced size, there may be a case where the two-dimensional code image of the same size as before the reduction cannot fit in the blank area of the two-dimensional code image in the reduced image. In this case, the CPU 5 determines whether or not the generated two-dimensional code image fits in the blank area extracted by the extraction block. If it cannot fit, the composite block of the image processing unit 7 reduces or enlarges the image after the two-dimensional code image included in the image read by the scanner unit 1 is erased at a specified magnification. . Then, the composite block is a two-dimensional code image that has a reduction magnification that is as large as possible (that is, not reduced as much as possible) so that the two-dimensional code image generated by the CPU 5 fits in the blank space area. Is placed in the margin area. In this way, the recognition accuracy of the two-dimensional code image can be maintained as high as possible.

(2−4)変形例4
また、上記のように縮小後の余白領域内に、縮小前と同サイズの2次元コード画像が収まりきれない場合には、CPU5は、スキャナ部1によって読み取られた画像を表示部6に表示し、当該画像上で2次元コード画像を合成する位置をユーザに指定するように促すメッセージを表示する。ユーザは、表示された画像上に或る程度の大きさの余白部分がある場合には、その部分を指定して2次元コード画像を配置するように指示する。画像処理部7の合成ブロックは、指定された位置に2次元コード画像を余白領域に配置して合成する。また、CPU5は、縮小後の余白領域内に、縮小前と同サイズの2次元コード画像が収まりきれないと判断した場合には、表示部6にその旨を表示するなどの報知を行い、さらに、複写時の縮小倍率をユーザに再度指定し直すように促すメッセージを表示部6に表示するようにしてもよい。ユーザが縮小倍率を指定し直すと、その指定された縮小倍率に基づいて上記のような処理が再びなされる。
(2-4) Modification 4
When the two-dimensional code image having the same size as before the reduction cannot be accommodated in the blank area after the reduction as described above, the CPU 5 displays the image read by the scanner unit 1 on the display unit 6. Then, a message prompting the user to designate the position where the two-dimensional code image is synthesized on the image is displayed. When there is a margin part of a certain size on the displayed image, the user designates that part and instructs to place the two-dimensional code image. The synthesis block of the image processing unit 7 synthesizes a two-dimensional code image placed in a blank area at a designated position. If the CPU 5 determines that the two-dimensional code image of the same size as before the reduction cannot be accommodated in the blank area after the reduction, the CPU 5 notifies the display unit 6 of the fact, A message that prompts the user to re-specify the reduction ratio at the time of copying may be displayed on the display unit 6. When the user designates the reduction magnification again, the above processing is performed again based on the designated reduction magnification.

(2−5)変形例5
なお、上記のように縮小後の余白領域内に、縮小前と同サイズの2次元コード画像が収まりきれない場合でなくても、ユーザが2次元コード画像の合成位置を指定できるようにしてもよい。つまり、CPU5は、スキャナ部1によって読み取られた画像を表示部6に表示し、当該画像上で2次元コード画像を合成する位置をユーザに指定するように促すメッセージを表示する。ユーザは、表示された画像上に或る程度の大きさの余白部分がある場合には、その部分を指定して2次元コード画像を配置するように指示する。画像処理部7の合成ブロックは、指定された位置に2次元コード画像を余白領域に配置して合成する。
(2-5) Modification 5
It should be noted that even if the two-dimensional code image of the same size as before the reduction does not fit in the blank area after reduction as described above, the user can specify the synthesis position of the two-dimensional code image. Good. That is, the CPU 5 displays an image read by the scanner unit 1 on the display unit 6 and displays a message that prompts the user to specify a position where the two-dimensional code image is synthesized on the image. When there is a margin part of a certain size on the displayed image, the user designates that part and instructs to place the two-dimensional code image. The synthesis block of the image processing unit 7 synthesizes a two-dimensional code image placed in a blank area at a designated position.

(2−6)変形例6
例えばPDF(Portable Document Format)のようなドキュメントファイルのフォーマット規格では、ステンシルマスクと呼ばれるような、階層構造を有する画像データを規定したものがある。この画像データには、画像オブジェクトの各々に対応した階層単位で画像データが分離されている。例えば図5に示すように、原稿画像Mは、画像中央の図形オブジェクトに対応した画像データm1と、テキストオブジェクトに対応した画像データm2と、2次元コード画像オブジェクトに対応した画像データm3とに階層的に分離されている。このような階層構造を有する画像データに対して本発明を適用する場合には次のようにすればよい。
(2-6) Modification 6
For example, a document file format standard such as PDF (Portable Document Format) defines image data having a hierarchical structure called a stencil mask. In this image data, the image data is separated in hierarchical units corresponding to the respective image objects. For example, as shown in FIG. 5, the document image M has a hierarchy of image data m1 corresponding to the graphic object at the center of the image, image data m2 corresponding to the text object, and image data m3 corresponding to the two-dimensional code image object. Separated. When the present invention is applied to image data having such a hierarchical structure, the following may be performed.

まず、記憶部3には、2次元コード画像に含まれる1つの図形モジュールの複数のサイズと、それに対応する解像度とを関連づけて記憶させておく。図形モジュールのサイズによって、その図形モジュールからなる2次元コード画像の認識に必要な解像度のレベルがおおよそ決まっているからである。ユーザは操作部2を用いて、画像処理装置10が出力する画像データの解像度を指定する(以下、指定解像度という)。CPU5は、スキャナ部1が読み取った画像から、画像オブジェクトを抽出し、それぞれの画像オブジェクトに対応した階層を有する画像データを生成する。そして、CPU5は、画像処理部7の抽出ブロックによって抽出された2次元コード画像に含まれる1つの図形モジュールのサイズを特定する。そして、CPU5は、特定したサイズと関連づけて記憶部に記憶されている解像度を読み出し、上記の指定解像度と比較する。そして、画像処理部7の合成ブロックは、指定解像度が記憶部3から読み出された解像度よりも低い場合、CPU5が生成した画像データにおいて2次元コード画像に対応した階層の画像データを、記憶部3から読み出された解像度で生成する。そして、この2次元コード画像に対応した階層の画像データを、他の階層の画像データと合成する。このとき、2次元コード画像を含まない階層の画像データは、指定解像度に変換される。このようにすれば、階層構造を有する画像データに対しても本発明を適用することが可能となる。   First, the storage unit 3 stores a plurality of sizes of one graphic module included in the two-dimensional code image and the corresponding resolution in association with each other. This is because the level of resolution necessary for recognizing the two-dimensional code image made up of the graphic module is roughly determined by the size of the graphic module. The user designates the resolution of the image data output from the image processing apparatus 10 using the operation unit 2 (hereinafter referred to as designated resolution). The CPU 5 extracts an image object from the image read by the scanner unit 1 and generates image data having a hierarchy corresponding to each image object. Then, the CPU 5 specifies the size of one graphic module included in the two-dimensional code image extracted by the extraction block of the image processing unit 7. Then, the CPU 5 reads the resolution stored in the storage unit in association with the specified size, and compares it with the specified resolution. When the designated resolution is lower than the resolution read from the storage unit 3, the composite block of the image processing unit 7 stores the image data of the hierarchy corresponding to the two-dimensional code image in the image data generated by the CPU 5. 3 is generated at the resolution read from 3. Then, the image data of the hierarchy corresponding to the two-dimensional code image is synthesized with the image data of the other hierarchy. At this time, the image data of the hierarchy not including the two-dimensional code image is converted to the designated resolution. In this way, the present invention can be applied to image data having a hierarchical structure.

(2−7)変形例7
なお、CPU5が実行するプログラムは、コンピュータによって読み取り可能な磁気記録媒体、光記録媒体あるいはROMなどの記録媒体に記録して画像処理装置10に提供することができる。また、インターネットのようなネットワーク経由で画像処理装置10にダウンロードさせることも可能である。
(2-7) Modification 7
The program executed by the CPU 5 can be recorded on a recording medium such as a magnetic recording medium, an optical recording medium, or a ROM readable by a computer and provided to the image processing apparatus 10. It is also possible to download the image processing apparatus 10 via a network such as the Internet.

本発明の実施形態である画像処理装置の構成の一例を示すブロック図である。It is a block diagram which shows an example of a structure of the image processing apparatus which is embodiment of this invention. 同実施形態に係る画像処理装置の実行手順を示す図である。It is a figure which shows the execution procedure of the image processing apparatus which concerns on the same embodiment. 同実施形態に係る画像処理装置における処理の過程を説明する図である。It is a figure explaining the process of the process in the image processing apparatus which concerns on the same embodiment. 同実施形態に係る画像処理装置における処理の過程を説明する図である。It is a figure explaining the process of the process in the image processing apparatus which concerns on the same embodiment. 変形例に係る画像処理装置における処理の過程を説明する図である。It is a figure explaining the process of the process in the image processing apparatus which concerns on a modification.

符号の説明Explanation of symbols

1…スキャナ部、2…操作部、3…記憶部、4…メモリ、5…CPU、6…表示部、7…画像処理部、8…画像形成部。 DESCRIPTION OF SYMBOLS 1 ... Scanner part, 2 ... Operation part, 3 ... Memory | storage part, 4 ... Memory, 5 ... CPU, 6 ... Display part, 7 ... Image processing part, 8 ... Image formation part.

Claims (10)

画像読取手段によって読み取られた画像から、図形パターンによって情報を表現したコード画像を抽出する抽出手段と、
前記抽出手段によって抽出されたコード画像を解読して前記情報を得る解読手段と、
前記解読手段によって得られた前記情報を図形パターンによって表現したコード画像を生成するコード再生成手段と、
前記画像読取手段によって読み取られた画像に含まれていたコード画像を消去し、前記コード再生成手段によって生成されたコード画像を前記画像読取手段によって読み取られた画像に合成する合成手段と、
前記合成手段によってコード画像が合成された画像を表す画像データを出力する出力手段と
を備えることを特徴とする画像処理装置。
An extraction means for extracting a code image representing information by a graphic pattern from an image read by the image reading means;
Decoding means for decoding the code image extracted by the extracting means to obtain the information;
Code regenerating means for generating a code image representing the information obtained by the decoding means by a graphic pattern;
A synthesizing unit for erasing the code image included in the image read by the image reading unit and synthesizing the code image generated by the code regenerating unit with the image read by the image reading unit;
An image processing apparatus comprising: output means for outputting image data representing an image obtained by synthesizing a code image by the synthesizing means.
所定の解像度を記憶する解像度記憶手段と、
前記画像読取手段が画像を読み取る際の解像度を指定する解像度指定手段と、
前記画像読取手段によって読み取られた画像において前記コード画像の所定範囲内に存在する余白領域を抽出する抽出手段とを備え、
前記解像度指定手段によって指定された解像度が前記解像度記憶手段に記憶された解像度よりも低い場合には、前記合成手段は、前記抽出手段によって抽出された余白領域の位置に、前記解像度記憶手段に記憶された解像度に相当する画素数になるように再生成した前記コード画像を合成することを特徴とする請求項1記載の画像処理装置。
Resolution storage means for storing a predetermined resolution;
A resolution designating unit for designating a resolution when the image reading unit reads an image;
Extracting means for extracting a blank area existing within a predetermined range of the code image in the image read by the image reading means;
If the resolution specified by the resolution specifying means is lower than the resolution stored in the resolution storing means, the synthesizing means stores the margin storage area extracted by the extracting means in the resolution storing means. The image processing apparatus according to claim 1, wherein the code image regenerated so as to have a number of pixels corresponding to the resolution is synthesized.
前記出力手段によって出力される画像データに基づいて画像を複写する際の縮小倍率又は拡大倍率を指定する倍率指定手段と、
前記画像読取手段によって読み取られた画像において前記コード画像の所定範囲内に存在する余白領域を抽出する抽出手段とを備え、
前記合成手段は、前記画像読取手段によって読み取られた画像に含まれていたコード画像が消去された画像を前記倍率指定手段によって指定された倍率で縮小又は拡大すると共に、前記抽出手段によって抽出された余白領域の位置には、前記コード再生成手段によって生成されたコード画像を縮小又は拡大することなく合成することを特徴とする請求項1記載の画像処理装置。
Magnification designating means for designating a reduction magnification or an enlargement magnification when copying an image based on image data output by the output means;
Extracting means for extracting a blank area existing within a predetermined range of the code image in the image read by the image reading means;
The synthesizing unit reduces or enlarges the image from which the code image included in the image read by the image reading unit is erased at a magnification specified by the magnification specifying unit, and is extracted by the extraction unit. The image processing apparatus according to claim 1, wherein the code image generated by the code regenerating unit is synthesized at the position of the margin area without being reduced or enlarged.
前記出力手段によって出力される画像データに基づいて画像を複写する際の縮小倍率を指定する倍率指定手段と、
前記画像読取手段によって読み取られた画像において前記コード画像の所定範囲内に存在する余白領域を抽出する抽出手段とを備え、
前記合成手段は、前記画像読取手段によって読み取られた画像に含まれていたコード画像が消去された画像を前記倍率指定手段によって指定された倍率で縮小すると共に、前記抽出手段によって抽出された余白領域の位置に収まるように、前記コード再生成手段によって生成されたコード画像を、前記倍率指定手段によって指定された縮小倍率よりも大きい縮小倍率で合成することを特徴とする請求項1記載の画像処理装置。
Magnification designating means for designating a reduction magnification for copying an image based on image data output by the output means;
Extracting means for extracting a blank area existing within a predetermined range of the code image in the image read by the image reading means;
The synthesizing unit reduces the image from which the code image included in the image read by the image reading unit is erased at a magnification specified by the magnification specifying unit, and also extracts a blank area extracted by the extracting unit. 2. The image processing according to claim 1, wherein the code image generated by the code regenerating unit is synthesized with a reduction ratio larger than the reduction ratio designated by the magnification designation unit so as to fit in the position of apparatus.
前記画像読取手段によって読み取られた画像において前記コード画像の所定範囲内に存在する余白領域を抽出する抽出手段と、
前記抽出手段によって抽出された余白領域に前記コード再生成手段によって生成されたコード画像が収まるか否かを判断する判断手段と、
前記判断手段によって前記余白領域にコード画像が収まらないと判断された場合には、前記画像読取手段によって読み取られた画像を表示し、当該画像上で前記コード画像を合成する位置をユーザに指定するように促す指示手段と
を備えることを特徴とする請求項2又は3記載の画像処理装置。
Extraction means for extracting a blank area existing within a predetermined range of the code image in the image read by the image reading means;
Determining means for determining whether or not the code image generated by the code regenerating means fits in a margin area extracted by the extracting means;
If it is determined by the determining means that the code image does not fit in the margin area, the image read by the image reading means is displayed, and a position for synthesizing the code image on the image is designated to the user. The image processing apparatus according to claim 2, further comprising: instruction means for prompting
前記画像読取手段によって読み取られた画像において前記コード画像の所定範囲内に存在する余白領域を抽出する抽出手段と、
前記抽出手段によって抽出された余白領域に前記コード再生成手段によって生成されたコード画像が収まるか否かを判断する判断手段と、
前記判断手段によって前記余白領域にコード画像が収まらないと判断された場合には、その旨を報知する報知手段と
を備えることを特徴とする請求項2又は3記載の画像処理装置。
Extraction means for extracting a blank area existing within a predetermined range of the code image in the image read by the image reading means;
Determining means for determining whether or not the code image generated by the code regenerating means fits in a margin area extracted by the extracting means;
The image processing apparatus according to claim 2, further comprising: a notifying unit that notifies that when the determination unit determines that the code image does not fit in the blank area.
前記判断手段によって前記余白領域にコード画像が収まらないと判断された場合には、前記出力手段によって出力される画像データに基づいて画像を複写する際の縮小倍率、または、前記画像読取手段が画像を読み取る際の解像度をユーザに再度指定し直すように促す指示手段を備えることを特徴とする請求項6記載の画像処理装置。   If it is determined by the determining means that the code image does not fit in the margin area, the reduction magnification when copying the image based on the image data output by the output means, or the image reading means 7. The image processing apparatus according to claim 6, further comprising instruction means for prompting the user to respecify the resolution for reading the image. 前記画像読取手段によって読み取られた画像を表示する表示手段と、
前記合成手段が前記コード再生成手段によって生成されたコード画像を前記画像読取手段によって読み取られた画像に合成する位置をユーザが指定する指定手段と
を備えることを特徴とする請求項1記載の画像処理装置。
Display means for displaying an image read by the image reading means;
2. The image according to claim 1, further comprising: designation means for the user to designate a position where the code image generated by the code regeneration means is combined with the image read by the image reading means. Processing equipment.
コード画像に含まれる1つの図形パターンの複数のサイズと、それに対応する解像度とを関連づけて記憶したパターンサイズ記憶手段と、
前記画像読取手段によって読み取られた画像に含まれる画像オブジェクトの各々に対応した階層を有する画像データを生成するデータ生成手段と、
前記画像読取手段が画像を読み取る際の解像度を指定する解像度指定手段と、
前記出力手段によって出力される画像データに基づいて画像を複写する際の倍率を指定する倍率指定手段と、
前記抽出手段によって抽出されたコード画像に含まれる1つの図形パターンのサイズを特定する特定手段と、
前記特定手段によって特定されたサイズと関連づけて前記パターンサイズ記憶手段に記憶されている解像度を読み出し、読み出した解像度と、前記解像度指定手段によって指定された解像度及び前記倍率指定手段によって指定された倍率を掛け合わせることで求められる実解像度とを比較する比較手段とを備え、
前記合成手段は、前記実解像度が前記記憶手段から読み出された解像度よりも低い場合、前記画像データにおいて前記コード画像のオブジェクトに対応した階層を、前記記憶手段から読み出された解像度で生成することを特徴とすることを特徴とする請求項1記載の画像処理装置。
Pattern size storage means for storing a plurality of sizes of one figure pattern included in the code image and the corresponding resolution, and
Data generating means for generating image data having a hierarchy corresponding to each of the image objects included in the image read by the image reading means;
A resolution designating unit for designating a resolution when the image reading unit reads an image;
A magnification designation means for designating a magnification for copying an image based on the image data output by the output means;
Specifying means for specifying the size of one figure pattern included in the code image extracted by the extracting means;
The resolution stored in the pattern size storage means in association with the size specified by the specifying means is read out, and the read resolution, the resolution specified by the resolution specifying means and the magnification specified by the magnification specifying means are set. Comparing means for comparing with the actual resolution required by multiplying,
When the actual resolution is lower than the resolution read from the storage unit, the synthesizing unit generates a hierarchy corresponding to the object of the code image in the image data with the resolution read from the storage unit. The image processing apparatus according to claim 1, wherein:
コンピュータに、
画像読取手段によって読み取られた画像から、図形パターンによって情報を表現したコード画像を抽出する機能と、
抽出されたコード画像を解読して前記情報を得る機能と、
前記解読によって得られた前記情報を図形パターンによって表現したコード画像を生成する機能と、
前記画像読取手段によって読み取られた画像に含まれていた前記コード画像を消去し、前記コード再生成手段によって生成されたコード画像を前記画像読取手段によって読み取られた画像に合成する機能と、
前記コード画像が合成された画像を表す画像データを出力する機能と
を実現させるプログラム。
On the computer,
A function of extracting a code image expressing information by a graphic pattern from an image read by the image reading means;
A function of obtaining the information by decoding the extracted code image;
A function of generating a code image expressing the information obtained by the decoding by a graphic pattern;
A function of erasing the code image included in the image read by the image reading unit and combining the code image generated by the code regenerating unit with the image read by the image reading unit;
And a function of outputting image data representing an image obtained by combining the code images.
JP2005369879A 2005-12-22 2005-12-22 Image processing apparatus and program Expired - Fee Related JP4661580B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005369879A JP4661580B2 (en) 2005-12-22 2005-12-22 Image processing apparatus and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005369879A JP4661580B2 (en) 2005-12-22 2005-12-22 Image processing apparatus and program

Publications (2)

Publication Number Publication Date
JP2007174317A true JP2007174317A (en) 2007-07-05
JP4661580B2 JP4661580B2 (en) 2011-03-30

Family

ID=38300283

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005369879A Expired - Fee Related JP4661580B2 (en) 2005-12-22 2005-12-22 Image processing apparatus and program

Country Status (1)

Country Link
JP (1) JP4661580B2 (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008165728A (en) * 2006-07-20 2008-07-17 Canon Inc Image processor and image processing method
JP2009049744A (en) * 2007-08-21 2009-03-05 Fuji Xerox Co Ltd Image processor and processing program
JP2009163731A (en) * 2007-12-21 2009-07-23 Canon Inc Method for barcode removal
JP2010079598A (en) * 2008-09-26 2010-04-08 Fuji Xerox Co Ltd Document management system, management apparatus, and program
JP2011035591A (en) * 2009-07-31 2011-02-17 Brother Industries Ltd Printing apparatus, printing system, print data generating apparatus, and print data generating program
JP2011050031A (en) * 2009-07-30 2011-03-10 Ricoh Co Ltd Image processing apparatus, image processing method and image processing program
JP2011082957A (en) * 2009-09-14 2011-04-21 Canon Inc Apparatus, and method of controlling the same
JP2012151600A (en) * 2011-01-18 2012-08-09 Canon Inc Image processing apparatus, control method, and program therefor
JP2013054492A (en) * 2011-09-02 2013-03-21 Seiko Epson Corp Control device, control method of control device, and program
JP2013054461A (en) * 2011-09-01 2013-03-21 Konica Minolta Business Technologies Inc Image editing device, image editing method, and computer program
JP2014115811A (en) * 2012-12-10 2014-06-26 Hitachi Omron Terminal Solutions Corp Optical reading apparatus, method of reading optical symbols, program, and recording paper sheets
WO2015115211A1 (en) * 2014-01-29 2015-08-06 京セラドキュメントソリューションズ株式会社 Image processing device
JP2017105034A (en) * 2015-12-08 2017-06-15 コニカミノルタ株式会社 Image formation device, image formation system, and image formation method as well as image formation control program
JP2019180047A (en) * 2018-03-30 2019-10-17 ブラザー工業株式会社 Image processing device and image processing program

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01271780A (en) * 1988-04-25 1989-10-30 Ricoh Co Ltd Image recording device equipped with information adding function
JPH1044513A (en) * 1996-08-07 1998-02-17 Olympus Optical Co Ltd Code printer and code print medium applied thereto
JPH1078995A (en) * 1996-09-03 1998-03-24 Olympus Optical Co Ltd Code recording device
JPH10214317A (en) * 1997-01-30 1998-08-11 Denso Corp Two-dimensional code and method for reading two-dimensional code
JP2000132151A (en) * 1998-10-27 2000-05-12 Canon Inc Information processing system and its display method
JP2001282410A (en) * 2000-03-31 2001-10-12 Sharp Corp Input display device
JP3333593B2 (en) * 1993-08-17 2002-10-15 株式会社リコー Confidential document copy management method
JP2002354236A (en) * 2001-05-29 2002-12-06 Olympus Optical Co Ltd Method and device for image recording and program
JP2003280469A (en) * 2002-03-20 2003-10-02 Fuji Xerox Co Ltd Image reader and copying machine
JP2003289437A (en) * 2002-03-28 2003-10-10 Minolta Co Ltd Image processor and method
JP2004102393A (en) * 2002-09-05 2004-04-02 Ricoh Co Ltd Image processing system
JP2005153230A (en) * 2003-11-21 2005-06-16 Canon Inc Image forming apparatus, image formation method, computer program and computer-readable recording medium
JP2005269177A (en) * 2004-03-18 2005-09-29 Ricoh Co Ltd Apparatus and method for image forming
JP2005316007A (en) * 2004-04-27 2005-11-10 Matsushita Electric Ind Co Ltd Image display controlling apparatus
JP2005323005A (en) * 2004-05-06 2005-11-17 Canon Inc Document information embedding method and apparatus
JP2005327314A (en) * 2005-07-11 2005-11-24 Fujitsu Ltd Image display method and device

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01271780A (en) * 1988-04-25 1989-10-30 Ricoh Co Ltd Image recording device equipped with information adding function
JP3333593B2 (en) * 1993-08-17 2002-10-15 株式会社リコー Confidential document copy management method
JPH1044513A (en) * 1996-08-07 1998-02-17 Olympus Optical Co Ltd Code printer and code print medium applied thereto
JPH1078995A (en) * 1996-09-03 1998-03-24 Olympus Optical Co Ltd Code recording device
JPH10214317A (en) * 1997-01-30 1998-08-11 Denso Corp Two-dimensional code and method for reading two-dimensional code
JP2000132151A (en) * 1998-10-27 2000-05-12 Canon Inc Information processing system and its display method
JP2001282410A (en) * 2000-03-31 2001-10-12 Sharp Corp Input display device
JP2002354236A (en) * 2001-05-29 2002-12-06 Olympus Optical Co Ltd Method and device for image recording and program
JP2003280469A (en) * 2002-03-20 2003-10-02 Fuji Xerox Co Ltd Image reader and copying machine
JP2003289437A (en) * 2002-03-28 2003-10-10 Minolta Co Ltd Image processor and method
JP2004102393A (en) * 2002-09-05 2004-04-02 Ricoh Co Ltd Image processing system
JP2005153230A (en) * 2003-11-21 2005-06-16 Canon Inc Image forming apparatus, image formation method, computer program and computer-readable recording medium
JP2005269177A (en) * 2004-03-18 2005-09-29 Ricoh Co Ltd Apparatus and method for image forming
JP2005316007A (en) * 2004-04-27 2005-11-10 Matsushita Electric Ind Co Ltd Image display controlling apparatus
JP2005323005A (en) * 2004-05-06 2005-11-17 Canon Inc Document information embedding method and apparatus
JP2005327314A (en) * 2005-07-11 2005-11-24 Fujitsu Ltd Image display method and device

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8322618B2 (en) 2006-07-20 2012-12-04 Canon Kabushiki Kaisha Image processing apparatus and image processing method
JP2008165728A (en) * 2006-07-20 2008-07-17 Canon Inc Image processor and image processing method
JP2009049744A (en) * 2007-08-21 2009-03-05 Fuji Xerox Co Ltd Image processor and processing program
JP2009163731A (en) * 2007-12-21 2009-07-23 Canon Inc Method for barcode removal
JP2010079598A (en) * 2008-09-26 2010-04-08 Fuji Xerox Co Ltd Document management system, management apparatus, and program
JP2011050031A (en) * 2009-07-30 2011-03-10 Ricoh Co Ltd Image processing apparatus, image processing method and image processing program
JP2011035591A (en) * 2009-07-31 2011-02-17 Brother Industries Ltd Printing apparatus, printing system, print data generating apparatus, and print data generating program
JP2011082957A (en) * 2009-09-14 2011-04-21 Canon Inc Apparatus, and method of controlling the same
JP2012151600A (en) * 2011-01-18 2012-08-09 Canon Inc Image processing apparatus, control method, and program therefor
JP2013054461A (en) * 2011-09-01 2013-03-21 Konica Minolta Business Technologies Inc Image editing device, image editing method, and computer program
JP2013054492A (en) * 2011-09-02 2013-03-21 Seiko Epson Corp Control device, control method of control device, and program
JP2014115811A (en) * 2012-12-10 2014-06-26 Hitachi Omron Terminal Solutions Corp Optical reading apparatus, method of reading optical symbols, program, and recording paper sheets
WO2015115211A1 (en) * 2014-01-29 2015-08-06 京セラドキュメントソリューションズ株式会社 Image processing device
JP2017105034A (en) * 2015-12-08 2017-06-15 コニカミノルタ株式会社 Image formation device, image formation system, and image formation method as well as image formation control program
JP2019180047A (en) * 2018-03-30 2019-10-17 ブラザー工業株式会社 Image processing device and image processing program
JP7028030B2 (en) 2018-03-30 2022-03-02 ブラザー工業株式会社 Image processing equipment and image processing program

Also Published As

Publication number Publication date
JP4661580B2 (en) 2011-03-30

Similar Documents

Publication Publication Date Title
JP4661580B2 (en) Image processing apparatus and program
JP4436454B2 (en) Image processing apparatus, image processing method, program thereof, and storage medium
JP4819723B2 (en) Information extraction apparatus, information extraction method, information extraction program, and recording medium
KR20100135186A (en) Image processing apparatus, image processing method, and computer-readable storage medium
JP2006262078A (en) Image processor
JP2008154106A (en) Concealing method, image processor and image forming apparatus
US6714682B2 (en) Image processing device and method and memory medium
JP2010056946A (en) Image processing device, image forming apparatus, image storage method, and computer program
JP2007251835A (en) Image processor, and image processing method
US8654404B2 (en) Image processing apparatus, image processing method and memory medium
JP2007129557A (en) Image processing system
US20060274390A1 (en) Image processing device, image processing method, and image processing program product allowing reproduction of information lost in printing
JP2006352738A (en) Image forming device
JP2003219187A (en) Image processing method and image processor
JP5284431B2 (en) Device for decoding two-dimensional code, method for controlling device for decoding two-dimensional code, and program
JP2004240672A (en) Image edit program
JP4554296B2 (en) Image processing system, program, recording medium
JP4847565B2 (en) Apparatus for creating copies, control method for apparatus for creating copies, and program
JP2023018850A (en) program
JP2004030038A (en) Image processing apparatus, image data conversion program, inverse conversion and shaping table creation program
JP2008236521A (en) Image processing apparatus, image processing method, image processing program, and storage medium with image processing program stored thereon
JP2007129444A (en) Image processor having function for learning attribute information
JP2005198177A (en) Image forming apparatus, control method thereof, and program
JP2006082339A (en) Image printer
JP2006261771A (en) Image processing system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20081120

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100706

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100713

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100908

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101012

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101117

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

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

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20140114

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees