JP2010141550A - Image forming apparatus, image forming method, and image forming program - Google Patents

Image forming apparatus, image forming method, and image forming program Download PDF

Info

Publication number
JP2010141550A
JP2010141550A JP2008315387A JP2008315387A JP2010141550A JP 2010141550 A JP2010141550 A JP 2010141550A JP 2008315387 A JP2008315387 A JP 2008315387A JP 2008315387 A JP2008315387 A JP 2008315387A JP 2010141550 A JP2010141550 A JP 2010141550A
Authority
JP
Japan
Prior art keywords
image
page
images
document
arrangement
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
JP2008315387A
Other languages
Japanese (ja)
Inventor
Ichiji Yamanegi
一司 山根木
Manabu Matsumoto
学 松本
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.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP2008315387A priority Critical patent/JP2010141550A/en
Publication of JP2010141550A publication Critical patent/JP2010141550A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image forming apparatus which reads the images of the both sides of a plurality of original documents, and prints the images thus read while editing so that a user can easily determine that one side and the other side of each original document correspond to each other. <P>SOLUTION: The image forming apparatus 150 includes an image reading unit 152 which performs the processing of sequentially reading the images of one side of a plurality of original documents separately from the processing of sequentially reading the images of the other side of the plurality of original documents, and an image processing unit 250 which performs imposition so that a plurality of image placement areas are set per page of a recording medium and creates one or a plurality of page images by determining the page and the placement area where each image thus read is arranged. The image processing unit 250 determines the placement area of each image so that the image of one side and the image of the other side of each original document are arranged while corresponding to each other. The image forming apparatus 150 further includes an image forming unit 154 which prints the page image thus created. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、画像形成装置に関し、特に、複数の原稿の両面の画像を片面ずつ読取って、読取った画像を予め定められた印刷レイアウトにしたがって配列して印刷する機能を持つ画像形成装置、画像形成方法、及び画像形成プログラムに関する。   The present invention relates to an image forming apparatus, and more particularly to an image forming apparatus having a function of reading images on both sides of a plurality of originals one by one, and arranging and printing the read images according to a predetermined print layout. The present invention relates to a method and an image forming program.

近年、原稿の画像を読取って、読取った画像を編集して印刷するためのプリンタ等の画像形成装置が普及している。   In recent years, an image forming apparatus such as a printer for reading an image of a document and editing and printing the read image has been widely used.

特許文献1は、そのような印刷技術を開示している。特許文献1に記載の印刷装置は、複数の画像を記憶する。印刷装置は、記憶されている画像を印刷用紙上でどのように配列して印刷するかを決定するための印刷レイアウトを、利用者に自由に編集させる機能を持つ。印刷装置は、編集された印刷レイアウトにしたがって、印刷用紙に画像を印字して印刷する。   Patent Document 1 discloses such a printing technique. The printing apparatus described in Patent Document 1 stores a plurality of images. The printing apparatus has a function of allowing a user to freely edit a print layout for determining how stored images are arranged and printed on printing paper. The printing apparatus prints an image on a print sheet according to the edited print layout.

特許文献2は、複数の名刺の片面の画像を読取り、読取った画像を配列して印刷する画像形成装置を開示している。特許文献2に記載の技術では、先ず、利用者は、画像形成装置に設けられている原稿読取装置の原稿読取台に複数の名刺をセットする。利用者は、名刺の縦又は横の方向を全て同じ向きになるように配置する必要はなく、任意の方向に配置しても良い。   Patent Document 2 discloses an image forming apparatus that reads images on one side of a plurality of business cards, and arranges and prints the read images. In the technique described in Patent Document 2, a user first sets a plurality of business cards on a document reading table of a document reading device provided in an image forming apparatus. The user does not have to arrange the business card in the same direction in the vertical or horizontal direction, and may arrange it in any direction.

画像形成装置は、セットされた名刺の片面の画像を読取る。画像形成装置は、各画像の縦及び横の方向が、それぞれ全て同じ方向を向き、かつ、各画像が互いに所定の間隔を隔てて並ぶように配置された画像を生成して印刷する。   The image forming apparatus reads an image on one side of the set business card. The image forming apparatus generates and prints an image in which the vertical and horizontal directions of each image are all in the same direction and the images are arranged at a predetermined interval from each other.

画像形成装置が、原稿読取台に任意の方向を向いて配置された名刺を整列して印刷するので、利用者は、原稿読取台に、複数の名刺を規則正しく整列してセットする手間を省くことができる。
特開2003‐326793号公報 特開2008‐160339号公報
Since the image forming apparatus arranges and prints business cards arranged in an arbitrary direction on the document reading table, the user can save the trouble of regularly arranging and setting a plurality of business cards on the document reading table. Can do.
JP 2003-326793 A JP 2008-160339 A

名刺には、片面にのみ文字及び画像等が記載されたものと、両面に文字等が記載されたものとがある。会社において、複数ある名刺の画像を印刷することにより、複数の名刺を管理するのであれば、両面に文字が記載されている名刺について、その両面が同じ名刺であるということが利用者にわかるように印刷することが望ましい。名刺の両面を一度に読取ることができるならば、そのような画像配置は比較的容易である。しかし、原稿の両面を読込むための機構には、原稿をスイッチバックするものが多く、名刺のように厚手でかつ小型の原稿の両面を読取ることができるような機構を持つ原稿読取装置を作成することは極めてむずかしい。そのため、一般的には、最初に名刺の表面を読み、次に名刺の表面と裏面とを手操作で逆転して名刺の裏面を読むという操作が採用される。   There are business cards in which characters and images are written only on one side, and characters and the like are written on both sides. If a company manages multiple business cards by printing multiple business card images, the user will know that both sides of a business card with characters on both sides are the same business card. It is desirable to print on. If both sides of a business card can be read at once, such image placement is relatively easy. However, many of the mechanisms for reading both sides of a document switch back the document, and create a document reading device having a mechanism that can read both sides of a thick and small document like a business card. Is extremely difficult. Therefore, in general, an operation is adopted in which the front side of the business card is read first, and then the front side and the back side of the business card are reversed manually to read the back side of the business card.

しかしこのような順番で多数の名刺の表面及び裏面を読込む場合、名刺の表面及び裏面の関係付けが分かるような形で画像を印刷することは難しい。   However, when reading the front and back surfaces of a large number of business cards in this order, it is difficult to print an image so that the relationship between the front and back surfaces of the business cards can be understood.

特許文献1に記載の技術では、印刷レイアウトを利用者に編集させることが可能である。したがって手作業で印刷レイアウトを決めることはできる。しかし、両面に文字等が記載された名刺の画像について、手作業によらずにその両面の画像をどのように関連付けて配置するかについては全く開示も示唆もされていない。   With the technique described in Patent Document 1, the user can edit the print layout. Therefore, the print layout can be determined manually. However, there is no disclosure or suggestion as to how to arrange images of business cards in which characters and the like are written on both sides without relating to manual operations.

特許文献2に記載の技術に係る装置は、複数の名刺の片面の画像を一度に読取り、それらの画像を整列して印刷する。しかしこの装置は両面の画像を読取って整列するわけではないので、上記の課題を解決することはできない。   The apparatus according to the technique described in Patent Document 2 reads images on one side of a plurality of business cards at a time and aligns and prints the images. However, since this apparatus does not read and align images on both sides, the above-mentioned problem cannot be solved.

したがって、本発明の目的は、複数の原稿の両面の画像を読取り、各原稿の一方の面と他方の面とが対応していることを利用者が容易に判断できるように、読取られた画像を編集して印刷するための画像形成装置を提供することである。   Therefore, an object of the present invention is to read images on both sides of a plurality of documents and read the images so that the user can easily determine that one side of each document corresponds to the other side. It is an object to provide an image forming apparatus for editing and printing.

本発明の第1の局面に係る画像形成装置は、複数の原稿の各々の一方の面の画像を順番に読取る処理と、複数の原稿の他方の面の画像を順番に読取る処理とを別個に行ない、各画像データを出力するための画像読取手段と、画像読取手段により読取られた画像を、記録媒体の1ページあたりに複数の画像配置領域が定められるように面付けをし、各画像が配置されるページ及び配置領域を決定することによって1又は複数のページ画像を生成するための画像生成手段とを含む。画像生成手段は、各原稿の一方の面の画像と、他方の面の画像とが互いに対応付けられる位置に配置されるように各画像の配置領域を決定する。画像形成装置はさらに、ページ画像を印刷するための印刷手段とを含む。   The image forming apparatus according to the first aspect of the present invention separately performs processing for sequentially reading an image on one side of each of a plurality of documents and processing for sequentially reading an image on the other side of the plurality of documents. And imposing the image reading means for outputting each image data, and the image read by the image reading means so that a plurality of image arrangement areas are defined per page of the recording medium. Image generation means for generating one or a plurality of page images by determining a page to be arranged and an arrangement region. The image generation means determines an arrangement area of each image so that the image on one side of each document and the image on the other side are arranged at a position corresponding to each other. The image forming apparatus further includes a printing unit for printing the page image.

画像読取手段は、複数の原稿の各々の一方の面の画像を順番に読取る処理と、複数の原稿の他方の面の画像を順番に読取る処理とを別個に行ない、各画像データを出力する。画像生成手段は、画像読取手段により読取られた画像を、記録媒体の1ページあたりに複数の画像配置領域が定められるように面付けをし、各画像が配置されるページ及び配置領域を決定することによって1又は複数のページ画像を生成する。印刷手段は、画像生成手段によって生成されたページ画像を印刷する。画像読込手段が、原稿の一方の面の画像を順番に読込む処理と、原稿の他方の面の画像を順番に読込む処理を別個に実行したとしても、画像生成手段は、各原稿の一方の面と他方の面とが互いに対応付けられる位置に配置されるように各画像の配置領域を決定するので、利用者は、印刷されたページ画像を見ることによって、どの一方の面の画像とどの他方の面の画像とが同じ原稿の画像であるかを容易に判断することができる。その結果、複数の原稿の両面の画像を読取り、各原稿の一方の面と他方の面とが対応していることを利用者が容易に判断できるように、読取られた画像を編集して印刷するための画像形成装置を提供することができる。   The image reading unit separately performs processing for sequentially reading images on one side of each of a plurality of documents and processing for sequentially reading images on the other side of the plurality of documents, and outputs each image data. The image generation means imposes the image read by the image reading means so that a plurality of image arrangement areas are determined per page of the recording medium, and determines a page and an arrangement area where each image is arranged. Thus, one or a plurality of page images are generated. The printing unit prints the page image generated by the image generation unit. Even if the image reading unit separately executes the process of sequentially reading the image on one side of the document and the process of sequentially reading the image on the other side of the document, the image generating unit Since the arrangement area of each image is determined so that the surface of the image and the surface of the other image are aligned with each other, the user can determine which image of which surface by looking at the printed page image. It is possible to easily determine which image on the other side is the same document image. As a result, images on both sides of a plurality of documents are read, and the scanned images are edited and printed so that the user can easily determine that one side of each document corresponds to the other side. An image forming apparatus can be provided.

好ましくは、画像生成手段は、記録媒体の1ページにM行N列(M及びNはそれぞれ2以上の整数)の行列で画像配置領域が定められるように面付けする配置領域決定手段と、複数の原稿の各々に対して、当該原稿の一方の面の画像と他方の面の画像とが、同じページの、互いに隣接した配置領域に配置されるようにしてページ画像を生成するための配置手段とを含む。   Preferably, the image generation means includes an arrangement area determining means for imposing an image arrangement area so that an image arrangement area is determined by a matrix of M rows and N columns (M and N are each an integer of 2 or more) on one page of the recording medium, An arrangement means for generating a page image so that an image on one side and an image on the other side of the original are arranged in adjacent arrangement areas of the same page for each of the originals Including.

配置領域決定手段は、記録媒体の1ページにM行N列の行列で画像配置領域が定められるように面付けする。配置手段は、複数の原稿の各々に対して、当該原稿の一方の面の画像と他方の面の画像とが、同じページの、他以外に隣接した配置領域に配置されるようにしてページ画像を生成する。各原稿の一方の面の画像と他方の面の画像とが、同じページの、互いに隣接した配置領域に配置されるので、利用者は、どの一方の面の画像と、どの他方の面の画像とが同じ原稿に対応するかを容易に判断することができる。その結果、利用者は、原稿の管理をし易くなる。   The arrangement area determining means imposes an image arrangement area so that an image arrangement area is determined by a matrix of M rows and N columns on one page of the recording medium. The placement unit is configured to arrange the page image so that the image on one side and the image on the other side of each of the plurality of originals are arranged in an arrangement area adjacent to the other of the same page. Is generated. Since the image on one side and the image on the other side of each document are arranged in the arrangement area adjacent to each other on the same page, the user can select which side image and which side image. And can correspond to the same manuscript easily. As a result, the user can easily manage the manuscript.

より好ましくは、配置手段は、複数の原稿の各々に対して、当該原稿の一方の面の画像を各ページの予め定められた列または行に順番に配置するための手段と、複数の原稿の各々に対して、当該原稿の他方の面の画像が、当該原稿の一方の面が配置された配置領域に隣接する配置領域に配置されるように、各画像の配置領域を決定してページ画像を生成するための手段とを含む。   More preferably, the arranging means includes, for each of the plurality of documents, means for sequentially arranging an image of one side of the document in a predetermined column or row of each page, For each, the page image is determined by determining the arrangement area of each image so that the image on the other side of the original is arranged in an arrangement area adjacent to the arrangement area where the one side of the original is arranged. For generating.

配置するための手段は、複数の原稿の各々に対して、当該原稿の一方の面の画像を各ページの予め定められた列または行に順番に配置する。生成するための手段は、複数の原稿の各々に対して、当該原稿の他方の面の画像が、当該原稿の一方の面が配置された配置領域に隣接する配置領域に配置されるように、各画像の配置領域を決定してページ画像を生成する。各原稿に対して、他方の面の画像が、一方の面が配置された配置領域に隣接する配置領域に配置されるように、各画像の配置領域が決定される。したがって、利用者は、どの一方の面の画像が、どの他方の面の画像に対応するかを容易に判断することができ、原稿の管理をし易くなる。   The means for arranging arranges an image of one side of the original in order in a predetermined column or row of each page for each of the plurality of originals. The generating means is arranged such that for each of the plurality of documents, the image on the other side of the document is arranged in an arrangement area adjacent to the arrangement area where the one side of the document is arranged. A page image is generated by determining an arrangement area of each image. The placement area of each image is determined so that the image on the other side is placed in the placement area adjacent to the placement area on which the one face is placed for each document. Therefore, the user can easily determine which image on which side corresponds to which image on the other side, and the manuscript can be easily managed.

さらに好ましくは、生成するための手段は、複数の原稿の各々に対して、当該原稿の他方の面の画像がブランク画像か否かを判定するための判定手段と、判定手段による判定結果にしたがって、当該原稿の一方の面が配置された配置領域に隣接する配置領域に画像を配置しない処理、又は当該領域に、当該原稿の他方の面の画像を配置するための手段とを含む。   More preferably, the generating means determines, for each of the plurality of originals, a determination means for determining whether the image on the other side of the original is a blank image, and a determination result by the determination means. And processing for not arranging an image in an arrangement area adjacent to the arrangement area where one side of the original is arranged, or means for arranging an image of the other side of the original in the area.

判定手段は、複数の原稿の各々に対して、当該原稿の他方の面の画像がブランク原稿か否かを判定する。配置するための手段は、判定手段による判定結果にしたがって、当該原稿の一方の面が配置された配置領域に隣接する配置領域に画像を配置しない処理、又は、当該領域に、当該原稿の他方の面の画像を配置する。したがって、利用者は、印刷された原稿の他方の面がブランク原稿であるか、又は、画像が描画されているか否かを容易に判断することができる。   The determination unit determines, for each of the plurality of documents, whether the image on the other side of the document is a blank document. According to the determination result by the determination means, the means for arranging the image is not arranged in an arrangement area adjacent to the arrangement area where one side of the original is arranged, or the other area of the original is placed in the area. Arrange the surface image. Therefore, the user can easily determine whether the other side of the printed document is a blank document or whether an image is drawn.

さらに好ましくは、生成するための手段は、複数の原稿の各々に対して、当該原稿の他方の面の画像がブランク画像か否かを判定するための判定手段と、判定手段により、他方の面の画像がブランク画像と判定されたことに応答して、複数の原稿のうち、まだ一方の面の画像の配置領域が決定されてないものの中で、裏面がブランクであるものの一方の面の画像を、原稿の一方の面の画像が配置された領域に隣接した領域に配置するための手段とを含む。   More preferably, the means for generating includes, for each of the plurality of originals, a determination means for determining whether the image on the other side of the original is a blank image, In response to the image being determined to be a blank image, among the plurality of documents, the arrangement area of the image on one side is not yet determined, but the image on the one side is blank with the back side being blank. For placing the image in a region adjacent to the region where the image on one side of the document is disposed.

判定手段は、複数の原稿の各々に対して、当該原稿の他方の面の画像がブランク原稿か否かを判定する。配置するための手段は、他方の面の画像がブランク画像と判定されたことに応答して、複数の原稿のうち、まだ一方の面の画像の配置領域が決定されてないものの中で、裏面がブランク画像であるものの一方の面の画像を、原稿の一方の面の画像が配置された領域に隣接した領域に配置する。したがって、ブランク画像の領域が無駄になることがない。その結果、印刷用紙の使用量を節約することができる。   The determination unit determines, for each of the plurality of documents, whether the image on the other side of the document is a blank document. In response to the determination that the image on the other side is a blank image, the means for arranging the back side of the plurality of documents in which the arrangement area of the image on one side has not yet been determined. Is a blank image, the image on one side is placed in a region adjacent to the region on which the image on one side of the document is placed. Therefore, the blank image area is not wasted. As a result, the amount of printing paper used can be saved.

さらに好ましくは、配置するための手段は、判定手段により、他方の面の画像がブランク画像と判定されたことに応答して、複数の原稿のうち、まだ一方の面の画像の配置領域が決定されてないものの中で、裏面がブランクであり、かつ画像読取手段により読取られた順番が最も遅いものの一方の面の画像を、原稿の一方の面の画像が配置された領域に隣接した領域に配置するための手段を含む。   More preferably, the means for arranging determines the arrangement area of the image on one side of the plurality of documents in response to the determination unit determining that the image on the other side is a blank image. Among the images that have not been processed, the back side is blank and the image read by the image reading means is the slowest in order, and the image on one side is placed in an area adjacent to the area on which the image on one side of the document is placed. Means for positioning.

配置するための手段は、判定手段により、他方の面の画像がブランク画像と判定されたことに応答して、複数の原稿のうち、まだ一方の面の画像の配置領域が決定されてないものの中で、裏面がブランクであり、かつ画像読取手段により読取られた順番が最も遅いものの一方の面の画像を、原稿の一方の面の画像が配置された領域に隣接した領域に配置する。したがって、ブランク画像の領域が無駄になることがない。その結果、印刷用紙の使用量を節約することができる。   In response to the determination that the image on the other side is determined to be a blank image by the determination unit, the arrangement area for the image on one side of the plurality of documents has not yet been determined. Among them, the image on one side, although the back side is blank and the order of reading by the image reading unit is the slowest, is arranged in an area adjacent to the area where the image on one side of the document is arranged. Therefore, the blank image area is not wasted. As a result, the amount of printing paper used can be saved.

さらに好ましくは、画像生成手段は、記録媒体の1ページにM行N列(M及びNはそれぞれ2以上の整数)の行列で画像配置領域が定められるように面付けする配置領域決定手段と、複数の原稿の各々に対して、当該原稿の一方の面の画像と他方の面の画像とが、隣接するページの、互いに同一の配置領域に配置されるようにしてページ画像を生成するための配置手段とを含む。   More preferably, the image generating means is an arrangement area determining means for imposing an image arrangement area so as to be determined by a matrix of M rows and N columns (M and N are each an integer of 2 or more) on one page of the recording medium; For generating a page image for each of a plurality of documents such that an image on one side and an image on the other side of the document are arranged in the same arrangement area of adjacent pages. Positioning means.

配置領域決定手段は、記録媒体の1ページにM行N列の行列で画像配置領域が定められるように面付けする。配置手段は、複数の原稿の各々に対して、当該原稿の一方の面の画像と他方の面の画像とが、隣接するページの、互いに同一の配置領域に配置されるようにしてページ画像を生成する。したがって、隣接するページが並べられると、利用者は一方の面が配置されたページ画像及び他方の面が配置されたページ画像の両方を見比べて、どの一方の面とどの他方の面が互いに対応しているかを容易に判断できる。   The arrangement area determining means imposes an image arrangement area so that an image arrangement area is determined by a matrix of M rows and N columns on one page of the recording medium. The arranging means arranges a page image for each of a plurality of documents so that the image on one side and the image on the other side of the document are arranged in the same arrangement area of adjacent pages. Generate. Therefore, when adjacent pages are arranged, the user compares both the page image on which one side is arranged and the page image on which the other side is arranged, and which one side corresponds to which other side. You can easily determine whether you are doing.

さらに好ましくは、配置手段は、複数の原稿の各々に対して、当該原稿の一方の面の画像を原稿読込手段により読取られた順番にしたがって、各ページの配置領域に行方向優先又は列方向優先で順番に配置するための手段と、複数の原稿の各々に対して、当該原稿の他方の面の画像が、当該原稿の一方の面が配置されたページとは別のページで、かつ同じ配置領域に配置されるように、各画像の配置領域を決定してページ画像を生成するための手段とを含む。   More preferably, the arrangement unit gives priority to the arrangement direction of each page in the row direction or the column direction in accordance with the order in which the image on one side of the original is read by the original reading unit for each of the plurality of originals. And for each of a plurality of originals, the image on the other side of the original is a page different from the page on which one side of the original is arranged, and the same arrangement Means for determining a placement region of each image and generating a page image so as to be placed in the region.

配置するための手段は、複数の原稿の各々に対して、当該原稿の一方の面の画像を原稿読込手段により読取られた順番にしたがって、各ページの配置領域に行方向優先又は列方向優先で順番に配置する。生成するための手段は、複数の原稿の各々に対して、当該原稿の他方の面の画像が、当該原稿の一方の面が配置されたページとは別のページで、かつ同じ配置領域に配置されるように、各画像の配置領域を決定してページ画像を生成する。したがって、隣接するページが並べられると、利用者は一方の面が配置されたページ画像及び他方の面が配置されたページ画像の両方を見比べて、どの一方の面とどの他方の面が互いに対応しているかを容易に判断できる。   The means for arranging each of the plurality of originals gives priority to the arrangement direction of each page in the row direction or the column direction according to the order in which the image on one side of the original is read by the original reading means. Arrange in order. The means for generating is arranged such that, for each of a plurality of originals, the image on the other side of the original is a page different from the page on which one side of the original is arranged, and in the same arrangement area. As described above, a page image is generated by determining an arrangement area of each image. Therefore, when adjacent pages are arranged, the user compares both the page image on which one side is arranged and the page image on which the other side is arranged, and which one side corresponds to which other side. You can easily determine whether you are doing.

さらに好ましくは、Nは偶数である。   More preferably, N is an even number.

原稿の一方及び他方の面とを対応付けられる位置に配置するようにページ画像を生成するため、ページ画像の列数が偶数であれば、1行につき、一方の面及び他方の面のいずれかの配置が欠落したページ画像の生成を防止することができる。その結果、利用者は、印刷されたページ画像を見ることによって、どの一方面の画像とどの他方面の画像とが同じ原稿の画像であるかを容易に判定することができ、原稿の管理がし易くなる。   Since the page image is generated so that one side and the other side of the document are arranged to correspond to each other, if the number of columns of the page image is an even number, either one side or the other side per line It is possible to prevent the generation of a page image in which the layout of the page is missing. As a result, the user can easily determine which one-side image and which other-side image are images of the same document by looking at the printed page image. It becomes easy to do.

さらに好ましくは、Nは2である。   More preferably, N is 2.

Nは2なので、1行につき、原稿の一方の面及び他方の面の両方を配置するようにページ画像を生成することが可能である。その結果、利用者は、印刷されたページ画像を見ることによって、どの一方面の画像とどの他方面の画像とが同じ原稿の画像であるかを容易に判定することができ、原稿の管理がし易くなる。   Since N is 2, it is possible to generate a page image so that both one side and the other side of the document are arranged per line. As a result, the user can easily determine which one-side image and which other-side image are images of the same document by looking at the printed page image. It becomes easy to do.

さらに好ましくは、画像生成手段は、複数の原稿の各々に対して、当該原稿の一方の面の画像と他方の面の画像とを対応付ける複数の画像配列方法のうち、いずれかを利用者に選択させるための選択手段と、選択手段によって選択された配列方法にしたがって、複数の原稿の両面の画像を配列したページ画像を生成するための手段とを含む。   More preferably, the image generation means selects one of a plurality of image arrangement methods for associating the image on one side of the document with the image on the other side for each of the plurality of documents. And a means for generating a page image in which images on both sides of a plurality of documents are arranged according to the arrangement method selected by the selection means.

選択手段は、複数の原稿の各々に対して、当該原稿の一方の面の画像と他方の面の画像とを対応付ける複数の画像配列方法のうち、いずれかを利用者に選択させる。生成するための手段は、選択された配列方法にしたがって、複数の原稿の両面の画像を配列したページ画像を生成する。利用者は、自分の好みの配列方法を選択することができるので、当該利用者にとって管理のし易いページ画像を得ることができる。また、利用者は、複数の原稿の各々に対して、一方の面の画像と他方の面の画像とを対応付けるように手作業で印刷レイアウトを決める必要なないので、利用者の手間を省くことができる。 The selection unit causes the user to select one of a plurality of image arrangement methods for associating the image on one side of the document with the image on the other side for each of the plurality of documents. The means for generating generates a page image in which images on both sides of a plurality of documents are arranged in accordance with the selected arrangement method. Since the user can select his / her favorite arrangement method, a page image that can be easily managed by the user can be obtained. In addition, the user does not need to manually determine the print layout so that the image on one side and the image on the other side are associated with each of a plurality of originals. Can do.

以上のように本発明に係る画像形成装置によれば、原稿の一方の面の画像を順番に読込む処理と、原稿の他方の面の画像を順番に読込む処理を別個に実行したとしても、各原稿の一方の面と他方の面とが互いに対応付けられる位置に配置されるように各画像の配置領域を決定することによってページ画像を生成して印刷する。したがって、利用者は、印刷されたページ画像を見ることによって、どの一方面の画像とどの他方面の画像とが同じ原稿の画像であるかを容易に判定することができる。その結果、複数の原稿の両面の画像を読取り、各原稿の一方の面と他方の面とが対応していることを利用者が容易に判断できるように、読取られた画像を編集して印刷するための画像形成装置を提供することができる。   As described above, according to the image forming apparatus of the present invention, even if the process of sequentially reading the image on one side of the document and the process of sequentially reading the image on the other side of the document are executed, Then, a page image is generated and printed by determining an arrangement area of each image so that one side and the other side of each document are arranged at positions corresponding to each other. Therefore, the user can easily determine which one-side image and which other-side image are images of the same document by looking at the printed page image. As a result, images on both sides of a plurality of documents are read, and the scanned images are edited and printed so that the user can easily determine that one side of each document corresponds to the other side. An image forming apparatus can be provided.

以下の実施の形態では、同一の部品には同一の参照番号を付してある。それらの機能及び名称も同一である。したがって、それらについての詳細な説明は繰返さない。   In the following embodiments, the same parts are denoted by the same reference numerals. Their functions and names are also the same. Therefore, detailed description thereof will not be repeated.

[画像形成装置150の全体構成]
図1は、本発明の第1の実施の形態に係る画像形成装置150の外観を示す斜視図である。図1を参照して、画像形成装置150は、デジタル複合機であって、複数の名刺の両面の画像を片面ずつ読取り、読取った画像を、その表面と裏面との関係が分かるようにレイアウトして記録用紙に印刷する機能を有する。なお、本実施の形態では、名刺は全て長方形状であり、同じサイズであるものとする。
[Overall Configuration of Image Forming Apparatus 150]
FIG. 1 is a perspective view showing an appearance of an image forming apparatus 150 according to the first embodiment of the present invention. Referring to FIG. 1, an image forming apparatus 150 is a digital multi-function peripheral, which reads images on both sides of a plurality of business cards one by one, and lays out the read images so that the relationship between the front and back surfaces can be understood. A function of printing on recording paper. In the present embodiment, all business cards are rectangular and have the same size.

この画像形成装置150は、画像読取部152及び画像形成部154を備えている。   The image forming apparatus 150 includes an image reading unit 152 and an image forming unit 154.

ここで、画像読取部152が複数の名刺の画像を読取るための動作説明を、画像読取部152の構成に関する説明と共に行なう。   Here, the operation for the image reading unit 152 to read the images of a plurality of business cards will be described together with the description about the configuration of the image reading unit 152.

図2は、画像読取部152の内部構成を簡略化して示す図である。図2を参照して、利用者は、画像読取部152の原稿セットトレイ162に、氏名等が記載された表面が下側を向くように、複数の名刺を積み重ねてセットする。利用者が画像読取部152の前方に設置された操作装置166を操作することにより、印刷用紙のサイズ及び変倍率等が入力設定される。利用者は操作装置166を操作して原稿読取の指示をする。   FIG. 2 is a diagram illustrating a simplified internal configuration of the image reading unit 152. Referring to FIG. 2, the user stacks and sets a plurality of business cards on document set tray 162 of image reading unit 152 so that the surface on which the name and the like are written faces downward. When the user operates the operation device 166 installed in front of the image reading unit 152, the size and magnification of the printing paper are input and set. The user operates the operation device 166 to give an instruction to read a document.

上記指示に応答して、画像読取部152は、ピックアップローラ200により原稿セットトレイ162上の各名刺を上側から順番に1枚ずつ引出し、名刺を捌き板202及び搬送ローラ204間を介してプラテンガラス206へと送り出す。画像読取部152は、名刺をプラテンガラス206上で副走査方向に搬送して、原稿セットトレイ162にセットされたときと表裏の向きが同じになるように、原稿排紙トレイ208へと名刺を排出する。   In response to the above instruction, the image reading unit 152 pulls out each business card on the document set tray 162 one by one from the top by the pickup roller 200 in order from the upper side, and the business card is placed between the platen glass 202 and the conveying roller 204 through the platen glass. To 206. The image reading unit 152 conveys the business card on the platen glass 206 in the sub-scanning direction, and puts the business card on the document discharge tray 208 so that the orientation of the front and back is the same as when the document is set on the document set tray 162. Discharge.

このとき、読取部210が名刺の表面(下側面)を読取る。読取部210や第1の走査ユニット212及び第2の走査ユニット214を有している。第1の走査ユニット212及び第2の走査ユニット214をいずれも所定位置に移動して位置決めする。第1の走査ユニット212の露光ランプによりプラテンガラス206を介して原稿の表面を照射し、原稿の反射光を第1の走査ユニット212及び第2の走査ユニット214の各反射ミラーにより結像レンズ216へと導く。導かれた原稿の反射光を結像レンズ216によりCCD(Charge Coupled Device)218に集光させ、原稿の表面の画像をCCD218上に結像させて原稿の表面の画像を読取る。   At this time, the reading unit 210 reads the surface (lower side) of the business card. A reading unit 210, a first scanning unit 212, and a second scanning unit 214 are included. Both the first scanning unit 212 and the second scanning unit 214 are moved to a predetermined position and positioned. The exposure lamp of the first scanning unit 212 irradiates the surface of the document through the platen glass 206, and the reflected light of the document is imaged by the reflecting mirrors of the first scanning unit 212 and the second scanning unit 214. Lead to. The guided reflected light of the original is condensed on a CCD (Charge Coupled Device) 218 by an imaging lens 216, and an image on the surface of the original is formed on the CCD 218 to read the image on the surface of the original.

複数の名刺の表面の画像が全て画像読取部152によって読取られると、利用者は、原稿排紙トレイ208に積み重なった複数の名刺を、上下の向きを反転させて原稿セットトレイ162にセットする。つまり、複数の名刺は、裏面が下側を向くように、かつ表面が読取られたときと同じ順序でセットされる。利用者は、操作装置166を操作して再度画像読取の指示を行なう。この指示に応答して、画像読取部152は、名刺の表面の画像を読取ったときと同様にして、名刺の裏面の画像を読取る。   When all the images on the surface of the plurality of business cards are read by the image reading unit 152, the user sets the plurality of business cards stacked on the document discharge tray 208 on the document set tray 162 with the vertical direction reversed. That is, a plurality of business cards are set in the same order as when the front side is read so that the back side faces downward. The user operates the operation device 166 to instruct image reading again. In response to this instruction, the image reading unit 152 reads the image on the back side of the business card in the same manner as when reading the image on the front side of the business card.

名刺の両面の画像が読取られると、当該画像を示す画像データが、読取られた順番にしたがって画像メモリに記憶される。   When the images on both sides of the business card are read, the image data indicating the images is stored in the image memory according to the reading order.

[画像形成装置150のハードウェア構成]
図3は画像形成装置150のハードウェア構成を示すブロック図である。以下、画像形成装置150の構成のうち、上で説明したもの以外について説明する。
[Hardware Configuration of Image Forming Apparatus 150]
FIG. 3 is a block diagram illustrating a hardware configuration of the image forming apparatus 150. Hereinafter, the configuration of the image forming apparatus 150 other than that described above will be described.

図3を参照して、本画像形成装置150は、上に構成及び動作を説明した画像読取部152と、画像読取部152によって読取られた画像信号に対して、本実施の形態の特徴である、名刺画像の自動レイアウトに関する画像処理を行なって出力するための画像処理部250と、画像処理部250によって出力された画像を用紙上に形成する印刷出力を行なう画像形成部154とを含む。   Referring to FIG. 3, the image forming apparatus 150 is a feature of the present embodiment with respect to the image reading unit 152 whose configuration and operation are described above and the image signal read by the image reading unit 152. The image processing unit 250 performs image processing relating to the automatic layout of business card images and outputs the image, and the image forming unit 154 performs print output for forming the image output by the image processing unit 250 on a sheet.

画像形成装置150はさらに、画像読取部152によって読取られた画像、読取対象の原稿枚数、及び画像処理部250によってデジタル処理された画像データ等を記憶するための画像メモリ266と、画像読取部152、画像処理部250、画像形成部154、画像メモリ266、及び操作装置166に接続されたバス268と、バス268にいずれも接続され、所定の制御プログラムを実行することにより画像形成装置150の各部を制御し、画像形成装置としての一般的機能を実現するためのCPU252、CPU252が実行するプログラム等を記憶するためのHDD(Hard Disk Drive)254、及び種々のプログラムのための記憶領域を提供するためのRAM(Random Access Memory)254とを含む。   The image forming apparatus 150 further includes an image memory 266 for storing an image read by the image reading unit 152, the number of originals to be read, image data digitally processed by the image processing unit 250, and the image reading unit 152. The image processing unit 250, the image forming unit 154, the image memory 266, and the bus 268 connected to the operation device 166 are all connected to the bus 268, and each unit of the image forming device 150 is executed by executing a predetermined control program. CPU 252 for realizing general functions as an image forming apparatus, HDD (Hard Disk Drive) 254 for storing programs executed by CPU 252, and storage areas for various programs RAM (Random Access Memory) 254 Including the.

画像処理部250は、画像読取部152から名刺の両面のデジタル画像データを受信するための画像受信部260と、画像受信部260が受信した画像データを編集し、所定のレイアウトのデジタル画像データに変換して出力する処理を実行するための画像処理制御部258と、画像処理制御部258によって出力されたデジタル画像データを画像形成部154に出力するための画像出力部262とを含む。   The image processing unit 250 edits the image receiving unit 260 for receiving the digital image data on both sides of the business card from the image reading unit 152, and the image data received by the image receiving unit 260 into digital image data of a predetermined layout. An image processing control unit 258 for executing the process of conversion and output, and an image output unit 262 for outputting the digital image data output by the image processing control unit 258 to the image forming unit 154 are included.

画像メモリ266には、画像読取部152によって読取られた画像の画像ファイルと、各画像ファイルの画像IDを、画像ファイルのファイル名と関連付けて格納する画像情報テーブル270が記憶される。   The image memory 266 stores an image information table 270 that stores an image file of an image read by the image reading unit 152 and an image ID of each image file in association with the file name of the image file.

図4は、画像情報テーブル270の構成を示す図である。図4を参照して、画像情報テーブル270は、複数の名刺の両面の画像ファイルの各々に対して、当該画像に関連付けられた画像IDと、当該画像データのファイル名とを記憶する。ただし、名刺の裏面の画像がブランクである場合、その画像データのファイル名には、ブランクであることを示す名前「BLANK」を記憶する。   FIG. 4 is a diagram showing the configuration of the image information table 270. Referring to FIG. 4, image information table 270 stores an image ID associated with the image and a file name of the image data for each of the image files on both sides of a plurality of business cards. However, when the image on the back side of the business card is blank, the name “BLANK” indicating blank is stored in the file name of the image data.

[画像IDの付与]
本実施の形態では、画像読取部152が読取った画像を全て画像メモリ266にファイル形式で記憶する。画像のレイアウト時にこれらファイルを読出して、ファイルの作成された順番にしたがって、1からの整数を画像に関連付ける。画像IDは画像情報テーブル270に記憶される。図5は、読取られた画像に画像IDを付す方法について説明する模式図である。
[Granting an image ID]
In the present embodiment, all the images read by the image reading unit 152 are stored in the image memory 266 in a file format. These files are read during image layout, and an integer from 1 is associated with the image according to the order in which the files were created. The image ID is stored in the image information table 270. FIG. 5 is a schematic diagram for explaining a method for attaching an image ID to a read image.

図5を参照して、名刺がN枚あるとする。Nは2以上の整数である。原稿読取時、原稿セットトレイ162に、1番目〜N番目の名刺が、上から順番に積み重ねられてセットされるものとする。   Referring to FIG. 5, it is assumed that there are N business cards. N is an integer of 2 or more. It is assumed that the first to Nth business cards are stacked and set in order from the top on the document set tray 162 at the time of document reading.

上に述べた順番で名刺の画像を読取った場合、画像300〜306は、それぞれ1番目〜N番目の名刺の表面の画像である。画像308〜314は、それぞれ1番目〜第N番目の名刺の裏面の画像である。画像情報テーブル270には、画像300〜306に1〜Nの画像IDが、画像308〜314にN+1〜2Nの画像IDが、それぞれ関連付けられて記憶される。このように各画像に画像IDを付与すると、名刺の表面の画像の画像IDがI(Iは1〜Nの整数)である場合、その名刺の裏面の画像の画像IDは(I+N)となる。   When the business card images are read in the order described above, the images 300 to 306 are images of the surfaces of the first to Nth business cards, respectively. Images 308 to 314 are images on the back side of the first to Nth business cards, respectively. In the image information table 270, the image IDs 1 to N are stored in association with the images 300 to 306, and the image IDs N + 1 to 2N are stored in association with the images 308 to 314, respectively. When an image ID is assigned to each image in this way, if the image ID of the image on the front side of the business card is I (I is an integer from 1 to N), the image ID of the image on the back side of the business card is (I + N). .

[画像処理方法]
本実施の形態では、画像処理部250は、以下に述べる第1〜第3の配列方法のうち、利用者によって指定された配列方法にしたがって、画像読取部152によって読取られた画像をレイアウトして1または複数のページ画像を生成する。ページ画像とは、画像形成部154が1ページの印刷用紙に印刷するための画像である。
[Image processing method]
In the present embodiment, the image processing unit 250 lays out the image read by the image reading unit 152 according to the arrangement method designated by the user among the first to third arrangement methods described below. One or more page images are generated. The page image is an image for the image forming unit 154 to print on one page of printing paper.

Mを1以上の整数とする。画像処理部250は、読取った画像を1ページの印刷用紙につきM行×2列で配列して、全画像の縦及び横の向きが各々同じ方向を向くようにページ画像を生成する。本実施の形態において、Mの値は、利用者によって自由に定められる。   Let M be an integer greater than or equal to 1. The image processing unit 250 arranges the read images in M rows × 2 columns per page of printing paper, and generates page images so that the vertical and horizontal directions of all the images are in the same direction. In the present embodiment, the value of M is freely determined by the user.

以下、第1の配列方法について述べる。なお、第1〜第3の配列方法を実現するための画像処理プログラムの制御構造については図9〜図13を参照して後述する。   Hereinafter, the first arrangement method will be described. The control structure of the image processing program for realizing the first to third arrangement methods will be described later with reference to FIGS.

(1)第1の配列方法
第1の配列方法では、画像処理部250は、名刺の表面の画像を配列したページ画像(以下、表面ページ画像と呼ぶ。)と、名刺の裏面の画像を配列したページ画像(以下、裏面ページ画像と呼ぶ。)を生成する。なお、上記したような順序で名刺の画像を読込む場合、名刺が何枚あるか(すなわちNの値がいくらか)については、読込の時点で装置が検出することは、既存の技術で容易に行なえる。本実施の形態でも、画像読取部152は名刺の読込時点で名刺の枚数を検出し、その情報をRAM256に記憶するものとする。
(1) First Arrangement Method In the first arrangement method, the image processing unit 250 arranges a page image (hereinafter referred to as a front page image) in which images on the front side of a business card are arranged, and an image on the back side of the business card. The generated page image (hereinafter referred to as back page image) is generated. When reading business card images in the above-described order, the number of business cards (that is, the value of N) can be easily detected by the existing technology at the time of reading by the apparatus. Yes. Also in the present embodiment, it is assumed that the image reading unit 152 detects the number of business cards at the time of reading the business cards and stores the information in the RAM 256.

本方法では、画像処理部250は、表面ページ画像を生成する場合、画像IDが1〜Nである画像を、以下のような規則で順番に配列する。   In this method, when generating the front page image, the image processing unit 250 arranges the images having the image IDs 1 to N in order according to the following rules.

1行目の1列目及び2列目に画像ID=1の画像及び画像ID=2の画像を配置する。続いて2行目の1列目及び2列目に画像ID=3の画像及び画像ID=4の画像を配置する。以下同様にして、M行目まで、各行に連続する画像IDの画像を2つ配置する。M行目の配置が完了すると、次のページのための表面ページ画像を、上記と同様にして生成する。画像IDがNに達すると、表面ページ画像の生成を終了し、裏面ページ画像の生成を開始する。   An image with an image ID = 1 and an image with an image ID = 2 are arranged in the first and second columns of the first row. Subsequently, an image with an image ID = 3 and an image with an image ID = 4 are arranged in the first and second columns of the second row. In the same manner, up to the Mth row, two images having consecutive image IDs are arranged in each row. When the arrangement of the Mth row is completed, a front page image for the next page is generated in the same manner as described above. When the image ID reaches N, generation of the front page image is terminated and generation of the back page image is started.

画像処理部250は、裏面ページ画像を生成する場合、画像IDが(N+1)〜2Nである画像を、表面ページ画像を生成する場合と同様にして生成する。   When generating the back page image, the image processing unit 250 generates images with image IDs (N + 1) to 2N in the same manner as when generating the front page image.

以下、第1の配列方法でページ画像を生成する場合の画像の配列について具体的に説明する。
これら名刺が画像読取部152によって読取られると、画像情報テーブル270には、表面の画像に対して1〜5の画像IDが割当てられ、裏面の画像に対して6〜10の画像IDが割当てられる。
Hereinafter, the arrangement of images when a page image is generated by the first arrangement method will be specifically described.
When these business cards are read by the image reading unit 152, the image information table 270 is assigned 1 to 5 image IDs for the front image and 6 to 10 image IDs for the back image. .

図6(A)及び(B)は、M=2,N=5の場合で、かつ名刺の裏面がいずれもブランク画像でない場合に、第1の配列方法で生成された表面ページ画像及び裏面ページ画像の例をそれぞれ示す図である。名刺の裏面がブランクであるときには、その画像をブランク画像と呼ぶ。これら名刺が画像読取部152によって読取られると、画像情報テーブル270には、表面の画像に対して1〜5の画像IDが割当てられ、裏面の画像に対して6〜10の画像IDが割当てられる。   6A and 6B show the front page image and the back page generated by the first arrangement method when M = 2 and N = 5 and when the back side of the business card is not a blank image. It is a figure which shows the example of an image, respectively. When the back side of a business card is blank, the image is called a blank image. When these business cards are read by the image reading unit 152, the image information table 270 is assigned 1 to 5 image IDs for the front image and 6 to 10 image IDs for the back image. .

図6(A)を参照して、表面ページ画像には、上記した規則にしたがって、画像ID=1〜5の画像が配列される。これらはいずれも名刺の表面の画像である。図6(B)を参照して、裏面ページ画像は、表面ページ画像とは別ページの画像として作成されるものである。裏面ページ画像には、上記した規則にしたがって画像ID=6〜10の画像が配列される。図6(A)及び(B)に示されるように、表面ページ画像350及び裏面ページ画像352を並べると、同じ名刺の表面と裏面とが、2枚のページ画像の同じ位置に配列され印刷されていることが分かる。   Referring to FIG. 6A, images with image IDs = 1 to 5 are arranged in the front page image according to the above-described rules. These are all images of the surface of the business card. Referring to FIG. 6B, the back page image is created as an image on a different page from the front page image. In the back page image, images with image ID = 6 to 10 are arranged according to the above-described rules. As shown in FIGS. 6A and 6B, when the front page image 350 and the back page image 352 are arranged, the front and back sides of the same business card are arranged and printed at the same position of the two page images. I understand that

図6(C)及び(D)は、M=2,N=5で、1枚目及び4枚目の名刺の裏面がブランクである場合に、第1の配列方法で配列された名刺画像を示す。本実施の形態では、ブランク画像は保存しないが、ブランク画像についても、通常の画像と同様に画像IDを割当てる。図6(C)及び(D)に示す例では、画像ID=6及び9の画像がブランク画像である。図6(C)を参照して、表面ページ画像354は、図6(A)に示す表面ページ画像350と同様である。図6(D)を参照して、裏面ページ画像356は、図6(B)に示す裏面ページ画像352とほぼ同様であるが、画像IDが6及び9である画像が印刷されるべき領域に画像が何も印刷されていない点において異なる。   FIGS. 6C and 6D show business card images arranged by the first arrangement method when M = 2 and N = 5 and the backs of the first and fourth business cards are blank. Show. In this embodiment, a blank image is not stored, but an image ID is assigned to a blank image as well as a normal image. In the examples shown in FIGS. 6C and 6D, the images with image ID = 6 and 9 are blank images. Referring to FIG. 6C, the front page image 354 is the same as the front page image 350 shown in FIG. Referring to FIG. 6D, the back page image 356 is substantially the same as the back page image 352 shown in FIG. 6B, but in an area where images with image IDs 6 and 9 are to be printed. The difference is that no image is printed.

第1の配列方法では、表面ページ画像と裏面ページ画像とを重ね合わせた場合、同じ名刺の表面の画像と裏面の画像とが重なるようにページ画像が生成される。表面ページ画像及び裏面ページ画像は、同じ配列パターンで、それぞれ表面画像及び裏面画像が配列されている。このため、両者が並べられると、利用者は表面ページ画像及び裏面ページ画像の両方を見比べて、どの表面画像とどの裏面画像が互いに対応しているかを容易に判断できる。   In the first arrangement method, when the front page image and the back page image are superimposed, the page image is generated so that the front image and the back image of the same business card overlap. The front page image and the back page image have the same arrangement pattern, and the front image and the back image are arranged, respectively. For this reason, when both are arranged, the user can easily determine which front image and which back image correspond to each other by comparing both the front page image and the back page image.

(2)第2の配列方法
第2の配列方法では、画像処理部250は、1ページ目のページ画像の1行目の1列目に1枚目の名刺の表面を、2列目に同じ名刺の裏面を、それぞれ配置する。2行目の1列目には2枚目の名刺の表面を、2列目には同じ名刺の裏面を、それぞれ配置する。以下同様に、各行の1列目と2列目とに同じ名刺の表面と裏面とをそれぞれ配置する処理をM行目まで繰返す。この処理をM行目まで完了してさらに名刺の画像がある場合、それら画像に対して新たなページを設け、上に述べた配列処理を繰返す。名刺の画像がなくなった時点で配列処理を終了する。
(2) Second Arrangement Method In the second arrangement method, the image processing unit 250 has the same surface on the first business card in the first column of the first row of the page image of the first page as the second column. Arrange the back of each business card. The front surface of the second business card is arranged in the first column of the second row, and the back surface of the same business card is arranged in the second column. Similarly, the process of placing the front and back surfaces of the same business card in the first and second columns of each row is repeated up to the Mth row. When this process is completed up to the Mth line and there are further business card images, new pages are provided for these images, and the arrangement process described above is repeated. When the business card image is exhausted, the arrangement process is terminated.

図7を参照して、M=2,N=6の場合について、この方法で生成されるページ画像での画像の配列について具体的に説明する。   With reference to FIG. 7, in the case of M = 2 and N = 6, the arrangement of images in the page image generated by this method will be specifically described.

図7(A)を参照して、ページ画像380の1列目には、画像ID=1〜3の画像が上から順番に配列される。2列目には、画像ID=1〜3の画像と隣り合う形で、画像ID=7〜9である画像が上から順番に配列される。この結果、ページ画像380の同じ行の1列目と2列目とには、同じ名刺の表面画像と裏面画像とが隣り合って配列される。図6(B)を参照して、2ページ目のページ画像382の1列目には、画像ID=4〜6の画像が上から順番に配置される。2列目には、画像ID=4〜6の画像と隣り合う形で、画像ID=10〜12の画像が上から順番に配列される。   Referring to FIG. 7A, in the first column of page image 380, images with image IDs = 1 to 3 are arranged in order from the top. In the second column, images with image IDs = 7-9 are arranged in order from the top in a form adjacent to the images with image IDs = 1-3. As a result, the front and back images of the same business card are arranged adjacent to each other in the first and second columns of the same row of the page image 380. Referring to FIG. 6B, in the first column of page image 382 of the second page, images with image IDs = 4 to 6 are arranged in order from the top. In the second column, images with image IDs = 10 to 12 are arranged in order from the top in a form adjacent to the images with image IDs = 4 to 6.

図7(C)及び(D)を参照して、本方法において、1枚目、3枚目、及び4枚目の名刺の裏面がブランク画像である場合には画像は以下のように配置される。この場合、画像ID=7,9及び11の画像がブランク画像である。図7(C)を参照して、ページ画像384は、図6(A)に示すページ画像384とほぼ同様であるが、画像ID=7及び9である画像が配置されるべき部分に何も配置されない点において異なる。図6(D)を参照して、ページ画像384に続くページであるページ画像386は、図6(B)に示すページ画像382とほぼ同様であるが、画像ID=11である画像が配置されるべき部分に何も配置されていない点において異なる。   With reference to FIGS. 7C and 7D, in the present method, when the backs of the first, third, and fourth business cards are blank images, the images are arranged as follows. The In this case, images with image ID = 7, 9, and 11 are blank images. Referring to FIG. 7C, the page image 384 is almost the same as the page image 384 shown in FIG. 6A, but nothing is placed in the portion where the images with the image ID = 7 and 9 are to be arranged. It differs in that it is not arranged. Referring to FIG. 6D, page image 386, which is a page following page image 384, is substantially the same as page image 382 shown in FIG. 6B, but an image with image ID = 11 is arranged. It is different in that nothing is arranged in the portion to be.

第2の配列方法では、名刺の裏面がブランク画像のものがあっても、同じ名刺の表面の画像と裏面の画像とが互いに隣接されて表示されるので、利用者は名刺の対応関係を容易に判定でき、名刺の管理がし易くなる。   In the second arrangement method, even if the back side of the business card has a blank image, the front side image and the back side image of the same business card are displayed adjacent to each other, so that the user can easily correspond to the business card. This makes it easier to manage business cards.

(3)第3の配列方法
第2の配列方法では、裏面がブランク画像である名刺に対しては、その表面の画像の右隣に何も配置しない。それに対して第3の配列方法は、第2の配列方法と基本的には同じ順序で名刺の表面及び裏面の画像を配置するが、裏面がブランク画像である名刺があった場合、他に裏面がブランク画像である名刺を検索してその画像を隣に配置することを特徴とする。
(3) Third Arrangement Method In the second arrangement method, nothing is arranged on the right side of the image on the front side of a business card whose back side is a blank image. On the other hand, in the third arrangement method, the images of the front and back surfaces of the business cards are arranged in basically the same order as the second arrangement method. A business card that is a blank image is searched and the image is arranged next to it.

図8(A)及び(B)は、M=2、N=8の場合に、第3の配列方法で生成されたページ画像の例を示す図である。ここでは、1枚目、3枚目、7枚目、及び8枚目の名刺の裏面がブランクであるものとする。すなわち、画像ID=1,3,7,8の画像がブランク画像である。ただしこの方法でも、ブランク画像に画像IDを割当てるが、ブランク画像自体は記憶しないものとする。   FIGS. 8A and 8B are diagrams illustrating examples of page images generated by the third arrangement method when M = 2 and N = 8. Here, it is assumed that the backs of the first, third, seventh, and eighth business cards are blank. That is, the images with image IDs = 1, 3, 7, and 8 are blank images. However, even in this method, an image ID is assigned to the blank image, but the blank image itself is not stored.

図8(A)を参照して、第3の方法では、1頁目のページ画像400の1列目には、画像ID=1〜3の画像が上から順番に配置される。同じページの2列目には、1列目の画像に対応する裏面の画像が配置される。ただし、配置されるべき画像がブランク画像である場合には、ブランク画像にかえて同じくブランク画像を持つ他の名刺の表面の画像が配置される。図8(A)に示す例では、画像ID=1である画像に対応する名刺の裏面の画像はブランク画像なので、その右隣には、裏面がブランクである名刺の裏面の画像ID=8である表面の画像が描画される。ここに配置される裏面の画像の決定方法についてはさまざまな方法が考えられるが、この実施の形態では、裏面がブランクの名刺の表面の画像を画像IDの大きい順番に検索していき、最初に見つかったものを配置する。この検索方法の詳細については後述する。ページ画像400の2列目の2行目には、画像ID=2である画像に対応する裏面画像(画像ID=10)とが描画される。3行目の2列目には画像IDが3の画像に対応する裏面画像が配置されるが、ここではその画像はブランク原稿である。したがって、3行目の2列目には、同じく裏面画像がブランク原稿である名刺の表面画像で、画像ID=8の次に大きな画像ID=7の裏面画像が配置される。3行目の1列目及び2列目の画像の配置が終わり、かつまだ配置されていない画像がある場合には、次のページ(2ページ目)の画像が生成される。顔図の配置が全て完了したときには、3行全てに画像が配置されていなくても処理は終了される。   Referring to FIG. 8A, in the third method, images with image IDs = 1 to 3 are arranged in order from the top in the first column of page image 400 of the first page. In the second column of the same page, the back side image corresponding to the first column image is arranged. However, when the image to be arranged is a blank image, an image of the surface of another business card having the blank image is arranged instead of the blank image. In the example shown in FIG. 8A, since the image on the back side of the business card corresponding to the image with image ID = 1 is a blank image, the image ID = 8 on the back side of the business card whose back side is blank is on the right. An image of a certain surface is drawn. There are various methods for determining the back side image arranged here. In this embodiment, the front side of the blank business card image is searched in descending order of the image ID. Place what is found. Details of this search method will be described later. In the second row of the second column of the page image 400, a back image (image ID = 10) corresponding to the image with the image ID = 2 is drawn. A back side image corresponding to an image with an image ID of 3 is arranged in the second column of the third row. Here, the image is a blank document. Accordingly, in the second column of the third row, the back image of the business card whose back image is a blank document and the image ID = 7 which is the next largest image ID = 8 is arranged. When the arrangement of the images in the first and second columns of the third row is finished and there is an image that has not yet been arranged, an image of the next page (second page) is generated. When all the face maps have been arranged, the process is ended even if images are not arranged in all three rows.

図8(B)を参照して、この例では、2ページ目のページ画像402の第1列目には、画像ID=4〜6の表面の画像が順番に配置される。第2列目には、画像ID=12〜14である画像が上から順番に、それぞれ画像ID=4〜6の画像に隣り合うように配列される。   With reference to FIG. 8B, in this example, the front images of image ID = 4 to 6 are sequentially arranged in the first column of the page image 402 of the second page. In the second column, images with image ID = 12 to 14 are arranged in order from the top so as to be adjacent to images with image ID = 4 to 6, respectively.

この第3の配列方法では、第2の実施の形態と同様、名刺の表面の画像と裏面の画像との対応を利用者が容易に判定できる。さらに、ブランク画像の領域に、同じく裏面がブランクとなっている名刺の表面の画像を配置するので、ブランク画像の領域が無駄になることがない。その結果、印刷用紙の使用量を節約できる。   In the third arrangement method, as in the second embodiment, the user can easily determine the correspondence between the image on the front side of the business card and the image on the back side. Furthermore, since the image of the front side of the business card whose back surface is also blank is arranged in the blank image area, the blank image area is not wasted. As a result, the amount of printing paper used can be saved.

[ソフトウェア構成]
図9〜図13は、画像形成装置150で実行されるプログラムの制御構造を示すフローチャートである。
Software configuration
9 to 13 are flowcharts showing a control structure of a program executed by the image forming apparatus 150.

図9は、CPU252によって実行されるプログラムのフローチャートである。このプログラムの実行は、画像形成装置150において、複数の名刺の読取とレイアウト処理とが指示されたときに開始される。図9を参照して、このプログラムは、画像情報テーブル270の全てのレコードを削除する処理と、利用者に印刷の設定をさせる処理と、その他の変数に初期値を設定する処理とを実行するステップ450を含む。ここで初期値が設定される変数としては、画像IDを定めるための変数Iがある。変数Iは0に初期化される。   FIG. 9 is a flowchart of a program executed by the CPU 252. The execution of this program is started when the image forming apparatus 150 is instructed to read a plurality of business cards and to perform layout processing. Referring to FIG. 9, this program executes a process for deleting all records in image information table 270, a process for causing the user to set printing, and a process for setting other variables to initial values. Step 450 is included. Here, the variable for which the initial value is set includes a variable I for determining the image ID. Variable I is initialized to zero.

ステップ450における印刷の設定とは、利用者に、1ページあたりの画像の配列行数(整数M)の値を指定させたり、上記した第1〜第3のいずれの配列方法で名刺の画像を配列して印刷するかを指定させたりすることである。   The print setting in step 450 is to allow the user to specify the value of the number of array rows of images per page (integer M), or to display a business card image by any of the first to third arrangement methods described above. It is possible to specify whether to arrange and print.

このプログラムはさらに、ステップ450の後、利用者が何らかの操作を行なうまで待機するステップ452と、ステップ452において、利用者が名刺の読取開始を指示する操作を行なったことに応答して、画像読取部152に指示信号を出して名刺の表面の画像を読取る処理を実行させるステップ454とを含む。ここでは図示していないが、ステップ452で読取開始以外の操作が行なわれた場合には、その操作にしたがった処理がされる。それら処理は本発明に直接関係しないので、ここではそれらの詳細は説明しない。ステップ454では、画像読取部152は、複数の名刺を順番に取込んで原稿排紙トレイ208に排出しながら、各名刺の表面の画像を全て読込む。画像読取部152は、読込んだ名刺の表面のデジタル画像データを個別のファイルとして画像メモリ266に記憶する。各画像データには画像IDが割当てられ、画像データのファイル名と共に画像情報テーブル270に記憶される。   This program further waits until the user performs some operation after step 450, and in step 452, in response to the user performing an operation to instruct to start reading the business card, And a step 454 of executing an instruction signal to the unit 152 to read the image of the surface of the business card. Although not shown here, if an operation other than the start of reading is performed in step 452, processing according to the operation is performed. Since these processes are not directly related to the present invention, their details are not described here. In step 454, the image reading unit 152 reads all the images on the surface of each business card while sequentially taking a plurality of business cards and discharging them to the document discharge tray 208. The image reading unit 152 stores the read digital image data of the surface of the business card in the image memory 266 as an individual file. Each image data is assigned an image ID and stored in the image information table 270 together with the file name of the image data.

ステップ454での名刺の表面の画像の読取終了後、利用者は、原稿排紙トレイ208に積み重なった複数の名刺を、上下の向きを反転させて原稿セットトレイ162にセットする。   After the reading of the image on the front surface of the business card in step 454, the user sets a plurality of business cards stacked on the document discharge tray 208 in the document set tray 162 with the vertical direction reversed.

このプログラムはさらに、ステップ454の後、利用者の何らかの操作を行なうまで待機するステップ456と、ステップ456において、利用者が裏面の読込を指示したことに応答して画像読取部152に制御信号を与え、名刺の裏面の画像を読取る処理を実行させるステップ458とを含む。ここでは図示していないが、ステップ456で読取開始以外の操作が行なわれた場合には、その操作にしたがった処理がされる。それら処理は本発明に直接関係しないので、ここではそれらの詳細は説明しない。ステップ458では、画像読取部152は、名刺を上から順番に取込み、原稿排紙トレイ208に排出しながら各名刺の裏面の画像を全て読込む。ただしこの処理では、名刺の裏面がブランクであった場合には画像は記憶せず、画像IDのみがその名刺の裏面に割当てられて画像情報テーブル270に記憶される。対応する画像ファイル名には、画像がブランク画像であることを示す情報が記憶される。   This program further waits until any user operation is performed after step 454, and in step 456, in response to the user instructing reading of the back side, a control signal is sent to the image reading unit 152. And a step 458 of executing a process of reading an image on the back side of the business card. Although not shown here, when an operation other than the start of reading is performed in step 456, processing according to the operation is performed. Since these processes are not directly related to the present invention, their details are not described here. In step 458, the image reading unit 152 reads all the images on the back of each business card while taking the business cards in order from the top and discharging them to the document discharge tray 208. However, in this process, if the back side of the business card is blank, no image is stored, and only the image ID is assigned to the back side of the business card and stored in the image information table 270. In the corresponding image file name, information indicating that the image is a blank image is stored.

このプログラムはさらに、ステップ458の後に実行され、ステップ450において利用者が第1、第2、及び第3の配列方法のいずれを指定したかに応じて制御の流れを3つに分岐させるステップ459と、ステップ459の判定結果にしたがって実行され、第1、第2又は第3の配列方法でそれぞれページ画像を生成するステップ460、462、又は464と、ステップ460、462、又は464の後に実行され、ステップ460、462、又は464において生成されたページ画像を記録用紙に印刷して処理を終了させるステップ466とを含む。   This program is further executed after step 458, and the flow of control is branched into three according to whether the user designates the first, second, or third arrangement method in step 450. And executed after step 460, 462, or 464 and step 460, 462, or 464, respectively, for generating page images by the first, second, or third arrangement method. Step 466 which prints the page image generated in Step 460, 462 or 464 on a recording sheet and ends the processing.

図10は、図9に示すステップ454及び458において実行される、画像読取部152を制御しながら名刺の表面の画像を読取るプログラムルーチンの詳細なフローである。図10を参照して、このルーチンは、変数Iの値に1を加算するステップ500を含む。なお、ステップ500における変数Iの値は、図9に示すステップ452において利用者が名刺の読取開始を指示する操作を行なった直後に、0に初期化されている。   FIG. 10 is a detailed flow of a program routine executed in steps 454 and 458 shown in FIG. 9 to read the image on the surface of the business card while controlling the image reading unit 152. Referring to FIG. 10, the routine includes a step 500 of adding 1 to the value of variable I. Note that the value of variable I in step 500 is initialized to 0 immediately after the user performs an operation to instruct the start of reading of the business card in step 452 shown in FIG.

このルーチンはさらに、ステップ500の後、1枚の名刺の下面の画像を読取って、読取られた画像に画像IDとして変数Iの値を対応付けるステップ502と、ステップ502の後、読取られた画像がブランク画像であるか否かを判定し、判定結果に応じて制御の流れを分岐させるステップ504と、ステップ504において、読取られた画像がブランク画像であると判定されたことに応答して実行され、画像ID及びブランク画像であることを示す名前を画像情報テーブル270のI番目の行に記憶するステップ506と、ステップ504において、読取った画像がブランク画像でないと判定されたことに応答して実行され、読取られた画像及び画像IDを画像情報テーブル270のI行目に記憶するステップ508と、ステップ506又はステップ508の後に実行され、原稿セットトレイ162に名刺が残っているか否かを判定して、名刺が残っている場合にはこのルーチンの実行を終了するステップ510とを含む。なお、ステップ510で名刺が残っていると判定された場合、このルーチンは、制御をステップ500に戻す。   The routine further reads, after step 500, an image on the underside of a single business card and associates the value of variable I as an image ID with the read image, and after step 502, the read image is In step 504 for determining whether or not the image is a blank image and branching the control flow according to the determination result, and in step 504, the processing is executed in response to determining that the read image is a blank image. In step 506, the image ID and the name indicating the blank image are stored in the I-th row of the image information table 270, and executed in response to the determination that the read image is not a blank image in step 504. The read image and image ID are stored in the I-th row of the image information table 270, and step 506 Is performed after step 508, it is determined whether or not there remains a business card in the document feeder tray 162, if there remains a business card and a step 510 to end the execution of this routine. If it is determined in step 510 that the business card remains, this routine returns control to step 500.

図11は、図9に示すステップ460において実行される、第1の画像処理を実現するプログラムルーチンの詳細なフローである。図11を参照して、このルーチンは、画像情報テーブル270に記憶されている画像データの全ファイルを読出して全原稿枚数を算出するステップ550と、ステップ550の後、表面ページ画像の1ページ目の1行1列目を、次の画像の配置位置として定めるステップ552と、ステップ552の後、未だ配置されていない表面の画像のうち、画像IDが一番小さい画像を、次画像の配置位置に配置して、次の画像の配置位置を第1の配列方法にしたがって進めるステップ560と、ステップ560の後、全ての表面画像を配置したか否かを判定し、まだ配置されていない表面画像が存在する場合に制御をステップ558に戻すステップ560とを含む。表面画像の数は、最終的な画像ID、又はステップ550で算出された原稿枚数の半分であり、それらから容易に算出できる。各行に2つの画像を配置すると、次の画像の配置位置は次の行の1列目とする。各ページの3行目まで画像の配置が完了すると、次のページを作成し、その1行目の1列目を次の画像の配置位置とする。   FIG. 11 is a detailed flow of a program routine for realizing the first image processing, which is executed in step 460 shown in FIG. Referring to FIG. 11, this routine reads out all files of image data stored in image information table 270 and calculates the total number of documents, and after step 550, the first page of the front page image The first row and the first column are determined as the next image arrangement position, and after step 552, the image with the smallest image ID is selected as the next image arrangement position among the surface images not yet arranged. And after step 560, whether or not all surface images have been arranged is determined, and a surface image that has not yet been arranged is determined. And step 560 which returns control to step 558 if. The number of front images is the final image ID or half the number of originals calculated in step 550, and can be easily calculated from them. When two images are arranged in each row, the arrangement position of the next image is the first column of the next row. When the arrangement of the images up to the third line of each page is completed, the next page is created, and the first column of the first line is set as the arrangement position of the next image.

このルーチンはさらに、ステップ560において全ての表面画像が表面ページ画像に配置されていると判定された場合に実行され、新たに裏面ページ画像を作成し、その1行1列目を次の画像の配置位置に定めるステップ554と、ステップ554の後、未だ配置されていない裏面の画像のうち、画像IDの数が一番小さい画像を、裏面ページ画像に配置して、次の画像の配置位置を進めるステップ562とを含む。ただしステップ562では、配置すべき画像がブランク画像である場合には、実際には画像を配置せず、その領域をブランクのままにしておく。このルーチンはさらに、ステップ562の後、全ての裏面画像を配置したか否かを判定し、まだ配置していない裏面画像がある場合には制御をステップ562に戻すステップ564と、ステップ564において、全ての裏面画像が配置されたと判定されたことに応答して実行され、以上の処理で生成された表面ページ画像及び裏面ページ画像を全て画像メモリ266に記憶して、このルーチンを終了するステップ566とを含む。裏面画像の配置時にも、各行に2つの画像を配置すると、次の画像の配置位置は次の行の1列目とする。各ページの3行目まで画像の配置が完了すると、次のページを作成し、その1行目の1列目を次の画像の配置位置とする。   This routine is further executed when it is determined in step 560 that all front images are arranged in the front page image, a new back page image is created, and the first row and first column of the next image is created. After step 554, which is determined as the arrangement position, and after step 554, the image with the smallest number of image IDs among the images on the back surface not yet arranged is arranged on the back page image, and the arrangement position of the next image is determined. Advancing step 562. However, in step 562, if the image to be arranged is a blank image, the image is not actually arranged and the area is left blank. This routine further determines after step 562 whether or not all back images have been placed, and if there are back images that have not yet been placed, control returns to step 562 in steps 564 and 564. Step 566 is executed in response to the determination that all the back side images have been arranged, all the front page images and back side page images generated by the above processing are stored in the image memory 266, and this routine is finished. Including. Even when the rear image is arranged, if two images are arranged in each row, the arrangement position of the next image is the first column of the next row. When the arrangement of the images up to the third line of each page is completed, the next page is created, and the first column of the first line is set as the arrangement position of the next image.

図12は、図9に示すステップ462において実行される、第2の画像配置方法を実現するプログラムルーチンの詳細なフローである。図12を参照して、このルーチンは、画像ファイルを全て読出し、全原稿枚数を算出するステップ580と、ステップ580の後、ページ画像の1ページ目の1行1列目を次の画像の配置位置に定めるステップ582と、ステップ582の後、未だ配置されていない表面画像のうち、画像IDが最も小さい表面画像を現在の配置位置に配置して、配置位置を進めるステップ584とを含む。ステップ584では、表面画像は1列目のみに1行目から順番に配置する。1列目の3行目まで表面画像を配置したときには、次のページの1列目の1行目に次の画像の配置位置を進める。   FIG. 12 is a detailed flow of a program routine for realizing the second image arrangement method, which is executed in step 462 shown in FIG. Referring to FIG. 12, this routine reads out all image files and calculates the total number of documents. After step 580, the layout of the next image in the first row and the first column of the first page of the page image is performed. Step 582 for determining the position, and Step 584 for advancing the arrangement position by arranging the surface image with the smallest image ID among the surface images not yet arranged after Step 582 at the current arrangement position. In step 584, the surface image is arranged in order from the first row only in the first column. When the surface image is arranged up to the third row of the first column, the arrangement position of the next image is advanced to the first row of the first column of the next page.

このルーチンはさらに、ステップ584の後、表面画像が全て配置されたか否かを判定し、まだ配置されていない表面画像が存在するときには制御をステップ584に戻すステップ588と、ステップ588において、表面画像が全て配置されたと判定されたことに応答して実行され、ページ画像の1ページ目の1行2列目を次の画像の配置位置に定めるステップ592と、ステップ592の後、未だ配置されていない裏面画像のうち、画像IDが最も小さい裏面画像を、現在の配置位置に配置して、次の画像の配置位置を進めるステップ590とを含む。ステップ590では、2列目にしか画像を配置しない。また、その裏面画像がブランク画像であれば、その位置には画像を配置しない。2列目の3行目まで裏面画像の配置が完了した場合には、次のページ画像の2列目の1行目に画像の配置位置を進める。   The routine further determines after step 584 whether or not all surface images have been placed, and if there is a surface image that has not yet been placed, control returns to step 584 and in step 588 the surface image Is executed in response to the determination that all of the images have been arranged, and after the step 592 for determining the arrangement position of the next image in the first row and the second column of the first page of the page image, the image has not yet been arranged. A step 590 of placing the back image having the smallest image ID among the back images having no image at the current arrangement position and advancing the arrangement position of the next image. In step 590, an image is arranged only in the second column. If the back image is a blank image, no image is placed at that position. When the arrangement of the back image is completed up to the third row of the second column, the image arrangement position is advanced to the first row of the second column of the next page image.

このプログラムはさらに、ステップ590の後、裏面画像が全て配置されたか否かを判定し、まだ配置されていない裏面画像が存在する場合には制御をステップ590に戻すステップ594と、ステップ594において裏面画像が全て配置されたと判定されたことに応答して実行され、以上の処理で生成された全てのページ画像を画像メモリ266に記憶して、このルーチンを終了するステップ598とを含む。   The program further determines after step 590 whether or not all back images have been placed. If there is a back image that has not yet been placed, control returns to step 590, and back side in step 594. Step 598 is executed in response to the determination that all the images are arranged, and all the page images generated by the above processing are stored in the image memory 266 and this routine is terminated.

図13は、図9に示すステップ464において実行される、第3の画像は一方法を実現するプログラムルーチンの詳細なフローである。図13を参照して、このルーチンは、画像メモリ266に記憶された全画像データファイルを読出して、の全原稿枚数を算出するステップ620と、ステップ620の後、ページ画像の1ページ目の1行1列目を画像の配置位置に定めるステップ622と、ステップ622の後、未だ配置されていない表面画像のうち、画像IDが最も小さい表面画像を現在の配置位置に配置して、画像の配置位置を進めるステップ626と、ステップ626の後、ステップ626で配置した表面画像に対応する裏面画像の画像IDを求め、その画像IDに対応する画像がブランク画像か否かを判定し、判定結果に応じて制御の流れを分岐させるステップ628と、ステップ628において、対応する裏面画像がブランク画像であると判定されたことに応答して実行され、未だ配置されていない表面画像のうち、当該表面画像に対応する裏面画像がブランク画像であり、かつ画像IDが最も大きい値である表面画像を検索し読出すステップ630と、ステップ628において対応する裏面画像がブランク画像でないと判定されたことに応答して実行され、その裏面画像を読出すステップ634と、ステップ630又はステップ634の後、それぞれのステップで取出された画像を現在の配置位置に配置するステップ62と、ステップ632の後、表面画像が全て配置されたか否かを判定し、未だ配置されていない表面画像が存在する場合には制御をステップ626に戻すステップ636と、ステップ636において、画像が全て配置されたと判定された場合に実行され、以上の処理によって生成された全ページ画像を画像メモリ266に記憶して、このルーチンを終了するステップ640とを含む。ステップ626では、表面画像の配置位置を次の行の1列目に進める。3行目までの配置が完了した場合には、表面画像の配置位置を次のページ画像の1行目の1列目に進める。   FIG. 13 is a detailed flowchart of a program routine that implements the third image executed in step 464 shown in FIG. 9. Referring to FIG. 13, this routine reads out all image data files stored in image memory 266 and calculates the total number of originals, and after step 620, 1 of the first page of the page image. Step 622 for determining the first column as the image arrangement position, and after step 622, among the surface images that have not been arranged yet, the surface image with the smallest image ID is arranged at the current arrangement position, and the image arrangement is performed. After step 626 for advancing the position and after step 626, the image ID of the back image corresponding to the front image arranged in step 626 is obtained, and it is determined whether the image corresponding to the image ID is a blank image. In response to determining that the corresponding back image is a blank image in step 628 and branching the control flow accordingly. In step 630 for searching and reading out the front surface image that has been executed and is not yet arranged, the back surface image corresponding to the front surface image is a blank image and has the largest image ID, and in step 628 Step 634 is executed in response to determining that the corresponding back image is not a blank image, and after step 630 or 634, the image extracted in each step is read out at the current arrangement. Step 62 for placing in position, Step 636 after step 632, determining whether or not all surface images have been placed, and returning to step 626 if there is a surface image that has not been placed. In 636, it is executed when it is determined that all the images are arranged, and is generated by the above processing. It stores the entire page image in the image memory 266, and a step 640 to end the routine. In step 626, the position of the surface image is advanced to the first column of the next row. When the arrangement up to the third row is completed, the arrangement position of the front image is advanced to the first column of the first row of the next page image.

なお、図9に示すステップ466では、ステップ460、462、又は464において画像メモリ266に記憶されたページ画像を印刷用紙に印刷する。   In step 466 shown in FIG. 9, the page image stored in the image memory 266 in step 460, 462, or 464 is printed on the printing paper.

[動作]
図1〜図13を参照して、上記した構成を持つ本実施の形態に係る画像形成装置150は以下のように動作する。
[Operation]
1 to 13, image forming apparatus 150 according to the present embodiment having the above-described configuration operates as follows.

画像形成装置150は、名刺の読込及びレイアウトの処理が起動されると、画像情報テーブル270のレコードを全て削除し、1ページに配置される画像の行数(整数M)及び第1〜第3のいずれの配列方法でページ画像を生成するかを利用者に指定させる(図9に示すステップ450)。   When the business card reading and layout process is activated, the image forming apparatus 150 deletes all the records in the image information table 270, and the number of lines (integer M) of images arranged on one page and the first to third The user is allowed to specify which of the arrangement methods is used to generate the page image (step 450 shown in FIG. 9).

利用者は、レイアウト印刷しようとする複数の名刺を積み重ねて、原稿セットトレイ162にセットし、読取開始の指示する操作を画像形成装置150に対して行なう。図9に示すステップ450の判定結果はYESとなる。   The user stacks a plurality of business cards to be layout-printed, sets them on the document set tray 162, and performs an operation to instruct the image forming apparatus 150 to start reading. The determination result in step 450 shown in FIG. 9 is YES.

画像形成装置150は、積み重ねられた名刺の上側から順番に取込みながら、表面の画像を読込み(図9に示すステップ454)、デジタル画像としてそれぞれ個別のファイルとして画像メモリ266に格納する。読込後の名刺は、読取られた順に排出され、原稿排紙トレイ208に積み重ねられる。   The image forming apparatus 150 reads the images on the front surface in order from the upper side of the stacked business cards (step 454 shown in FIG. 9), and stores the images in the image memory 266 as individual files. The business cards after reading are discharged in the order in which they are read and stacked on the document discharge tray 208.

画像形成装置150が全ての名刺の表面の画像を読取った後、利用者は、原稿排紙トレイ208に積み重ねられた名刺を、上下の向きを反転させて原稿セットトレイ162にセットする。利用者は、名刺の画像の読込開始を指示する操作を画像形成装置150に対して行なう。図9に示すステップ456の判定結果はYESとなる。   After the image forming apparatus 150 reads the images on the front surfaces of all the business cards, the user sets the business cards stacked on the document discharge tray 208 in the document set tray 162 with the vertical direction reversed. The user performs an operation for instructing the image forming apparatus 150 to start reading a business card image. The determination result in step 456 shown in FIG. 9 is YES.

画像形成装置150は、積み重ねられた名刺の上側から順番に取込みながら、その裏面の画像を読込み(図9に示すステップ458)、デジタル画像としてそれぞれ個別のファイルとして画像メモリ266に格納する。読込後の名刺は、読取られた順に排出され、原稿排紙トレイ208に積み重ねられる。   The image forming apparatus 150 reads the images on the back side of the stacked business cards in order from the upper side (step 458 shown in FIG. 9), and stores them in the image memory 266 as individual files as digital images. The business cards after reading are discharged in the order in which they are read and stacked on the document discharge tray 208.

利用者が第1の配列方法を選択していれば、画像形成装置150は、第1の配列方法で表面ページ画像及び裏面ページ画像を生成し、画像メモリ266に記憶する(図9に示すステップ460)。   If the user has selected the first arrangement method, the image forming apparatus 150 generates the front page image and the back page image by the first arrangement method and stores them in the image memory 266 (step shown in FIG. 9). 460).

ステップ450において、利用者が第2の配列方法を選択していれば、画像形成装置150は、第2の配列方法でページ画像を生成し、画像メモリ266に記憶する(図9に示すステップ462)。   If the user selects the second arrangement method in step 450, the image forming apparatus 150 generates a page image by the second arrangement method and stores it in the image memory 266 (step 462 shown in FIG. 9). ).

ステップ450において、利用者が第3の配列方法を選択していれば、画像形成装置150は、第3の配列方法でページ画像を生成し、画像メモリ266に記憶する(図9に示すステップ464)。   If the user has selected the third arrangement method in step 450, the image forming apparatus 150 generates a page image by the third arrangement method and stores it in the image memory 266 (step 464 shown in FIG. 9). ).

ステップ460、462、又は464の後、画像形成装置150は、画像メモリ266に記憶されたページ画像を記録用紙に印刷する(図9に示すステップ466)。   After step 460, 462, or 464, the image forming apparatus 150 prints the page image stored in the image memory 266 on a recording sheet (step 466 shown in FIG. 9).

[本実施の形態の効果]
以上の説明から明らかなように、本実施の形態に係る画像形成装置150を利用することにより、利用者は、印刷されたページ画像を見ることによって、どの表面画像とどの裏面画像とが同じ名刺であるかを容易に判定できる。したがって、利用者は、当該印刷物によって名刺の管理をし易くなる。
[Effects of the present embodiment]
As is clear from the above description, by using the image forming apparatus 150 according to the present embodiment, the user can see which front image and which back image are the same by viewing the printed page image. Can be easily determined. Therefore, the user can easily manage the business card with the printed matter.

今回開示された実施の形態は単に例示であって、本発明が上記した実施の形態のみに限定されるわけではない。本発明の範囲は、発明の詳細な説明の記載を参酌した上で、特許請求の範囲の各請求項によって示され、そこに記載された文言と均等の意味及び範囲内でのすべての変更を含む。   The embodiment disclosed herein is merely an example, and the present invention is not limited to the above-described embodiment. The scope of the present invention is indicated by each claim in the claims after taking into account the description of the detailed description of the invention, and all modifications within the meaning and scope equivalent to the wording described therein are intended. Including.

本実施の形態に係る画像形成装置150の外観を示す斜視図である。1 is a perspective view showing an appearance of an image forming apparatus 150 according to the present embodiment. 図1に示す画像読取部152の内部構成を簡略化して示す図である。FIG. 2 is a diagram illustrating a simplified internal configuration of an image reading unit 152 illustrated in FIG. 1. 図1に示す画像形成装置150のハードウェア構成を示すブロック図である。FIG. 2 is a block diagram illustrating a hardware configuration of the image forming apparatus 150 illustrated in FIG. 1. 図3に示す画像情報テーブル270の構成を示す図である。It is a figure which shows the structure of the image information table 270 shown in FIG. 画像IDの付与方法について説明するための図である。It is a figure for demonstrating the provision method of image ID. 第1の配列方法によって配列されたページ画像の例を示す図である。It is a figure which shows the example of the page image arranged by the 1st arrangement method. 第2の配列方法によって配列されたページ画像の例を示す図である。It is a figure which shows the example of the page image arranged by the 2nd arrangement method. 第3の配列方法によって配列されたページ画像の例を示す図である。It is a figure which shows the example of the page image arranged by the 3rd arrangement method. 図3に示すCPU252によって実行されるプログラムの制御構造を示すフローチャートである。It is a flowchart which shows the control structure of the program performed by CPU252 shown in FIG. 図9に示すステップ454及び458の詳細なフローである。It is a detailed flow of steps 454 and 458 shown in FIG. 図9に示すステップ460の詳細なフローである。It is a detailed flow of step 460 shown in FIG. 図9に示すステップ462の詳細なフローである。It is a detailed flow of step 462 shown in FIG. 図9に示すステップ464の詳細なフローである。It is a detailed flow of step 464 shown in FIG.

符号の説明Explanation of symbols

150 画像形成装置
152 画像読取部
154 画像形成部
166 操作装置
250 画像処理部
252 CPU
254 HDD
256 RAM
258 画像処理制御部
260 画像受信部
262 画像出力部
266 画像メモリ
270 画像情報テーブル
DESCRIPTION OF SYMBOLS 150 Image forming apparatus 152 Image reading part 154 Image forming part 166 Operation apparatus 250 Image processing part 252 CPU
254 HDD
256 RAM
258 Image processing control unit 260 Image receiving unit 262 Image output unit 266 Image memory 270 Image information table

Claims (11)

複数の原稿の各々の一方の面の画像を順番に読取る処理と、前記複数の原稿の他方の面の画像を順番に読取る処理とを別個に行ない、各画像データを出力するための画像読取手段と、
前記画像読取手段により読取られた画像を、記録媒体の1ページあたりに複数の画像配置領域が定められるように面付けをし、各画像が配置されるページ及び配置領域を決定することによって1又は複数のページ画像を生成するための画像生成手段とを含み、
前記画像生成手段は、各原稿の一方の面の画像と、他方の面の画像とが互いに対応付けられる位置に配置されるように各画像の配置領域を決定し、
前記画像形成装置はさらに、前記ページ画像を印刷するための印刷手段を含む、画像形成装置。
Image reading means for separately reading out images on one side of each of a plurality of originals and processing for sequentially reading out images on the other side of the plurality of originals and outputting each image data When,
By imposing the image read by the image reading means so that a plurality of image arrangement areas are defined per page of the recording medium, and determining the page and arrangement area where each image is arranged, 1 or Image generating means for generating a plurality of page images,
The image generation means determines an arrangement area of each image so that an image on one side of each document and an image on the other side are arranged at positions corresponding to each other,
The image forming apparatus further includes a printing unit for printing the page image.
前記画像生成手段は、
記録媒体の1ページにM行N列(M及びNはそれぞれ2以上の整数)の行列で画像配置領域が定められるように面付けする配置領域決定手段と、
前記複数の原稿の各々に対して、当該原稿の一方の面の画像と他方の面の画像とが、同じページの、互いに隣接した配置領域に配置されるようにして前記ページ画像を生成するための配置手段とを含む、請求項1に記載の画像形成装置。
The image generating means includes
An arrangement area determining means for imposing an image arrangement area in a matrix of M rows and N columns (M and N are each an integer of 2 or more) on one page of the recording medium;
In order to generate the page image so that an image on one side and an image on the other side of the original are arranged in adjacent arrangement areas of the same page for each of the plurality of originals. The image forming apparatus according to claim 1, further comprising:
前記配置手段は、
前記複数の原稿の各々に対して、当該原稿の一方の面の画像を各ページの予め定められた列または行に順番に配置するための手段と、
前記複数の原稿の各々に対して、当該原稿の他方の面の画像が、当該原稿の前記一方の面が配置された配置領域に隣接する配置領域に配置されるように、各画像の配置領域を決定してページ画像を生成するための手段とを含む、請求項2に記載の画像形成装置。
The arrangement means includes
Means for sequentially arranging, on each of the plurality of documents, an image of one side of the document in a predetermined column or row of each page;
For each of the plurality of originals, an arrangement area of each image is arranged such that an image on the other side of the original is arranged in an arrangement area adjacent to the arrangement area where the one side of the original is arranged. The image forming apparatus according to claim 2, further comprising: a unit for determining a page image to generate a page image.
前記生成するための手段は、
前記複数の原稿の各々に対して、当該原稿の他方の面の画像がブランク画像か否かを判定するための判定手段と、
前記判定手段による判定結果にしたがって、当該原稿の前記一方の面が配置された配置領域に隣接する配置領域に画像を配置しない処理、又は当該領域に当該原稿の他方の面の画像を配置するための手段とを含む、請求項3に記載の画像形成装置。
The means for generating is
For each of the plurality of documents, a determination means for determining whether an image on the other side of the document is a blank image;
According to the determination result by the determination means, a process for not arranging an image in an arrangement area adjacent to the arrangement area where the one side of the document is arranged, or for arranging an image of the other side of the document in the area The image forming apparatus according to claim 3, further comprising:
前記生成するための手段は、
前記複数の原稿の各々に対して、当該原稿の他方の面の画像がブランク画像か否かを判定するための判定手段と、
前記判定手段により、前記他方の面の画像がブランク画像と判定されたことに応答して、前記複数の原稿のうち、まだ前記一方の面の画像の配置領域が決定されてないものの中で、裏面がブランクであるものの前記一方の面の画像を、前記原稿の前記一方の面の画像が配置された領域に隣接した領域に配置するための手段とを含む、請求項3に記載の画像形成装置。
The means for generating is
For each of the plurality of documents, a determination means for determining whether an image on the other side of the document is a blank image;
In response to determining that the image on the other side is a blank image by the determination unit, among the plurality of documents, the arrangement area of the image on the one side has not yet been determined. 4. The image forming apparatus according to claim 3, further comprising: means for arranging an image of the one side of the original that is blank on the back side in an area adjacent to the area where the image of the one side of the document is arranged. apparatus.
前記配置するための手段は、前記判定手段により、前記他方の面の画像がブランク画像と判定されたことに応答して、前記複数の原稿のうち、まだ前記一方の面の画像の配置領域が決定されてないものの中で、裏面がブランクであり、かつ前記画像読取手段により読取られた順番が最も遅いものの前記一方の面の画像を、前記原稿の前記一方の面の画像が配置された領域に隣接した領域に配置するための手段を含む、請求項5に記載の画像形成装置。   In response to the fact that the image on the other side is determined to be a blank image by the determination unit, the arrangement means for arranging the image area on the one side among the plurality of documents is still present. Among the undecided ones, the back side is blank and the image read by the image reading means is the slowest in order, and the image on the one side is the area where the image on the one side of the document is arranged. The image forming apparatus according to claim 5, further comprising means for arranging in an area adjacent to the image forming apparatus. 前記画像生成手段は、
記録媒体の1ページにM行N列(M及びNはそれぞれ2以上の整数)の行列で画像配置領域が定められるように面付けする配置領域決定手段と、
前記複数の原稿の各々に対して、当該原稿の一方の面の画像と他方の面の画像とが、隣接するページの、互いに同一の配置領域に配置されるようにして前記ページ画像を生成するための配置手段とを含む、請求項1に記載の画像形成装置。
The image generating means includes
An arrangement area determining means for imposing an image arrangement area in a matrix of M rows and N columns (M and N are each an integer of 2 or more) on one page of the recording medium;
For each of the plurality of documents, the page image is generated such that an image on one side and an image on the other side of the document are arranged in the same arrangement area of adjacent pages. The image forming apparatus according to claim 1, further comprising a disposing unit.
前記配置手段は、
前記複数の原稿の各々に対して、当該原稿の一方の面の画像を前記原稿読込手段により読取られた順番にしたがって、各ページの配置領域に行方向優先又は列方向優先で順番に配置するための手段と、
前記複数の原稿の各々に対して、当該原稿の他方の面の画像が、当該原稿の前記一方の面が配置されたページとは別のページで、かつ同じ配置領域に配置されるように、各画像の配置領域を決定してページ画像を生成するための手段とを含む、請求項7に記載の画像形成装置。
The arrangement means includes
For each of the plurality of documents, in order to arrange the images on one side of the document in order in the row direction or column direction in the arrangement area of each page according to the order of reading by the document reading means. Means of
For each of the plurality of documents, the image on the other side of the document is arranged on a page different from the page on which the one side of the document is arranged, and in the same arrangement area. The image forming apparatus according to claim 7, further comprising: means for determining an arrangement area of each image and generating a page image.
Nは偶数である、請求項2〜請求項8のいずれかに記載の画像形成装置。   The image forming apparatus according to claim 2, wherein N is an even number. Nは2である、請求項9に記載の画像形成装置。   The image forming apparatus according to claim 9, wherein N is two. 前記画像生成手段は、
前記複数の原稿の各々に対して、当該原稿の一方の面の画像と他方の面の画像とを対応付ける複数の画像配列方法のうち、いずれかを利用者に選択させるための選択手段と、
前記選択手段によって選択された配列方法にしたがって、前記複数の原稿の両面の画像を配列したページ画像を生成するための手段とを含む、請求項1に記載の画像形成装置。
The image generating means includes
A selection means for causing a user to select one of a plurality of image arrangement methods for associating each of the plurality of documents with an image on one side of the document and an image on the other side;
2. The image forming apparatus according to claim 1, further comprising a unit configured to generate a page image in which images on both sides of the plurality of documents are arranged according to the arrangement method selected by the selection unit.
JP2008315387A 2008-12-11 2008-12-11 Image forming apparatus, image forming method, and image forming program Pending JP2010141550A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008315387A JP2010141550A (en) 2008-12-11 2008-12-11 Image forming apparatus, image forming method, and image forming program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008315387A JP2010141550A (en) 2008-12-11 2008-12-11 Image forming apparatus, image forming method, and image forming program

Publications (1)

Publication Number Publication Date
JP2010141550A true JP2010141550A (en) 2010-06-24

Family

ID=42351293

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008315387A Pending JP2010141550A (en) 2008-12-11 2008-12-11 Image forming apparatus, image forming method, and image forming program

Country Status (1)

Country Link
JP (1) JP2010141550A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015056794A (en) * 2013-09-12 2015-03-23 株式会社リコー Information processor, information processing system, information processing method, and program
WO2023013464A1 (en) * 2021-08-05 2023-02-09 京セラドキュメントソリューションズ株式会社 Image forming device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015056794A (en) * 2013-09-12 2015-03-23 株式会社リコー Information processor, information processing system, information processing method, and program
WO2023013464A1 (en) * 2021-08-05 2023-02-09 京セラドキュメントソリューションズ株式会社 Image forming device

Similar Documents

Publication Publication Date Title
US8068251B2 (en) Image forming apparatus including a finished image display unit
JP3865847B2 (en) Method for optimizing view of image and generation system for double-sided print
US6226102B1 (en) Image forming apparatus which forms an image based on stored image data
JP2007287089A (en) Display controller, image processor, and display control method
US20130061134A1 (en) Storage Device Storing Page Processing Program and Information Processing Apparatus
JP2006259045A (en) Image forming apparatus and method
JP6044184B2 (en) Image processing apparatus and image processing program
JP2010141550A (en) Image forming apparatus, image forming method, and image forming program
KR101353235B1 (en) Apparatus capable of handling code, method for controlling the same, and computer-readable storage medium storing program therefor
JP2007259263A (en) Image processing method, image processing device, program, and storage medium
JP6138079B2 (en) Image processing apparatus and image processing method
JP2003260847A (en) Printer and setting method for printing subject
JP2011049999A (en) Image forming apparatus, image synthesis method and program
JP4601359B2 (en) Photo printing device
JP2006211553A (en) Image processing apparatus and method thereof
JP4893820B2 (en) Control device and computer program
JP3903036B2 (en) Document creation method and document creation apparatus
JP5291131B2 (en) Image forming apparatus and aggregate printing method
JP2012105181A (en) Image forming device
JP2007274263A (en) Printer and device and method for controlling printing
JP2011124841A (en) Image forming apparatus
JP3815317B2 (en) Image storage device
JPH07273969A (en) Image information processor
JP2574435B2 (en) Electronic file device
JP2016184785A (en) Image processing device and image processing method