JP6398779B2 - Image file generation device, image reading device, and control program for image file generation device - Google Patents

Image file generation device, image reading device, and control program for image file generation device Download PDF

Info

Publication number
JP6398779B2
JP6398779B2 JP2015032626A JP2015032626A JP6398779B2 JP 6398779 B2 JP6398779 B2 JP 6398779B2 JP 2015032626 A JP2015032626 A JP 2015032626A JP 2015032626 A JP2015032626 A JP 2015032626A JP 6398779 B2 JP6398779 B2 JP 6398779B2
Authority
JP
Japan
Prior art keywords
image
information
image data
file generation
image file
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.)
Active
Application number
JP2015032626A
Other languages
Japanese (ja)
Other versions
JP2016158006A (en
Inventor
貴広 祢津
貴広 祢津
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2015032626A priority Critical patent/JP6398779B2/en
Publication of JP2016158006A publication Critical patent/JP2016158006A/en
Application granted granted Critical
Publication of JP6398779B2 publication Critical patent/JP6398779B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Editing Of Facsimile Originals (AREA)

Description

本発明は、画像ファイル生成装置、該画像ファイル生成装置を備える画像読取装置、及び画像ファイル生成装置の制御プログラムに関する。   The present invention relates to an image file generation device, an image reading device including the image file generation device, and a control program for the image file generation device.

従来から、この種の画像ファイル生成装置では、原稿等の読取対象をCCD等のセンサーにより読み取った画像データを用いて画像ファイルを生成していた。なお、画像データには、バーコードやQRコード(登録商標)等の情報画像が含まれることがある。この場合、例えば特許文献1に記載のように情報画像を含む画像データを媒体に印刷する構成であれば、その印刷した情報画像をスキャンすることにより情報画像に付加された情報を読み出すことが可能となる。   Conventionally, in this type of image file generation apparatus, an image file is generated using image data obtained by reading a reading target such as a document with a sensor such as a CCD. Note that the image data may include an information image such as a barcode or a QR code (registered trademark). In this case, for example, if image data including an information image is printed on a medium as described in Patent Document 1, it is possible to read information added to the information image by scanning the printed information image. It becomes.

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

しかしながら、上記例示した方法では、情報画像に付加されている情報を読み出すために、情報画像の印刷及び印刷した情報画像のスキャンといった煩雑な手間を要するという問題があった。   However, in the above-described method, there is a problem that it takes troublesome operations such as printing of the information image and scanning of the printed information image in order to read the information added to the information image.

本発明は、このような実情に鑑みてなされたものであり、その目的は、原稿等の読取対象に情報画像が含まれるときに、その情報画像に付加されている情報へのアクセスが容易な画像ファイルを生成する画像ファイル生成装置、画像読取装置、及び画像ファイル生成装置の制御プログラムを提供することにある。   The present invention has been made in view of such circumstances, and an object of the present invention is to facilitate access to information added to an information image when the information image is included in a reading target such as a document. An object of the present invention is to provide an image file generation device that generates an image file, an image reading device, and a control program for the image file generation device.

上記課題を解決する画像ファイル生成装置は、読取対象をスキャンすることにより得られる基本画像の画像データ中に所定の情報が付加された情報画像の画像データが含まれるときに、その情報画像の画像データを前記基本画像の画像データから抽出する画像抽出部と、前記画像抽出部が抽出した前記情報画像の画像データから当該情報画像に付加された前記所定の情報を取得する情報取得部と、前記基本画像の画像データと、前記情報取得部が取得した前記所定の情報とを含む一又は複数の画像ファイルを生成する画像ファイル生成部とを備える。   An image file generation apparatus that solves the above-described problem is provided when an image of an information image to which predetermined information is added is included in image data of a basic image obtained by scanning a reading target. An image extraction unit for extracting data from image data of the basic image, an information acquisition unit for acquiring the predetermined information added to the information image from image data of the information image extracted by the image extraction unit, An image file generation unit that generates one or a plurality of image files including image data of a basic image and the predetermined information acquired by the information acquisition unit.

また、上記課題を解決する画像読取装置は、読取対象をスキャンすることにより基本画像の画像データを取得する画像取得部と、前記画像取得部が取得した前記基本画像の画像データを用いて画像ファイルを生成する上記構成の画像ファイル生成装置とを備える。   An image reading apparatus that solves the above problem includes an image acquisition unit that acquires image data of a basic image by scanning a reading target, and an image file that uses the image data of the basic image acquired by the image acquisition unit. And an image file generating device configured as described above.

また、上記課題を解決する画像ファイル生成装置の制御プログラムは、画像ファイル生成装置に、読取対象をスキャンすることにより得られる基本画像の画像データ中に所定の情報が付加された情報画像の画像データが含まれるときに、その情報画像の画像データを前記基本画像の画像データから抽出する画像抽出処理と、前記画像抽出処理により抽出された前記情報画像の画像データから当該情報画像に付加された所定の情報を取得する情報取得処理と、前記基本画像の画像データと前記情報取得処理により取得された前記所定の情報とを含む一又は複数の画像ファイルを生成する画像ファイル生成処理とを実行させる。   Also, an image file generation apparatus control program that solves the above-described problem is an image data of an information image in which predetermined information is added to image data of a basic image obtained by scanning an image file generation apparatus. Is included, image extraction processing for extracting image data of the information image from the image data of the basic image, and predetermined information added to the information image from the image data of the information image extracted by the image extraction processing And an image file generation process for generating one or a plurality of image files including image data of the basic image and the predetermined information acquired by the information acquisition process.

上記構成によれば、情報画像に付加された所定の情報を含む画像ファイルが生成されるため、生成された画像ファイルに対して新たにスキャン操作等をしなくても情報画像に付加された所定の情報を読み出すことができる。すなわち、情報画像に付加されている情報へのアクセスが容易な画像ファイルを生成することが可能となる。   According to the above configuration, since the image file including the predetermined information added to the information image is generated, the predetermined image added to the information image without newly performing a scanning operation or the like on the generated image file. Can be read. That is, it is possible to generate an image file that allows easy access to information added to the information image.

上記画像ファイル生成装置において、前記画像ファイル生成部は、前記画像抽出部が抽出した前記情報画像の画像データを生成するとともに、その生成した画像データに前記情報取得部が取得した前記所定の情報を読出可能に埋め込み、その所定の情報を埋め込んだ情報画像の画像データを用いて前記画像ファイルを生成することが好ましい。   In the image file generation device, the image file generation unit generates image data of the information image extracted by the image extraction unit, and adds the predetermined information acquired by the information acquisition unit to the generated image data. It is preferable that the image file is generated using image data of an information image embedded so as to be readable and embedded with the predetermined information.

上記構成によれば、情報画像に付加された情報を情報画像の画像データと併せて扱うことが可能となる。
上記画像ファイル生成装置において、前記画像ファイル生成部は、前記情報画像に付加された情報がハイパーリンク又はコメントであることを条件に、前記所定の情報を表示した情報画像の画像データを前記基本画像の画像データに重畳させた画像データを用いて前記画像ファイルを生成することが好ましい。
According to the above configuration, the information added to the information image can be handled together with the image data of the information image.
In the image file generation device, the image file generation unit converts image data of the information image displaying the predetermined information on the condition that the information added to the information image is a hyperlink or a comment. It is preferable to generate the image file using image data superimposed on the image data.

上記構成によれば、情報画像に付加された情報が画像データの重畳に基づく画像ファイルの生成に適したものである場合に限り、こうした画像ファイルの生成が行われる。そのため、画像データの重畳に伴う画像ファイルの生成が必要以上の頻度で行われることが抑えられる。   According to the above configuration, such an image file is generated only when the information added to the information image is suitable for generating an image file based on the superimposition of the image data. Therefore, it is possible to suppress the generation of the image file accompanying the superimposition of the image data from being performed more frequently than necessary.

スキャナー装置の一実施の形態の概略構成を示すブロック図。1 is a block diagram showing a schematic configuration of an embodiment of a scanner device. 同実施の形態のスキャナー装置が実行する画像ファイル生成処理の処理手順を示すフローチャート。6 is a flowchart showing a processing procedure of image file generation processing executed by the scanner device of the embodiment. 読取対象の一例を示す模式図。The schematic diagram which shows an example of reading object. (a)、(b)は、情報画像(バーコード)から取得される情報の内容の一例を示す模式図。(A), (b) is a schematic diagram which shows an example of the content of the information acquired from an information image (barcode). ハイパーリンクの情報を埋め込んだ情報画像を用いて生成される画像ファイルのデータ内容の一例を示す模式図。The schematic diagram which shows an example of the data content of the image file produced | generated using the information image which embedded the information of the hyperlink. コメントの情報を埋め込んだ情報画像を用いて生成される画像ファイルのデータ内容の一例を示す模式図。The schematic diagram which shows an example of the data content of the image file produced | generated using the information image which embedded the information of the comment. ハイパーリンクによるリンク先のデータ内容の一例を示す模式図。The schematic diagram which shows an example of the data content of the link destination by a hyperlink.

以下、画像読取装置の一例であるスキャナー装置の構成について図面を参照して説明する。
図1に示すように、スキャナー装置10は、原稿台11を構成するガラス板11Aの読取面11Bに読取対象として載置された原稿12から画像を読み取る画像読取ユニット13を備えている。画像読取ユニット13は、キャリッジ14に搭載されており、駆動源となる電動モーター15の駆動に基づきガラス板11Aの読取面11Bに沿って移動可能となっている。
Hereinafter, a configuration of a scanner device which is an example of an image reading device will be described with reference to the drawings.
As shown in FIG. 1, the scanner device 10 includes an image reading unit 13 that reads an image from a document 12 placed as a reading target on a reading surface 11 </ b> B of a glass plate 11 </ b> A constituting the document table 11. The image reading unit 13 is mounted on the carriage 14 and is movable along the reading surface 11B of the glass plate 11A based on driving of an electric motor 15 serving as a driving source.

具体的には、キャリッジ14は、ガラス板11Aに対して原稿12とは反対側となる位置に配置され、副走査方向Yに移動可能な状態で設けられている。また、キャリッジ14は、電動モーター15の駆動軸に連結された駆動プーリー16と、該駆動プーリー16に対して同一の高さに設けられた従動プーリー17とに巻き掛けられたタイミングベルト18に連結されている。そのため、電動モーター15が駆動されてタイミングベルト18が正転又は逆転することに伴い、キャリッジ14は副走査方向Yに往復移動することが可能となっている。   Specifically, the carriage 14 is disposed at a position opposite to the original 12 with respect to the glass plate 11 </ b> A, and is provided so as to be movable in the sub-scanning direction Y. The carriage 14 is connected to a timing belt 18 wound around a drive pulley 16 connected to a drive shaft of the electric motor 15 and a driven pulley 17 provided at the same height with respect to the drive pulley 16. Has been. Therefore, the carriage 14 can reciprocate in the sub-scanning direction Y as the electric motor 15 is driven and the timing belt 18 rotates forward or backward.

また、キャリッジ14の内部には、ガラス板11Aの読取面11Bに載置された原稿12に光を照射する白色光源20と、原稿12から反射した光を集光させる集光レンズ21と、集光レンズ21で集光された光を受光して画像を読み取る画像取得部の一例としてのイメージセンサー22とを備えている。白色光源20は一対設けられ、それぞれから射出された光は原稿12に対して例えば45度の角度で入射する。また、原稿12から垂直に反射された反射光の光路上にイメージセンサー22がその受光面を反射光に対して垂直になる向きで配置されている。集光レンズ21は、原稿12から反射された光を集光し、イメージセンサー22の受光面に結像させる機能を有する。なお、本実施の形態のイメージセンサー22は、副走査方向Yと直交する主走査方向Xに長く延びるラインセンサーであり、ガラス板11Aの読取面11Bの主走査方向Xの全域に亘る範囲に配置されている。そして、イメージセンサー22は、主走査方向Xに延びる原稿12のライン状領域を読み取りつつキャリッジ14と一体となって副走査方向Yに移動することにより、原稿12の画像全体を読み取る。   Further, inside the carriage 14, a white light source 20 that irradiates light on the document 12 placed on the reading surface 11 </ b> B of the glass plate 11 </ b> A, a condensing lens 21 that collects light reflected from the document 12, and a collecting lens. An image sensor 22 is provided as an example of an image acquisition unit that receives light collected by the optical lens 21 and reads an image. A pair of white light sources 20 are provided, and light emitted from each of the white light sources 20 enters the original 12 at an angle of, for example, 45 degrees. Further, the image sensor 22 is disposed on the optical path of the reflected light reflected perpendicularly from the document 12 with the light receiving surface thereof being perpendicular to the reflected light. The condenser lens 21 has a function of collecting the light reflected from the document 12 and forming an image on the light receiving surface of the image sensor 22. Note that the image sensor 22 of the present embodiment is a line sensor that extends long in the main scanning direction X orthogonal to the sub-scanning direction Y, and is arranged in a range over the entire region in the main scanning direction X of the reading surface 11B of the glass plate 11A. Has been. The image sensor 22 reads the entire image of the document 12 by moving in the sub-scanning direction Y together with the carriage 14 while reading the line-shaped region of the document 12 extending in the main scanning direction X.

また、スキャナー装置10は、装置全体の制御を司る制御ユニット30を備えている。制御ユニット30は、イメージセンサー22から出力される画素信号をデジタル信号に変換するAFE31(アナログフロントエンド)と、AFE31から入力されるデジタル信号に対してホワイトバランス処理やガンマ補正など所定の処理を実行して画像ファイルを生成する画像処理部32とを備えている。   The scanner device 10 also includes a control unit 30 that controls the entire device. The control unit 30 executes predetermined processing such as white balance processing and gamma correction on the AFE 31 (analog front end) that converts the pixel signal output from the image sensor 22 into a digital signal, and the digital signal input from the AFE 31. And an image processing unit 32 for generating an image file.

画像処理部32は、AFE31から入力される原稿12の全体の画素信号からなる基本画像の画像データに対してラベリング処理又はパターン認識処理を行うことにより基本画像の画像データから情報画像の外縁を抽出する画像抽出部33を有している。画像抽出部33は、抽出した情報画像の外縁に囲まれる領域の画素信号を情報画像の画像データとして生成する。この情報画像とは、例えばバーコードやQRコード等のように、各種の情報が付加されている画像を意味している。なお、情報画像に付加することが可能な各種の情報には、文書や画像等のネットワークアドレスを表すハイパーリンクや、文書等における文字列の情報を表すコメント等が含まれる。   The image processing unit 32 extracts the outer edge of the information image from the image data of the basic image by performing a labeling process or a pattern recognition process on the image data of the basic image composed of the entire pixel signals of the document 12 input from the AFE 31. An image extracting unit 33 is provided. The image extraction unit 33 generates a pixel signal of an area surrounded by the outer edge of the extracted information image as image data of the information image. This information image means an image to which various kinds of information are added, such as a barcode or a QR code. Note that various types of information that can be added to an information image include a hyperlink that represents a network address of a document or an image, a comment that represents information on a character string in the document or the like.

また、画像処理部32は、画像抽出部33が抽出した情報画像の画像データに対して画像解析処理を行うことにより、情報画像に付加された各種の情報を解読して取得する情報取得部34を有している。そして、画像処理部32は、基本画像及び情報画像の画像データと、情報取得部34が取得した各種の情報とを組み合わせることにより、一又は複数の画像ファイルを画像ファイル生成部35を通じて生成する。なお、上述した画像処理部32による画像処理は、制御ユニット30が備えるメインコントローラー36からの制御に基づき行われる。   The image processing unit 32 performs image analysis processing on the image data of the information image extracted by the image extraction unit 33, thereby decoding and acquiring various types of information added to the information image. have. Then, the image processing unit 32 generates one or a plurality of image files through the image file generation unit 35 by combining the image data of the basic image and the information image and the various types of information acquired by the information acquisition unit 34. Note that the above-described image processing by the image processing unit 32 is performed based on control from the main controller 36 included in the control unit 30.

メインコントローラー36は、CPU37(中央処理装置)と、画像処理部32が画像ファイルの生成の際に実行する制御プログラム38や該制御プログラム38を用いて画像処理部32が生成した画像ファイル39等を格納する不揮発性メモリー40と、データや演算結果等を一時的に格納するRAM41とを備えている。   The main controller 36 includes a CPU 37 (central processing unit), a control program 38 executed when the image processing unit 32 generates an image file, an image file 39 generated by the image processing unit 32 using the control program 38, and the like. A nonvolatile memory 40 for storing data and a RAM 41 for temporarily storing data, calculation results, and the like are provided.

メインコントローラー36には、PC42(パーソナルコンピューター)等の外部機器と接続可能なI/F43(インターフェイス)が接続されている。そして、メインコントローラー36には、画像読取の指示などの各種の信号がPC42からI/F43を経由して入力される。また、メインコントローラー36からは、白色光源20への照射信号や、電動モーター15への駆動信号、I/F43への画像ファイルのデータ信号等が出力される。   An I / F 43 (interface) that can be connected to an external device such as a PC 42 (personal computer) is connected to the main controller 36. Various signals such as an image reading instruction are input from the PC 42 via the I / F 43 to the main controller 36. The main controller 36 outputs an irradiation signal to the white light source 20, a drive signal to the electric motor 15, an image file data signal to the I / F 43, and the like.

次に、本実施の形態のスキャナー装置10の動作例として、制御ユニット30がメインコントローラー36の不揮発性メモリー40に格納されている制御プログラム38を読み出して実行する画像ファイル39の生成処理についてその具体的な処理手順を説明する。なお、制御ユニット30は、PC42等の外部機器からI/F43を通じてメインコントローラー36に対して画像読取の指示が入力されたことを条件に図2に示す処理を実行する。   Next, as an example of the operation of the scanner device 10 according to the present embodiment, the generation process of the image file 39 that the control unit 30 reads and executes the control program 38 stored in the nonvolatile memory 40 of the main controller 36 will be described. A typical processing procedure will be described. The control unit 30 executes the processing shown in FIG. 2 on condition that an image reading instruction is input from the external device such as the PC 42 to the main controller 36 through the I / F 43.

まず、図2に示すように、ステップS10において、制御ユニット30は、読取対象のスキャン画像を基本画像として生成する。この場合、制御ユニット30は、メインコントローラー36から電動モーター15に駆動信号を送信する。そして、制御ユニット30は、キャリッジ14を副走査方向Yに往復移動させている間にイメージセンサー22から出力される読取対象の画素信号をAFE31を通じて画像処理部32に入力することにより基本画像を生成する。   First, as shown in FIG. 2, in step S10, the control unit 30 generates a scan image to be read as a basic image. In this case, the control unit 30 transmits a drive signal from the main controller 36 to the electric motor 15. The control unit 30 generates a basic image by inputting the pixel signal to be read output from the image sensor 22 to the image processing unit 32 through the AFE 31 while the carriage 14 is reciprocated in the sub-scanning direction Y. To do.

続いて、ステップS11において、画像処理部32は、先のステップS10において生成された基本画像の画像データに対するラベリング処理又はパターン認識処理を通じて基本画像の全体に対する画像認識処理を行う。   Subsequently, in step S11, the image processing unit 32 performs image recognition processing on the entire basic image through labeling processing or pattern recognition processing on the image data of the basic image generated in the previous step S10.

そして次に、ステップS12において、画像処理部32は、画像抽出処理として、基本画像の画像データから情報画像の画像データを画像抽出部33を通じて抽出する。なお、図3に示す例のように、読取対象がバーコード50を付した宅配伝票51であるときには、この宅配伝票51の全体を表す基本画像の画像データから情報画像の一例としてバーコード50の画像データが抽出される。   In step S12, the image processing unit 32 extracts image data of the information image from the image data of the basic image through the image extraction unit 33 as image extraction processing. As shown in the example of FIG. 3, when the delivery target is a home delivery slip 51 with a barcode 50, the barcode 50 as an example of the information image is generated from the image data of the basic image representing the whole home delivery slip 51. Image data is extracted.

続いて、ステップS13において、画像処理部32は、基本画像の画像データから情報画像の画像データを抽出できるか否かを判定する。そして、画像処理部32は、基本画像の画像データから情報画像の画像データを抽出できるときには(ステップS13=YES)、すなわち基本画像に情報画像が含まれているときには、その処理をステップS14に移行する。   Subsequently, in step S13, the image processing unit 32 determines whether or not the image data of the information image can be extracted from the image data of the basic image. When the image processing unit 32 can extract the image data of the information image from the image data of the basic image (step S13 = YES), that is, when the information image is included in the basic image, the process proceeds to step S14. To do.

そして、ステップS14において、画像処理部32は、先のステップS12において抽出した情報画像の画像データを基本画像の画像データから独立した画像データとして生成する。また、画像処理部32は、情報取得処理として、その生成した情報画像の画像データに対する画像解析処理を情報取得部34を通じて行い、情報画像に付加されている情報を解読して取得する。   In step S14, the image processing unit 32 generates the image data of the information image extracted in the previous step S12 as image data independent of the image data of the basic image. Further, as the information acquisition process, the image processing unit 32 performs an image analysis process on the image data of the generated information image through the information acquisition unit 34, and decodes and acquires information added to the information image.

図4(a)に示す例では、所定のネットワークアドレスを表すハイパーリンクHLの情報が情報画像の一例であるバーコード50に付加されており、このバーコード50の解読を通じてハイパーリンクHLの情報が取得される。また、図4(b)に示す例では、所定の文字列を表すコメントCの情報が情報画像の一例であるバーコード50に付加されており、このバーコード50の解読を通じてコメントCの情報が取得される。   In the example shown in FIG. 4A, information on a hyperlink HL representing a predetermined network address is added to a barcode 50 which is an example of an information image, and information on the hyperlink HL is obtained by decoding the barcode 50. To be acquired. Further, in the example shown in FIG. 4B, the information on the comment C representing a predetermined character string is added to the barcode 50 as an example of the information image. To be acquired.

そして次に、ステップS15において、画像処理部32は、図4(a)に示した例のように情報画像に付加されている情報がハイパーリンクであるか否かを判定する。そして、画像処理部32は、情報画像に付加されている情報がハイパーリンクであるときには(ステップS15=YES)、その処理をステップS16に移行する。また、ステップS16において、画像処理部32は、付加されているハイパーリンクの情報を表す画像を生成する。この画像は、情報画像の画像データと同じ画素数の画像である。   In step S15, the image processing unit 32 determines whether the information added to the information image is a hyperlink as in the example illustrated in FIG. When the information added to the information image is a hyperlink (step S15 = YES), the image processing unit 32 proceeds to step S16. In step S <b> 16, the image processing unit 32 generates an image representing information on the added hyperlink. This image is an image having the same number of pixels as the image data of the information image.

その一方で、画像処理部32は、情報画像に付加されている情報がハイパーリンクではないときには(ステップS15=NO)、その処理をステップS17に移行する。そして、ステップS17において、画像処理部32は、図4(b)に示した例のように情報画像に付加されている情報がコメントであるか否かを判定する。そして、画像処理部32は、情報画像に付加されている情報がコメントであるときには(ステップS17=YES)、その処理をステップS18に移行する。また、ステップS18において、画像処理部32は、付加されているコメントの情報を表す画像を生成する。この画像は、情報画像の画像データと同じ画素数の画像である。その一方で、画像処理部32は、情報画像に付加されている情報がコメントではないときには(ステップS17=NO)、すなわち情報画像に付加されている情報がハイパーリンク及びコメントの何れにも該当しないときには、情報画像に情報が付加されている場合であれ、その情報を表す画像を生成することなくその処理をステップS19に移行する。   On the other hand, when the information added to the information image is not a hyperlink (step S15 = NO), the image processing unit 32 moves the process to step S17. In step S17, the image processing unit 32 determines whether the information added to the information image is a comment as in the example illustrated in FIG. When the information added to the information image is a comment (step S17 = YES), the image processing unit 32 proceeds to step S18. In step S18, the image processing unit 32 generates an image representing the information of the added comment. This image is an image having the same number of pixels as the image data of the information image. On the other hand, when the information added to the information image is not a comment (step S17 = NO), the image processing unit 32 does not correspond to either the hyperlink or the comment. Sometimes, even if information is added to the information image, the process proceeds to step S19 without generating an image representing the information.

そして、ステップS19において、画像処理部32は、先のステップS12において抽出された全ての情報画像を解析したか否かを判定する。そして、画像処理部32は、全ての情報画像を解析していないときには(ステップS19=NO)、解析対象となる情報画像を変更した上で(ステップS20)、その処理をステップS14に戻し、全ての情報画像を解析するまでステップS14〜ステップS20の処理を繰り返す。その一方で、画像処理部32は、全ての情報画像を解析したときには(ステップS19=YES)、その処理をステップS21に移行する。   In step S19, the image processing unit 32 determines whether or not all information images extracted in the previous step S12 have been analyzed. Then, when not analyzing all the information images (step S19 = NO), the image processing unit 32 changes the information image to be analyzed (step S20), and returns the processing to step S14. Steps S14 to S20 are repeated until the information image is analyzed. On the other hand, when all the information images have been analyzed (step S19 = YES), the image processing unit 32 proceeds to step S21.

そして、ステップS21において、画像処理部32は、先のステップS16又はステップS18においてハイパーリンク又はコメントを表す画像が生成されたか否かを判定する。そして、ハイパーリンク又はコメントを表す画像が生成されたときには(ステップS21=YES)、その処理をステップS22に移行する。   In step S21, the image processing unit 32 determines whether an image representing a hyperlink or a comment has been generated in step S16 or step S18. And when the image showing a hyperlink or a comment is produced | generated (step S21 = YES), the process transfers to step S22.

その後、ステップS22において、画像処理部32は、画像ファイル生成処理として、ハイパーリンク又はコメントを表す画像を基本画像に重畳した画像データを示す画像ファイルを画像ファイル生成部35を通じて生成した上で、図2に示す画像データの生成処理を終了する。   Thereafter, in step S22, the image processing unit 32 generates an image file indicating image data obtained by superimposing an image representing a hyperlink or a comment on the basic image as an image file generation process through the image file generation unit 35. The image data generation process shown in FIG.

その一方で、ハイパーリンク又はコメントを表す画像が生成されていないときには(ステップS21=NO)、その処理をステップS23に移行する。また、画像処理部32は、先のステップS13において基本画像の画像データから情報画像の画像データを抽出できないとき(ステップS13=NO)、すなわち基本画像に情報画像が含まれていないときにも同様に、その処理をステップS23に移行する。そして、ステップS23において、画像処理部32は、基本画像の画像データを示す画像ファイルを画像ファイル生成部35を通じて生成した上で、図2に示す画像データの生成処理を終了する。   On the other hand, when an image representing a hyperlink or a comment has not been generated (step S21 = NO), the process proceeds to step S23. The image processing unit 32 is the same when the image data of the information image cannot be extracted from the image data of the basic image in the previous step S13 (step S13 = NO), that is, when the information image is not included in the basic image. Then, the process proceeds to step S23. In step S23, the image processing unit 32 generates an image file indicating the image data of the basic image through the image file generation unit 35, and then ends the image data generation processing shown in FIG.

図5に示す例では、同図において破線で囲まれた部分がハイパーリンクHLの情報を読出可能に表示した情報画像52Aの画像データを示している。この情報画像52Aの画像データでは、バーコードにハイパーリンクHLが表すネットワークアドレスの情報が重ねられてバーコード自体が隠れた表示となっている。そして、同図に示す例のように、ハイパーリンクHLが表示された情報画像52Aの画像データを、基本画像の画像データにおける元の情報画像の位置に重畳した画像データを用いて画像ファイルが生成される。このように生成された画像ファイルを用いれば、例えば図7に示す荷物問い合わせシステムのウェブページのネットワークアドレス等をハイパーリンクHLとして読出可能に表示しておくことが可能となる。この場合、宅配伝票51ごとスキャンしてしまえば、宅配伝票51に付されているバーコード50のみのスキャン操作等をしなくても、こうしたネットワークアドレスへのアクセスが可能となる。   In the example shown in FIG. 5, the portion surrounded by a broken line in FIG. 5 shows the image data of the information image 52A in which the information of the hyperlink HL is displayed so as to be readable. In the image data of the information image 52A, the bar code itself is hidden by overlapping the network address information represented by the hyperlink HL on the bar code. Then, as in the example shown in the figure, an image file is generated using image data obtained by superimposing the image data of the information image 52A on which the hyperlink HL is displayed on the position of the original information image in the image data of the basic image. Is done. If the image file generated in this way is used, for example, the network address of the web page of the package inquiry system shown in FIG. 7 can be displayed as a hyperlink HL so as to be readable. In this case, once the home delivery slip 51 is scanned, it is possible to access such a network address without performing a scanning operation of only the barcode 50 attached to the home delivery slip 51.

また、図6に示す例では、同図において破線で囲まれた部分がコメントCの情報を読出可能に表示した情報画像52Bの画像データを示している。この情報画像52Bの画像データには、バーコードにコメントCが表す文字列の情報が重ねられてバーコード自体が隠れた表示となっている。そして、同図に示す例のように、コメントCが表示された情報画像52Bの画像データを、基本画像における元の情報画像の位置に重畳した画像データを用いて画像ファイルが生成される。このように生成された画像ファイルを用いれば、宅配伝票51に付されているバーコード50のみのスキャン操作等をしなくても、宅配伝票の伝票番号の文字列情報を宅配伝票の基本画像の画像データとは独立したデータとして読み出すことが可能となる。そして、この伝票番号の文字列情報を用いれば、例えば図7に示す荷物問い合わせシステムにおいて、伝票番号の入力欄Aに対する自動入力を行うことが可能となる。   In the example shown in FIG. 6, the portion surrounded by a broken line in the drawing shows the image data of the information image 52 </ b> B in which the information of the comment C is displayed in a readable manner. The image data of the information image 52B is displayed with the barcode itself hidden by overlapping the character string information represented by the comment C on the barcode. Then, as in the example shown in the figure, an image file is generated using image data in which the image data of the information image 52B on which the comment C is displayed is superimposed on the position of the original information image in the basic image. By using the image file generated in this way, the character string information of the slip number of the home delivery slip can be obtained from the basic image of the home delivery slip without performing the scanning operation of only the barcode 50 attached to the home delivery slip 51. It can be read out as data independent of image data. If the character string information of the slip number is used, for example, in the package inquiry system shown in FIG. 7, it is possible to automatically input the slip number input field A.

以上説明したように、上記実施の形態によれば、以下に示す効果を得ることができる。
(1)情報画像に付加された情報を含む画像ファイルを生成している。そのため、生成された画像ファイルに対して新たにスキャン操作等をしなくても情報画像に付加された情報を読み出すことができる。すなわち、情報画像に付加されている情報へのアクセスが容易な画像ファイルを生成することが可能となる。
As described above, according to the above embodiment, the following effects can be obtained.
(1) An image file including information added to an information image is generated. Therefore, the information added to the information image can be read without newly performing a scanning operation or the like on the generated image file. That is, it is possible to generate an image file that allows easy access to information added to the information image.

(2)基本画像の画像データから情報画像の画像データを抽出するとともに、その抽出した情報画像の画像データに情報画像に付加されている情報を埋め込み、その情報を埋め込んだ情報画像の画像データを用いて画像ファイルを生成している。そのため、情報画像に付加された情報を情報画像の画像データと併せて扱うことが可能となる。   (2) Image data of an information image is extracted from image data of a basic image, information added to the information image is embedded in the extracted image data of the information image, and image data of the information image in which the information is embedded is embedded To generate an image file. Therefore, information added to the information image can be handled together with the image data of the information image.

(3)情報画像に付加された情報がハイパーリンク又はコメントであることを条件に、情報を表示した情報画像の画像データを基本画像の画像データに重畳させた画像データを用いて画像ファイルを生成している。すなわち、情報画像に付加された情報が画像データの重畳に基づく画像ファイルの生成に適したものである場合に限り、こうした画像ファイルの生成が行われる。そのため、画像データの重畳に伴う画像ファイルの生成が必要以上の頻度で行われることが抑えられる。   (3) On the condition that the information added to the information image is a hyperlink or a comment, an image file is generated using the image data obtained by superimposing the image data of the information image displaying the information on the image data of the basic image. doing. That is, such an image file is generated only when the information added to the information image is suitable for generating an image file based on the superimposition of the image data. Therefore, it is possible to suppress the generation of the image file accompanying the superimposition of the image data from being performed more frequently than necessary.

なお、上記実施の形態は、以下のような形態にて実施することもできる。
・上記実施の形態において、情報画像に付加された情報がハイパーリンク又はコメント以外の情報であっても、その情報の種類に応じた関連付けを情報画像に対して行ってもよい。また、ハイパーリンク及びコメントの一方に対応せず、ハイパーリンクである場合にのみ関連付けを行ったり、コメントである場合にのみ関連付けを行ったりしてもよい。
In addition, the said embodiment can also be implemented with the following forms.
-In above-mentioned embodiment, even if the information added to the information image is information other than the hyperlink or the comment, the association according to the type of the information may be performed on the information image. Moreover, it does not respond | correspond to one of a hyperlink and a comment, You may link only when it is a hyperlink, or you may link only when it is a comment.

・上記実施の形態において、生成する画像ファイルは、ハイパーリンクやコメント等の情報を表す画像を基本画像に重畳した画像データを示すものでなく、ハイパーリンクやコメント等の情報を関連付けた情報画像を基本画像に重畳した画像データを示すものでもよい。この場合、画像データは一見すると基本画像のままであるが、情報画像をマウスでクリックするなどで選択が行われると、ハイパーリンクやコメント等の情報が読み出されて、ハイパーリンク先が呼び出されたり、コメントが表示されたりするようにできる。   In the above embodiment, the image file to be generated does not indicate image data in which an image representing information such as a hyperlink or a comment is superimposed on the basic image, but an information image associated with information such as a hyperlink or a comment. It may indicate image data superimposed on the basic image. In this case, the image data is a basic image at first glance, but when a selection is made by clicking the information image with a mouse, information such as hyperlinks and comments is read and the hyperlink destination is called. And comments can be displayed.

・上記実施の形態において、基本画像に情報画像が含まれるときに、その情報画像に付加されている情報を用いた画像ファイルの生成を一律に行ってもよい。
・上記実施の形態において、情報画像に付加されている情報を表す画像を、基本画像の画像データにおける元の情報画像に隣り合う位置に併記させた画像データを用いて画像ファイルを生成してもよい。
In the above embodiment, when an information image is included in the basic image, an image file using information added to the information image may be uniformly generated.
In the above embodiment, even if an image file is generated using image data in which an image representing information added to an information image is written in a position adjacent to the original information image in the image data of the basic image Good.

・上記実施の形態において、付加されている情報を表示した情報画像を、基本画像の画像データにおける元の情報画像とは異なる位置に重畳させた画像データを用いて画像ファイルを生成してもよい。   In the above embodiment, an image file may be generated using image data in which an information image displaying added information is superimposed at a position different from the original information image in the basic image image data. .

・上記実施の形態において、基本画像に情報画像が含まれるときに、その情報画像の画像データを独立した画像データとして生成することなく、情報画像に付加されている情報を含む画像データを用いて画像ファイルを生成してもよい。   In the above embodiment, when an information image is included in the basic image, the image data including the information added to the information image is used without generating the image data of the information image as independent image data. An image file may be generated.

・上記実施の形態において、画像読取装置は、スキャン専用のスキャナー装置に限定されず、スキャン以外の機能も搭載した複合機やカメラであってもよい。例えば生成した画像データに基づき印刷装置が画像を印刷出力する構成でもよい。また、FAX機能を備えていて、生成した画像データをFAX送信で出力してもよい。   In the above embodiment, the image reading apparatus is not limited to a scanning-dedicated scanner apparatus, and may be a multifunction machine or a camera equipped with functions other than scanning. For example, the printing apparatus may be configured to print out an image based on the generated image data. In addition, a FAX function may be provided, and the generated image data may be output by FAX transmission.

10…画像読取装置の一例としてのスキャナー装置、12…読取対象の一例としての原稿、22…画像読取部の一例としてのイメージセンサー、30…画像ファイル生成装置の一例としての制御ユニット、33…画像抽出部、34…情報取得部、35…画像ファイル生成部、38…制御プログラム、39…画像ファイル、52A,52B…情報画像、C…所定の情報の一例としてのコメント、HL…所定の情報の一例としてのハイパーリンク。   DESCRIPTION OF SYMBOLS 10 ... Scanner apparatus as an example of an image reading apparatus, 12 ... Document as an example of reading object, 22 ... Image sensor as an example of image reading part, 30 ... Control unit as an example of image file generation apparatus, 33 ... Image Extraction unit 34 ... Information acquisition unit 35 ... Image file generation unit 38 ... Control program 39 39 Image file 52A, 52B ... Information image C ... Comment as an example of predetermined information HL ... Predetermined information An example hyperlink.

Claims (5)

読取対象をスキャンすることにより得られる基本画像の画像データ中に所定の情報が付加された情報画像の画像データが含まれるときに、その情報画像の画像データを前記基本画像の画像データから抽出する画像抽出部と、
前記画像抽出部が抽出した前記情報画像の画像データから当該情報画像に付加された前記所定の情報を取得する情報取得部と、
前記基本画像と前記情報取得部が取得した前記所定の情報を表す画像とを重畳した画像データを含む一又は複数の画像ファイルを生成する画像ファイル生成部と
を備え
前記画像ファイル生成部は、前記所定の情報を表す画像が表示されるように前記画像ファイルを生成する画像ファイル生成装置。
When the image data of the basic image obtained by scanning the reading target includes the image data of the information image to which the predetermined information is added, the image data of the information image is extracted from the image data of the basic image. An image extraction unit;
An information acquisition unit for acquiring the predetermined information added to the information image from the image data of the information image extracted by the image extraction unit;
And an image file generation unit for generating one or more image files including the image data obtained by superimposing the image representing the predetermined information by the information acquiring unit and the basic alphabet image is acquired,
The image file generation unit generates the image file so that an image representing the predetermined information is displayed .
前記画像ファイル生成部は、前記所定の情報を表す画像によって前記情報画像が隠れて表示されるように前記画像ファイルを生成する
請求項1に記載の画像ファイル生成装置。
The image file generation device according to claim 1, wherein the image file generation unit generates the image file so that the information image is hidden and displayed by an image representing the predetermined information .
前記画像ファイル生成部は、前記所定の情報を表す画像と前記情報画像とが併記されて表示されるように前記画像ファイルを生成する
請求項に記載の画像ファイル生成装置。
The image file generation device according to claim 1 , wherein the image file generation unit generates the image file so that an image representing the predetermined information and the information image are displayed together .
読取対象をスキャンすることにより基本画像の画像データを取得する画像取得部と、
前記画像取得部が取得した前記基本画像の画像データを用いて画像ファイルを生成する請求項1〜3の何れか一項に記載の画像ファイル生成装置と
を備える画像読取装置。
An image acquisition unit that acquires image data of a basic image by scanning a reading target;
An image reading device comprising: the image file generation device according to claim 1, wherein the image file is generated using image data of the basic image acquired by the image acquisition unit.
画像ファイル生成装置に、
読取対象をスキャンすることにより得られる基本画像の画像データ中に所定の情報が付加された情報画像の画像データが含まれるときに、その情報画像の画像データを前記基本画像の画像データから抽出する画像抽出処理と、
前記画像抽出処理により抽出された前記情報画像の画像データから当該情報画像に付加された所定の情報を取得する情報取得処理と、
前記基本画像と前記情報取得処理により取得された前記所定の情報を表す画像とを重畳した画像データを含む一又は複数の画像ファイルを生成する画像ファイル生成処理と
を実行させ、
前記画像ファイル生成処理では、前記所定の情報を表す画像が表示されるように前記画像ファイルを生成する画像ファイル生成装置の制御プログラム。
In the image file generator,
When the image data of the basic image obtained by scanning the reading target includes the image data of the information image to which the predetermined information is added, the image data of the information image is extracted from the image data of the basic image. Image extraction processing,
An information acquisition process for acquiring predetermined information added to the information image from the image data of the information image extracted by the image extraction process;
To execute an image file generation processing for generating one or more image files including the image data obtained by superimposing the image representing the predetermined information acquired by the information acquisition process and the basic alphabet image,
In the image file generation process, a control program for an image file generation apparatus that generates the image file so that an image representing the predetermined information is displayed .
JP2015032626A 2015-02-23 2015-02-23 Image file generation device, image reading device, and control program for image file generation device Active JP6398779B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015032626A JP6398779B2 (en) 2015-02-23 2015-02-23 Image file generation device, image reading device, and control program for image file generation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015032626A JP6398779B2 (en) 2015-02-23 2015-02-23 Image file generation device, image reading device, and control program for image file generation device

Publications (2)

Publication Number Publication Date
JP2016158006A JP2016158006A (en) 2016-09-01
JP6398779B2 true JP6398779B2 (en) 2018-10-03

Family

ID=56826711

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015032626A Active JP6398779B2 (en) 2015-02-23 2015-02-23 Image file generation device, image reading device, and control program for image file generation device

Country Status (1)

Country Link
JP (1) JP6398779B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0273468A (en) * 1988-09-09 1990-03-13 Canon Inc Electronic filing system
JP4738180B2 (en) * 2006-01-17 2011-08-03 株式会社リコー Image processing apparatus and electronic file generation method

Also Published As

Publication number Publication date
JP2016158006A (en) 2016-09-01

Similar Documents

Publication Publication Date Title
US8817339B2 (en) Handheld device document imaging
JP4903034B2 (en) Image processing apparatus, image processing method, and computer program
US9485368B2 (en) Electronic document generation apparatus, recording medium, and electronic document generation system
EP2333655A2 (en) Printed matter examination apparatus, a printed matter examination method, a storage medium, and a printed matter examination system
ATE388449T1 (en) DETECTION OF DIFFERENT PAGES DURING SCANNING
WO2009094446A1 (en) Method and apparatus for cropping images
JP2009055406A (en) Multifunctional i/o device, its control method, multifunctional i/o device control program, and recording medium
US20200298590A1 (en) Image to script converter
JP2008312133A (en) Image data generation device, image data generation method, and image data generation program
JP6398779B2 (en) Image file generation device, image reading device, and control program for image file generation device
US9961217B2 (en) Electronic apparatus with instruction reception unit receiving instruction indicated by user and computer-readable medium with program
US10171688B2 (en) Management server to receive scanned images and align the scanned images based on page numbers included in the scanned images
JP2007041709A (en) Document processing system, control method of document processing system, document processing device, computer program and computer readable storage medium
JP5310040B2 (en) Imaging processing apparatus and program
JP6682215B2 (en) Image processing apparatus, image processing method, and control program
JP2008187313A (en) Image information management system, device, and program, and image forming apparatus and program
JP5310039B2 (en) Imaging processing apparatus and program
US10498907B2 (en) Medium storing program, image processing apparatus, and image processing method
JP2005063142A (en) Code read device
JP6728672B2 (en) Image processing apparatus, image processing program, and image processing method
US20140293366A1 (en) Image Processing Apparatus and Computer Program
JP2008244545A (en) Image processor
JP6274175B2 (en) Image reading apparatus and image forming apparatus
JP5550309B2 (en) Image processing apparatus and display control method
US20160057309A1 (en) Text scanning system, image processing apparatus, and text scanning method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20171206

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180614

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180619

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180720

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180820

R150 Certificate of patent or registration of utility model

Ref document number: 6398779

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150