JP2014011699A - Image processor, and computer program - Google Patents

Image processor, and computer program Download PDF

Info

Publication number
JP2014011699A
JP2014011699A JP2012148088A JP2012148088A JP2014011699A JP 2014011699 A JP2014011699 A JP 2014011699A JP 2012148088 A JP2012148088 A JP 2012148088A JP 2012148088 A JP2012148088 A JP 2012148088A JP 2014011699 A JP2014011699 A JP 2014011699A
Authority
JP
Japan
Prior art keywords
image
unit
size
template
ruled line
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.)
Pending
Application number
JP2012148088A
Other languages
Japanese (ja)
Inventor
Maki Kondo
真樹 近藤
Tomohiko Hasegawa
智彦 長谷川
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.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2012148088A priority Critical patent/JP2014011699A/en
Publication of JP2014011699A publication Critical patent/JP2014011699A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Editing Of Facsimile Originals (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a ruled line image that is sufficiently easily used when printed on a sheet.SOLUTION: An image processor for printing includes: an assignment number acquisition part for acquiring an assignment number showing the umber of unit images to be printed within one sheet; a template preparation part for preparing template image data representing a template image having a plurality of unit images corresponding to the assignment number, wherein the template image includes: a ruled line area having a plurality of ruled lines, and an interval between two adjacent ruled lines is almost constant regardless of the assignment number in the case that the template image is printed on a sheet; and a template supply part for supplying the template image data to a print execution part.

Description

本発明は、複数の単位画像を含むテンプレート画像を表すテンプレート画像データを準備する画像処理する技術に関する。   The present invention relates to an image processing technique for preparing template image data representing a template image including a plurality of unit images.

画像を用紙に印刷する際には、用紙のサイズ等の印刷条件に応じて、適切な印刷が行われるように、様々な工夫がなされている。ここで、原稿用紙の升目状に配置された罫線や、レポート用紙の平行に並んだ罫線など様々な種類の罫線が、用紙に印刷されている。罫線を含む画像(罫線画像)の印刷条件には、用紙のサイズ、罫線の種類など各種の条件が考えられる。   When an image is printed on paper, various ideas are made so that appropriate printing is performed according to printing conditions such as paper size. Here, various types of ruled lines such as ruled lines arranged in a checkered pattern on the manuscript paper and parallel ruled lines on the report paper are printed on the paper. Various conditions such as the size of the paper and the type of ruled line are conceivable as printing conditions for the image including the ruled line (ruled line image).

特開2008−173908号公報JP 2008-173908 A 特開2010−187056号公報JP 2010-187056 A

しかしながら、これらの印刷条件に応じて適切に罫線を印刷することについて十分な工夫がなされているとは言えず、用紙に印刷された場合に十分に使いやすい罫線画像が提供されているとは言えなかった。   However, it cannot be said that sufficient contrivance has been made for printing ruled lines appropriately according to these printing conditions, and it can be said that a ruled line image that is sufficiently easy to use when printed on paper is provided. There wasn't.

本発明の主な利点は、用紙に印刷された場合に十分に使いやすい罫線画像を提供することである。   The main advantage of the present invention is to provide a ruled line image that is sufficiently easy to use when printed on paper.

本発明は、上述の課題の少なくとも一部を解決するためになされたものであり、以下の適用例として実現することが可能である。   SUMMARY An advantage of some aspects of the invention is to solve at least a part of the problems described above, and the invention can be implemented as the following application examples.

[適用例1]印刷のための画像処理装置であって、1枚の用紙内に印刷されるべき単位画像の数を示す割付数を取得する割付数取得部と、前記割付数に対応する複数個の単位画像を含むテンプレート画像を表すテンプレート画像データを準備するテンプレート準備部であって、前記複数個の単位画像のそれぞれは、複数の罫線を含む罫線領域を含み、前記複数の罫線のうち、隣接する2つの罫線の間隔は、前記テンプレート画像が前記用紙に印刷された場合に、前記割付数に拘わらず、略一定である、前記テンプレート準備部と、前記テンプレート画像データを印刷実行部に供給するテンプレート供給部と、を備える画像処理装置。 Application Example 1 An image processing apparatus for printing, an allocation number acquisition unit that acquires an allocation number indicating the number of unit images to be printed on one sheet, and a plurality of allocation units corresponding to the allocation number A template preparation unit for preparing template image data representing a template image including a plurality of unit images, wherein each of the plurality of unit images includes a ruled line region including a plurality of ruled lines, and among the plurality of ruled lines, When the template image is printed on the paper, the interval between two adjacent ruled lines is substantially constant regardless of the number of assignments. The template preparation unit and the template image data are supplied to the print execution unit. An image processing apparatus.

上記構成によれば、用紙に印刷されたテンプレート画像において、罫線間の間隔が、割付数によって変動することを抑制することができる。例えば、割付数が大きい場合に、罫線間の間隔が過度に小さくなることを抑制することができる。この結果、用紙に印刷されたテンプレート画像の使いやすさを向上することができる。   According to the above configuration, in the template image printed on the paper, it is possible to suppress the interval between ruled lines from fluctuating depending on the number of assignments. For example, when the number of assignments is large, it is possible to suppress the interval between ruled lines from becoming excessively small. As a result, the usability of the template image printed on the paper can be improved.

[適用例2] 印刷のための画像処理装置であって、前記用紙のサイズを取得する用紙サイズ取得部と、テンプレート画像を表すテンプレート画像データを準備するテンプレート準備部であって、前記テンプレート画像は、複数の罫線を含む罫線領域を含み、前記複数の罫線のうち、隣接する2つの罫線の間隔は、前記テンプレート画像が前記用紙に印刷された場合に、前記用紙のサイズに拘わらず、略一定である、前記テンプレート準備部と、前記テンプレート画像データを印刷実行部に供給するテンプレート供給部と、を備える画像処理装置。 Application Example 2 An image processing apparatus for printing, a paper size acquisition unit that acquires the size of the paper, and a template preparation unit that prepares template image data representing a template image, wherein the template image is A ruled line region including a plurality of ruled lines, and an interval between two ruled lines adjacent to each other among the plurality of ruled lines is substantially constant regardless of the size of the sheet when the template image is printed on the sheet. An image processing apparatus comprising: the template preparation unit; and a template supply unit that supplies the template image data to a print execution unit.

上記構成によれば、用紙に印刷されたテンプレート画像において、複数の罫線の間隔が、用紙のサイズによって変動することを抑制することができる。例えば、用紙のサイズが小さい場合に、罫線間の間隔が過度に小さくなることを抑制することができる。この結果、用紙に印刷されたテンプレート画像の使いやすさを向上することができる。   According to the above configuration, in the template image printed on the paper, it is possible to suppress the interval between the plurality of ruled lines from fluctuating depending on the size of the paper. For example, when the paper size is small, it is possible to suppress the interval between ruled lines from becoming excessively small. As a result, the usability of the template image printed on the paper can be improved.

本発明は、種々の形態で実現することが可能であり、例えば、上記装置の機能を実現する方法、上記装置の機能を実現するコンピュータプログラム、当該コンピュータプログラムを記録した記録媒体、等の形態で実現することができる。   The present invention can be realized in various forms, for example, in the form of a method for realizing the function of the device, a computer program for realizing the function of the device, a recording medium on which the computer program is recorded, and the like. Can be realized.

原稿保存システム1000の構成を示すブロック図である。1 is a block diagram showing a configuration of a document storage system 1000. FIG. テンプレート画像TIの一例を示す図である。It is a figure which shows an example of the template image TI. メモシートMSの使用態様を説明する図である。It is a figure explaining the usage condition of memo sheet | seat MS. テンプレート画像データ生成処理のフローチャートである。It is a flowchart of a template image data generation process. 罫線画像の種類について説明する図である。It is a figure explaining the kind of ruled line image. 矩形画像SQ内に設定される部分領域PAを示す図である。It is a figure which shows the partial area PA set in the rectangular image SQ. 矩形画像SQに設定される複数の罫線領域MAを示す図である。It is a figure which shows the several ruled line area | region MA set to the rectangular image SQ. 第1の配置処理について説明する図である。It is a figure explaining the 1st arrangement processing. 第2の配置処理について説明する図である。It is a figure explaining the 2nd arrangement processing. 周辺領域IAに対する情報の配置について説明する図である。It is a figure explaining arrangement | positioning of the information with respect to the peripheral area IA. 用紙サイズPSが異なる場合のテンプレート画像TIを示す図である。It is a figure which shows the template image TI in case paper size PS differs. 分割ドキュメント生成処理のフローチャートである。It is a flowchart of a divided document generation process. 分割ドキュメント生成処理の説明図である。It is explanatory drawing of a division | segmentation document production | generation process. 分割ドキュメント生成処理の説明図である。It is explanatory drawing of a division | segmentation document production | generation process. 管理テーブルMTの一例を示す図である。It is a figure which shows an example of the management table MT. 領域画像データ生成処理のフローチャートである。It is a flowchart of a region image data generation process. PDFファイルの生成について説明する図である。It is a figure explaining the production | generation of a PDF file. テンプレート画像データ生成処理の変形例を説明する図である。It is a figure explaining the modification of template image data generation processing. テンプレート画像データ生成処理の変形例を説明する図である。It is a figure explaining the modification of template image data generation processing.

A.実施例:
A−1.原稿保存システム1000の構成:
図1は、原稿保存システム1000の構成を示すブロック図である。原稿保存システム1000は、画像処理サーバ200と、複合機300と、パーソナルコンピュータ400と、格納サーバ500とを備えている。複合機300とパーソナルコンピュータ400は、同じユーザによって利用され、LAN600を介して、通信可能に接続されている。複合機300とパーソナルコンピュータ400とは、LAN600を介して、インターネット700に接続されている。画像処理サーバ200と、格納サーバ500とは、それぞれ、インターネット700に接続されている。
A. Example:
A-1. Configuration of the document storage system 1000:
FIG. 1 is a block diagram showing the configuration of the document storage system 1000. The document storage system 1000 includes an image processing server 200, a multifunction machine 300, a personal computer 400, and a storage server 500. The multifunction machine 300 and the personal computer 400 are used by the same user and are communicably connected via the LAN 600. The multifunction machine 300 and the personal computer 400 are connected to the Internet 700 via the LAN 600. The image processing server 200 and the storage server 500 are each connected to the Internet 700.

複合機300は、複合機300全体を制御するCPU310と、RAMなどの揮発性記憶装置330と、フラッシュメモリなどの不揮発性記憶装置340と、外部機器(ネットワークを介して接続される機器、USBメモリなどの外部記憶装置など)と接続するための通信部320と、各種のボタンを含む操作部350と、液晶パネルなどの表示部360と、インクジェット式またはレーザ式のプリンタエンジンである印刷実行部370と、画像読取部380と、を備えている。   The MFP 300 includes a CPU 310 that controls the entire MFP 300, a volatile storage device 330 such as a RAM, a non-volatile storage device 340 such as a flash memory, and external devices (devices connected via a network, USB memory). A communication unit 320 for connecting to an external storage device or the like), an operation unit 350 including various buttons, a display unit 360 such as a liquid crystal panel, and a print execution unit 370 that is an ink jet or laser printer engine. And an image reading unit 380.

画像読取部380は、CCDやCMOSなどの複数の光電変換素子が一列に並んで配置された構造を備える一次元イメージセンサを用いて、原稿を光学的に読み取ることによって、原稿画像データ(スキャンデータ)を生成するスキャナである。画像読取部380は、例えば、自動搬送機構を備え、複数枚の原稿を順次に読み取って、複数個の原稿画像データを自動的に生成することができる。   The image reading unit 380 optically reads a document using a one-dimensional image sensor having a structure in which a plurality of photoelectric conversion elements such as a CCD and a CMOS are arranged in a line, thereby reading document image data (scan data). ). For example, the image reading unit 380 includes an automatic conveyance mechanism, and can sequentially read a plurality of documents and automatically generate a plurality of document image data.

不揮発性記憶装置340には、コンピュータプログラム341が格納されている。コンピュータプログラム341は、CD−ROMなどに記録された形態で提供され得る。CPU310は、プログラム341を実行することにより、複合機300の全体を制御する装置制御部312として機能する。装置制御部312は、テンプレート画像取得部314と、原稿画像送信部316と、を備える。これらの各機能部が実行する処理については後述する。   A computer program 341 is stored in the nonvolatile storage device 340. The computer program 341 can be provided in a form recorded on a CD-ROM or the like. The CPU 310 functions as a device control unit 312 that controls the entire MFP 300 by executing the program 341. The apparatus control unit 312 includes a template image acquisition unit 314 and a document image transmission unit 316. Processing executed by each of these functional units will be described later.

画像処理サーバ200は、CPU210と、RAMなどの揮発性記憶装置230と、ハードディスクなどの不揮発性記憶装置240と、インターネット700に接続するためのインタフェースを含む通信部220と、を備えている。不揮発性記憶装置240には、コンピュータプログラム241と、基本罫線画像データ群245(後述)が格納されている。コンピュータプログラム241は、CD−ROMなどに記録された形態で提供され得る。   The image processing server 200 includes a CPU 210, a volatile storage device 230 such as a RAM, a non-volatile storage device 240 such as a hard disk, and a communication unit 220 including an interface for connecting to the Internet 700. The non-volatile storage device 240 stores a computer program 241 and a basic ruled line image data group 245 (described later). The computer program 241 can be provided in a form recorded on a CD-ROM or the like.

CPU210は、コンピュータプログラム241を実行することにより、テンプレート画像生成部50と原稿画像処理部100として機能する。テンプレート画像生成部50は、罫線種取得部51と、割付数取得部52と、用紙サイズ取得部54と、テンプレート準備部56と、テンプレート供給部58と、を備えている。原稿画像処理部100は、原稿画像取得部110と、画像情報取得部120と、ページ番号取得部130と、生成順特定部140と、不要条件判断部150と、領域画像生成部160と、ファイル生成部170と、を備えている。これらの各機能部が実行する処理については後述する。   The CPU 210 functions as the template image generation unit 50 and the document image processing unit 100 by executing the computer program 241. The template image generation unit 50 includes a ruled line type acquisition unit 51, an allocation number acquisition unit 52, a paper size acquisition unit 54, a template preparation unit 56, and a template supply unit 58. The document image processing unit 100 includes a document image acquisition unit 110, an image information acquisition unit 120, a page number acquisition unit 130, a generation order specification unit 140, an unnecessary condition determination unit 150, an area image generation unit 160, a file And a generation unit 170. Processing executed by each of these functional units will be described later.

格納サーバ500は、一般的な計算機であり、格納サーバ500のCPU510は、サーバプログラム(図示せず)を実行することによって、ユーザが所有するデータを格納・保存するサービスを提供する。具体的には、後述するように、ユーザは、複合機300と画像処理サーバ200とを介して、原稿を表す原稿画像データを格納サーバ500に格納することができる。   The storage server 500 is a general computer, and the CPU 510 of the storage server 500 provides a service for storing and storing data owned by the user by executing a server program (not shown). Specifically, as will be described later, the user can store document image data representing a document in the storage server 500 via the multifunction peripheral 300 and the image processing server 200.

パーソナルコンピュータ400のCPU410は、対応するプログラムを実行することによって、複合機300を制御するためのドライバ(図示省略)や、画像処理サーバ200にアクセスするクライアントとして機能する。ユーザは、パーソナルコンピュータ400を用いて、格納サーバ500に格納された原稿画像データにアクセスすることが可能である。   The CPU 410 of the personal computer 400 functions as a driver (not shown) for controlling the multifunction peripheral 300 and a client for accessing the image processing server 200 by executing a corresponding program. The user can access the document image data stored in the storage server 500 using the personal computer 400.

A−2.原稿保存システム1000の動作:
画像処理サーバ200が実行する処理を中心に、原稿保存システム1000の動作について説明する。
A-2. Operation of the document storage system 1000:
The operation of the document storage system 1000 will be described focusing on the processing executed by the image processing server 200.

A−2−1:テンプレート画像データ生成処理:
テンプレート画像データ生成処理は、メモシートMSを作成するためのテンプレート画像データを生成する処理である。テンプレート画像データは、メモシートMSに印刷されるテンプレート画像TIを表す。
A-2-1: Template image data generation processing:
The template image data generation process is a process for generating template image data for creating the memo sheet MS. The template image data represents a template image TI printed on the memo sheet MS.

ここで、テンプレート画像TIの概要を説明する。図2は、テンプレート画像データによって表されるテンプレート画像TIの一例を示す図である。図3は、メモシートMSの使用態様を説明する図である。図2(A)は、単位画像10の一例を示している。図2(B)は、割付数ANが2である第1種のテンプレート画像TIAを示し、図2(C)は、割付数ANが4である第2種のテンプレート画像TIBを示している。図3(A)は、第1種のテンプレート画像TIAが印刷された第1種のメモシートMSAの使用態様を示し、図3(B)は、第2種のテンプレート画像TIBが印刷された第2種のメモシートMSBの使用態様を示している。このように、特定種類のテンプレート画像TIやメモシートMSを区別する場合には、符号の末尾にさらにアルファベット(例えば、A、B)を付加する。   Here, an outline of the template image TI will be described. FIG. 2 is a diagram illustrating an example of a template image TI represented by template image data. FIG. 3 is a diagram for explaining how the memo sheet MS is used. FIG. 2A shows an example of the unit image 10. FIG. 2B shows a first type of template image TIA with an allocation number AN of 2, and FIG. 2C shows a second type of template image TIB with an allocation number of AN of 4. FIG. 3A shows a usage mode of the first type memo sheet MSA on which the first type template image TIA is printed, and FIG. 3B shows the second type of template image TIB on which the second type template image TIB is printed. The usage mode of two types of memo sheets MSB is shown. Thus, when distinguishing a specific type of template image TI or memo sheet MS, an alphabet (for example, A, B) is further added to the end of the code.

図2(B)(C)に示すように、テンプレート画像TIは、割付数ANに対応する個数(AN個)の単位画像10を含む。換言すれば、割付数ANは、テンプレート画像TIを用紙に印刷してメモシートMSを作成した場合に、1枚の用紙(の片面)に印刷される単位画像10の数である。第1種のテンプレート画像TIAは、2個の単位画像10A、10Bを含み、第2種のテンプレート画像TIBは、4個の単位画像10C、10D、10E、10Fを含む。このように、特定の単位画像10を区別する場合には、符号の末尾にさらにアルファベット(例えば、A、B)を付加する。後述するメモシートMSの領域SAについても同様である。   As shown in FIGS. 2B and 2C, the template image TI includes the number (AN) of unit images 10 corresponding to the allocation number AN. In other words, the allocation number AN is the number of unit images 10 printed on one sheet (one side) when the template image TI is printed on a sheet to create the memo sheet MS. The first type template image TIA includes two unit images 10A and 10B, and the second type template image TIB includes four unit images 10C, 10D, 10E, and 10F. Thus, when distinguishing the specific unit image 10, an alphabet (for example, A, B) is further added to the end of a code | symbol. The same applies to an area SA of a memo sheet MS to be described later.

なお、テンプレート画像TIが印刷されたメモシートMSは、図3に示すように、折り畳まれた状態で使用される。具体的には、第1種のメモシートMSA(図3(A))は、矩形の用紙の2つの長辺をそれぞれ均等に切断する2つの中点CP1、CP2を結ぶ線を第1の折り線として1回折り畳まれた状態で使用される。第2種のメモシートMSB(図3(B))は、1回折り畳まれた状態の用紙の2つの長辺(折り畳まれる前は短辺であった辺)のそれぞれの中点CP3、CP4を結ぶ線を第2の折り線として、さらに、1回折り畳まれた状態で使用される。メモシートMSが上述したように折り畳まれたときの折り線によって、メモシートMSの一方の面は、複数の領域SAに区分される。具体的には、第1種のメモシートMSAの一方の面は、2個の領域SAA、SABに区分され(図3(A))、第2種のメモシートMSBの一方の面は、4個の領域SAC、SAD、SAE、SAFに区分される(図3(B))。   Note that the memo sheet MS on which the template image TI is printed is used in a folded state as shown in FIG. Specifically, in the first type memo sheet MSA (FIG. 3A), a line connecting two middle points CP1 and CP2 that equally cut two long sides of a rectangular sheet is first folded. Used as a line folded once. The second type memo sheet MSB (FIG. 3 (B)) shows the midpoints CP3 and CP4 of the two long sides (sides that were short before folding) of the sheet folded once. The connecting line is used as a second fold line, and is used in a state of being folded once more. One surface of the memo sheet MS is divided into a plurality of areas SA by the fold line when the memo sheet MS is folded as described above. Specifically, one side of the first type memo sheet MSA is divided into two areas SAA and SAB (FIG. 3A), and one side of the second type memo sheet MSB is 4 The area is divided into SAC, SAD, SAE, and SAF (FIG. 3B).

メモシートMSの1個の領域SAは、1ページ分のメモ領域として用いられることが想定されている。例えば、第1種のメモシートMSAでは、領域SAAが1ページ目、領域SABが2ページ目のメモ領域として用いられる。第2種のメモシートMSBでは、4個の領域SAC、SAD、SAE、SAFが、それぞれ、1〜4ページ目のメモ領域として用いられる。   One area SA of the memo sheet MS is assumed to be used as a memo area for one page. For example, in the first type memo sheet MSA, the area SAA is used as the first page and the area SAB is used as the second page memo area. In the second type memo sheet MSB, the four areas SAC, SAD, SAE, and SAF are used as memo areas for the first to fourth pages, respectively.

単位画像10は、メモシートMSの各領域SAに1個ずつ印刷される。このために、1個の単位画像10は、1ページ分のメモ領域として用いられた場合に、便利なように、構成されている。具体的には、1個の単位画像10は、図2(A)に示すように、罫線画像特定情報LT(後述)によって指定された種類の罫線RLを含む罫線画像が配置される罫線領域MAと、罫線領域MAの周囲を囲む周辺領域IAとを含む。周辺領域IAは、罫線領域MAの上方に隣接するヘッダ領域HAと、罫線領域MAの下方に隣接するフッタ領域FAと、を含む。罫線領域MAを本文領域とも呼ぶ。罫線領域MAは、罫線RLを含むものの、文字、図形、描画などの有意なオブジェクトを有さない、実質的に白紙の領域である。   One unit image 10 is printed on each area SA of the memo sheet MS. Therefore, one unit image 10 is configured to be convenient when used as a memo area for one page. Specifically, as shown in FIG. 2A, one unit image 10 includes a ruled line area MA in which a ruled line image including a type of ruled line RL specified by ruled line image specifying information LT (described later) is arranged. And a peripheral area IA surrounding the periphery of the ruled line area MA. The peripheral area IA includes a header area HA adjacent above the ruled line area MA and a footer area FA adjacent below the ruled line area MA. The ruled line area MA is also referred to as a text area. The ruled line area MA is a substantially blank area that includes the ruled line RL but does not have significant objects such as characters, graphics, and drawings.

ヘッダ領域HAは、上マーカ11と、ページ情報領域12と、タイトル領域13と、不要チェックボックス14と、を含んでいる。上マーカ11は、例えば、ヘッダ領域HAの左隅(単位画像10の左上の隅)に配置され、左右方向に平行な部分と上下方向に平行な部分とを含む形状(L字を時計回りに90度回転させた形状)を有している。ページ情報領域12には、テンプレート画像TI内の単位画像10のページ番号が記載されている。タイトル領域13は、ユーザが単位画像10ごとにタイトルを記入するための領域である。不要チェックボックス14は、ユーザが単位画像10を保存する必要がない場合に、チェックを記入するための領域である。   The header area HA includes an upper marker 11, a page information area 12, a title area 13, and an unnecessary check box 14. The upper marker 11 is disposed, for example, at the left corner of the header area HA (upper left corner of the unit image 10), and includes a shape including a portion parallel to the left-right direction and a portion parallel to the vertical direction (L-shape is turned 90 Shape). In the page information area 12, the page number of the unit image 10 in the template image TI is described. The title area 13 is an area for the user to enter a title for each unit image 10. The unnecessary check box 14 is an area for entering a check when the user does not need to save the unit image 10.

フッタ領域FAは、複数のキーワード15と、複数のキーワード15にそれぞれ対応するマーク領域16と、下マーカ17と、を含んでいる。キーワード15は、ユーザが、単位画像10に関連付けることが可能なキーワードである。キーワード15の具体的な内容(メモ、議事録、セミナ、アイデアなど)は、例えば、予め定められていても良いし、ユーザによって指定された設定情報に含められ得るキーワード情報によって特定されても良い。マーク領域16は、複数のキーワード15のうちの全部または一部を特定するために、ユーザによって塗りつぶされる領域である。下マーカ17は、例えば、上マーカ11を時計回りに180度回転させた形状を有している。以上から解るように、このテンプレート画像TIが印刷されたメモシートMSには、罫線領域MAが実質的に白紙にも拘わらず、換言すれば、罫線領域MAの内容が定まっていないにも拘わらず、関連付けるべきキーワード15の候補が印刷される、ことになる。   The footer area FA includes a plurality of keywords 15, a mark area 16 corresponding to each of the plurality of keywords 15, and a lower marker 17. The keyword 15 is a keyword that can be associated with the unit image 10 by the user. The specific content (notes, minutes, seminars, ideas, etc.) of the keyword 15 may be predetermined, for example, or may be specified by keyword information that can be included in setting information designated by the user. . The mark area 16 is an area that is filled by the user in order to specify all or part of the plurality of keywords 15. The lower marker 17 has, for example, a shape obtained by rotating the upper marker 11 clockwise by 180 degrees. As can be seen from the above, in the memo sheet MS on which the template image TI is printed, the ruled line area MA is substantially blank, in other words, the contents of the ruled line area MA are not determined. The candidate of the keyword 15 to be associated is printed.

単位画像10は、図3を参照して説明したように折り畳まれた状態で、テンプレート画像TIが印刷されたメモシートMSを使用した場合に便利なように、テンプレート画像TI内に配置されている。   The unit image 10 is arranged in the template image TI so as to be convenient when the memo sheet MS on which the template image TI is printed is used in the folded state as described with reference to FIG. .

具体的には、図2(B)に示すように、第1種のテンプレート画像TIAの2個の単位画像10A、10Bは、図3(A)に示す2個の領域SAA、SABに対応する領域にそれぞれ配置される。そして、折り畳まれた状態で使用されるときに想定される上方向(図3(A)の矢印)と、2個の単位画像10A、10Bの上方向(図2(B)の矢印)と、が一致するように、2個の単位画像10A、10Bは、第1種のテンプレート画像TIA内に同じ向きに配置されている。   Specifically, as shown in FIG. 2B, the two unit images 10A and 10B of the first type template image TIA correspond to the two areas SAA and SAB shown in FIG. Arranged in each area. And the upward direction (arrow of FIG. 3 (A)) assumed when used in the folded state, the upward direction of two unit images 10A and 10B (arrow of FIG. 2 (B)), The two unit images 10A and 10B are arranged in the same direction in the first type template image TIA so that the two match.

また、図2(C)に示すように、第2種のテンプレート画像TIBの4個の単位画像10C〜10Fは、図3(B)に示す4個の領域SAC〜SAFに対応する領域にそれぞれ配置される。そして、折り畳まれた状態で使用されるときに想定される上方向(図3(B)の矢印)と、4個の単位画像10C〜10Fの上方向(図2(C)の矢印)と、が一致するように、2個の単位画像10C、10Fと、2個の単位画像10D、10Eとは、第2種のテンプレート画像TIB内に互いに逆向きに配置されている。すなわち、2個の単位画像10C、10Fと、2個の単位画像10D、10Eは、上述した第1の折り線に対応する第2種のテンプレート画像TIB内の線を挟んで互いに逆向きである。   Further, as shown in FIG. 2C, the four unit images 10C to 10F of the second type template image TIB are respectively in areas corresponding to the four areas SAC to SAF shown in FIG. Be placed. And the upward direction (arrow of FIG. 3 (B)) assumed when used in the folded state, the upward direction of four unit images 10C to 10F (arrow of FIG. 2 (C)), The two unit images 10C and 10F and the two unit images 10D and 10E are disposed in the second type template image TIB so as to be opposite to each other. That is, the two unit images 10C and 10F and the two unit images 10D and 10E are opposite to each other across the line in the second type template image TIB corresponding to the first fold line. .

図2(B)(C)において、各単位画像10内に示された数字(「P−」が頭に付けられている)は、テンプレート画像TI内の各単位画像10に割り当てられたページ番号を示している。この数字から解るように、単位画像10のページ番号は、上述した折り畳まれた状態において想定される使用順番に従って割り当てられている。このページ番号は、上述したように、ページ情報領域12(図2(A))に示されている。   2B and 2C, the numbers shown in each unit image 10 (with “P-” prefixed) are the page numbers assigned to the unit images 10 in the template image TI. Is shown. As can be seen from these numbers, the page numbers of the unit images 10 are assigned according to the order of use assumed in the above-described folded state. As described above, this page number is shown in the page information area 12 (FIG. 2A).

図4は、テンプレート画像データ生成処理のフローチャートである。テンプレート画像データ生成処理は、テンプレート画像データの生成を要求する生成要求を、画像処理サーバ200が受信した場合に、画像処理サーバ200のテンプレート画像生成部50によって実行される。生成要求は、複合機300のユーザによる指示に従って、複合機300のテンプレート画像取得部314によって、画像処理サーバ200に対して送信される。ユーザの指示は、例えば、複合機300の印刷実行部370にメモシートMSのテンプレート画像TIを印刷させる印刷指示である。   FIG. 4 is a flowchart of the template image data generation process. The template image data generation process is executed by the template image generation unit 50 of the image processing server 200 when the image processing server 200 receives a generation request for requesting generation of template image data. The generation request is transmitted to the image processing server 200 by the template image acquisition unit 314 of the multifunction device 300 in accordance with an instruction from the user of the multifunction device 300. The user instruction is, for example, a print instruction that causes the print execution unit 370 of the multifunction peripheral 300 to print the template image TI of the memo sheet MS.

ステップS110にて、複合機300から生成要求を受信すると、テンプレート画像生成部50は、受信された生成要求に含まれる設定情報を取得する(ステップS120)。図4に示すように、設定情報は、ユーザによって指定されたレイアウト情報を含んでいる。レイアウト情報は、割付数ANと、用紙サイズPSと、罫線画像の種類を特定するための罫線画像特定情報LTとを含んでいる。より具体的には、罫線種取得部51は、レイアウト情報に含まれる罫線画像特定情報LTを取得して、罫線画像の種類を特定する。の割付数取得部52は、レイアウト情報に含まれる割付数ANを取得する。用紙サイズ取得部54は、レイアウト情報の用紙サイズPSを取得する。ここで、用紙サイズPSは、テンプレート画像TIが印刷されるべき用紙のサイズであり、ハガキ、A4、A3、B5、B4、リーガルなどの一般的に印刷に用いられる用紙サイズのいずれかである。これらのレイアウト情報は、ユーザが複合機300の操作部350を介して複合機300に入力した情報である。設定情報は、レイアウト情報に加えて、他の情報、例えば、後述するキーワード情報などの他の情報を含んでいても良い。   In step S110, when a generation request is received from the multifunction device 300, the template image generation unit 50 acquires setting information included in the received generation request (step S120). As shown in FIG. 4, the setting information includes layout information designated by the user. The layout information includes an allocation number AN, a paper size PS, and ruled line image specifying information LT for specifying the type of ruled line image. More specifically, the ruled line type acquisition unit 51 acquires the ruled line image specifying information LT included in the layout information and specifies the type of the ruled line image. The allocation number acquisition unit 52 acquires the allocation number AN included in the layout information. The paper size acquisition unit 54 acquires the paper size PS of the layout information. Here, the paper size PS is the size of the paper on which the template image TI is to be printed, and is one of paper sizes generally used for printing, such as postcards, A4, A3, B5, B4, and legal. These pieces of layout information are information input by the user to the multifunction device 300 via the operation unit 350 of the multifunction device 300. The setting information may include other information, for example, other information such as keyword information described later, in addition to the layout information.

図5は、罫線画像の種類について説明する図である。図5(A)は、罫線画像の種類の一覧を示す罫線画像テーブルRLTの一例を示す図である。罫線画像テーブルRLTに示す内容は、画像処理サーバ200のコンピュータプログラム241に組み込まれている。本実施例において、罫線画像特定情報LTによって特定される罫線画像は、例えば、後述する横方向に延びる互いに平行な横罫線を有するレポート用紙の画像、マス目状の罫線、すなわち、複数の横罫線と、複数の縦方向に延びる互いに平行な縦罫線とを組み合わせた罫線を有する方眼紙の画像および原稿用紙の画像と、を含んでいる。さらには、罫線画像特定情報LTによって特定される罫線画像は、さらに、用途が特化された罫線画像として、五線譜の画像と、家計簿の画像と、ゴルフスコアカードの画像と、を含んでいる。本明細書の罫線画像は、複数の横罫線、および、複数の縦罫線のうちの少なくとも一方を含む画像である。   FIG. 5 is a diagram illustrating the types of ruled line images. FIG. 5A is a diagram illustrating an example of a ruled line image table RLT showing a list of types of ruled line images. The contents shown in the ruled line image table RLT are incorporated in the computer program 241 of the image processing server 200. In this embodiment, the ruled line image specified by the ruled line image specifying information LT is, for example, an image of a report sheet having horizontal ruled lines extending in the horizontal direction, which will be described later, grid-like ruled lines, that is, a plurality of horizontal ruled lines. And a graph paper image and a manuscript paper image having ruled lines obtained by combining a plurality of parallel vertical ruled lines extending in the vertical direction. Further, the ruled line image specified by the ruled line image specifying information LT further includes a staff score image, a household account book image, and a golf score card image as ruled line images specialized in application. . The ruled line image of the present specification is an image including at least one of a plurality of horizontal ruled lines and a plurality of vertical ruled lines.

図5(A)に示すように、これらの罫線画像の種類のそれぞれには、属性情報として、タイプAであるかタイプBであるかが関連付けられている。タイプAの罫線画像は、該罫線画像に含まれる複数の罫線のうち、互いに隣り合う2つの罫線間の間隔(罫線間隔と呼ぶ)が、適正な間隔に近いことが好ましく、基本罫線画像(図5(B)後述)の全体が印刷されることの意義が比較的小さい。本実施例において、タイプAの罫線画像は、レポート用紙と、方眼紙と、五線譜の3種類である。特に、方眼紙は、罫線間隔が、所定の値(1mmなど)であることに意味があるので、罫線間隔が正確に印刷されることが望まれる。タイプBの罫線画像は、罫線間隔の変動に対する許容度が比較的高く、罫線間隔が、適正間隔からある程度乖離したとしても、基本罫線画像の全体が印刷されることに意義がある罫線画像である。本実施例において、タイプBの罫線画像は、原稿用紙と、家計簿と、ゴルフスコアカードの3種類である。例えば、原稿用紙は、1ページあたり縦20×横20升の400字詰めの原稿用紙のように、1ページ辺りの升の数に意味がある。また、ゴルフスコアカードは、1回のラウンド分の記入領域が1ページに印刷されることに意義がある。   As shown in FIG. 5A, each of these types of ruled line images is associated with attribute information as to whether it is type A or type B. In the type A ruled line image, it is preferable that an interval between two ruled lines adjacent to each other (called a ruled line interval) among the plurality of ruled lines included in the ruled line image is close to an appropriate interval. 5 (B) described later) has a relatively small significance in printing. In the present embodiment, the type A ruled line images include three types: report paper, graph paper, and staff notation. In particular, graph paper has a meaning that the ruled line interval is a predetermined value (such as 1 mm), and therefore it is desired that the ruled line interval is printed accurately. The type B ruled line image is a ruled line image that has a relatively high tolerance for fluctuations in the ruled line interval and is meaningful in that the entire basic ruled line image is printed even if the ruled line interval deviates from the appropriate interval to some extent. . In the present embodiment, there are three types B of ruled line images: manuscript paper, a household account book, and a golf score card. For example, a manuscript sheet is meaningful in the number of wrinkles per page, such as a manuscript sheet of 400 characters with 20 characters long × 20 characters wide per page. In addition, the golf score card is meaningful in that an entry area for one round is printed on one page.

ここで、不揮発性記憶装置240に格納された基本罫線画像データ群245(図1)は、レポート用紙の基本罫線画像、原稿用紙の基本罫線画像など、複数種類の基本罫線画像BGを表す複数種類の基本罫線画像データを含んでいる。図5(B)には、これらの基本罫線画像データのうち、レポート用紙を表す基本罫線画像GB1が示され、図5(C)には、原稿用紙を表す基本罫線画像BG2が示されている。これらの基本罫線画像BGのサイズ(縦幅と横幅)は、基本罫線画像データを用いて生成される1個の罫線画像が配置される1個の罫線領域MAの最大サイズと同程度である。罫線領域MAの最大サイズは、想定される最大の用紙サイズPSの用紙に、想定される最小の割付数ANテンプレート画像TIを印刷した場合に、該テンプレート画像TIに配置される1個の罫線領域MAのサイズである。ここで、基本罫線画像BG1、BG2に配置されている複数の罫線RLの罫線間隔NT1、NT2は、適正間隔に設定されている。   Here, the basic ruled line image data group 245 (FIG. 1) stored in the nonvolatile storage device 240 includes a plurality of types representing a plurality of types of basic ruled line images BG, such as a basic ruled line image of report paper and a basic ruled line image of original paper. Basic ruled line image data. FIG. 5B shows a basic ruled line image GB1 representing report paper among these basic ruled line image data, and FIG. 5C shows a basic ruled line image BG2 representing document paper. . The sizes (vertical width and horizontal width) of these basic ruled line images BG are approximately the same as the maximum size of one ruled line area MA in which one ruled line image generated using the basic ruled line image data is arranged. The maximum size of the ruled line area MA is one ruled line area arranged in the template image TI when the assumed minimum allocation number AN template image TI is printed on a sheet of the maximum possible sheet size PS. It is the size of MA. Here, the ruled line intervals NT1 and NT2 of the plurality of ruled lines RL arranged in the basic ruled line images BG1 and BG2 are set to appropriate intervals.

図4のステップS125では、テンプレート準備部56は、用紙サイズPSに応じてテンプレート画像TIのサイズを決定し、決定されたサイズに対応する矩形画像SQを表す矩形画像データを準備する。矩形画像SQは、生成すべきテンプレート画像TIの外形(用紙サイズPSに対応している)に等しいサイズの白紙を表す画像である。すなわち、テンプレート準備部56は、テンプレート画像TIを作成するためのメモリ領域を揮発性記憶装置230に確保する。   In step S125 of FIG. 4, the template preparation unit 56 determines the size of the template image TI according to the paper size PS, and prepares rectangular image data representing the rectangular image SQ corresponding to the determined size. The rectangular image SQ is an image representing a white paper having a size equal to the outer shape of the template image TI to be generated (corresponding to the paper size PS). That is, the template preparation unit 56 secures a memory area for creating the template image TI in the volatile storage device 230.

ステップS130では、テンプレート準備部56は、割付数ANに応じて、矩形画像SQに配置される単位画像10のサイズ(縦幅と横幅)と位置とを決定し、決定されたサイズと位置に対応する部分領域PAを矩形画像SQ内に設定する。後述する処理にて、1個の部分領域PAに対して、1個の単位画像10が配置される。   In step S130, the template preparation unit 56 determines the size (vertical width and horizontal width) and position of the unit image 10 arranged in the rectangular image SQ according to the allocation number AN, and corresponds to the determined size and position. The partial area PA to be set is set in the rectangular image SQ. In the process described later, one unit image 10 is arranged for one partial area PA.

図6は、矩形画像SQ内に設定される部分領域PAを示す図である。図6(A)〜(C)には、それぞれ、割付数ANが、2、4、8である場合に、矩形画像SQに設定される部分領域PA2、PA4、PA8が示されている。1回のテンプレート画像データ生成処理で生成されるテンプレート画像TIは、1個であるが、割付数AN等の印刷条件が異なる場合のテンプレート画像データ生成処理の違いを説明するために、図6以降の図では、印刷条件の異なる複数の場合について、それぞれ、図示する場合がある。   FIG. 6 is a diagram showing a partial area PA set in the rectangular image SQ. 6A to 6C show partial areas PA2, PA4, and PA8 that are set in the rectangular image SQ when the allocation number AN is 2, 4, and 8, respectively. In order to explain the difference in the template image data generation process when there is one template image TI generated in one template image data generation process but the printing conditions such as the allocation number AN are different, FIG. In the figure, a plurality of cases with different printing conditions may be illustrated respectively.

図6から解るように、1個の矩形画像SQ内に設定される部分領域PAのサイズ、すなわち、テンプレート画像TIに含まれる単位画像10のサイズは、それぞれ等しい。また、用紙サイズPSが同じである場合、割付数ANが大きいほど、単位画像10のサイズは小さく、割付数ANが小さいほど、単位画像10のサイズは大きい。具体的には、用紙サイズが同じである場合に、割付数ANが、2倍になると、単位画像10の面積は、約1/2になる。また、割付数ANが同じである場合に、すなわち、1個のテンプレート画像TIに含まれる単位画像10の数が同じである場合に、用紙サイズが大きいほど、単位画像10のサイズは大きく、用紙サイズが小さいほど、単位画像10のサイズは小さい。具体的には、用紙の面積が2倍になれば、単位画像10の面積も2倍になる。また、図3の折り畳まれた状態の説明から解るように、本実施例では、1個のテンプレート画像TIに含まれる単位画像10の数(割付数AN)は、2のZ乗の値を取る(Zは自然数)。すなわち、割付数ANは、2、4、8、16、32、...のいずれかの値を取る。   As can be seen from FIG. 6, the sizes of the partial areas PA set in one rectangular image SQ, that is, the sizes of the unit images 10 included in the template image TI are equal. When the paper size PS is the same, the larger the allocation number AN, the smaller the size of the unit image 10, and the smaller the allocation number AN, the larger the size of the unit image 10. Specifically, when the sheet size is the same and the allocation number AN is doubled, the area of the unit image 10 is about ½. Further, when the allocation number AN is the same, that is, when the number of unit images 10 included in one template image TI is the same, the larger the paper size, the larger the size of the unit image 10, and the paper The smaller the size, the smaller the unit image 10 is. Specifically, if the area of the paper is doubled, the area of the unit image 10 is also doubled. Further, as can be seen from the explanation of the folded state in FIG. 3, in this embodiment, the number of unit images 10 (assignment number AN) included in one template image TI takes a value of 2 to the Z-th power. (Z is a natural number). That is, the allocation number AN takes a value of 2, 4, 8, 16, 32,.

ステップS140では、テンプレート準備部56は、矩形画像SQ内に設定された各部分領域PAのサイズと位置に応じて、罫線領域MAのサイズと位置を決定して、矩形画像SQの各部分領域PA内に1個ずつ罫線領域MAを設定する。図7は、矩形画像SQに設定される複数の罫線領域MAを示す図である。図7(A)〜(C)には、それぞれ、割付数ANが、2、4、8である場合に、本ステップで設定される罫線領域MAの外形を示す線が示されている。罫線領域MAの幅(短手方向の長さ)と高さ(長手方向の長さ)を、それぞれ、KwとKhとし、部分領域PAの幅と高さ、すなわち、単位画像10の幅と高さを、それぞれ、RwとRhとする。テンプレート準備部56は、Kw/Rw=Kh/Rh=0.9になるように、KwおよびKhの値を決定する。罫線領域MAは、幅Kw×高さKhの矩形である。罫線領域MAは、例えば、左右方向のマージンが互いに等しく、かつ、上下方向のマージンが互いに等しくなるように、罫線領域MAの中心が部分領域PAの中心と一致するように配置される。本実施例では、Kw/Rw、Kh/Rhの値を、割付数ANに拘わらずに、一定値0.9に設定されている。従って、部分領域PAの面積(単位画像10の面積)Stに対する罫線領域MAの面積Smの比率Sm/St(罫線領域比率と呼ぶ。)は、割付数ANに拘わらずに、一定である。なお、上述した各寸法Kw、Rw、Kh、Kwは、割付数ANに応じて変化するので、図7では、対応するANの数を符号の末尾に付加している。例えば、図7(A)に示すように、割付数ANである場合の罫線領域MAの幅はと高さは、それぞれ、符号Kw2と、符号Kh2を用いて表す。   In step S140, the template preparation unit 56 determines the size and position of the ruled line area MA according to the size and position of each partial area PA set in the rectangular image SQ, and each partial area PA of the rectangular image SQ. One ruled line area MA is set in each. FIG. 7 is a diagram showing a plurality of ruled line areas MA set in the rectangular image SQ. 7A to 7C show lines indicating the outer shape of the ruled line area MA set in this step when the allocation numbers AN are 2, 4, and 8, respectively. The width (length in the short direction) and the height (length in the longitudinal direction) of the ruled line area MA are respectively Kw and Kh, and the width and height of the partial area PA, that is, the width and height of the unit image 10. These are Rw and Rh, respectively. The template preparation unit 56 determines the values of Kw and Kh so that Kw / Rw = Kh / Rh = 0.9. The ruled line area MA is a rectangle of width Kw × height Kh. For example, the ruled line area MA is arranged so that the center of the ruled line area MA coincides with the center of the partial area PA so that the left and right margins are equal to each other and the vertical margin is equal to each other. In this embodiment, the values of Kw / Rw and Kh / Rh are set to a constant value 0.9 regardless of the allocation number AN. Therefore, the ratio Sm / St (referred to as ruled line area ratio) of the area Sm of the ruled line area MA to the area of the partial area PA (area of the unit image 10) St is constant regardless of the allocation number AN. Note that the dimensions Kw, Rw, Kh, and Kw described above change according to the allocation number AN, and therefore, in FIG. 7, the number of the corresponding AN is added to the end of the code. For example, as shown in FIG. 7A, the width and height of the ruled line area MA in the case of the allocation number AN are represented by using a symbol Kw2 and a symbol Kh2, respectively.

1つの部分領域PA内に設定された罫線領域MAの外側の領域は、周辺領域IAであり、罫線領域MAのサイズと位置が決定されると、周辺領域IAのサイズと位置も決定される。   The area outside the ruled line area MA set in one partial area PA is the peripheral area IA. When the size and position of the ruled line area MA are determined, the size and position of the peripheral area IA are also determined.

図4のステップS150では、テンプレート準備部56は、罫線画像特定情報LTによって指定された罫線画像の種類は、タイプAであるか否かを判断する(図5参照)。罫線領域の種類がタイプAである場合には(ステップS150:YES)、テンプレート準備部56は、罫線画像特定情報LTによって特定された種類の基本罫線画像BGの一部分を、拡大処理や縮小処理を行うことなく、矩形画像SQの各罫線領域MAに配置する(ステップS160)。ステップS160の配置処理を第1の配置処理とも呼ぶ。具体的には、テンプレート準備部56は、基本罫線画像BGを表す基本罫線画像データに対してトリミング処理を実行して、ステップS140にて決定された罫線領域MAのサイズに対応する罫線画像を表す罫線画像データを生成する。テンプレート準備部56は、生成された罫線画像を、複数の罫線領域MAに1個ずつ配置する。換言すれば、第1の処理において、罫線領域MAに配置される罫線画像は、基本罫線画像BGから罫線領域MAのサイズに応じて切り出された部分画像PGである。なお、基本罫線画像BGを表す基本罫線画像データは、矩形画像SQのサイズ、すなわち、用紙サイズPSに拘わらず、同一のデータが使用される。また、基本罫線画像BGを表す基本罫線画像データは、割付数ANに拘わらず、同一のデータが使用される。   In step S150 of FIG. 4, the template preparation unit 56 determines whether the type of the ruled line image specified by the ruled line image specifying information LT is type A (see FIG. 5). When the type of the ruled line area is type A (step S150: YES), the template preparation unit 56 performs an enlargement process or a reduction process on a part of the basic ruled line image BG of the type specified by the ruled line image specifying information LT. Without performing, it arrange | positions to each ruled line area | region MA of the rectangular image SQ (step S160). The arrangement process in step S160 is also referred to as a first arrangement process. Specifically, the template preparation unit 56 performs a trimming process on the basic ruled line image data representing the basic ruled line image BG, and represents a ruled line image corresponding to the size of the ruled line area MA determined in step S140. Ruled line image data is generated. The template preparation unit 56 places the generated ruled line images one by one in the plurality of ruled line areas MA. In other words, in the first process, the ruled line image arranged in the ruled line area MA is a partial image PG cut out from the basic ruled line image BG according to the size of the ruled line area MA. The basic ruled line image data representing the basic ruled line image BG uses the same data regardless of the size of the rectangular image SQ, that is, the paper size PS. The basic ruled line image data representing the basic ruled line image BG uses the same data regardless of the allocation number AN.

図8は、第1の配置処理について説明する図である。図8(D)には、タイプAの基本罫線画像BGの一例として、レポート用紙の基本罫線画像BG1が示されている。図8(D)には、割付数ANが、2、4、8である場合に、基本罫線画像BG1からそれぞれ切り出される部分画像PG2、PG4、PG8がそれぞれ破線で図示されている。図8(A)〜(C)には、それぞれ、割付数ANが、2、4、8である矩形画像SQに対して、割付数ANに対応する個数の部分画像PG2、PG4、PG8が配置された様子が図示されている。第1の配置処理によれば、図8(A)〜(C)に示すように、割付数ANが、2、4、8である矩形画像SQに配置される罫線画像の罫線間隔は、割付数ANに拘わらずに、一定値NT1である。この一定値NT1は、基本罫線画像BG1における適正に設定された罫線間隔NT1に等しい。第1の配置処理の場合には、割付数ANが大きいほど、1個の罫線領域MAのサイズが小さくなるにも拘わらず、罫線間隔は一定値であるので、1個の罫線領域MAに含まれる罫線の数は、少なくなる。   FIG. 8 is a diagram illustrating the first arrangement process. FIG. 8D shows a basic ruled line image BG1 of a report sheet as an example of the type A basic ruled line image BG. In FIG. 8D, partial images PG2, PG4, and PG8 respectively cut out from the basic ruled line image BG1 when the allocation number AN is 2, 4, and 8 are indicated by broken lines. 8A to 8C, the partial images PG2, PG4, and PG8 corresponding to the allocation number AN are arranged for the rectangular images SQ having the allocation numbers AN of 2, 4, and 8, respectively. This is shown in the figure. According to the first arrangement process, as shown in FIGS. 8A to 8C, the ruled line intervals of the ruled line images arranged in the rectangular images SQ having the allocation numbers AN of 2, 4, and 8 are assigned. Regardless of the number AN, it is a constant value NT1. The constant value NT1 is equal to the appropriately set ruled line interval NT1 in the basic ruled line image BG1. In the case of the first arrangement process, the larger the number of assignments AN, the smaller the size of one ruled line area MA, but the ruled line interval is a constant value, so it is included in one ruled line area MA. The number of ruled lines is reduced.

罫線画像の種類がタイプAでない場合、すなわち、罫線画像の種類がタイプBである場合には(ステップS150:NO)、テンプレート準備部56は、罫線画像特定情報LTによって特定された種類の基本罫線画像BGの全体を変倍(縮小または拡大)して、矩形画像SQの各罫線領域MAに配置する(ステップS170)。ステップS170の配置処理を第2の配置処理とも呼ぶ。具体的には、テンプレート準備部56は、基本罫線画像BGを表す基本罫線画像データに対して変倍処理を実行して、ステップS140にて決定された罫線領域MAのサイズに対応する罫線画像を表す罫線画像データを生成する。本実施例では、想定される罫線領域MAの最大サイズ程度の基本罫線画像BGが準備されているので、基本的に基本罫線画像BGのサイズは、罫線領域MAのサイズより大きい。したがって、本実施例の変倍処理は、縮小処理である。基本罫線画像BGのサイズが、罫線領域MAのサイズより小さい場合には、変倍処理として拡大処理が実行される。換言すれば、第2の処理において、罫線領域MAに配置される罫線画像は、基本罫線画像BGのサイズを変倍(縮小または拡大)した変倍画像MGである。   When the type of the ruled line image is not type A, that is, when the type of the ruled line image is type B (step S150: NO), the template preparation unit 56 uses the basic ruled line of the type specified by the ruled line image specifying information LT. The entire image BG is scaled (reduced or enlarged) and arranged in each ruled line area MA of the rectangular image SQ (step S170). The arrangement process in step S170 is also referred to as a second arrangement process. Specifically, the template preparation unit 56 performs scaling processing on the basic ruled line image data representing the basic ruled line image BG, and generates a ruled line image corresponding to the size of the ruled line area MA determined in step S140. The ruled line image data to be expressed is generated. In this embodiment, since the basic ruled line image BG having the maximum size of the assumed ruled line area MA is prepared, the size of the basic ruled line image BG is basically larger than the size of the ruled line area MA. Therefore, the scaling process of the present embodiment is a reduction process. When the size of the basic ruled line image BG is smaller than the size of the ruled line area MA, enlargement processing is executed as scaling processing. In other words, in the second process, the ruled line image arranged in the ruled line area MA is a scaled image MG obtained by scaling (reducing or enlarging) the size of the basic ruled line image BG.

図9は、第2の配置処理について説明する図である。図9(D)には、タイプBの基本罫線画像BGの一例として、原稿用紙の基本罫線画像BG2が示されている。図9(A)〜(C)には、それぞれ、割付数ANが、2、4、8である矩形画像SQに対して、割付数ANに対応する個数の変倍画像MG2、MG4、MG8が配置された様子が図示されている。第2の配置処理によれば、図9(A)〜(D)に示すように、割付数ANが、2、4、8である場合に、同じ大きさの矩形画像SQに配置される罫線画像の罫線間隔MT2、MT4、MT8は、対応する割付数ANが大きいほど小さい(MT2>MT4>MT8)。割付数ANが大きいほど、基本罫線画像BG2に対して実行される変倍処理における縮小率が大きくなるからである。   FIG. 9 is a diagram illustrating the second arrangement process. FIG. 9D shows a basic ruled line image BG2 of document paper as an example of the type B basic ruled line image BG. 9A to 9C, for each rectangular image SQ having an allocation number AN of 2, 4, and 8, there are a number of scaled images MG2, MG4, and MG8 corresponding to the allocation number AN. The state of arrangement is shown. According to the second arrangement process, as shown in FIGS. 9A to 9D, when the allocation number AN is 2, 4, or 8, ruled lines arranged in the rectangular image SQ having the same size. The ruled line intervals MT2, MT4, and MT8 of the image are smaller as the corresponding allocation number AN is larger (MT2> MT4> MT8). This is because the reduction ratio in the scaling process executed on the basic ruled line image BG2 increases as the allocation number AN increases.

ステップS180では、テンプレート準備部56は、矩形画像SQ内に設定された各部分領域PA内の周辺領域IAに、必要な情報を配置して、テンプレート画像TIを完成させる。図10は、周辺領域IAに対する情報の配置について説明する図である。図10(A)〜(C)には、それぞれ、割付数ANが、2、4、8である矩形画像SQ内に設定された部分領域PA2、PA4、PA8が図示されている。ここで、部分領域PA2、PA4、PA8のサイズは、図7〜9に示すように、それぞれ異なるが、図10では、図示する大きさを揃えている。   In step S180, the template preparation unit 56 arranges necessary information in the peripheral area IA in each partial area PA set in the rectangular image SQ, and completes the template image TI. FIG. 10 is a diagram for explaining the arrangement of information with respect to the peripheral area IA. FIGS. 10A to 10C show partial areas PA2, PA4, and PA8 set in a rectangular image SQ having an allocation number AN of 2, 4, and 8, respectively. Here, although the sizes of the partial areas PA2, PA4, and PA8 are different as shown in FIGS. 7 to 9, the sizes shown in FIG.

テンプレート準備部56は、図10に示すように、矩形画像SQ内に設定された各部分領域PA内に、単位画像10に配置すべき各種の情報(情報画像)11〜17(図2(A)参照)を配置する。ここで、各種の情報画像11〜17のサイズである情報画像サイズは、用紙サイズPSが同じである場合には、割付数ANが大きいほど、部分領域PAのサイズ(単位画像10のサイズ)に対する情報画像サイズの比率が大きくなるように、設定されている。ここで、具体的には、情報画像サイズは、情報画像に含まれる特定の文字の面積である。文字の面積は、例えば、当該文字に外接する外接矩形の面積である。また、各種の情報画像11〜17のサイズである情報画像サイズは、割付数ANが同じ値である場合には、用紙サイズPSが小さいほど、部分領域PAのサイズ(単位画像10のサイズ)に対する情報画像サイズの比率(例えば、面積比)が大きくなるように、設定されている。例えば、部分領域PAの面積(単位画像10の面積)Stに対する情報画像の面積Siの比率Si/Stは、割付数ANが大きいほど、大きく、用紙サイズPSが小さいほど、大きくなる。   As shown in FIG. 10, the template preparation unit 56 performs various types of information (information images) 11 to 17 (FIG. 2 (A) shown in FIG. 2A within each partial area PA set in the rectangular image SQ. ))). Here, the information image size which is the size of the various information images 11 to 17 corresponds to the size of the partial area PA (the size of the unit image 10) as the allocation number AN increases when the paper size PS is the same. The information image size ratio is set to be large. Here, specifically, the information image size is an area of a specific character included in the information image. The area of the character is, for example, the area of a circumscribed rectangle that circumscribes the character. Further, the information image size which is the size of the various information images 11 to 17 corresponds to the size of the partial area PA (size of the unit image 10) as the paper size PS is smaller when the allocation number AN is the same value. The information image size ratio (for example, area ratio) is set to be large. For example, the ratio Si / St of the area Si of the information image to the area St of the partial area PA (area of the unit image 10) St is larger as the allocation number AN is larger, and is larger as the paper size PS is smaller.

具体的には、割付数ANが4である場合の比率Si/Stは、割付数ANが2である場合の比率Si/Stより大きい。また、割付数ANが8である場合の比率(Si/St)は、割付数ANが4である場合の比率(Si/St)より大きい。これは、比率(Si4/Si2)は、比率(St4/St2)よりも大きい、と言い換えることができる。比率(Si4/Si2)は、割付数ANが2である場合の情報画像の面積Si2に対する、割付数ANが4である場合の情報画像の面積Si4の比率である。比率(St4/St2)は、割付数ANが2である場合の部分領域PA2の面積(単位画像10の面積)St2に対する、割付数ANが4である場合の部分領域PA4の面積(単位画像10の面積)St4比率である。割付数が4である場合と、割付数が8である場合と、を比較する場合も同様である。   Specifically, the ratio Si / St when the allocation number AN is 4 is larger than the ratio Si / St when the allocation number AN is 2. The ratio (Si / St) when the allocation number AN is 8 is larger than the ratio (Si / St) when the allocation number AN is 4. In other words, the ratio (Si4 / Si2) is larger than the ratio (St4 / St2). The ratio (Si4 / Si2) is the ratio of the area Si4 of the information image when the allocation number AN is 4 to the area Si2 of the information image when the allocation number AN is 2. The ratio (St4 / St2) is the area of the partial area PA4 when the allocation number AN is 4 (unit image 10) with respect to the area of the partial area PA2 when the allocation number AN is 2 (area of the unit image 10) St2. Area) St4 ratio. The same applies to the case where the allocation number is 4 and the allocation number is 8.

また、用紙サイズPSが特定サイズSZ1(例えば、A3)である場合の比率Si/Stは、用紙サイズPSが特定サイズSZ1より小さな特定サイズSZ2(例えば、A3)である場合の比率Si/Stより小さい。これは、比率(SiB/SiA)は、比率(StB/StA)よりも大きい、と言い換えることができる。比率(SiB/SiA)は、用紙サイズPSが特定サイズSZ1である場合の情報画像の面積SiAに対する、用紙サイズPSが特定サイズSZ2である場合の情報画像の面積SiBの比率である。比率(StB/StA)は、用紙サイズPSが特定サイズSZ1である場合の部分領域PAの面積(単位画像10の面積)StAに対する、用紙サイズPSが特定サイズSZ1である場合の部分領域PAの面積(単位画像10の面積)StBの比率である。   Further, the ratio Si / St when the paper size PS is the specific size SZ1 (for example, A3) is more than the ratio Si / St when the paper size PS is the specific size SZ2 (for example, A3) that is smaller than the specific size SZ1. small. In other words, the ratio (SiB / SiA) is larger than the ratio (StB / StA). The ratio (SiB / SiA) is the ratio of the area SiB of the information image when the paper size PS is the specific size SZ2 to the area SiA of the information image when the paper size PS is the specific size SZ1. The ratio (StB / StA) is the area of the partial area PA when the paper size PS is the specific size SZ1 with respect to the area (area of the unit image 10) StA of the partial area PA when the paper size PS is the specific size SZ1. (Area of unit image 10) StB ratio.

各種の情報画像11〜17を構成する特定の文字は、図10に示すように、具体的には、「メモ」「議事録」「セミナ」「アイデア」などのキーワードを構成する文字や、ページ番号を表す数字を含む。例えば、テンプレート準備部56は、上述した面積に関する比率の関係に従ったサイズの各種の情報画像11〜17を配置するために、例えば、用紙サイズPSや割付数ANに拘わらずに、同じサイズの情報画像11〜17を配置する。テンプレート準備部56は、割付数ANが大きくなるほど、情報画像11〜17のサイズを小さくするものの、上述した面積に関する比率の関係に従ように、情報画像11〜17のサイズを調整しても良い。テンプレート準備部56は、上述した面積に関する比率の関係で、各種の情報画像11〜17を配置するために、必要に応じて、周辺領域IAに配置される情報量、例えば、各種の情報画像11〜17の数、各種の情報画像11〜17に含まれる特定の文字の数を調整しても良い。具体的には、割付数ANが大きいほど、各種の情報画像11〜17に含まれる特定の文字の数を減少させる。例えば、図10の例では、割付数ANが「4」である場合に配置されるキーワード15の数(4個)と比較して、割付数ANが「8」である場合に配置されるキーワード15の数(3個)は、減らされている。   As shown in FIG. 10, the specific characters constituting the various information images 11 to 17 are specifically characters constituting pages such as “memo”, “minutes”, “seminar”, “idea”, and pages. Contains numbers representing numbers. For example, the template preparation unit 56 arranges various information images 11 to 17 having a size in accordance with the above-described area-related ratio relationship. For example, the template preparation unit 56 has the same size regardless of the paper size PS and the allocation number AN. Information images 11 to 17 are arranged. Although the template preparation unit 56 reduces the size of the information images 11 to 17 as the allocation number AN increases, the template preparation unit 56 may adjust the size of the information images 11 to 17 according to the above-described ratio relationship regarding the area. . The template preparation unit 56 arranges the various information images 11 to 17 in accordance with the above-described ratio regarding the area, and the amount of information arranged in the peripheral area IA as necessary, for example, the various information images 11. The number of specific characters included in the various information images 11 to 17 may be adjusted. Specifically, as the allocation number AN is larger, the number of specific characters included in the various information images 11 to 17 is decreased. For example, in the example of FIG. 10, the keywords arranged when the allocation number AN is “8” compared to the number (4) of the keywords 15 arranged when the allocation number AN is “4”. The number of 15 (3) has been reduced.

この結果、図10に示すように、部分領域PA2、PA4、PA8を大きさを揃えて図示した場合には、割付数ANが大きい場合の部分画像に配置された情報画像11〜17ほど、大きく図示される。このように、周辺領域IAに配置される情報画像11〜17のサイズ、具体的には、情報画像11〜17に含まれる特定の文字のサイズが、上述した面積に関する比率の関係を実現するように配置されるので、メモシートMSにおいて、これらの文字が過度に小さくなることを抑制することができる。   As a result, as shown in FIG. 10, when the partial areas PA2, PA4, and PA8 are illustrated with the same size, the information images 11 to 17 arranged in the partial image when the allocation number AN is large are larger. Illustrated. As described above, the size of the information images 11 to 17 arranged in the peripheral area IA, specifically, the size of the specific character included in the information images 11 to 17 realizes the above-described ratio relationship regarding the area. Therefore, in the memo sheet MS, it is possible to prevent these characters from becoming excessively small.

ステップS180までの処理が終了すると、矩形画像SQには、必要な画像が全て配置されるので、矩形画像SQを表す矩形画像データは、生成すべきテンプレート画像TIを表すテンプレート画像データになる。   When the processing up to step S180 is completed, all the necessary images are arranged in the rectangular image SQ. Therefore, the rectangular image data representing the rectangular image SQ becomes template image data representing the template image TI to be generated.

ステップS190では、テンプレート供給部58は、この時点で矩形画像データ、すなわち、テンプレート画像TIを表すテンプレート画像データを、複合機300からの生成要求に対する応答として、300に対して送信して、処理を終了する。送信されるテンプレート画像データには、様々な形式のデータが採用され得、ラスタライズ処理やハーフトーン処理が実行された印刷データが採用されても良く、ページ記述言語で記述された画像データなどのベクターデータが採用されても良い。   In step S190, the template supply unit 58 transmits the rectangular image data, that is, the template image data representing the template image TI at this time to the 300 as a response to the generation request from the multifunction device 300, and performs the processing. finish. The template image data to be transmitted may be data in various formats, may be print data that has been subjected to rasterization processing or halftone processing, and may be a vector such as image data described in a page description language. Data may be adopted.

複合機300の装置制御部312は、受信したテンプレート画像データを用いて、テンプレート画像を用紙に印刷することによって、メモシートMSを作成する。作成されたメモシートMSは、ユーザによって使用される。   The apparatus control unit 312 of the multifunction machine 300 creates a memo sheet MS by printing the template image on a sheet using the received template image data. The created memo sheet MS is used by the user.

ここで、用紙サイズPSが異なる場合における、上述したテンプレート画像データ生成処理によって生成されるテンプレート画像データによって表されるテンプレート画像TIの違いを説明する。図11は、用紙サイズPSが異なる場合に生成されるテンプレート画像TIを例示する図である。図11(A)、(B)は、タイプAであるレポート用紙の罫線画像が配置されたテンプレート画像TI1、TI2がそれぞれ図示されている。図11(C)、(D)は、タイプBである原稿用紙の罫線画像が配置されたテンプレート画像TI3、TI4がそれぞれ図示されている。テンプレート画像TI1〜TI4の割付数ANは互いに同じ値「2」である。用紙サイズPS(例えば、A4サイズ)に応じたテンプレート画像TI1、TI3のサイズは、用紙サイズPS(例えば、A3サイズ)に応じたテンプレート画像TI2、TI4のサイズより小さい。   Here, the difference in the template image TI represented by the template image data generated by the above-described template image data generation process when the paper sizes PS are different will be described. FIG. 11 is a diagram illustrating a template image TI generated when the paper sizes PS are different. FIGS. 11A and 11B show template images TI1 and TI2 on which ruled line images of report paper of type A are arranged, respectively. FIGS. 11C and 11D respectively show template images TI3 and TI4 on which ruled line images of type B original paper are arranged. The allocation numbers AN of the template images TI1 to TI4 are the same value “2”. The sizes of the template images TI1 and TI3 according to the paper size PS (for example, A4 size) are smaller than the sizes of the template images TI2 and TI4 according to the paper size PS (for example, A3 size).

図11(A)、(B)に示すように、タイプAの罫線画像が配置される場合には、用紙サイズPSに拘わらず、同じ罫線間隔NT1で配置された複数の罫線RLを含む罫線画像が、罫線領域MAに配置される。上述したように、タイプAの罫線画像が配置される場合に実行される第1の配置処理(ステップS160)では、テンプレート準備部56は、用紙サイズPSに拘わらずに、同一の基本罫線画像BGから切り出された部分画像PGを、変倍することなく、罫線領域MAに配置するからである。この結果、タイプAの罫線画像が配置される場合には、例えば、用紙サイズPSが小さい場合に、罫線間の間隔が過度に小さくなることを抑制することができる。したがって、用紙に印刷された場合に使いやすいテンプレート画像TIを提供することができる。   As shown in FIGS. 11A and 11B, when a type A ruled line image is arranged, a ruled line image including a plurality of ruled lines RL arranged at the same ruled line interval NT1 regardless of the paper size PS. Are arranged in the ruled line area MA. As described above, in the first arrangement process (step S160) executed when a type A ruled line image is arranged, the template preparation unit 56 uses the same basic ruled line image BG regardless of the paper size PS. This is because the partial image PG cut out from is arranged in the ruled line area MA without scaling. As a result, when the type A ruled line image is arranged, for example, when the paper size PS is small, it is possible to suppress the interval between the ruled lines from becoming excessively small. Therefore, it is possible to provide a template image TI that is easy to use when printed on paper.

一方、図11(C)、(D)に示すように、タイプBの罫線画像が配置される場合には、上述した第2の配置処理(ステップS170)が実行されることによって、用紙サイズPSに応じて、変倍された基本罫線画像BGの全体が、罫線領域MAに配置される。言い換えれば、割付数ANが同じ値である場合には、用紙サイズPSが小さいほど、罫線領域MAに配置される複数の罫線RLの罫線間隔が小さくされる(MTC<MTD:図11)。この結果、タイプBの罫線画像が配置される場合には、例えば、用紙サイズPSが小さい場合に、全体が同じページ内に印刷されることが要請されるタイプBの罫線画像のうちの一部だけが、印刷されてしまう不都合が発生しない。したがって、用紙に印刷された場合に使いやすいテンプレート画像TIを提供することができる。   On the other hand, as shown in FIGS. 11C and 11D, when a type B ruled line image is arranged, the above-described second arrangement process (step S170) is executed, thereby the paper size PS. Accordingly, the entire scaled basic ruled line image BG is arranged in the ruled line area MA. In other words, when the allocation number AN is the same value, the smaller the paper size PS, the smaller the ruled line intervals of the plurality of ruled lines RL arranged in the ruled line area MA (MTC <MTD: FIG. 11). As a result, when the type B ruled line image is arranged, for example, when the paper size PS is small, a part of the type B ruled line image that is required to be printed on the same page as a whole. However, there is no inconvenience of printing. Therefore, it is possible to provide a template image TI that is easy to use when printed on paper.

さらに、テンプレート準備部56は、上述したステップS180において、上述したような面積に関する比率の関係に従ったサイズの情報画像11〜17を配置する。図11(A)〜(D)は、テンプレート準備部56が、例えば、割付数ANが同じ値(例えば、K2個)である場合には、用紙サイズPSに拘わらずに、ほぼ同じサイズの情報画像11〜17を配置する場合を示している。この結果、用紙サイズPSが小さい場合に、情報画像11〜17に含まれる特定の文字が読み難くなる不具合を抑制することができる。したがって、用紙に印刷された場合に使いやすいテンプレート画像TIを提供することができる。   Furthermore, the template preparation part 56 arrange | positions the information images 11-17 of the size according to the relationship of the ratio regarding an area as mentioned above in step S180 mentioned above. 11A to 11D, when the template preparation unit 56 has the same number of assignments AN (for example, K2), information of almost the same size regardless of the paper size PS. The case where the images 11-17 are arrange | positioned is shown. As a result, when the paper size PS is small, it is possible to suppress a problem that specific characters included in the information images 11 to 17 are difficult to read. Therefore, it is possible to provide a template image TI that is easy to use when printed on paper.

上記テンプレート画像データ生成処理によれば、図8に示すように、タイプAの罫線画像が配置される場合には、用紙に印刷されたテンプレート画像TIにおいて、罫線間の罫線間隔が、割付数ANに拘わらず、一定であるので、罫線間の罫線間隔が、割付数ANによって変動することを抑制することができる。例えば、割付数ANが大きい場合に、罫線間の間隔が過度に小さくなることを抑制することができる。この結果、用紙に印刷されたテンプレート画像TI(すなわち、メモシートMS)の使いやすさを向上することができる   According to the template image data generation process, as shown in FIG. 8, when a type A ruled line image is arranged, in the template image TI printed on the paper, the ruled line interval between the ruled lines is the assigned number AN. Regardless of this, since it is constant, it is possible to prevent the ruled line interval between the ruled lines from fluctuating depending on the allocation number AN. For example, when the allocation number AN is large, it is possible to suppress the interval between ruled lines from becoming excessively small. As a result, the usability of the template image TI (that is, the memo sheet MS) printed on the paper can be improved.

また、図9に示すように、タイプBの罫線画像が配置される場合には、上述した第2の配置処理(ステップS170)が実行されることによって、割付数ANに応じて定まる罫線領域MAのサイズ、変倍された基本罫線画像BGの全体が、罫線領域MAに配置される。言い換えれば、用紙サイズPSが同じである場合には、割付数ANが大きいほど、罫線領域MAに配置される複数の罫線RLの罫線間隔が小さくされる。この結果、割付数ANが大きい場合に、タイプBの罫線画像のうちの一部だけが、印刷されてしまう不都合が発生しない。したがって、用紙に印刷された場合に使いやすいテンプレート画像TIを提供することができる。   As shown in FIG. 9, when a type B ruled line image is arranged, the ruled line area MA determined according to the allocation number AN is executed by executing the second arrangement process (step S170) described above. The basic ruled line image BG that has been scaled and scaled is arranged in the ruled line area MA. In other words, when the paper sizes PS are the same, the ruled line intervals of the plurality of ruled lines RL arranged in the ruled line area MA are reduced as the allocation number AN is increased. As a result, when the allocation number AN is large, there is no inconvenience that only part of the type B ruled line image is printed. Therefore, it is possible to provide a template image TI that is easy to use when printed on paper.

このように、上記実施例のテンプレート画像データ生成処理によれば、罫線領域MAに配置される罫線の種類に応じて、第1の配置処理と、第2の配置処理とを、使い分けるので、罫線領域MAに配置される罫線の種類に応じて適切な適切なテンプレート画像データを準備することができる。   As described above, according to the template image data generation process of the above embodiment, the first arrangement process and the second arrangement process are selectively used according to the type of ruled line arranged in the ruled line area MA. Appropriate and appropriate template image data can be prepared according to the type of ruled lines arranged in the area MA.

さらに、上記実施例のテンプレート画像データ生成処理によれば、上述したように、テンプレート画像TIの周辺領域IAに、特定の文字を含む情報画像11〜17が配置される。ここで、例えば、割付数ANがN3である場合の単位画像10の面積をSt(N3)とし、割付数がN3より大きなN4である場合の単位画像の面積をSt(N4)とする。そして、割付数ANがN3である場合の情報画像の面積(例えば、情報画像を構成する特定の文字の面積)をSi(N3)とし、割付数がN4である場合の情報画像の面積(例えば、情報画像を構成する特定の文字の面積)をSi(N4)とする。テンプレート準備部56は、用紙サイズPSが同じである場合には、Si(N4)に対するSi(N3)の比率(Si(N4)/Si(N3))が、St(N4)に対するSt(N4)の比率が(St(N4)/St(N3))より大きくなるように、情報画像11〜17を配置する。この結果、割付数がN3大きなN4である場合に、過度に周辺領域の特定の文字のサイズが小さくなることを抑制することができる。   Further, according to the template image data generation process of the above embodiment, as described above, the information images 11 to 17 including specific characters are arranged in the peripheral area IA of the template image TI. Here, for example, the area of the unit image 10 when the allocation number AN is N3 is St (N3), and the area of the unit image when the allocation number is N4 larger than N3 is St (N4). Then, the area of the information image when the allocation number AN is N3 (for example, the area of a specific character constituting the information image) is Si (N3), and the area of the information image when the allocation number is N4 (for example, , The area of a specific character constituting the information image) is Si (N4). When the paper sizes PS are the same, the template preparation unit 56 determines that the ratio of Si (N3) to Si (N4) (Si (N4) / Si (N3)) is St (N4) relative to St (N4). The information images 11 to 17 are arranged so that the ratio of is larger than (St (N4) / St (N3)). As a result, when the allocation number is N3 and N4, it is possible to prevent the size of the specific character in the peripheral area from becoming excessively small.

A−2−2:分割ドキュメント生成処理:
図12は、分割ドキュメント生成処理のフローチャートである。ドキュメント生成処理は、ユーザによって様々な情報(記入情報と呼ぶ)が記入(手書き)されたメモシートMSの内容を表す画像データを保存するためのファイルを生成する処理である。ドキュメント生成処理は、画像処理サーバ200が、複合機300から原稿画像データを受信した場合に、画像処理サーバ200の原稿画像処理部100によって実行される。原稿画像データは、記入済みのメモシートMSが複合機300の画像読取部380によって読み取られることによって生成される。原稿画像データは、例えば、1個の送信ファイルに格納されて画像処理サーバ200に対して送信される。送信すべき複数個の原稿画像データが存在する場合には、該複数個の原稿画像データは、送信ファイルに、生成順(読み取り順)に並べられる。このように、複数個の原稿画像データは、画像処理サーバ200の生成順特定部140が該複数個の原稿画像データの生成順を特定できるように、送信される。
A-2-2: Split document generation process:
FIG. 12 is a flowchart of the divided document generation process. The document generation process is a process of generating a file for storing image data representing the contents of the memo sheet MS in which various information (referred to as entry information) is entered (handwritten) by the user. The document generation process is executed by the document image processing unit 100 of the image processing server 200 when the image processing server 200 receives the document image data from the multifunction device 300. The document image data is generated by reading the completed memo sheet MS by the image reading unit 380 of the multifunction machine 300. For example, the document image data is stored in one transmission file and transmitted to the image processing server 200. When there are a plurality of document image data to be transmitted, the plurality of document image data are arranged in the generation order (reading order) in the transmission file. As described above, the plurality of document image data is transmitted so that the generation order specifying unit 140 of the image processing server 200 can specify the generation order of the plurality of document image data.

図13、図14は、分割ドキュメント生成処理の説明図である。まず、原稿画像データによって表される原稿画像SIについて説明する。図13(A)は、第1種のメモシートMSAを読み取って生成される第1種の原稿画像データによって表される第1種の原稿画像SIAを示し、図14(A)は、第2種のメモシートMSBを読み取って生成される第2種の原稿画像データによって表される第2種の原稿画像SIBを示す。このように、特定種類の原稿画像SIを区別する場合には、符号の末尾にさらにアルファベット(例えば、A、B)を付加する。原稿画像SIは、1枚のメモシートMSに印刷された1個のテンプレート画像TIに含まれる複数個の単位画像10に対応する複数個の領域画像20を含む。従って、1個の原稿画像SIに含まれる複数個の領域画像20の個数は、1個のテンプレート画像TIに含まれる単位画像10の個数に等しく、2のZ乗の値(Zは自然数)、具体的には、2、4、8、16、32、...のいずれかの値を取る。また、1個の原稿画像SIに含まれる複数個の領域画像20のサイズは、互いにほぼ等しく、対応する単位画像10のサイズにほぼ等しい。具体的には、図13に示す第1種の原稿画像SIAは、2個の領域画像20A、20Bを含み、図14に示す第2種の原稿画像SIBは、4個の領域画像20C〜20Fを含んでいる。このように、特定の領域画像20を区別する場合には、符号の末尾にさらにアルファベット(例えば、A、B)を付加する。領域画像20は、対応する単位画像10(図2参照)を含むとともに、ユーザによってメモシートMSに記入された記入情報19(記入画像とも呼ぶ)を含み得る。記入情報19は、単位画像10の罫線領域MA(図2(A)参照)にも含まれ得るし、単位画像10の周辺領域IA(ヘッダ領域HAやフッタ領域FA(図2(A)参照))にも含まれ得る。具体的には、ユーザによって記入される記入情報19には、罫線領域MAに記入される文字、図形などのメイン情報(保存すべきコンテンツ)や、周辺領域IAに記入される各種のサブ情報(不要チェックボックス14のチェック、マーク領域16の塗りつぶし、タイトル領域13への書き込みなど)を含む(図13(A))。以下では、1個の原稿画像あたり4個の領域画像20を含む原稿画像SIをそれぞれ表す3個の原稿画像データが処理される場合を例に説明する。この場合には、12個の領域画像20が処理される。   13 and 14 are explanatory diagrams of the divided document generation process. First, the document image SI represented by the document image data will be described. FIG. 13A shows the first type of document image SIA represented by the first type of document image data generated by reading the first type of memo sheet MSA, and FIG. 14A shows the second type of document image SIA. A second type of document image SIB represented by a second type of document image data generated by reading a type of memo sheet MSB is shown. Thus, when distinguishing a specific type of document image SI, an alphabet (for example, A, B) is further added to the end of the code. The document image SI includes a plurality of area images 20 corresponding to a plurality of unit images 10 included in one template image TI printed on one memo sheet MS. Therefore, the number of the plurality of region images 20 included in one document image SI is equal to the number of unit images 10 included in one template image TI, and is a value of 2 to the power of Z (Z is a natural number), Specifically, it takes one of the values 2, 4, 8, 16, 32,. Further, the sizes of the plurality of region images 20 included in one document image SI are substantially equal to each other and are substantially equal to the size of the corresponding unit image 10. Specifically, the first type of document image SIA shown in FIG. 13 includes two area images 20A and 20B, and the second type of document image SIB shown in FIG. 14 includes four area images 20C to 20F. Is included. Thus, when distinguishing the specific area image 20, an alphabet (for example, A, B) is further added to the end of the code. The area image 20 includes the corresponding unit image 10 (see FIG. 2) and may include entry information 19 (also referred to as an entry image) entered in the memo sheet MS by the user. The entry information 19 can also be included in the ruled line area MA (see FIG. 2A) of the unit image 10, and the peripheral area IA (header area HA and footer area FA (see FIG. 2A)) of the unit image 10. ). Specifically, the entry information 19 entered by the user includes main information (contents to be saved) such as characters and figures entered in the ruled line area MA, and various sub-information entered in the peripheral area IA ( The check of the unnecessary check box 14, the filling of the mark area 16, the writing to the title area 13 and the like) (FIG. 13A). In the following, a case where three document image data each representing a document image SI including four region images 20 per document image is processed will be described. In this case, twelve area images 20 are processed.

ステップS300にて、原稿画像取得部110が複合機300から1個以上の原稿画像データを受信すると、原稿画像処理部100は、処理対象とする1個の原稿画像データを選択する(ステップS310)。複数個の原稿画像データがある場合には、原稿画像データの生成順に、1個ずつ原稿画像データが選択される。例えば、送信ファイルに、原稿画像データが生成順に並べて配置されている場合には、送信ファイルに並べられた順に1個ずつ原稿画像データが選択される。   In step S300, when the document image acquisition unit 110 receives one or more document image data from the multifunction machine 300, the document image processing unit 100 selects one document image data to be processed (step S310). . When there are a plurality of document image data, the document image data is selected one by one in the order of document image data generation. For example, when the document image data is arranged in the generation order in the transmission file, the document image data is selected one by one in the order arranged in the transmission file.

ステップS320では、生成順特定部140は、選択された原稿画像データの番号(原稿画像番号SN)を決定する。ここで、原稿画像番号SNは、原稿画像データを特定する番号であり、生成順に付される。本実施例では、ステップS320にて、生成順に、原稿画像データが選択されるので、ステップS320での選択順に、原稿画像番号SNが付される。換言すれば、原稿画像番号SNによって、原稿画像データの生成順が特定できる。   In step S320, the generation order specifying unit 140 determines the number (original image number SN) of the selected original image data. Here, the document image number SN is a number for specifying document image data, and is assigned in the order of generation. In this embodiment, since the document image data is selected in the order of generation in step S320, the document image number SN is assigned in the order of selection in step S320. In other words, the generation order of the document image data can be specified by the document image number SN.

ステップS330では、領域画像生成部160は、原稿画像SIに含まれるマーカを検出して、原稿画像SIのレイアウトを特定する。具体的には、画像情報取得部120は、原稿画像データを解析することによって、原稿画像SIに含まれる単位画像10の上マーカ11と下マーカ17(図2)を検出する。マーカを検出する解析方法には、周知のパターンマッチングなどが用いられる。領域画像生成部160は、マーカ11、17が検出された位置に基づいて、原稿画像SIに含まれる領域画像20の数と位置(領域画像20の数と位置と等しい)を特定する。   In step S330, area image generation unit 160 detects a marker included in document image SI and specifies the layout of document image SI. Specifically, the image information acquisition unit 120 detects the upper marker 11 and the lower marker 17 (FIG. 2) of the unit image 10 included in the document image SI by analyzing the document image data. A known pattern matching or the like is used as an analysis method for detecting a marker. The area image generation unit 160 identifies the number and position of the area images 20 included in the document image SI (equal to the number and position of the area images 20) based on the positions where the markers 11 and 17 are detected.

ステップS340では、ページ番号取得部130は、処理対象の原稿画像データによって表される原稿画像SI内の各領域画像20に対応するページ番号(原稿画像ページ番号SPN)を取得する。具体的には、ページ番号取得部130は、原稿画像データを解析することによって、各領域画像20に対応するページ情報領域12(図2(A)参照)に含まれるページ番号を取得する。   In step S340, the page number acquisition unit 130 acquires a page number (original image page number SPN) corresponding to each region image 20 in the original image SI represented by the original image data to be processed. Specifically, the page number acquisition unit 130 acquires the page number included in the page information area 12 (see FIG. 2A) corresponding to each area image 20 by analyzing the document image data.

ステップS350では、原稿画像処理部100は、各領域画像20がスキップの対象であるか否かを判断する。具体的には、画像情報取得部120は、原稿画像データを解析することによって、各領域画像20に含まれる不要チェックボックス14(図2(A)参照)に記入情報(具体的にはチェック)が記入されているか否か検出する。不要条件判断部150は、記入情報が記入されている不要チェックボックス14に対応する領域画像20はスキップの対象であると判断し、記入情報が記入されていない不要チェックボックス14に対応する領域画像20はスキップの対象でないと判断する。スキップの対象であると判断された領域画像20は、後述するように、後に生成されるPDFファイルに格納される対象から除外される。   In step S350, the document image processing unit 100 determines whether each area image 20 is a skip target. Specifically, the image information acquisition unit 120 analyzes the document image data, thereby entering information (specifically, check) in the unnecessary check box 14 (see FIG. 2A) included in each area image 20. Whether or not is entered is detected. The unnecessary condition determination unit 150 determines that the area image 20 corresponding to the unnecessary check box 14 in which the entry information is entered is a skip target, and the area image corresponding to the unnecessary check box 14 in which the entry information is not entered. 20 is determined not to be skipped. The region image 20 determined to be a skip target is excluded from targets stored in a PDF file generated later, as will be described later.

ステップS360では、画像情報取得部120は、各領域画像20に関連付けられたキーワード(関連付キーワードKW)を取得する。具体的には、画像情報取得部120は、原稿画像データを解析することによって、各領域画像20に含まれる複数のマーク領域16(図2(A)参照)に記入情報(具体的には塗りつぶし)が記入されているか否かを検出する。画像情報取得部120は、記入情報が記入されているマーク領域16に対応するキーワード15(図2(A)参照)を、対応する領域画像20に関連付けられた関連付キーワードKWとして取得する。マーク領域16に対応するキーワード15の内容は、マーク領域16の位置と、キーワード15の内容との、予め定められた対応関係に基づいて、特定される。マーク領域16と、キーワード15との対応関係が、画像処理サーバ200によって認識されていない場合には、画像情報取得部120は、対象画像データのキーワード15を表す領域に対して周知の文字認識処理(OCR処理)を実行することによって、該キーワード15の内容を取得しても良い。   In step S360, the image information acquisition unit 120 acquires a keyword (related keyword KW) associated with each area image 20. Specifically, the image information acquisition unit 120 analyzes the document image data, and thereby fills information (specifically, fills in) a plurality of mark areas 16 (see FIG. 2A) included in each area image 20. ) Is detected. The image information acquisition unit 120 acquires the keyword 15 (see FIG. 2A) corresponding to the mark area 16 in which the entry information is entered as the associated keyword KW associated with the corresponding area image 20. The content of the keyword 15 corresponding to the mark area 16 is specified based on a predetermined correspondence between the position of the mark area 16 and the content of the keyword 15. When the correspondence between the mark area 16 and the keyword 15 is not recognized by the image processing server 200, the image information acquisition unit 120 performs a well-known character recognition process for the area representing the keyword 15 of the target image data. The content of the keyword 15 may be acquired by executing (OCR processing).

ステップS370では、原稿画像処理部100は、複合機300から受信した全ての原稿画像データを選択したか否かを判断する。未選択の原稿画像データがある場合には(ステップS370:NO)、原稿画像処理部100は、ステップS310に戻って、新たな原稿画像データを選択して、上述したS320〜S360までの処理を繰り返す。また、全ての原稿画像データが選択済みである場合には(ステップS370:YES)、原稿画像処理部100は、処理を、ステップS380に進める。   In step S <b> 370, the document image processing unit 100 determines whether all document image data received from the multifunction peripheral 300 has been selected. If there is unselected original image data (step S370: NO), the original image processing unit 100 returns to step S310, selects new original image data, and performs the above-described processing from S320 to S360. repeat. If all the document image data has been selected (step S370: YES), the document image processing unit 100 advances the process to step S380.

なお、ここまでの処理で取得・特定された各種の情報は、揮発性記憶装置230に一時的に生成された管理テーブルMTに記録される。図15は、管理テーブルMTの一例を示す図である。管理テーブルMTには、処理される12個の領域画像20ごとに、原稿画像番号SNと、原稿画像ページ番号SPNと、スキップ情報SKと、PDFファイル番号PNと、PDFページ番号PPNと、関連付キーワードKWとが記録される。上述したように、原稿画像番号SNは、ステップS320にて決定され、原稿画像ページ番号SPNは、ステップS340にて取得される。スキップ情報SKは、ステップS350にて実行される、各領域画像20がスキップの対象であるか否かの判断結果を示す情報である。図15の管理テーブルMTでは、スキップの対象とされる領域画像20に対しては、スキップ情報SKとして「スキップ」の対象である旨が記録され、スキップの対象とされない領域画像20に対しては、なにも記録されない。上述したように、関連付キーワードKWは、ステップS360にて取得される。PDFファイル番号PNと、PDFページ番号PPNについては、ステップS370までの処理が終了した時点では、まだ記録されていない。   Note that the various types of information acquired and specified in the processes so far are recorded in the management table MT temporarily generated in the volatile storage device 230. FIG. 15 is a diagram illustrating an example of the management table MT. The management table MT includes a document image number SN, a document image page number SPN, skip information SK, a PDF file number PN, a PDF page number PPN, and an association for each of the 12 region images 20 to be processed. The keyword KW is recorded. As described above, the document image number SN is determined in step S320, and the document image page number SPN is acquired in step S340. The skip information SK is information indicating a determination result of whether or not each area image 20 is a skip target, which is executed in step S350. In the management table MT of FIG. 15, the skip information SK is recorded as “skip” for the area image 20 to be skipped, and for the area image 20 that is not to be skipped. Nothing is recorded. As described above, the associated keyword KW is acquired in step S360. The PDF file number PN and the PDF page number PPN are not yet recorded when the processing up to step S370 is completed.

ステップS380では、ファイル生成部170は、生成すべきPDFファイルの仕様を決定する。具体的には、ファイル生成部170は、上述した管理テーブルMT(図15)に記録済みの情報に基づいて、原稿画像番号SNと原稿画像ページ番号SPNとの組み合わせによって特定される領域画像20ごとに、PDFファイル番号PNと、PDFページ番号PPNとを、決定する。以下では、原稿画像番号SN=1と、原稿画像ページ番号SPN=2との組み合わせによって特定される領域画像20を、(1−2)の領域画像20というように、(SN−SPN)という記述を用いて表すことがある。   In step S380, the file generation unit 170 determines the specification of the PDF file to be generated. Specifically, the file generation unit 170 determines each area image 20 specified by the combination of the document image number SN and the document image page number SPN based on the information recorded in the management table MT (FIG. 15). Then, the PDF file number PN and the PDF page number PPN are determined. In the following description, the region image 20 specified by the combination of the document image number SN = 1 and the document image page number SPN = 2 is described as (SN-SPN) as the region image 20 of (1-2). May be used.

具体的には、PDFファイル番号PNと、PDFページ番号PPNは、管理テーブルMTにおける12個の領域画像20の並び順と、12個の領域画像20の関連付キーワードKWとを用いて、決定される。12個の領域画像20の並び順は、図15から解るように、原稿画像番号SNで表される生成順が早いほど先であり、同じ原稿画像SIの4個の領域画像20の中では、原稿画像ページ番号SPNが小さいほど先である。まず、スキップの対象であると判断される領域画像20は、処理から除外され、該領域画像20に対しては、PDFファイル番号PNおよびPDFページ番号PPNが付されない。この並び順が連続しており、かつ、同じ関連付キーワードKWを有する2個以上の領域画像20(領域画像群)には、同じPDFファイル番号PNが付される。また、互いに異なる関連付キーワードKWを有する2個以上の領域画像20には、互いに異なるPDFファイル番号PNが付される。同じ関連付キーワードKWを有する2個の領域画像20であっても、並び順が当該2個の領域画像20の間に位置する領域画像20の中に、異なる関連付キーワードKWを有する領域画像20が含まれる場合には、当該2個の領域画像20には、互いに異なるPDFファイル番号PNが付される。図15に示す例では、(1−1)〜(2−1)までの5個の領域画像20は、並び順が連続しており、かつ、関連付キーワードKWが同じ「議事録」であるので、該5個の領域画像20のPDFファイル番号PNは、「1」に決定される。(2−2)および(2−3)の2個の領域画像20は、並び順が連続しており、かつ、関連付キーワードKWが同じ「メモ」であるので、該2個の領域画像20のPDFファイル番号PNは、「2」に決定される。(2−4)〜(3−3)までの4個の領域画像20は、並び順が連続しており、かつ、関連付キーワードKWが同じ「アイデア」であるので、該4個の領域画像20のPDFファイル番号PNは、「3」に決定される。、   Specifically, the PDF file number PN and the PDF page number PPN are determined using the arrangement order of the 12 area images 20 in the management table MT and the associated keyword KW of the 12 area images 20. The As can be seen from FIG. 15, the order of arrangement of the twelve area images 20 is earlier when the generation order represented by the document image number SN is earlier, and among the four area images 20 of the same document image SI, The smaller the document image page number SPN is, the earlier. First, the region image 20 determined to be a skip target is excluded from the processing, and the PDF file number PN and the PDF page number PPN are not attached to the region image 20. The same PDF file number PN is assigned to two or more area images 20 (area image groups) having the same arrangement order and having the same associated keyword KW. Also, different PDF file numbers PN are assigned to two or more region images 20 having different associated keywords KW. Even in the case of two region images 20 having the same associated keyword KW, the region images 20 having different associated keywords KW in the region image 20 located in the order of arrangement between the two region images 20. Are included, the two region images 20 are assigned different PDF file numbers PN. In the example shown in FIG. 15, the five region images 20 from (1-1) to (2-1) are “minutes” in which the arrangement order is continuous and the associated keyword KW is the same. Therefore, the PDF file number PN of the five area images 20 is determined to be “1”. Since the two region images 20 of (2-2) and (2-3) are arranged in order and the associated keyword KW is the same “memo”, the two region images 20 The PDF file number PN is determined to be “2”. Since the four region images 20 from (2-4) to (3-3) are arranged in order and the associated keyword KW is the same “idea”, the four region images 20 The PDF file number PN of 20 is determined as “3”. ,

また、ファイル生成部170は、同じPDFファイル番号PNを有する1個以上の領域画像20に、並び順に従って、1から始まるPDFページ番号PPNを付す。具体的には、図15に示すように、PDFファイル番号PNが「1」である5個の領域画像20には、1〜5のPDFページ番号PPNが並び順に付される。PDFファイル番号PNが「2」である2個の領域画像20には、1および2のPDFページ番号PPNが並び順に付される。PDFファイル番号PNが「3」である4個の領域画像20には、1〜4のPDFページ番号PPNが並び順に付される。   Further, the file generation unit 170 attaches a PDF page number PPN starting from 1 to one or more region images 20 having the same PDF file number PN according to the arrangement order. Specifically, as shown in FIG. 15, five page images with PDF file number PN “1” are assigned PDF page numbers PPN of 1 to 5 in order. The two area images 20 having the PDF file number PN “2” are assigned 1 and 2 PDF page numbers PPN in the order of arrangement. The four area images 20 having the PDF file number PN “3” are assigned PDF page numbers PPN of 1 to 4 in order of arrangement.

ステップS390では、領域画像生成部160は、3個の原稿画像データに対して領域画像データ生成処理を実行して、3個の原稿画像SIに含まれる12個の領域画像20を表す領域画像データを生成する。ただし、スキップの対象であると判断された(3−4)の領域画像20を表す領域画像データは、生成されなくても良い。   In step S390, the region image generation unit 160 executes region image data generation processing on the three document image data, and region image data representing the 12 region images 20 included in the three document images SI. Is generated. However, the area image data representing the area image 20 of (3-4) determined to be a skip target may not be generated.

図16は、領域画像データ生成処理のフローチャートである。ステップS391では、領域画像生成部160は、処理対象とする1個の原稿画像データを選択する。ステップS392では、選択された原稿画像データに対して傾き補正処理を実行して、原稿画像データによって表される原稿画像SIの傾きを補正する。傾き補正処理は、原稿画像SIに含まれるマーカ11、17の座標に基づく傾き角の計算処理と、算出された傾き角分だけ、原稿画像SIを回転させる回転処理とを含む。これらの具体的な計算方法は、公知の手法を用いて実行される。   FIG. 16 is a flowchart of region image data generation processing. In step S391, the area image generation unit 160 selects one document image data to be processed. In step S392, an inclination correction process is executed on the selected original image data to correct the inclination of the original image SI represented by the original image data. The tilt correction process includes a tilt angle calculation process based on the coordinates of the markers 11 and 17 included in the document image SI, and a rotation process that rotates the document image SI by the calculated tilt angle. These specific calculation methods are executed using a known method.

ステップS393では、領域画像生成部160は、傾き補正処理後の原稿画像データを用いて、原稿画像SI内の分割位置を特定する。分割位置は、例えば、原稿画像SIに含まれるマーカ11、17の座標に基づいて特定される。分割位置は、図13(B)に示すように、原稿画像SIが、2個の領域画像20A、20Bを含む第1種の原稿画像SIAである場合には、第1種の原稿画像SIAの2つの長辺をそれぞれ略均等に分割する2つの中点を結ぶ直線である。また、分割位置は、図14(B)に示すように、原稿画像SIが、4個の領域画像20C〜20Fを含む第2種の原稿画像SIBである場合には、第2種の原稿画像SIBの2つの長辺をそれぞれ略均等に分割する2つの中点を結ぶ直線と、第2種の原稿画像SIBの2つの短辺をそれぞれ略均等に分割する2つの中点を結ぶ直線である。   In step S393, the region image generation unit 160 specifies the division position in the document image SI using the document image data after the inclination correction processing. The division position is specified based on the coordinates of the markers 11 and 17 included in the document image SI, for example. As shown in FIG. 13B, the division position is the first type of original image SIA when the original image SI is the first type of original image SIA including the two area images 20A and 20B. It is a straight line connecting two midpoints that divide the two long sides approximately equally. Further, as shown in FIG. 14B, the division position is the second type of original image SIB when the original image SI is the second type of original image SIB including the four area images 20C to 20F. A straight line that connects two midpoints that divide the two long sides of the SIB approximately equally, and a straight line that connects two midpoints that divide the two short sides of the second-type document image SIB approximately equally. .

ステップS394では、領域画像生成部160は、特定された分割位置で、原稿画像SIを分割して、原稿画像SIに含まれる各領域画像20を表す領域画像データを生成する。図13(B)に示すように、原稿画像SIが、2個の領域画像20を含む第1種の原稿画像SIAである場合には、2個の領域画像20A、20Bをそれぞれ表す2個の領域画像データが生成される。また、図14(B)に示すように、原稿画像SIが、4個の領域画像20C〜20Fを含む第2種の原稿画像SIBである場合には、4個の領域画像20C〜20Fをそれぞれ表す4個の領域画像データが生成される。   In step S394, the region image generation unit 160 divides the document image SI at the specified division position, and generates region image data representing each region image 20 included in the document image SI. As shown in FIG. 13B, when the document image SI is the first type of document image SIA including the two region images 20, two images representing the two region images 20A and 20B, respectively. Region image data is generated. As shown in FIG. 14B, when the document image SI is the second type of document image SIB including the four region images 20C to 20F, the four region images 20C to 20F are respectively displayed. Four region image data to be represented are generated.

ステップS395では、原稿画像SIのレイアウトに応じて、回転すべき領域画像20を特定する。具体的には、原稿画像SIが、図13に示す第1種の原稿画像SIAである場合には、全部の領域画像、すなわち、2個の領域画像20A、20Bがそれぞれ回転すべき領域画像として特定される。原稿画像SIが、図14に示す第2種の原稿画像SIBである場合には、一部の領域画像、すなわち、原稿画像ページ番号SPNが「2」と「3」である2個の領域画像20D、20Eがそれぞれ回転すべき領域画像として特定される。   In step S395, the region image 20 to be rotated is specified according to the layout of the document image SI. Specifically, when the document image SI is the first type of document image SIA shown in FIG. 13, all the region images, that is, the two region images 20A and 20B are respectively the region images to be rotated. Identified. When the document image SI is the second type of document image SIB shown in FIG. 14, a part of region images, that is, two region images whose document image page numbers SPN are “2” and “3”. 20D and 20E are respectively identified as area images to be rotated.

ステップS396では、領域画像生成部160は、特定された領域画像20をレイアウトに応じた回転量だけ回転する回転処理を、特定された領域画像20を表す領域画像データに対して実行する。具体的には、原稿画像SIが、図13に示す第1種の原稿画像SIAである場合には、2個の領域画像20A、20Bは、時計回りに90度だけ回転される。なお、原稿画像データの生成時における画像読取部380の読取方向が逆向きであることによって、第1種の原稿画像SIAは、図13(B)に示す状態とは、逆向きである場合があるが、この場合には、領域画像生成部160は、2個の領域画像20A、20Bを、反時計回りに90度だけ回転すれば良い。この結果、2個の領域画像データは、適正方向を向いた状態で、2個の領域画像20A、20Bを表すように、変換される。画像が適正方向を向いた状態とは、例えば、該画像が、観察者が画像を見た場合に上方を向いているべきと感じる方向を向いている状態であり、例えば、文字画像であれば、該文字画像内の文字の上方向が上方を向いている状態である。例えば、領域画像20に含まれる単位画像10の場合には、図2(A)に示す破線の矢印の方向が上方を向いた状態が、適正方向を向いた状態である。     In step S <b> 396, the region image generation unit 160 performs a rotation process for rotating the identified region image 20 by the amount of rotation corresponding to the layout on the region image data representing the identified region image 20. Specifically, when the document image SI is the first type of document image SIA shown in FIG. 13, the two area images 20A and 20B are rotated by 90 degrees clockwise. Note that, since the reading direction of the image reading unit 380 at the time of generating the document image data is reverse, the first type of document image SIA may be reverse to the state shown in FIG. 13B. In this case, the area image generation unit 160 only needs to rotate the two area images 20A and 20B by 90 degrees counterclockwise. As a result, the two area image data are converted so as to represent the two area images 20A and 20B in a state in which they are directed in an appropriate direction. The state in which the image is oriented in the proper direction is, for example, a state in which the image is oriented in a direction that the observer feels should be facing upward when viewing the image. In this state, the upper direction of the characters in the character image is directed upward. For example, in the case of the unit image 10 included in the region image 20, the state in which the direction of the broken-line arrow shown in FIG.

同様に、原稿画像SIが、図14に示す第2種の原稿画像SIBである場合には、2個の領域画像20D、20Eは、それぞれ、180度だけ回転される。この結果、4個の領域画像20C〜20Fが同じ向きになると共に、4個の領域画像20C〜20Fが適正方向を向いた状態になるように、4個の領域画像データが変換される。なお、原稿画像データの生成時における画像読取部380の読取方向が逆向きであることによって、第2種の原稿画像SIBは、図14(B)に示す状態とは、逆向きである場合がある。すなわち、原稿画像SIBにおいて、ページ番号1、4に対応する領域画像20C、20Fが、図14における上方側に位置し、ページ番号2、3に対応する領域画像20D、20Eが、図14における下方側に位置する場合がある。この場合には、領域画像生成部160は、2個の領域画像20C、20Fを、それぞれ180度だけ回転させれば良い。
Similarly, when the document image SI is the second type of document image SIB shown in FIG. 14, the two area images 20D and 20E are rotated by 180 degrees. As a result, the four area images 20C to 20F have the same orientation, and the four area image data are converted so that the four area images 20C to 20F face the appropriate direction. Note that, since the reading direction of the image reading unit 380 at the time of generating the document image data is reverse, the second type of document image SIB may be reverse to the state shown in FIG. 14B. is there. That is, in the document image SIB, the region images 20C and 20F corresponding to the page numbers 1 and 4 are positioned on the upper side in FIG. 14, and the region images 20D and 20E corresponding to the page numbers 2 and 3 are the lower side in FIG. May be located on the side. In this case, the region image generation unit 160 may rotate the two region images 20C and 20F by 180 degrees.

ステップS397では、領域画像生成部160は、全ての原稿画像データを選択したか否かを判断する。未選択の原稿画像データがある場合には(ステップS397:NO)、領域画像生成部160は、ステップS391に戻って、新たな原稿画像データを選択して、上述したS392〜S396までの処理を繰り返す。また、全ての原稿画像データが選択済みである場合には(ステップS397:YES)、領域画像生成部160は、領域画像データ生成処理を、終了する。   In step S397, area image generation unit 160 determines whether all document image data has been selected. If there is unselected document image data (step S397: NO), the area image generation unit 160 returns to step S391, selects new document image data, and performs the above-described processing from S392 to S396. repeat. If all the document image data has been selected (step S397: YES), the region image generation unit 160 ends the region image data generation process.

領域画像データ生成処理が終了すると、図12のステップS400では、ファイル生成部170は、生成された複数の領域画像データを用いて、PDF(Portable Document Format)形式のファイル(PDFファイル)を生成する。PDFファイルは、ページの概念を有するファイルであり、任意の数のページのそれぞれに、1個以上の画像データを対応付けて格納することができる。PDFファイルでは、ページに対応付けられた画像データによって表される画像に対して、ページ上の配置位置、配置角度などを指定することができる。ユーザは、PDFファイルに格納された画像データによって表される画像を、閲覧プログラム(ビューワー)を用いて、ディスプレイ上で複数ページに亘る書類のように閲覧することができる。   When the region image data generation processing is completed, in step S400 of FIG. 12, the file generation unit 170 generates a PDF (Portable Document Format) format file (PDF file) using the generated plurality of region image data. . A PDF file is a file having the concept of pages, and one or more image data can be stored in association with each of an arbitrary number of pages. In the PDF file, an arrangement position, an arrangement angle, and the like on the page can be designated for an image represented by image data associated with the page. The user can browse the image represented by the image data stored in the PDF file like a document over a plurality of pages on a display using a browsing program (viewer).

図17は、PDFファイルの生成について説明する図である。具体的には、ファイル生成部170は、図15に示す管理テーブルMTに領域画像20ごとに記録されたPDFファイル番号PNと、PDFページ番号PPNとに従って、3個のPDFファイルPFA、PFB、PFCを生成する。PDFファイルPFAには、PDFファイル番号PNが「1」である5個の領域画像データが格納される。PDFファイルPFAに格納される5個の領域画像データによって表される5個の領域画像20は、対応するPDFページ番号PPNのページに、配置される。同様に、PDFファイルPFBには、PDFファイル番号PNが「2」である2個の領域画像データが格納され、該2個の領域画像データは、対応するPDFページ番号PPNのページに配置される。PDFファイルPFCには、PDFファイル番号PNが「3」である4個の領域画像データが格納され、該4個の領域画像データは、対応するPDFページ番号PPNのページに配置される。ここで、スキップの対象であると判断された1個の領域画像20に対応する領域画像データは、生成されるPDFファイルには格納されない。   FIG. 17 is a diagram for explaining generation of a PDF file. Specifically, the file generation unit 170 performs three PDF files PFA, PFB, PFC according to the PDF file number PN and the PDF page number PPN recorded for each area image 20 in the management table MT shown in FIG. Is generated. The PDF file PFA stores five area image data whose PDF file number PN is “1”. The five area images 20 represented by the five area image data stored in the PDF file PFA are arranged on the page of the corresponding PDF page number PPN. Similarly, two area image data whose PDF file number PN is “2” is stored in the PDF file PFB, and the two area image data are arranged on the page of the corresponding PDF page number PPN. . The PDF file PFC stores four area image data whose PDF file number PN is “3”, and the four area image data are arranged on the page of the corresponding PDF page number PPN. Here, the area image data corresponding to one area image 20 determined to be a skip target is not stored in the generated PDF file.

この結果、3個の原稿画像SIから構成される画像群SIG(図17)に含まれる12個の領域画像20のうち、スキップの対象であると判断された1個の領域画像20を除く11個の領域画像20が、3個のPDFファイルPFA、PFB、PFC(図17(B))に分類されて格納される。   As a result, of the 12 area images 20 included in the image group SIG (FIG. 17) composed of the 3 document images SI, one area image 20 determined to be a skip target is excluded 11. The area images 20 are classified and stored into three PDF files PFA, PFB, and PFC (FIG. 17B).

図12のステップS410では、原稿画像処理部100は、3個のPDFファイルPFA、PFB、PFCを、格納先に対して送信して、分割ドキュメント生成処理を終了する。本実施例の格納先は、格納サーバ500である。原稿画像処理部100は、3個のPDFファイルPFA、PFB、PFCに、ユーザの識別情報(具体的には、格納サーバ500を利用するためのユーザID)を関連付けて、格納サーバ500に対して送信する。格納サーバ500のCPU510は、3個のPDFファイルPFA、PFB、PFCを、格納サーバ500が有する記憶装置(図示せず)に格納する。ユーザは、パーソナルコンピュータ400や携帯端末(図示せず)などのクライアント装置を用いて、格納サーバ500に格納されたPDFファイルPFA、PFB、PFCにアクセス可能である。   In step S410 in FIG. 12, the document image processing unit 100 transmits three PDF files PFA, PFB, and PFC to the storage destination, and ends the divided document generation process. In this embodiment, the storage destination is the storage server 500. The document image processing unit 100 associates user identification information (specifically, a user ID for using the storage server 500) with the three PDF files PFA, PFB, and PFC, and Send. The CPU 510 of the storage server 500 stores the three PDF files PFA, PFB, and PFC in a storage device (not shown) included in the storage server 500. A user can access PDF files PFA, PFB, and PFC stored in the storage server 500 using a client device such as a personal computer 400 or a portable terminal (not shown).

以上説明した本実施例によれば、原稿画像SIの複数の領域画像20が互いに異なるページに配置されたPDFファイルを生成することができるので、複数の領域画像20を含む原稿画像SIを便利な形態で保存することができる。   According to the present embodiment described above, it is possible to generate a PDF file in which a plurality of region images 20 of the document image SI are arranged on different pages. Therefore, the document image SI including the plurality of region images 20 can be conveniently used. Can be stored in form.

また、ページ番号取得部130は、複数個の領域画像データに対応する複数個のページ番号情報(具体的には、ページ情報領域12内の数字(図2))を、画像解析によって取得する。そして、ファイル生成部170は、取得されたページ番号順に配置されたPDFファイルを生成する(図15、図17)。したがって、ページ番号順に配置された便利なPDFPDFファイルを生成することができる。   Further, the page number acquisition unit 130 acquires a plurality of page number information (specifically, numbers in the page information area 12 (FIG. 2)) corresponding to the plurality of area image data by image analysis. Then, the file generation unit 170 generates PDF files arranged in the order of the acquired page numbers (FIGS. 15 and 17). Therefore, it is possible to generate a convenient PDF PDF file arranged in the order of page numbers.

さらに、上記実施例では、原稿画像処理部100は、N個(図15、17の例では11個)の領域画像データを生成し、N個の領域画像データのうちの1個以上の領域画像データをそれぞれ含むM個(図15、17の例では、3個)のPDFファイルを生成している。M個のPDFファイルのうち少なくとも1個のファイル(図15、17の例では、3個のPDFファイル)は、N個の領域画像データのうちの2個以上の領域画像データに対応する2個以上の領域画像20が互いに異なるページに配置されている。このように、原稿画像データを用いて2個以上のPDFファイルを生成することができる。この結果、原稿画像データに応じて、便利な個数のPDFファイルを生成することができる。なお、Nは、3以上の整数であることが好ましく、Mは、2以上、かつ、(N−1)以下の整数であることが好ましい。図15から解るように、PDFファイルPFBに含まれる2個の領域画像データに対応する2個の領域画像20は、原稿画像SI内のページ番号(原稿画像ページ番号SPN)が連続する領域画像であることが解る。   Further, in the above embodiment, the document image processing unit 100 generates N area image data (11 in the example of FIGS. 15 and 17), and one or more area images of the N area image data. M (three in the examples of FIGS. 15 and 17) PDF files each including data are generated. At least one of the M PDF files (three PDF files in the examples of FIGS. 15 and 17) corresponds to two or more area image data of N area image data. The above region images 20 are arranged on different pages. In this way, two or more PDF files can be generated using the document image data. As a result, a convenient number of PDF files can be generated according to the document image data. N is preferably an integer of 3 or more, and M is preferably an integer of 2 or more and (N-1) or less. As can be seen from FIG. 15, the two area images 20 corresponding to the two area image data included in the PDF file PFB are area images in which page numbers (original image page numbers SPN) in the original image SI are continuous. I understand that there is.

画像情報取得部120は、原稿画像データを解析することによって、複数個の領域画像データに対応する複数個の関連付キーワードKWを取得する。原稿画像処理部100は、複数個の関連付キーワードKWを用いて、例えば、関連付キーワードKWが「議事録」である複数個の領域画像20に対応する複数個の領域画像データを含むPDFファイルPFAと、関連付キーワードKWが「メモ」である複数個の領域画像20に対応する複数個の領域画像データを含むPDFファイルPFBと、を生成できる(図15、17)。このように、関連付キーワードKWのような領域画像20のそれぞれに含まれる特定種の情報を用いて、複数のPDFファイルを生成することができるので、より便利な形態で原稿画像SIを保存することができる。   The image information acquisition unit 120 acquires a plurality of associated keywords KW corresponding to a plurality of area image data by analyzing the document image data. The document image processing unit 100 uses a plurality of associated keywords KW, for example, a PDF file including a plurality of region image data corresponding to a plurality of region images 20 whose associated keyword KW is “minutes”. A PFA and a PDF file PFB including a plurality of area image data corresponding to the plurality of area images 20 whose associated keyword KW is “memo” can be generated (FIGS. 15 and 17). As described above, since a plurality of PDF files can be generated using specific types of information included in each of the region images 20 such as the associated keyword KW, the document image SI is stored in a more convenient form. be able to.

原稿画像取得部110は、第1の原稿画像を表す第1の原稿画像データ(例えば、原稿画像番号SNが「1」である原稿画像データ(図15))と、第2の原稿画像を表す第2の原稿画像データと、を含む2個以上の原稿画像データ(例えば、SN=「2」である原稿画像データ(図15))を取得する。そして、領域画像生成部160は、第1の原稿画像データを用いて、第1の原稿画像に含まれるP個(例えば、4個(図15))の領域画像20をそれぞれ表すP個の第1の領域画像データ(例えば、SN=「1」である原稿画像データを分割して生成される4個の領域画像データ)を生成する。領域画像生成部160は、第2の原稿画像データを用いて、第2の原稿画像に含まれるP個の前記領域画像をそれぞれ表すP個の第2の領域画像データ(例えば、SN=「2」である原稿画像データを分割して生成される4個の領域画像データ)を生成する。   The document image acquisition unit 110 represents first document image data representing the first document image (for example, document image data whose document image number SN is “1” (FIG. 15)) and the second document image. Two or more original image data including the second original image data (for example, original image data with SN = “2” (FIG. 15)) is acquired. Then, the region image generation unit 160 uses the first document image data to generate P number of P (for example, four (FIG. 15)) region images 20 included in the first document image. 1 area image data (for example, 4 area image data generated by dividing original image data with SN = “1”) is generated. The area image generation unit 160 uses the second document image data to generate P second area image data (for example, SN = “2”) that represent the P area images included in the second document image. "4 area image data generated by dividing the original image data".

また、ファイル生成部170は、P個の第1の領域画像データとP個の第2の領域画像データとを含むファイルであって、第1の原稿画像に含まれるP個の前記領域画像と、第2の原稿画像に含まれるP個の前記領域画像と、が2・P個の異なるページに配置されたファイル(例えば、3個のPDFファイルPFA〜PFC(図17))を生成する。この結果、2個以上の原稿画像データに含まれる2・P個の領域画像データを含むファイルを生成することができる。このとき、第1のページ番号情報と、第2のページ番号情報と、第1の原稿画像データと第2の原稿画像データとが生成された順番(原稿画像番号SNの順番)と、に基づいて定められるページ順に、2・P個の領域画像20が、PDFファイルに配置される。したがって、生成順とページ番号に応じて、複数の原稿画像SIを便利な形態で保存することができる。   The file generation unit 170 is a file including P first area image data and P second area image data, and includes the P area images included in the first document image. Then, a file (for example, three PDF files PFA to PFC (FIG. 17)) in which P area images included in the second document image are arranged on 2 · P different pages is generated. As a result, a file including 2 · P area image data included in two or more document image data can be generated. At this time, based on the first page number information, the second page number information, and the order in which the first document image data and the second document image data are generated (the order of the document image numbers SN). 2 · P region images 20 are arranged in the PDF file in the order of the pages determined in this manner. Therefore, a plurality of document images SI can be stored in a convenient form according to the generation order and the page number.

4個の領域画像20を含む原稿画像SIは、互いに異なる向きで配置された第1の領域画像(例えば、ページ番号「1」「4」の領域画像20C、20F(図14))と第2の領域画像(例えば、ページ番号「2」「3」の領域画像20D、20E(図14))とを含む。上記実施例によれば、ファイル生成部170は、第1の領域画像と第2の領域画像とが同じ向きで表示されるように、PDFファイルを生成する。この結果、原稿画像SIにおいて、互いに異なる向きで配置された第1の領域画像と第2の領域画像とを含む原稿画像を、見やすく表示できるファイルを生成することができる。   The document image SI including the four area images 20 includes a first area image (for example, area images 20C and 20F (FIG. 14) with page numbers “1” and “4”) arranged in different directions and a second area image. Area images (for example, area images 20D and 20E with page numbers “2” and “3” (FIG. 14)). According to the above embodiment, the file generation unit 170 generates the PDF file so that the first area image and the second area image are displayed in the same orientation. As a result, in the document image SI, it is possible to generate a file that can easily display a document image including the first region image and the second region image arranged in different directions.

また、不要条件判断部150は、各領域画像20のそれぞれに含まれる不要チェックボックス14内のチェックの有無に基づいて、複数個の領域画像のそれぞれがスキップの対象となる条件を満たすか否かを判断する。このスキップ条件を満たす領域画像20が存在する場合には、ファイル生成部170は、当該スキップ条件を満たす領域画像20を表す領域画像データを含まないPDFファイルを生成する。この結果、PDFファイルの内容を表示した場合に、不要な画像が表示されないので便利である。   Further, the unnecessary condition determination unit 150 determines whether or not each of the plurality of area images satisfies a condition to be skipped based on whether or not the unnecessary check box 14 included in each area image 20 is checked. Judging. If there is an area image 20 that satisfies the skip condition, the file generation unit 170 generates a PDF file that does not include area image data representing the area image 20 that satisfies the skip condition. As a result, when the contents of the PDF file are displayed, an unnecessary image is not displayed, which is convenient.

B.変形例: B. Variations:

(1)図18、図19は、テンプレート画像データ生成処理の変形例を説明する図である。図18(A)〜(C)には、本変形例において、用紙サイズPSは互いに同じであるが、割付数ANは互いに異なる値2、4、8である3つのテンプレート画像TI内に設定される部分領域PA2、PA4、PA8が図示されている。ここで、部分領域PA2、PA4、PA8のサイズは、図7〜9に示すように、それぞれ異なるが、図18では、図10と同様に、図示する大きさを揃えている。図19は、割付数ANは互いに同じであるが、用紙サイズPSが互いに異なる2つのテンプレート画像TI内にそれぞれ設定される部分領域PAAと、PABと、が示されている。   (1) FIGS. 18 and 19 are diagrams for explaining a modification of the template image data generation process. 18A to 18C, in this modification, the paper sizes PS are the same, but the allocation number AN is set in three template images TI having different values 2, 4, and 8. Partial areas PA2, PA4, PA8 are shown. Here, although the sizes of the partial areas PA2, PA4, and PA8 are different as shown in FIGS. 7 to 9, the sizes shown in FIG. 18 are the same as in FIG. FIG. 19 shows partial areas PAA and PAB set in two template images TI having the same allocation number AN but different paper sizes PS.

上記実施例のテンプレート画像データ生成処理では、割付数ANおよび用紙サイズPSに応じて定まる部分領域PA(単位画像10のサイズ)に拘わらず、罫線領域比率が同じになるように、罫線領域MAを設定している。本変形例では、これに代えて、テンプレート準備部56は、罫線領域MAのサイズが小さくなるほど、罫線領域比率が大きくなるように、罫線領域MAのサイズを決定する。この結果、図18に示すように、部分領域PA2、PA4、PA8を大きさを揃えて図示した場合には、罫線領域MAは、割付数ANが大きいほど、大きく図示される。   In the template image data generation process of the above-described embodiment, the ruled line area MA is set so that the ruled line area ratio is the same regardless of the partial area PA (the size of the unit image 10) determined according to the allocation number AN and the paper size PS. It is set. In the present modification, instead of this, the template preparation unit 56 determines the size of the ruled line area MA so that the ruled line area ratio increases as the size of the ruled line area MA decreases. As a result, as shown in FIG. 18, when the partial areas PA2, PA4, and PA8 are illustrated with the same size, the ruled line area MA is larger as the allocation number AN is larger.

具体的には、テンプレート準備部56は、用紙サイズPSが同じである場合には、割付数ANが大きくなるほど、罫線領域比率が大きくなるように、罫線領域MAのサイズを決定する。すなわち、図18に示すように、テンプレート準備部56は、割付数がN1より大きなN2である場合における罫線領域比率が、割付数ANがN1である場合における罫線領域比率よりも大きくなるように、罫線領域MAのサイズを決定する。割付数ANが比較的大きい場合には、部分領域PAのサイズ、すなわち、単位画像10のサイズが比較的小さくなる。本変形例では、割付数ANが比較的大きい場合に、過度に罫線領域のサイズが小さくなることを抑制することができる。   Specifically, when the paper size PS is the same, the template preparation unit 56 determines the size of the ruled line area MA so that the ruled line area ratio increases as the allocation number AN increases. That is, as shown in FIG. 18, the template preparation unit 56 is configured so that the ruled line area ratio when the allocation number is N2 larger than N1 is larger than the ruled line area ratio when the allocation number AN is N1. The size of the ruled line area MA is determined. When the allocation number AN is relatively large, the size of the partial area PA, that is, the size of the unit image 10 is relatively small. In this modification, when the allocation number AN is relatively large, it is possible to suppress the size of the ruled line region from becoming excessively small.

また、テンプレート準備部56は、割付数ANが同じ値(例えば、K1)である場合には、用紙サイズPSが小さくなるほど、罫線領域比率が大きくなるように、罫線領域MAのサイズを決定する。すなわち、図19に示すように、テンプレート準備部56は、用紙サイズPSが特定サイズSZ3(例えば、A4)である場合における罫線領域比率が、用紙サイズPSが特定サイズSZ4より大きな特定サイズSZ3(例えば、A3)である場合における罫線領域比率よりも大きくなるように、罫線領域MAのサイズを決定する。用紙サイズPSが比較的小さな場合には、部分領域PAのサイズ、すなわち、単位画像10のサイズが比較的小さくなる。本変形例では、用紙サイズPSが比較的小さい場合に、過度に罫線領域のサイズが小さくなることを抑制することができる。   Further, when the allocation number AN is the same value (for example, K1), the template preparation unit 56 determines the size of the ruled line area MA so that the ruled line area ratio increases as the paper size PS decreases. That is, as shown in FIG. 19, the template preparation unit 56 determines that the ruled line area ratio when the paper size PS is the specific size SZ3 (for example, A4) is the specific size SZ3 (for example, the paper size PS is larger than the specific size SZ4). , A3), the size of the ruled line area MA is determined so as to be larger than the ruled line area ratio in the case of A3). When the paper size PS is relatively small, the size of the partial area PA, that is, the size of the unit image 10 is relatively small. In this modification, when the paper size PS is relatively small, the size of the ruled line region can be prevented from becoming excessively small.

(2)上記実施例のテンプレート画像データ生成処理における第1の配置処理を用いて生成されたテンプレート画像TIでは、上述したように、用紙サイズPSや割付数ANに拘わらずに、罫線画像における罫線間隔が一定である。この罫線間隔は、完全に一定である必要はなく、略一定であれば良い。 (2) In the template image TI generated by using the first arrangement process in the template image data generation process of the above embodiment, as described above, the ruled lines in the ruled line image regardless of the paper size PS and the allocation number AN. The interval is constant. The ruled line interval need not be completely constant, but may be substantially constant.

ここで、用紙サイズPSおよび割付数ANのうちの少なくとも一方が互いに異なることに起因して、罫線領域MAのサイズが互いに異なる第1テンプレート画像と第2テンプレート画像が生成されるとする。この場合に、第1のテンプレート画像の罫線領域の面積をST1とし、第2のテンプレート画像の罫線領域の面積をST2とする。また、第1のテンプレート画像の罫線間隔をNS1とし、第2のテンプレート画像の罫線間隔をNS2とする。用紙サイズPSや割付数ANに拘わらずに、罫線画像における罫線間隔が完全に一定である場合には、NS1=NS2であるので、両画像の罫線間隔の比率(NS1/NS2)は、1である。以上を考慮すると、上述したテンプレート画像データ生成処理において第1の配置処理を行って両画像のテンプレート画像データを生成すると、両画像の罫線間隔の比率(NS1/NS2)は、1となり、第2の配置処理を行って両画像のテンプレート画像データを生成すると、両画像の罫線間隔の比率(NS1/NS2)は、両画像の罫線領域MAの面積比(ST1/ST2)の平方根(SQRT(ST1/ST2)と表す)となる。   Here, it is assumed that the first template image and the second template image having different sizes of the ruled line area MA are generated due to at least one of the paper size PS and the allocation number AN being different from each other. In this case, the area of the ruled line region of the first template image is ST1, and the area of the ruled line region of the second template image is ST2. Further, the ruled line interval of the first template image is NS1, and the ruled line interval of the second template image is NS2. When the ruled line interval in the ruled line image is completely constant regardless of the paper size PS and the allocation number AN, NS1 = NS2, and therefore the ratio of the ruled line interval between both images (NS1 / NS2) is 1. is there. In consideration of the above, when the template image data of both images is generated by performing the first arrangement process in the template image data generation process described above, the ratio of the ruled line interval (NS1 / NS2) of both images becomes 1, and the second When the template image data of both images is generated by performing the arrangement process of (2), the ratio of the ruled line spacing (NS1 / NS2) of both images is the square root (SQRT (ST1 / ST2)).

第1のテンプレート画像と第2のテンプレート画像との罫線間隔の比率(NS1/NS2)が、SQRT(ST1/ST2)より、1に近い場合には、両画像の罫線間隔は、用紙サイズPSや割付数ANに拘わらず、略一定であると言うことができる。第1のテンプレート画像と第2のテンプレート画像との罫線間隔の比率(NS1/NS2)が、SQRT(ST1/ST2)と1との平均値より、1に近い場合には、両画像の罫線間隔は、用紙サイズPSや割付数ANに拘わらず、略一定であると、より明確に言うことができる。   When the ratio (NS1 / NS2) of the ruled line interval between the first template image and the second template image is closer to 1 than SQRT (ST1 / ST2), the ruled line interval of both images is the paper size PS or It can be said that it is substantially constant regardless of the allocation number AN. When the ratio (NS1 / NS2) of the ruled line interval between the first template image and the second template image is closer to 1 than the average value of SQRT (ST1 / ST2) and 1, the ruled line interval between both images Can be said more clearly that it is substantially constant regardless of the paper size PS and the number of assignments AN.

(3)上記実施例のテンプレート画像データ生成処理では、罫線画像の種類がタイプAである場合には、割付数ANと用紙サイズPSに拘わらずに、罫線間隔が一定になるように、テンプレート画像データを生成している。これに代えて、割付数ANに拘わらず、罫線間隔が一定になるように、テンプレート画像データを生成するが、用紙サイズPSが異なる場合には、罫線間隔が異なるようにテンプレート画像データを生成しても良い。逆に、用紙サイズPSに拘わらず、罫線間隔が一定になるように、テンプレート画像データを生成するが、割付数ANが異なる場合には、罫線間隔が異なるようにテンプレート画像データを生成しても良い。 (3) In the template image data generation process of the above embodiment, when the type of ruled line image is type A, the template image is set so that the ruled line interval is constant regardless of the allocation number AN and the paper size PS. Data is being generated. Instead, the template image data is generated so that the ruled line interval is constant regardless of the allocation number AN. However, when the paper size PS is different, the template image data is generated so that the ruled line interval is different. May be. Conversely, the template image data is generated so that the ruled line interval is constant regardless of the paper size PS. However, if the allocation number AN is different, the template image data may be generated so that the ruled line interval is different. good.

(4)上記実施例のテンプレート画像データ生成処理において、罫線画像の種類(タイプA、タイプBなど)に応じて、第1の配置処理と、第2の配置処理とを使い分けている。これに代えて、テンプレート準備部56は、罫線画像の種類とは無関係に、常に、第1の配置処理を行って、割付数ANと用紙サイズPSに拘わらずに、罫線間隔が一定になるように、テンプレート画像データを生成してもよい。また、テンプレート準備部56は、罫線画像の種類とは無関係に、ユーザの指示に従って、第1の配置処理と、第2の配置処理とを使い分けても良い。第1の配置処理と、第2の配置処理とのいずれを実行するかを指定するユーザの指示は、例えば、複合機300の操作部350を介して複合機300に受け付けられ、複合機300から画像処理サーバ200に送信される生成要求に、当該指示を示すコマンド情報が含められる。 (4) In the template image data generation process of the above-described embodiment, the first arrangement process and the second arrangement process are selectively used according to the type of ruled line image (type A, type B, etc.). Instead, the template preparation unit 56 always performs the first arrangement process regardless of the type of the ruled line image so that the ruled line interval is constant regardless of the allocation number AN and the paper size PS. Alternatively, template image data may be generated. Further, the template preparation unit 56 may use the first arrangement process and the second arrangement process in accordance with a user instruction regardless of the type of ruled line image. A user instruction specifying which of the first arrangement process and the second arrangement process is to be executed is received by the MFP 300 via the operation unit 350 of the MFP 300, for example. Command information indicating the instruction is included in the generation request transmitted to the image processing server 200.

(5)上記実施例のテンプレート画像データ生成処理では、基本罫線画像BGを用いて、矩形画像SQ(テンプレート画像TI)に配置される罫線画像を生成しているが、基本罫線画像BGを用いることなく、罫線画像を生成しても良い。具体的には、テンプレート準備部56は、生成すべき罫線画像がタイプAである場合には、罫線領域MAに、固定間隔で罫線画像の種類に応じた罫線を配置することによって、罫線画像を生成しても良い。 (5) In the template image data generation process of the above embodiment, the ruled line image arranged in the rectangular image SQ (template image TI) is generated using the basic ruled line image BG, but the basic ruled line image BG is used. Alternatively, a ruled line image may be generated. Specifically, when the ruled line image to be generated is type A, the template preparation unit 56 arranges ruled lines according to the type of the ruled line image at a fixed interval in the ruled line area MA, thereby generating the ruled line image. It may be generated.

(6)なお、原稿画像データを生成するための画像読取部は、光学的に原稿を読み取る装置であれば良く、実施例におけるスキャナに限らず、デジタルカメラであっても良い。 (6) The image reading unit for generating the document image data may be any device that optically reads the document, and is not limited to the scanner in the embodiment but may be a digital camera.

(7)上記実施例における画像処理サーバ200が備えるテンプレート画像生成部50の機能は、複合機300に備えられていても良い。また、パーソナルコンピュータ400がテンプレート画像生成部50の機能を備えていても良い。この場合には、テンプレート画像生成部50の機能は、例えば、複合機300を制御するためのドライバプログラム、例えば、プリンタドライバのプログラムに組み込まれて、パーソナルコンピュータ400のユーザに提供されても良い。 (7) The function of the template image generation unit 50 provided in the image processing server 200 in the above embodiment may be provided in the multifunction machine 300. Further, the personal computer 400 may have the function of the template image generation unit 50. In this case, the function of the template image generating unit 50 may be provided to the user of the personal computer 400 by being incorporated in a driver program for controlling the multifunction peripheral 300, for example, a printer driver program.

(8)画像処理サーバ200は、1つの筐体の装置に限らず、複数の別筐体の計算機を含む装置(いわゆるクラウドサーバ)であっても良い。 (8) The image processing server 200 is not limited to an apparatus with a single casing, but may be an apparatus (so-called cloud server) including a plurality of computers with separate casings.

(9)上記実施例において、ハードウェアによって実現されていた構成の一部をソフトウェアに置き換えるようにしても良く、逆に、ソフトウェアによって実現されていた構成の一部をハードウェアに置き換えるようにしても良い。 (9) In the above embodiment, a part of the configuration realized by hardware may be replaced with software, and conversely, a part of the configuration realized by software may be replaced with hardware. Also good.

以上、実施例、変形例に基づき本発明について説明してきたが、上記した発明の実施の形態は、本発明の理解を容易にするためのものであり、本発明を限定するものではない。本発明は、その趣旨並びに特許請求の範囲を逸脱することなく、変更、改良され得ると共に、本発明にはその等価物が含まれる。   As mentioned above, although this invention was demonstrated based on the Example and the modification, Embodiment mentioned above is for making an understanding of this invention easy, and does not limit this invention. The present invention can be changed and improved without departing from the spirit and scope of the claims, and equivalents thereof are included in the present invention.

50...テンプレート画像生成部、51...罫線種取得部、52...割付数取得部、54...用紙サイズ取得部、56...テンプレート準備部、58...テンプレート供給部、100...原稿画像処理部、110...原稿画像取得部、120...画像情報取得部、130...ページ番号取得部、140...生成順特定部、150...不要条件判断部、160...領域画像生成部、170...ファイル生成部、200...画像処理サーバ、210...CPU、220...通信部、230...揮発性記憶装置、240...不揮発性記憶装置、241...コンピュータプログラム、300...複合機、310...CPU、312...装置制御部、314...テンプレート画像取得部、316...原稿画像送信部、320...通信部、330...揮発性記憶装置、340...不揮発性記憶装置、341...コンピュータプログラム、350...操作部、360...表示部、370...印刷実行部、380...画像読取部、400...パーソナルコンピュータ、410...CPU、500...格納サーバ、510...CPU、700...インターネット、1000...原稿保存システム   50 ... Template image generation unit, 51 ... Ruled line type acquisition unit, 52 ... Assignment number acquisition unit, 54 ... Paper size acquisition unit, 56 ... Template preparation unit, 58 ... Template supply , 100 ... Original image processing unit, 110 ... Original image acquisition unit, 120 ... Image information acquisition unit, 130 ... Page number acquisition unit, 140 ... Generation order identification unit, 150 .. Unnecessary condition determination unit, 160 ... region image generation unit, 170 ... file generation unit, 200 ... image processing server, 210 ... CPU, 220 ... communication unit, 230 ... volatile Storage device, 240 ... nonvolatile storage device, 241 ... computer program, 300 ... multifunction machine, 310 ... CPU, 312 ... device control unit, 314 ... template image acquisition unit, 316 ... Original image transmission unit, 320 ... Communication unit, 330 ... Volatile storage device, 340 ... Nonvolatile storage device, 341 ... Compu 350 ... operation unit, 360 ... display unit, 370 ... print execution unit, 380 ... image reading unit, 400 ... personal computer, 410 ... CPU, 500 ... Storage server, 510 ... CPU, 700 ... Internet, 1000 ... Original storage system

Claims (11)

印刷のための画像処理装置であって、
1枚の用紙内に印刷されるべき単位画像の数を示す割付数を取得する割付数取得部と、
前記割付数に対応する複数個の単位画像を含むテンプレート画像を表すテンプレート画像データを準備するテンプレート準備部であって、前記複数個の単位画像のそれぞれは、複数の罫線を含む罫線領域を含み、前記複数の罫線のうち、隣接する2つの罫線の間隔は、前記テンプレート画像が前記用紙に印刷された場合に、前記割付数に拘わらず、略一定である、前記テンプレート準備部と、
前記テンプレート画像データを印刷実行部に供給するテンプレート供給部と、
を備える画像処理装置。
An image processing apparatus for printing,
An allocation number acquisition unit for acquiring an allocation number indicating the number of unit images to be printed on one sheet;
A template preparation unit for preparing template image data representing a template image including a plurality of unit images corresponding to the number of allocations, each of the plurality of unit images including a ruled line region including a plurality of ruled lines; Among the plurality of ruled lines, the interval between two adjacent ruled lines is substantially constant regardless of the number of assignments when the template image is printed on the paper, the template preparation unit,
A template supply unit for supplying the template image data to a print execution unit;
An image processing apparatus comprising:
請求項1に記載の画像処理装置であって、
前記複数個の単位画像のそれぞれは、さらに、前記罫線領域の周辺に位置する周辺領域を含み、
前記テンプレート準備部は、前記割付数がN1である場合には、N1個の第1の単位画像を含む前記テンプレート画像を準備し、前記割付数がN1より大きなN2である場合には、N2個の第2の単位画像を含む前記テンプレート画像を準備し、
前記第2の単位画像のサイズに対する前記第2の単位画像内の前記罫線領域のサイズの比率は、前記第1の単位画像のサイズに対する前記第1の単位画像内の前記罫線領域のサイズの比率より大きい、画像処理装置。
The image processing apparatus according to claim 1,
Each of the plurality of unit images further includes a peripheral region located around the ruled line region,
The template preparation unit prepares the template image including N1 first unit images when the allocation number is N1, and N2 when the allocation number is N2 larger than N1. Preparing the template image including the second unit image of
The ratio of the size of the ruled line area in the second unit image to the size of the second unit image is the ratio of the size of the ruled line area in the first unit image to the size of the first unit image. Larger image processing device.
請求項1または請求項2に記載の画像処理装置であって、
前記複数個の単位画像のそれぞれは、さらに、前記罫線領域の周辺に位置する周辺領域であって、特定の文字を含む前記周辺領域を含み、
前記テンプレート準備部は、前記割付数がN3である場合には、N3個の第3の単位画像を含む前記テンプレート画像を準備し、前記割付数がN3より大きなN4である場合には、N4個の第4の単位画像を含む前記テンプレート画像を準備し、
前記第3の単位画像の前記特定の文字のサイズに対する前記第4の単位画像の前記特定の文字のサイズの比率は、前記第3の単位画像のサイズに対する前記第4の単位画像のサイズの比率よりも大きい、画像処理装置。
The image processing apparatus according to claim 1 or 2,
Each of the plurality of unit images further includes a peripheral region located around the ruled line region, the peripheral region including a specific character,
The template preparation unit prepares the template image including N3 third unit images when the allocation number is N3, and N4 when the allocation number is N4 larger than N3. Preparing the template image including the fourth unit image of
The ratio of the size of the specific character of the fourth unit image to the size of the specific character of the third unit image is the ratio of the size of the fourth unit image to the size of the third unit image. Larger than the image processing device.
請求項1ないし請求項3のいずれかに記載の画像処理装置であって、さらに、
前記テンプレート画像が印刷されるべき用紙のサイズを取得する用紙サイズ取得部を備え、
前記テンプレート準備部は、前記隣接する2つの罫線の間隔が、前記テンプレート画像が前記用紙に印刷された場合に、前記用紙のサイズに拘わらず、略一定になるように、前記テンプレート画像データを準備する、画像処理装置。
The image processing apparatus according to any one of claims 1 to 3, further comprising:
A paper size acquisition unit that acquires the size of the paper on which the template image is to be printed;
The template preparation unit prepares the template image data so that an interval between the two adjacent ruled lines is substantially constant regardless of the size of the paper when the template image is printed on the paper. An image processing apparatus.
請求項4に記載の画像処理装置であって、
前記複数個の単位画像のそれぞれは、さらに、前記罫線領域の周辺に位置する周辺領域を含み、
前記テンプレート準備部は、前記用紙のサイズが第1のサイズである場合には、K1個の第5の単位画像を含む前記テンプレート画像を準備し、前記用紙のサイズが前記第1のサイズより小さな第2のサイズである場合には、K1個の第6の単位画像を含む前記テンプレート画像を準備し、
前記第6の単位画像のサイズに対する前記第6の単位画像内の前記罫線領域のサイズの比率は、前記第5の単位画像のサイズに対する前記第5の単位画像内の前記罫線領域のサイズの比率より大きい、画像処理装置。
The image processing apparatus according to claim 4,
Each of the plurality of unit images further includes a peripheral region located around the ruled line region,
When the size of the paper is the first size, the template preparation unit prepares the template image including K1 fifth unit images, and the size of the paper is smaller than the first size. In the case of the second size, the template image including K1 sixth unit images is prepared,
The ratio of the size of the ruled line area in the sixth unit image to the size of the sixth unit image is the ratio of the size of the ruled line area in the fifth unit image to the size of the fifth unit image. Larger image processing device.
請求項4または請求項5に記載の画像処理装置であって、
前記複数個の単位画像のそれぞれは、さらに、前記罫線領域の周辺に位置する周辺領域であって、特定の文字を含む前記周辺領域を含み、
前記テンプレート準備部は、前記用紙のサイズが第3のサイズである場合には、K2個の第7の単位画像を含む前記テンプレート画像を準備し、前記用紙のサイズが前記第3のサイズより小さな第4のサイズである場合には、K2個の第8の単位画像を含む前記テンプレート画像を準備し、
前記第7の単位画像の前記特定の文字のサイズに対する前記第8の単位画像の前記特定の文字のサイズの比率は、前記第7の単位画像のサイズに対する前記第8の単位画像のサイズの比率より大きい、画像処理装置。
The image processing apparatus according to claim 4 or 5, wherein
Each of the plurality of unit images further includes a peripheral region located around the ruled line region, the peripheral region including a specific character,
The template preparation unit prepares the template image including K2 seventh unit images when the size of the sheet is the third size, and the size of the sheet is smaller than the third size. In the case of the fourth size, the template image including K2 eighth unit images is prepared,
The ratio of the size of the specific character of the eighth unit image to the size of the specific character of the seventh unit image is the ratio of the size of the eighth unit image to the size of the seventh unit image. Larger image processing device.
請求項1ないし請求項6のいずれかに記載の画像処理装置であって、さらに、
前記罫線の種類を取得する種類取得部を備え、
前記テンプレート準備部は、前記罫線の種類が第1の種類である場合に、前記隣接する2つの罫線の間隔が、前記割付数に拘わらず、略一定である前記テンプレート画像を表す第1のテンプレート画像データを準備し、前記罫線の種類が第2の種類である場合に、前記隣接する2つの罫線の間隔が、前記割付数が大きいほど小さい前記テンプレート画像を表す第2のテンプレート画像データを準備する、画像処理装置。
The image processing apparatus according to any one of claims 1 to 6, further comprising:
A type acquisition unit for acquiring the type of the ruled line;
When the type of the ruled line is the first type, the template preparing unit represents the first template representing the template image in which the interval between the two adjacent ruled lines is substantially constant regardless of the number of assignments. When image data is prepared and the type of ruled line is the second type, second template image data representing the template image having a smaller interval between the two adjacent ruled lines is prepared. An image processing apparatus.
印刷のための画像処理装置であって、
前記用紙のサイズを取得する用紙サイズ取得部と、
複数個の単位画像を含むテンプレート画像を表すテンプレート画像データを準備するテンプレート準備部であって、前記複数個の単位画像のそれぞれは、複数の罫線を含む罫線領域を含み、前記複数の罫線のうち、隣接する2つの罫線の間隔は、前記テンプレート画像が前記用紙に印刷された場合に、前記用紙のサイズに拘わらず、略一定である、前記テンプレート準備部と、
前記テンプレート画像データを印刷実行部に供給するテンプレート供給部と、
を備える画像処理装置。
An image processing apparatus for printing,
A paper size acquisition unit for acquiring the size of the paper;
A template preparation unit for preparing template image data representing a template image including a plurality of unit images, each of the plurality of unit images including a ruled line region including a plurality of ruled lines, and among the plurality of ruled lines The interval between two ruled lines adjacent to each other is substantially constant regardless of the size of the paper when the template image is printed on the paper;
A template supply unit for supplying the template image data to a print execution unit;
An image processing apparatus comprising:
請求項8に記載の画像処理装置であって、さらに、
1枚の用紙内に印刷されるべき単位画像の数を示す割付数を取得する割付数取得部を備え、
前記テンプレート準備部は、前記割付数に対応する前記複数個の単位画像を含む前記テンプレート画像を表す前記テンプレート画像データを準備する、画像処理装置。
The image processing apparatus according to claim 8, further comprising:
An allocation number acquisition unit that acquires an allocation number indicating the number of unit images to be printed on one sheet;
The template preparation unit prepares the template image data representing the template image including the plurality of unit images corresponding to the allocation number.
請求項8または請求項9に記載の画像処理装置であって、
前記複数個の単位画像のそれぞれは、さらに、前記罫線領域の周辺に位置する周辺領域を含み、
前記テンプレート準備部は、前記用紙のサイズが第1のサイズである場合には、K1個の第1の単位画像を含む前記テンプレート画像を準備し、前記用紙のサイズが前記第1のサイズより小さな第2のサイズである場合には、K1個の第2の単位画像を含む前記テンプレート画像を準備し、
前記第2の単位画像のサイズに対する前記第2の単位画像内の前記罫線領域のサイズの比率は、前記第1の単位画像内の前記罫線領域のサイズの比率より大きい、画像処理装置。
The image processing apparatus according to claim 8 or 9, wherein
Each of the plurality of unit images further includes a peripheral region located around the ruled line region,
The template preparation unit prepares the template image including K1 first unit images when the size of the paper is the first size, and the size of the paper is smaller than the first size. In the case of the second size, preparing the template image including K1 second unit images,
The image processing apparatus, wherein a ratio of a size of the ruled line area in the second unit image to a size of the second unit image is larger than a ratio of the size of the ruled line area in the first unit image.
請求項8ないし請求項10のいずれかに記載の画像処理装置であって、
前記複数個の単位画像のそれぞれは、さらに、前記罫線領域の周辺に位置する周辺領域であって、特定の文字を含む前記周辺領域を含み、
前記テンプレート準備部は、前記用紙のサイズが第3のサイズである場合には、K2個の第3の単位画像を含む前記テンプレート画像を準備し、前記用紙のサイズが前記第3のサイズより小さな第4のサイズである場合には、K2個の第4の単位画像を含む前記テンプレート画像を準備し、
前記第3の単位画像の前記特定の文字のサイズに対する前記第4の単位画像の前記特定の文字のサイズの比率は、前記第3の単位画像のサイズに対する前記第4の単位画像のサイズの比率より大きい、画像処理装置。
An image processing apparatus according to any one of claims 8 to 10,
Each of the plurality of unit images further includes a peripheral region located around the ruled line region, the peripheral region including a specific character,
The template preparation unit prepares the template image including K2 third unit images when the size of the paper is the third size, and the size of the paper is smaller than the third size. In the case of the fourth size, preparing the template image including K2 fourth unit images,
The ratio of the size of the specific character of the fourth unit image to the size of the specific character of the third unit image is the ratio of the size of the fourth unit image to the size of the third unit image. Larger image processing device.
JP2012148088A 2012-07-01 2012-07-01 Image processor, and computer program Pending JP2014011699A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012148088A JP2014011699A (en) 2012-07-01 2012-07-01 Image processor, and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012148088A JP2014011699A (en) 2012-07-01 2012-07-01 Image processor, and computer program

Publications (1)

Publication Number Publication Date
JP2014011699A true JP2014011699A (en) 2014-01-20

Family

ID=50107998

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012148088A Pending JP2014011699A (en) 2012-07-01 2012-07-01 Image processor, and computer program

Country Status (1)

Country Link
JP (1) JP2014011699A (en)

Similar Documents

Publication Publication Date Title
US9591169B2 (en) Image processing apparatus and program
JP5929210B2 (en) Information processing program, information processing apparatus, and information processing apparatus control method
US9485385B2 (en) Image processing apparatus and computer program for generating a file in which plural area images of a document image are disposed in different pages
JP2010039943A (en) Layout printing system, layout document browsing method, and program
JP2009169536A (en) Information processor, image forming apparatus, document creating method, and document creating program
US20190132471A1 (en) Image processing apparatus
US9898236B2 (en) Image processing apparatus and program for printing template images using keyword data
JP2015204075A (en) Electronic document creation system, and program
US10306095B2 (en) Image processing apparatus and method
JP5712489B2 (en) Image processing apparatus, image processing system, and program
JP4792099B2 (en) Printing program, printing control apparatus, and image forming apparatus
US11089179B2 (en) Image processing apparatus, system, and computer program product capable of performing image processing on target image with respect to image data of the target image corresponding to target image state by acquired display image
JP2014011699A (en) Image processor, and computer program
JP6578696B2 (en) Document image management apparatus and document image management program
JP2006215619A (en) Document creation support system, program and method
JP2016139869A (en) Image processing device
JP4998421B2 (en) Image forming apparatus and image forming program
US20240111463A1 (en) Information processing apparatus and method, and storage medium storing program
JP2013254277A (en) Image processing device, image processing system, and program
US20150062660A1 (en) File management apparatus and file management method
JP2007115190A (en) Document processing system, control method, and program
JP4544133B2 (en) Printing apparatus and printing control method
JP5193340B2 (en) Printing method and printing program
JP2018005803A (en) Image formation apparatus, pattern printing method, and pattern printing program
JP2017175367A (en) Information processing apparatus for performing data conversion, data conversion processing method and program