JP2013102287A - Image forming apparatus and image forming method - Google Patents

Image forming apparatus and image forming method Download PDF

Info

Publication number
JP2013102287A
JP2013102287A JP2011243833A JP2011243833A JP2013102287A JP 2013102287 A JP2013102287 A JP 2013102287A JP 2011243833 A JP2011243833 A JP 2011243833A JP 2011243833 A JP2011243833 A JP 2011243833A JP 2013102287 A JP2013102287 A JP 2013102287A
Authority
JP
Japan
Prior art keywords
image
file
document
information
image data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2011243833A
Other languages
Japanese (ja)
Other versions
JP2013102287A5 (en
JP5943582B2 (en
Inventor
Masaki Toyama
正樹 外山
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 JP2011243833A priority Critical patent/JP5943582B2/en
Publication of JP2013102287A publication Critical patent/JP2013102287A/en
Publication of JP2013102287A5 publication Critical patent/JP2013102287A5/ja
Application granted granted Critical
Publication of JP5943582B2 publication Critical patent/JP5943582B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Control Or Security For Electrophotography (AREA)
  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

PROBLEM TO BE SOLVED: To prevent information included in an image of a bar code in an original from lacking even if the image is removed in a device for reading the original and transmitting it as a file.SOLUTION: A scan processing section 202 reads a file format which a user designates. A file generating section 206 determines whether the designated file format is that in which storage of meta data is limited or meta data cannot be stored such as JPEG and BMP. Since the meta data cannot be stored with such a file format, a QR code (R) of an original image is not removed and an image file is generated with an image which is scanned as it is.

Description

本発明は、画像形成装置およびその方法に関し、特にデバイスから電子文書を送信するためのイメージデータを含む電子文書に対する情報追加を行う画像形成装置およびその方法に関する。   The present invention relates to an image forming apparatus and method, and more particularly to an image forming apparatus and method for adding information to an electronic document including image data for transmitting the electronic document from a device.

原稿をスキャンしてイメージデータとして蓄積し、電子文書に変換して送信する技術がある。このようなスキャン対象となる原稿上に、何らかの情報を含むバーコードが印字する技術も知られている。このようなバーコードが印字された原稿をスキャンし、蓄積したイメージデータを電子文書に変換して送信する技術が提案されている。このような技術では、電子文書に変換して送信するときに、バーコードから情報を取得し、送信する電子文書内にメタデータとして格納するとともに、イメージデータからバーコードのイメージのみを除去する技術が提案されている。デバイス内に蓄積されたイメージデータを外部に出力する際に、除去あるいは欠落する情報を他の情報で置き換える技術も提案されている(例えば、特許文献1参照)。   There is a technique in which a document is scanned and stored as image data, converted into an electronic document, and transmitted. A technique for printing a barcode including some information on a document to be scanned is also known. A technique has been proposed in which a document on which such a barcode is printed is scanned, and the stored image data is converted into an electronic document and transmitted. In such a technique, when converting to an electronic document and transmitting it, information is acquired from the barcode, stored as metadata in the electronic document to be transmitted, and only the barcode image is removed from the image data Has been proposed. A technique has also been proposed in which information that is removed or missing is replaced with other information when image data stored in the device is output to the outside (see, for example, Patent Document 1).

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

しかし、バーコードから得られた情報をメタデータに格納しようとしても、利用者が電子文書のファイル形式としてメタデータを格納できないものを指定したときは、得られた情報が欠落するという問題がある。すなわち、デバイスに蓄積したイメージデータを電子文書に変換、送信する際、メタデータを格納できるファイル形式と、メタデータの格納に制限があるか、またはメタデータを格納できないファイル形式との、いずれかを利用者が選択可能なデバイスが存在する。従来技術のように電子文書にメタデータを格納しようとしても、利用者がイメージデータのみのファイル形式を選択している場合には格納ができない。メタデータが格納されないファイル形式を選択されているのに、イメージデータからバーコードのイメージを除去してしまうと、それに含まれる情報は欠落してしまうこととなる。ここで、メタデータを格納できるファイル形式は、例えば、PDFやTIFFといったファイル形式であり、メタデータの格納に制限があったりメタデータを格納できなかったりするファイル形式は、例えば、JPEGやBMPといったファイル形式である。   However, even if the information obtained from the barcode is stored in the metadata, if the user designates an electronic document file format that cannot store the metadata, the obtained information is lost. . In other words, when the image data stored in the device is converted and sent to an electronic document, either the file format that can store metadata, or the file format that has limited storage of metadata or cannot store metadata There are devices that can be selected by the user. Even if metadata is stored in an electronic document as in the prior art, it cannot be stored if the user has selected a file format containing only image data. If a file format that does not store metadata is selected, but the barcode image is removed from the image data, the information contained therein will be lost. Here, the file format capable of storing metadata is, for example, a file format such as PDF or TIFF, and the file format in which metadata storage is restricted or metadata cannot be stored is, for example, JPEG or BMP. File format.

本問題について、特許文献1に示される技術を用いれば、イメージデータに含まれる情報をバーコードの画像で置き換えて出力することもできるように考えられる。しかし、そもそもバーコードのイメージ自体を除去してしまっている場合には欠落する情報を置き換えるべき情報がないため、本問題を解決することはできない。   With regard to this problem, it is considered that if the technique disclosed in Patent Document 1 is used, information included in the image data can be replaced with a barcode image and output. However, if the barcode image itself has been removed in the first place, there is no information to replace the missing information, so this problem cannot be solved.

上述の課題を解決するため、本発明の画像形成装置は、原稿を読み取る読取手段と、読み取る原稿を電子文書として出力するファイル形式を設定手段と、読取手段で読み取った原稿から1以上の特定の情報をコード化した画像を検出する検出手段と、検出手段で検出した1以上の特定の情報をコード化した画像から埋め込み情報を抽出する埋め込み情報抽出手段と、埋め込み情報抽出手段で抽出した埋め込み情報をメタデータとして画像ファイルに格納する格納手段と、読み取り手段で読み取った画像データから、検出した特定の情報をコード化した画像を除去する画像除去手段と、読み取った画像データを画像ファイルとして出力するファイル出力手段とを備え、ファイル出力手段は、設定手段で設定されたファイル形式がメタデータを格納できない場合、画像除去手段で特定の情報をコード化した画像を除去することなく、読み取り手段で読み取った原稿の画像データを出力することを特徴とする。   In order to solve the above-described problems, an image forming apparatus according to the present invention includes a reading unit that reads a document, a file format that outputs the read document as an electronic document, and one or more specific items from the document read by the reading unit. Detection means for detecting an image in which information is encoded, embedded information extraction means for extracting embedded information from an image in which one or more specific information detected by the detection means is encoded, and embedded information extracted by the embedded information extraction means Is stored in an image file as metadata, image removing means for removing an image obtained by coding specific detected information from image data read by the reading means, and the read image data is output as an image file File output means, and the file output means stores the metadata in the file format set by the setting means. If not, without removing the coded image specific information in the image removing unit, and outputs the image data of the document read by the reading means.

本発明によれば、イメージデータに含まれる情報を欠損させることなく、デバイスに蓄積したイメージデータを電子文書に変換して送信することができる。   According to the present invention, image data stored in a device can be converted into an electronic document and transmitted without losing information included in the image data.

本発明の一実施例のMFPのハードウェア構成の一例を示す図である。FIG. 2 is a diagram illustrating an example of a hardware configuration of an MFP according to an embodiment of the present invention. MFPのソフトウェア構成の一例を示す図である。2 is a diagram illustrating an example of a software configuration of an MFP. FIG. 符号画像の付された原稿の一例を示す図である。It is a figure which shows an example of the original document to which the code image was attached. 本実施例のMFPにおけるスキャン処理の流れを示したフローチャートである。6 is a flowchart illustrating a flow of scan processing in the MFP according to the present exemplary embodiment. デコード処理によって抽出された埋め込み情報の一例を示す表である。It is a table | surface which shows an example of the embedding information extracted by the decoding process. 本実施例のMFPにおける送信ファイル生成処理の流れを示したフローチャートである。6 is a flowchart illustrating a flow of transmission file generation processing in the MFP according to the present exemplary embodiment. QRコード(登録商標)を含む領域が除去された画像データの一例を示す図である。It is a figure which shows an example of the image data from which the area | region containing QR Code (trademark) was removed. 本実施例の利用者が生成するファイルの形式を選択変更する場合のフローチャートである。It is a flowchart in the case of selecting and changing the format of the file which the user of a present Example produces | generates.

[実施例1]
本発明に係るデバイスの一実施形態としての複合機(Multi Function Peripheral、以下、MFPという)について説明する。図1は、スキャナ機能、複写機能、印刷機能、送信機能等を搭載する画像形成装置としてのMFPのハードウェア構成の一例を示す図である。CPU100は、MFPを統括的に制御するプロセッサであって、内部バス107を介して接続された各部を制御する。なお、本実施例では、原稿にはQRコード(登録商標)を印字して情報を埋め込むが、これには限られず本技術分野のいずれの情報埋め込み手法を用いることもできる。
[Example 1]
A multi-function peripheral (hereinafter referred to as MFP) as an embodiment of a device according to the present invention will be described. FIG. 1 is a diagram illustrating an example of a hardware configuration of an MFP as an image forming apparatus equipped with a scanner function, a copying function, a printing function, a transmission function, and the like. The CPU 100 is a processor that controls the MFP in an integrated manner, and controls each unit connected via the internal bus 107. In this embodiment, QR code (registered trademark) is printed on the original and information is embedded, but the present invention is not limited to this, and any information embedding method in this technical field can be used.

表示部101は、タッチパネルなどの画像表示装置で構成され、利用者は、表示部101に表示される画面を参照しつつタッチパネルなどにより複写指示などを行う。スキャナ部102は、原稿をスキャンして画像データを取得する。プリンタ部103は、紙等の記録媒体上に画像を形成する。メモリ104は、CPU100がMFPを制御するために実行する各種命令を発するアプリケーションなどのプログラムや関連データを記憶し、大容量記憶部105は、スキャナ部102でスキャンされた画像データを一時保存する。ネットワークインターフェース106は、CPU100に従いネットワーク105を介して各種データ等の送受信を行う。   The display unit 101 is configured by an image display device such as a touch panel, and the user gives a copy instruction or the like using the touch panel while referring to a screen displayed on the display unit 101. The scanner unit 102 scans a document and acquires image data. The printer unit 103 forms an image on a recording medium such as paper. The memory 104 stores programs and related data such as applications that issue various commands executed by the CPU 100 to control the MFP, and the large-capacity storage unit 105 temporarily stores image data scanned by the scanner unit 102. The network interface 106 transmits and receives various data via the network 105 in accordance with the CPU 100.

図2は、MFPのソフトウェア構成の一例を示す図である。なお、このソフトウェア構成の各モジュールは、MFPのCPU100が、MFP内の各種記憶装置(RAM、外部メモリ、大容量記憶装置、メモリ等)に格納されたプログラムを実行することにより実装されている。制御部200は、MFPの全体を制御し、後述の各部に対する指示、管理を行う。データ送受信部201は、データ等の送受信処理を行う。   FIG. 2 is a diagram illustrating an example of the software configuration of the MFP. Each module of this software configuration is implemented by the CPU 100 of the MFP executing programs stored in various storage devices (RAM, external memory, mass storage device, memory, etc.) in the MFP. The control unit 200 controls the entire MFP, and instructs and manages each unit described later. The data transmission / reception unit 201 performs data transmission / reception processing.

スキャン処理部202は、UIを介して与えられたユーザの操作指示に基づき、原稿読取台にセットされた原稿をスキャナ部102にスキャンさせ、スキャン結果である画像データを取得する処理を行う。コード検出部203は、スキャンによって取得された画像データからQRコード(登録商標)を検出する処理を行う。なお、本明細書においては、原稿に付される符号画像として、代表的な二次元コードであるQRコード(登録商標)を例に説明するがこれに限られない。例えば、一次元コードや電子透かしといった、文書管理や複写制限等を目的として特定の情報をコード化した画像を原稿に付加する技術を用いて作成された原稿に対し、本発明は広く適用することができる。   The scan processing unit 202 performs processing for causing the scanner unit 102 to scan a document set on a document reading table and acquiring image data as a scan result based on a user operation instruction given via the UI. The code detection unit 203 performs a process of detecting a QR code (registered trademark) from image data acquired by scanning. In the present specification, a QR code (registered trademark), which is a representative two-dimensional code, is described as an example of a code image attached to a document, but is not limited thereto. For example, the present invention can be widely applied to a manuscript created using a technique for adding an image in which specific information is coded for the purpose of document management or copy restriction, such as a one-dimensional code or a digital watermark, to the manuscript. Can do.

また、本明細書においては、「原稿」を、文字や図形等で構成される特定の情報が印字された印刷物や複写物などを指す用語として使用するものとする。そして、本明細書においては、「コンテンツ」を印刷物や複写物上の文字や図形等で構成される特定の情報そのものを指す用語として使用するものとする。したがって例えば、ある印刷物Aとその複写物Bは、それぞれ別の原稿として区別されるが、そこに含まれる文字や図形等は同じであるため、コンテンツとしては同一となる。   Further, in this specification, “original” is used as a term indicating a printed matter or a copied matter on which specific information composed of characters, figures, and the like is printed. In this specification, “content” is used as a term indicating specific information itself composed of characters, graphics, and the like on a printed material or a copy. Therefore, for example, a certain printed matter A and its copy B are distinguished as different originals, but the characters, figures, etc. included therein are the same, and therefore the contents are the same.

情報抽出手段でもあるデコード部204は、検出されたQRコード(登録商標)を復号化(デコード)して埋め込み情報を抽出する処理を行う。画像除去部205は、画像データからコード検出部203によって検出されたQRコード(登録商標)を含む部分を除去する処理を行う。除去処理については、白で塗りつぶす、黒で塗りつぶす、周囲の地紋と同じパターンで塗りつぶす、などの本技術分野で知られた画像加工によって実行することができる。ファイル生成部206は、画像データをデータ送受信部201から送信できる画像を含むファイルに変換生成する処理を行う。また、ファイル生成部206は、デコード部204が抽出した埋め込み情報をメタデータとしてファイルに書き出すことができる。生成できるファイルの形式は、PDFやTIFFといったメタデータを格納できるファイル形式や、JPEGやBMPといったメタデータの格納に制限があったりメタデータを格納できなかったりするファイル形式から、利用者が選択できるものとする。   The decoding unit 204, which is also an information extraction unit, performs a process of decoding (decoding) the detected QR code (registered trademark) and extracting embedded information. The image removal unit 205 performs a process of removing a portion including the QR code (registered trademark) detected by the code detection unit 203 from the image data. The removal processing can be executed by image processing known in the art, such as painting with white, painting with black, painting with the same pattern as the surrounding tint block. The file generation unit 206 performs processing to convert and generate image data into a file including an image that can be transmitted from the data transmission / reception unit 201. In addition, the file generation unit 206 can write the embedded information extracted by the decoding unit 204 to a file as metadata. The file format that can be generated can be selected by the user from a file format that can store metadata such as PDF or TIFF, or a file format that can store metadata such as JPEG or BMP, or that cannot store metadata. Shall.

図3は、本発明においてスキャン対象となる、符号画像の付された原稿の一例を示す図である。原稿301には、埋め込み情報を符号化して得られた符号画像としてのQRコード302が印刷されている。QRコード(登録商標)は通常、記録媒体上の所定の領域、本実施例においては、原稿301内の左上隅、左下隅、右上隅、右下隅に設けられた矩形領域303のうちの何れかの領域内に印字され、本領域を対象にQRコード(登録商標)の検出処理が行われる。なお、本実施例の矩形領域の一辺の長さは、例えば縦横それぞれ30mmである。もちろん、QRコード(登録商標)が印字可能な領域は、この例に限られるものでなく、その位置、形状、大きさは任意に設定可能である。そして、埋め込み情報には、例えば、以下の情報を含むことができる。
・原稿の部数番号
・原稿のページ番号
・原稿の出力を指示したユーザを特定するためユーザ情報
・原稿の出力をおこなった日時を特定するための日時情報
・原稿の出力をおこなったMFPを特定するための機器情報
FIG. 3 is a view showing an example of a document with a code image to be scanned in the present invention. The original 301 is printed with a QR code 302 as a code image obtained by encoding the embedded information. The QR code (registered trademark) is usually a predetermined area on the recording medium, and in this embodiment, any one of the rectangular areas 303 provided in the upper left corner, lower left corner, upper right corner, and lower right corner in the original 301. In this area, QR code (registered trademark) detection processing is performed for this area. In addition, the length of one side of the rectangular area of the present embodiment is, for example, 30 mm in both vertical and horizontal directions. Of course, the area in which the QR code (registered trademark) can be printed is not limited to this example, and its position, shape, and size can be arbitrarily set. The embedded information can include the following information, for example.
・ Document number ・ Document page number ・ User information to specify the user who issued the document output ・ Date information to specify the date and time when the document was output ・ Identify the MFP that output the document Equipment information for

もちろん、埋め込み情報の内容はこれらに限るものでなく、たとえば、出力の種類情報(PCから送信された画像データの印刷なのか、原稿読取台を用いたコピーなのかといった情報)なども必要に応じて追加してもよい。また、原稿を出力したMFPを特定するための機器情報だけでなく、そのコンテンツを最初に出力した機器を特定するための情報を別途追加してもよい。ここで、部数番号とは、印刷または複写処理においてその原稿が何部目として出力されたかを示す情報である。また、ページ番号とは、印刷および複写処理においてその原稿が何ページ目として出力されたかを示す情報である。例えば、3ページから成る文書を2部印刷した場合、出力される6枚の印刷物に埋め込み情報として書き込まれる部数番号およびページ番号は以下のようになる。
・印刷物1:部数番号=1、ページ番号=1
・印刷物2:部数番号=1、ページ番号=2
・印刷物3:部数番号=1、ページ番号=3
・印刷物4:部数番号=2、ページ番号=1
・印刷物5:部数番号=2、ページ番号=2
・印刷物6:部数番号=2、ページ番号=3
Of course, the contents of the embedded information are not limited to these. For example, output type information (information such as whether the image data transmitted from the PC is printed or a copy using a document reading table) is also necessary. May be added. Further, not only device information for specifying the MFP that outputs the document, but also information for specifying the device that output the content first may be added separately. Here, the number of copies is information indicating the number of copies of the document output in the printing or copying process. The page number is information indicating the page number of the document output in the printing and copying processes. For example, when two copies of a document consisting of three pages are printed, the copy number and page number that are written as embedded information on the six printed materials to be output are as follows.
Printed matter 1: number of copies = 1, page number = 1
Printed matter 2: number of copies = 1, page number = 2
-Printed matter 3: number of copies = 1, page number = 3
Printed matter 4: number of copies = 2, page number = 1
Printed matter 5: number of copies = 2, page number = 2
Printed matter 6: number of copies = 2, page number = 3

したがって、一回の印刷または複写において、出力される印刷物のうち部数番号とページ番号の組み合わせが同一になるものはない。なお、両面に印刷された印刷物の場合、各々の面に異なるページ番号が書き込まれる。   Therefore, there is no output printed matter in which the combination of the copy number and the page number is the same in one printing or copying. In the case of printed matter printed on both sides, different page numbers are written on each side.

以下に、MFPにおいて原稿をスキャンし、電子文書である画像ファイルを生成して送信する処理について説明する。なお、本実施例においては、メモリ104に格納されたアプリケーション(プログラム)がユーザの操作指示で起動し、CPU100がこれを実行することにより以下の各ステップが実行される。   Hereinafter, a process of scanning an original in the MFP, generating an image file that is an electronic document, and transmitting the image file will be described. In this embodiment, an application (program) stored in the memory 104 is activated by a user operation instruction, and the CPU 100 executes the application to execute the following steps.

図4は、本実施例のMFPにおけるスキャン処理の流れを示すフローチャートである。ユーザがMFPの原稿読取台に原稿をセットし、不図示の送信指示ボタンを押下すると、ステップ401において、スキャン処理部202は、ページのカウントNを0にリセットする。ステップ402において、スキャン処理部202は、ページのカウントNを1だけ増加させる。ステップ403において、スキャン処理部202は、MFPの原稿読取台上にセットされた原稿をスキャナ部102にスキャンさせる。これにより第1のページの画像データが取得される。   FIG. 4 is a flowchart showing the flow of scan processing in the MFP of this embodiment. When the user sets a document on the document reading table of the MFP and presses a transmission instruction button (not shown), the scan processing unit 202 resets the page count N to 0 in step 401. In step 402, the scan processing unit 202 increases the page count N by one. In step 403, the scan processing unit 202 causes the scanner unit 102 to scan a document set on the document reading table of the MFP. Thereby, the image data of the first page is acquired.

ステップ404において、コード検出部203は、取得した画像データから(登録商標)を検出する。すなわち、取得した画像データの上述した四隅の矩形領域を対象にQRコード(登録商標)の有無をチェックする。QRコード(登録商標)が検出されればステップ405に進む。ステップ405において、デコード部204は、検出された(登録商標)をデコードする。すなわち、QRコード(登録商標)を復号化して第1のページの埋め込み情報を抽出する処理を行う。このようにして取得した画像データ、並びに検出および抽出された埋め込み情報はスキャナ処理部202の内部、あるいは各種メモリ、大容量記憶部などいずれかの記憶部に格納される。   In step 404, the code detection unit 203 detects (registered trademark) from the acquired image data. That is, the presence / absence of a QR code (registered trademark) is checked for the rectangular areas at the four corners of the acquired image data. If a QR code (registered trademark) is detected, the process proceeds to step 405. In step 405, the decoding unit 204 decodes the detected (registered trademark). That is, a process of decoding the QR code (registered trademark) and extracting the embedded information of the first page is performed. The image data obtained in this way and the detected and extracted embedded information are stored in the scanner processing unit 202 or in any storage unit such as various memories or a large-capacity storage unit.

図5は、デコード処理によって抽出された埋め込み情報の一例を示している。図5の例では、元原稿の印刷を指示したユーザのユーザ情報「Suzuki」、元原稿を出力した日時の日時情報「2008年1月30日9時53分13秒」、元原稿の部数番号「1」、元原稿のページ番号「2」が抽出されている。また、元原稿を出力したMFPの機器情報「MPF−0001」も抽出されている。   FIG. 5 shows an example of embedded information extracted by the decoding process. In the example of FIG. 5, the user information “Suzuki” of the user who instructed the printing of the original document, the date information of the date and time when the original document was output “January 30, 2008 9:53:13”, the number of copies of the original document “1” and page number “2” of the original document are extracted. Also, the device information “MPF-0001” of the MFP that output the original document is also extracted.

ステップ406において、スキャン処理部202は、スキャナ部102に、MFPの原稿読取台上に次の原稿がセットされているかどうかを検出させる。原稿がセットされていればステップ402に進む。ステップ406において原稿がセットされていない状態が検出されるまで、ステップ403で第Nのページの画像データが取得され、ステップ405において第Nのページの埋め込み情報が抽出される。   In step 406, the scan processing unit 202 causes the scanner unit 102 to detect whether the next document is set on the document reading table of the MFP. If a document is set, the process proceeds to step 402. Until it is detected in step 406 that no original is set, image data of the Nth page is acquired in step 403, and embedded information of the Nth page is extracted in step 405.

図6は、本実施例のMFPにおける送信ファイル生成処理の流れを示すフローチャートである。図4に示したフローチャートに沿って、MFPの原稿読取台にセットされた原稿から画像データを取得して埋め込み情報を抽出すると、ステップ601において、ファイル生成部206は、ページのカウントNを0にリセットする。ステップ602において、ファイル生成部206は、空の画像ファイルを生成する。本実施例において生成される画像ファイルはメタデータを格納できるファイル形式である。   FIG. 6 is a flowchart showing the flow of transmission file generation processing in the MFP of this embodiment. When the image data is acquired from the document set on the document reading table of the MFP and the embedding information is extracted according to the flowchart shown in FIG. 4, the file generation unit 206 sets the page count N to 0 in step 601. Reset. In step 602, the file generation unit 206 generates an empty image file. The image file generated in the present embodiment has a file format that can store metadata.

ステップ603において、ファイル生成部206は、ページのカウントNを1だけ増加させる。ステップ604において、ファイル生成部206は、スキャン処理部202に第Nのページの画像データを取得できるかどうか問い合わせる。画像データが取得できるとの応答があればステップ605に進む。ステップ605において、ファイル生成部206は、スキャン処理部202から第Nのページの画像データを取得する。   In step 603, the file generation unit 206 increases the page count N by one. In step 604, the file generation unit 206 inquires of the scan processing unit 202 whether image data of the Nth page can be acquired. If there is a response that image data can be acquired, the process proceeds to step 605. In step 605, the file generation unit 206 acquires the image data of the Nth page from the scan processing unit 202.

ステップ606において、ファイル生成部206は、デコード部204に第Nのページの埋め込み情報が取得できるかどうか問い合わせる。埋め込み情報が取得できるとの応答があればステップ607に進む。ステップ607において、ファイル生成部206は、デコード部204から第Nのページの埋め込み情報を取得する。ステップ608において、ファイル生成部206は、ステップ605でスキャン処理部から取得した画像データからコード検出部203によって検出したQRコード(登録商標)を含む一定の領域を画像除去部205に除去させる。   In step 606, the file generation unit 206 inquires of the decoding unit 204 whether the embedded information of the Nth page can be acquired. If there is a response that the embedded information can be acquired, the process proceeds to step 607. In step 607, the file generation unit 206 acquires N-th page embedding information from the decoding unit 204. In step 608, the file generation unit 206 causes the image removal unit 205 to remove a certain area including the QR code (registered trademark) detected by the code detection unit 203 from the image data acquired from the scan processing unit in step 605.

図7は、画像除去処理205によって画像データからQRコード(登録商標)を含む領域が除去されたイメージである。図3に示すようなイメージの原稿からQRコード302を除去する例として、図7ではQRコード(登録商標)を含む領域を黒で塗りつぶされた状態701を示している。本実施例では除去の方法として黒で塗りつぶしているが、白で塗りつぶす、周囲の地紋と同じパターンで塗りつぶすといった、除去が目立たない手法を選択することもできる。ステップ609において、ファイル生成部206は、ステップ608で画像除去した画像データをステップ602で生成した画像ファイルにマージする。ステップ610において、ファイル生成部206は、ステップ607で取得した埋め込み情報をステップ602で生成した画像ファイルにメタデータとして格納する。 ステップ611において、第Nページには埋め込み情報が検出されなかったので、ファイル生成部206は、ステップ605で取得した画像データをそのまま、ステップ602で生成した画像ファイルにマージする。ステップ612において、ファイル生成部206は、ページのカウントNを1だけ増加させる。   FIG. 7 shows an image obtained by removing the region including the QR code (registered trademark) from the image data by the image removal processing 205. As an example of removing the QR code 302 from the image document as shown in FIG. 3, FIG. 7 shows a state 701 in which a region including the QR code (registered trademark) is filled with black. In this embodiment, the removal method is painted in black, but it is also possible to select a method in which removal is not noticeable, such as painting in white or painting with the same pattern as the surrounding background pattern. In step 609, the file generation unit 206 merges the image data from which the image has been removed in step 608 with the image file generated in step 602. In step 610, the file generation unit 206 stores the embedded information acquired in step 607 as metadata in the image file generated in step 602. In step 611, since embedded information is not detected on the Nth page, the file generation unit 206 merges the image data acquired in step 605 into the image file generated in step 602 as it is. In step 612, the file generation unit 206 increases the page count N by one.

ステップ613において、ファイル生成部206は、スキャン処理部202に第Nのページの画像データを取得できるかどうか問い合わせる。画像データが取得できるとの応答があればステップ614に進む。本実施例では、埋め込み情報が検出された最初のページのみ埋め込み情報の格納及びQRコード(登録商標)の除去を行うので、ステップ614においては先ず、ファイル生成部206は、スキャン処理部202から第Nのページの画像データを取得する。ステップ615において、ファイル生成部206は、ステップ614で取得した画像データをステップ602で生成した画像ファイルにマージする。ステップ615で第Nページの画像データをマージした後、ステップ612において、ファイル生成部206は、ページのカウントNを1だけ増加させる。以降、ステップ614及びステップ615の処理をスキャン処理部202から取得する画像データがなくなるまで繰り返し(S613)、処理を終了する。これにより、全ての原稿が処理され、メタデータを格納した電子文書である画像ファイルが完成する。なお、本実施例では、スキャナ処理部202が原稿をスキャンさせて一旦データを保持しておいて、ファイル生成部が保持されたデータをスキャナ部202あるいは他の記憶部から取得するが、これに限られない。すなわち、原稿から画像データを生成するにあたっては、スキャン処理部202が原稿のページをスキャンさせるごとに処理することもでき、この場合、ファイル生成部206や他の種々のモジュールが主体で処理させることもできる。   In step 613, the file generation unit 206 inquires of the scan processing unit 202 whether image data of the Nth page can be acquired. If there is a response that image data can be acquired, the process proceeds to step 614. In this embodiment, since the embedded information is stored and the QR code (registered trademark) is removed only for the first page where the embedded information is detected, first in step 614, the file generation unit 206 starts from the scan processing unit 202. N page image data is acquired. In step 615, the file generation unit 206 merges the image data acquired in step 614 with the image file generated in step 602. After merging the image data of the Nth page in step 615, the file generation unit 206 increases the page count N by 1 in step 612. Thereafter, the processing in step 614 and step 615 is repeated until there is no image data acquired from the scan processing unit 202 (S613), and the processing is terminated. As a result, all the originals are processed, and an image file that is an electronic document storing metadata is completed. In this embodiment, the scanner processing unit 202 scans a document and temporarily holds data, and the file generation unit acquires data held by the scanner unit 202 or another storage unit. Not limited. That is, when generating image data from a document, the scan processing unit 202 can perform processing each time a page of the document is scanned. In this case, the file generation unit 206 and other various modules are mainly processed. You can also.

図7は、画像除去処理によって画像データからQRコード(登録商標)を含む領域が除去された原稿のイメージを示す図である。図7を参照すると、状態701に示すように図3の原稿のイメージにおいてQRコード302が黒で塗りつぶされていることが理解できる。本実施例では除去の一例として、QRコード(登録商標)を含む領域を黒で塗りつぶしているが、これに限られず、白で塗りつぶす、周囲の地紋と同じパターンで塗りつぶすといった、塗りつぶしが目立たない除去方法を選択してもよい。   FIG. 7 is a diagram illustrating an image of a document in which an area including a QR code (registered trademark) is removed from image data by image removal processing. Referring to FIG. 7, it can be understood that the QR code 302 is painted black in the image of the document of FIG. In this embodiment, as an example of the removal, the region including the QR code (registered trademark) is painted in black. However, the present invention is not limited to this. A method may be selected.

以上、本実施例においてMFPは、1以上のページからなる原稿から画像データを取得する場合、すべてのページのうち最初に出現するQRコード(登録商標)を検出し、そのQRコード(登録商標)に含まれる埋め込み情報を抽出して最初に出現するQRコード(登録商標)の画像のみ除去する。したがって、2番目以降に出現するQRコード(登録商標)についてはQRコード(登録商標)の画像を除去しない。したがって、埋め込み情報をメタデータとして格納した画像ファイルを、ファイル出力として生成し、データ送受信部201の指示でネットワークインターフェース106から画像ファイルを送信することができる。   As described above, in the present exemplary embodiment, when acquiring image data from a document including one or more pages, the MFP detects a QR code (registered trademark) that appears first among all pages, and the QR code (registered trademark). The embedded information included in is extracted and only the QR code (registered trademark) image that appears first is removed. Accordingly, the QR code (registered trademark) appearing after the second does not remove the QR code (registered trademark) image. Therefore, an image file in which the embedded information is stored as metadata can be generated as a file output, and the image file can be transmitted from the network interface 106 according to an instruction from the data transmission / reception unit 201.

なお、本実施例においてはデコード部204における埋め込み情報の抽出が図4に示すフローチャートのスキャン処理中で行われているがこれに限られない。すなわち、画像データ内のコード検出と埋め込み情報の抽出を、図6に示すフローチャートの送信ファイル生成処理中で行っても、同様の効果を得ることができる。
[実施例2] 本実施例は、MFPにより電子文書作成を指示する際に、利用者が電子文書を格納するファイルとして、QRコード(登録商標)等に組み込まれた読み取り情報を格納できないファイル形式の画像ファイルを指定した場合の処理である。すなわち、上述の実施例1では、スキャンして得られた画像データをメタデータ等、読み取り情報を格納できる画像ファイルを用いていたが、本実施例では読み取り情報を格納できないファイル形式の画像ファイルが指定された場合も含め処理を行う。図8は、実施例1のMFPにおいて原稿をスキャンして画像ファイルを生成して送信する処理において、利用者が生成するファイルの形式を選択変更する場合のMFPにおける送信ファイル生成処理の流れを示すフローチャートである。基本的に、読み取り情報を格納できる画像ファイルが指定されたときの処理は、本実施例も実施例1も同一であるため、図6のフローチャートのうち処理が同一のステップは同じ符号を付す。したがって、本実施例で異なる処理は、ステップ801及び802である。
In the present embodiment, the extraction of the embedded information in the decoding unit 204 is performed during the scanning process of the flowchart shown in FIG. 4, but the present invention is not limited to this. That is, the same effect can be obtained even if the code detection in the image data and the extraction of the embedded information are performed during the transmission file generation process of the flowchart shown in FIG.
[Second Embodiment] This embodiment is a file format in which the user cannot store read information embedded in a QR code (registered trademark) or the like as a file for storing an electronic document when the MFP instructs the creation of the electronic document. This processing is performed when an image file is designated. That is, in the first embodiment, the image data obtained by scanning is an image file that can store read information such as metadata. However, in this embodiment, there is an image file in a file format that cannot store read information. Processes even when specified. FIG. 8 shows a flow of transmission file generation processing in the MFP when the user changes the format of the file generated by the user in the processing of generating and transmitting an image file by scanning a document in the MFP of the first embodiment. It is a flowchart. Basically, the processing when the image file capable of storing the read information is designated is the same in both the present embodiment and the first embodiment, and therefore the steps having the same processing in the flowchart of FIG. Therefore, different processes in this embodiment are steps 801 and 802.

図8を参照すると、通常原稿を読み取る利用者は、読み取って生成される画像データが格納されるファイル形式を指定する場合があるので、ステップ801において、スキャン処理部202は先ず利用者が表示部101から指定したファイルの形式を読み取る。   Referring to FIG. 8, since a user who reads a normal document may designate a file format in which image data generated by reading is stored, in step 801, the scan processing unit 202 first displays the display unit. The format of the specified file is read from 101.

ステップ802において、ファイル生成部206は、ステップ801で読み取ったファイル形式が、JPEGやBMPといったメタデータの格納に制限があったりメタデータを格納できなかったりするファイル形式かどうかを判定する。そのようなファイル形式であれば、メタデータの格納ができないのでステップ612に進み、元の画像のQRコード(登録商標)の除去は行わず、スキャンしたままのイメージで画像ファイルを生成する。一方、そうでない、すなわちメタデータが格納できるようなファイル形式であれば、ステップ607に進み、上述の実施例1と同様の処理を行う。   In step 802, the file generation unit 206 determines whether the file format read in step 801 is a file format in which metadata storage such as JPEG or BMP is restricted or metadata cannot be stored. If the file format is such, the metadata cannot be stored, so the process proceeds to step 612, where the QR code (registered trademark) of the original image is not removed, and an image file is generated with the scanned image. On the other hand, if it is not so, that is, if the file format can store the metadata, the process proceeds to step 607 and the same processing as in the first embodiment is performed.

なお、本実施例では、複数のページを有する原稿の複数ページにQRコード(登録商標)が印刷されている場合を想定しているが、これに限られず、QRコード(登録商標)が1ページにのみ印刷されている場合や、1ページ原稿の場合にも適用することができる。すなわち、例えば1ページの原稿にQRコード(登録商標)が印刷されている場合、本実施例に従えば、利用者がメタデータが格納できないファイル形式を出力先に設定したときは、QRコード(登録商標)を除去することなく画像データを出力することとなる。   In this embodiment, it is assumed that a QR code (registered trademark) is printed on a plurality of pages of a document having a plurality of pages. However, the present invention is not limited to this, and the QR code (registered trademark) is one page. The present invention can also be applied to a case where only one page is printed or a one-page document. That is, for example, when a QR code (registered trademark) is printed on a one-page document, according to the present embodiment, when a user sets a file format that cannot store metadata as an output destination, a QR code ( The image data is output without removing the registered trademark.

以上の実施例の処理において、MFPが、利用者がメタデータの格納に制限があったりメタデータを格納できなかったりするファイル形式を選択してファイル送信を指示する場合がある。このような場合、本実施例により画像データからQRコード(登録商標)を含む領域を除去しないでファイルを生成して送信することができる。   In the processing of the above embodiment, the MFP may instruct file transmission by selecting a file format in which the user has limited storage of metadata or cannot store metadata. In such a case, according to this embodiment, a file can be generated and transmitted without removing an area including a QR code (registered trademark) from image data.

[その他の実施形態]
また、本発明は、以下の処理を実行することによっても実現される。すなわち、上述した実施例の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。また、本発明は、複数のプロセッサが連携して処理を行うことによっても実現できるものである。
[Other Embodiments]
The present invention can also be realized by executing the following processing. That is, software (program) for realizing the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, etc.) of the system or apparatus reads the program. It is a process to be executed. The present invention can also be realized by a plurality of processors cooperating to perform processing.

Claims (2)

原稿を読み取る読取手段と、
前記読み取る原稿を電子文書として出力するファイル形式を設定手段と、
前記読取手段で読み取った原稿から1以上の特定の情報をコード化した画像を検出する検出手段と、
前記検出手段で検出した1以上の特定の情報をコード化した画像から埋め込み情報を抽出する埋め込み情報抽出手段と、
前記埋め込み情報抽出手段で抽出した埋め込み情報をメタデータとして画像ファイルに格納する格納手段と、
前記読み取り手段で読み取った画像データから、前記検出した特定の情報をコード化した画像を除去する画像除去手段と、
前記読み取った画像データを画像ファイルとして出力するファイル出力手段と
を備え、
前記ファイル出力手段は、前記設定手段で設定されたファイル形式がメタデータを格納できない場合、前記画像除去手段で特定の情報をコード化した画像を除去することなく、前記読み取り手段で読み取った原稿の画像データを出力することを特徴とする画像形成装置。
Reading means for reading a document;
Setting means for setting a file format for outputting the read original as an electronic document;
Detecting means for detecting an image encoded with one or more specific information from the original read by the reading means;
Embedded information extracting means for extracting embedded information from an image obtained by encoding one or more pieces of specific information detected by the detecting means;
Storage means for storing the embedded information extracted by the embedded information extracting means as metadata in an image file;
Image removing means for removing an image obtained by encoding the detected specific information from the image data read by the reading means;
File output means for outputting the read image data as an image file,
When the file format set by the setting unit cannot store metadata, the file output unit does not remove an image encoded with specific information by the image removing unit, and removes an image of the document read by the reading unit. An image forming apparatus that outputs image data.
複数ページを含む原稿を読み取る読取手段と、
前記読み取る原稿を電子文書として出力するファイル形式を設定手段と、
前記読取手段で読み取った原稿から1以上の特定の情報をコード化した画像を検出する検出手段と、
前記検出手段で検出した1以上の特定の情報をコード化した画像から埋め込み情報を抽出する埋め込み情報抽出手段と、
前記埋め込み情報抽出手段で抽出した埋め込み情報をメタデータとして画像ファイルに格納する格納手段と、
前記読み取り手段で読み取った画像データから、前記検出した特定の情報をコード化した画像を除去する画像除去手段と、
前記読み取った画像データを画像ファイルとして出力するファイル出力手段と
を備え、
前記ファイル出力手段は、前記原稿のうち前記特定の情報をコード化した画像を有する最初のページのみ、前記抽出した埋め込み情報をメタデータとして画像ファイルに格納し、前記検出した特定の情報をコード化した画像を除去することを特徴とする画像形成装置。
Reading means for reading a document including a plurality of pages;
Setting means for setting a file format for outputting the read original as an electronic document;
Detecting means for detecting an image encoded with one or more specific information from the original read by the reading means;
Embedded information extracting means for extracting embedded information from an image obtained by encoding one or more pieces of specific information detected by the detecting means;
Storage means for storing the embedded information extracted by the embedded information extracting means as metadata in an image file;
Image removing means for removing an image obtained by encoding the detected specific information from the image data read by the reading means;
File output means for outputting the read image data as an image file,
The file output means stores the extracted embedded information as metadata in an image file only for the first page having an image in which the specific information is encoded in the document, and encodes the detected specific information. An image forming apparatus that removes an image that has been removed.
JP2011243833A 2011-11-07 2011-11-07 Image forming apparatus and method Expired - Fee Related JP5943582B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011243833A JP5943582B2 (en) 2011-11-07 2011-11-07 Image forming apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011243833A JP5943582B2 (en) 2011-11-07 2011-11-07 Image forming apparatus and method

Publications (3)

Publication Number Publication Date
JP2013102287A true JP2013102287A (en) 2013-05-23
JP2013102287A5 JP2013102287A5 (en) 2014-12-25
JP5943582B2 JP5943582B2 (en) 2016-07-05

Family

ID=48622521

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011243833A Expired - Fee Related JP5943582B2 (en) 2011-11-07 2011-11-07 Image forming apparatus and method

Country Status (1)

Country Link
JP (1) JP5943582B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009206928A (en) * 2008-02-28 2009-09-10 Canon Inc Image processing apparatus, image processing method and control program

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009206928A (en) * 2008-02-28 2009-09-10 Canon Inc Image processing apparatus, image processing method and control program

Also Published As

Publication number Publication date
JP5943582B2 (en) 2016-07-05

Similar Documents

Publication Publication Date Title
JP4661580B2 (en) Image processing apparatus and program
JP5247601B2 (en) Image processing apparatus, image processing method, and computer program
US8054508B2 (en) Image processing apparatus, method, and computer program product that generates and encodes coupled information identifying image copying and processing devices
JP4819723B2 (en) Information extraction apparatus, information extraction method, information extraction program, and recording medium
JP2012191508A (en) System capable of handling code image and control method of the same
JP2007060220A (en) Image forming apparatus
JP2012191252A (en) Apparatus capable of detecting two-dimensional code
JP2008113410A (en) Image processing apparatus and control method thereof, and reading method in image reading system
JP4135758B2 (en) Image forming apparatus, image forming system, and program
JP4858611B2 (en) Information embedding method, program thereof, and information embedding device
JP2012080520A (en) Document management system, image forming apparatus and server configuring document management system, and method and program therefor
JP5943582B2 (en) Image forming apparatus and method
JP4965996B2 (en) Image processing apparatus, image processing method, image processing program, and storage medium
US8547586B2 (en) Scanner device utilizing an internal storage unit and an external storage unit corresponding to header information
US20060274390A1 (en) Image processing device, image processing method, and image processing program product allowing reproduction of information lost in printing
JP5550377B2 (en) Image forming apparatus, image forming method, and program for detecting and processing code
JP6767651B2 (en) Information processing system and its processing method and program
JP2008158581A (en) Image processor, its control method, program, and storage medium
JP2008244545A (en) Image processor
JP5979950B2 (en) Image processing apparatus, control method therefor, and program
JP2014199507A (en) Image processing device and computer program
JP2008125026A (en) Image processor, image processing method, image processing program
JP2007328487A (en) Two dimensional code generation device, two dimensional code generation method, two dimensional code generation program, information embedding device, information embedding method, information embedding program, and two dimensional code
JP2010206644A (en) Image forming device and image transmission method
JP2005192080A (en) Image forming apparatus

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20141106

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20141106

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150910

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20151020

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20151218

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160524

R151 Written notification of patent or utility model registration

Ref document number: 5943582

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees