JP5958883B2 - Image processing apparatus, image forming apparatus, and program - Google Patents

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

Info

Publication number
JP5958883B2
JP5958883B2 JP2012186367A JP2012186367A JP5958883B2 JP 5958883 B2 JP5958883 B2 JP 5958883B2 JP 2012186367 A JP2012186367 A JP 2012186367A JP 2012186367 A JP2012186367 A JP 2012186367A JP 5958883 B2 JP5958883 B2 JP 5958883B2
Authority
JP
Japan
Prior art keywords
page
unit
order
image
page unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2012186367A
Other languages
Japanese (ja)
Other versions
JP2014045327A (en
Inventor
俊之 山田
俊之 山田
林 寛
寛 林
上田 健次
健次 上田
新名 博
博 新名
達也 並木
達也 並木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Fujifilm Business Innovation 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 Fuji Xerox Co Ltd, Fujifilm Business Innovation Corp filed Critical Fuji Xerox Co Ltd
Priority to JP2012186367A priority Critical patent/JP5958883B2/en
Publication of JP2014045327A publication Critical patent/JP2014045327A/en
Application granted granted Critical
Publication of JP5958883B2 publication Critical patent/JP5958883B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、画像処理装置、画像形成装置およびプログラムに関する。   The present invention relates to an image processing apparatus, an image forming apparatus, and a program.

特許文献1は、画像データを原画像の各領域に対応して分割し、分割領域単位で個別の書き込み画像データを生成し、得られた画像データを書き込み手段に入力する画像形成装置を開示する。   Patent Document 1 discloses an image forming apparatus that divides image data corresponding to each area of an original image, generates individual writing image data in divided area units, and inputs the obtained image data to a writing unit. .

特開2000−350000号公報JP 2000-350,000 A

本発明の目的は、簡単な操作で、両面印刷の集約原稿から、正しい順序で頁単位が並んだ画像データを生成できる画像処理装置を提供することである。   An object of the present invention is to provide an image processing apparatus capable of generating image data in which page units are arranged in a correct order from a double-sided aggregated manuscript with a simple operation.

請求項1にかかる本発明は、複数の頁単位が1つの頁に集約された両面印刷の集約原稿に関する情報を設定する設定手段と、設定された情報に基づいて頁単位の順序を決定し、決定された順序に基づいて頁単位を並び替えて各頁単位を1つの頁とする画像データを生成する画像データ生成手段とを有する画像処理装置である。   The present invention according to claim 1 determines the order of page units based on the setting means for setting information relating to an aggregated document for duplex printing in which a plurality of page units are aggregated into one page, The image processing apparatus includes image data generation means for generating image data in which the page units are rearranged based on the determined order and each page unit is one page.

請求項2にかかる本発明は、前記設定手段は、集約画像を頁単位に分割する分割数と、1つの集約画像における頁単位の配列順と、集約原稿の綴じ位置とを設定し、前記画像データに生成手段は、設定された分割数と配列順と綴じ位置とに基づいて、各頁単位を1つの頁とする画像データを生成する請求項1に記載の画像処理装置である。   According to a second aspect of the present invention, the setting means sets the number of divisions for dividing the aggregated image into pages, the arrangement order of the pages in one aggregated image, and the binding position of the aggregated document. The image processing apparatus according to claim 1, wherein the data generation unit generates image data in which each page unit is one page based on the set number of divisions, arrangement order, and binding position.

請求項3にかかる本発明は、前記画像データ生成手段は、頁単位を並べ替えるときに、頁単位の上下を反転させる請求項1に記載の画像処理装置である。   The present invention according to claim 3 is the image processing apparatus according to claim 1, wherein the image data generation means reverses the page unit upside down when rearranging the page unit.

請求項4にかかる本発明は、複数の頁単位が1つの頁に集約された両面印刷の集約原稿に関する情報を設定する設定手段と、設定された情報に基づいて頁単位の順序を決定し、決定された順序に基づいて頁単位を並び替えて各頁単位を1つの頁とする画像データに対応する画像を記録媒体に形成する画像形成手段とを有する画像形成装置である。   According to a fourth aspect of the present invention, there is provided setting means for setting information on a double-sided printing original document in which a plurality of page units are integrated into one page, and the order of page units is determined based on the set information. The image forming apparatus includes image forming means for rearranging the page units based on the determined order and forming an image corresponding to image data in which each page unit is one page on a recording medium.

請求項5にかかる本発明は、複数の頁単位が1つの頁に集約された両面印刷の集約原稿に関する情報を設定する設定ステップと、設定された情報に基づいて頁単位の順序を決定し、決定された順序に基づいて頁単位を並び替えて各頁単位を1つの頁とする画像データを生成する生成ステップとをコンピュータに実行させるプログラムである。   The present invention according to claim 5 is a setting step for setting information on a double-sided printing original document in which a plurality of page units are integrated into one page, and determines the order of page units based on the set information. This is a program for causing a computer to execute a generation step of rearranging the page units based on the determined order to generate image data in which each page unit is one page.

請求項1に係る本発明によれば、本構成を有していない場合と比較して、簡単な操作で、両面印刷の集約原稿から、正しい順序で頁単位が並んだ画像データを生成できる画像処理装置を提供することができる。   According to the first aspect of the present invention, an image that can generate image data in which page units are arranged in a correct order from a double-sided aggregated manuscript with a simple operation as compared with the case without this configuration. A processing device can be provided.

請求項2に係る本発明によれば、請求項1に係る本発明により得られる効果に加えて、分割数と、頁単位の配列順と、綴じ位置とに応じて、正しい順序で頁単位が並び替えられた画像データを生成できる。   According to the second aspect of the present invention, in addition to the effect obtained by the first aspect of the present invention, the page units are arranged in the correct order according to the number of divisions, the arrangement order of the page units, and the binding position. Rearranged image data can be generated.

請求項3に係る本発明によれば、請求項1に係る本発明により得られる効果に加えて、両面印刷の集約原稿から、正しい向きの頁単位が並んだ画像データを生成できる。   According to the third aspect of the present invention, in addition to the effect obtained by the first aspect of the present invention, it is possible to generate image data in which page units of the correct orientation are arranged from a double-sided printing original.

請求項4に係る本発明によれば、本構成を有していない場合と比較して、簡単な操作で、両面印刷の集約原稿から、正しい順序で頁単位が並んだ画像を記録媒体に形成できる画像形成装置を提供することができる。   According to the fourth aspect of the present invention, compared with the case where the present configuration is not provided, an image in which page units are arranged in a correct order is formed on a recording medium from a double-sided print original by a simple operation. An image forming apparatus that can be used can be provided.

請求項5に係る本発明によれば、本構成を有していない場合と比較して、簡単な操作で、両面印刷の集約原稿から、正しい順序で頁単位が並んだ画像データを生成できるプログラムを提供することができる。   According to the fifth aspect of the present invention, a program capable of generating image data in which page units are arranged in a correct order from a double-sided aggregated manuscript with a simple operation as compared with the case without this configuration. Can be provided.

本実施形態にかかる画像処理装置のハードウェア構成を例示する図である。It is a figure which illustrates the hardware constitutions of the image processing apparatus concerning this embodiment. 図1に示した画像処理装置において動作する画像処理プログラムである。2 is an image processing program that operates in the image processing apparatus illustrated in FIG. 1. 集約原稿を例示する図である。It is a figure which illustrates an integrated manuscript. 設定画面を例示する図である。It is a figure which illustrates a setting screen. 原稿読取処理部及び画像読取装置の処理を示すフローチャートである。3 is a flowchart illustrating processing of a document reading processing unit and an image reading apparatus. 読取データを例示する図である。It is a figure which illustrates reading data. 頁単位読取データの順序入れ替え及び上下反転を説明する図である。It is a figure explaining order change and upside down of page unit read data. 頁単位読取データの順序入れ替え及び上下反転を説明する図である。It is a figure explaining order change and upside down of page unit read data. 順序決定テーブル格納部に格納されている順序決定テーブルを例示する図である。It is a figure which illustrates the order determination table stored in the order determination table storage part. 順序決定テーブル格納部に格納されている順序決定テーブルを例示する図である。It is a figure which illustrates the order determination table stored in the order determination table storage part. 順序決定テーブル格納部に格納されている順序決定テーブルを例示する図である。It is a figure which illustrates the order determination table stored in the order determination table storage part. 頁単位順序決定部232及び頁単位並び替え部236の処理の具体例を説明するための図である。FIG. 10 is a diagram for describing a specific example of processing of a page unit order determination unit 232 and a page unit rearrangement unit 236. 反転決定テーブル格納部に格納されている反転決定テーブルを例示する図である。It is a figure which illustrates the inversion determination table stored in the inversion determination table storage part. 図12の例における画像データ生成処理部の処理の流れを説明する図である。It is a figure explaining the flow of a process of the image data generation process part in the example of FIG. 製本綴じ原稿を説明するための図である。FIG. 6 is a diagram for explaining a bound and bound document. 製本綴じ原稿の場合の順序決定テーブル及び反転決定テーブルを例示する図である。FIG. 6 is a diagram illustrating an order determination table and a reversal determination table in the case of a bound book.

図1は、本実施形態にかかる画像処理装置1のハードウェア構成を例示する図である。
図1に例示するように、画像処理装置1は、CPU等の演算部102及びメモリ等の記憶部104などを含む制御装置100と、通信装置110と、記録装置120と、USBメモリ又はSDメモリカード等の記録媒体122と、ユーザインターフェース装置(UI装置)130と、画像読取装置140と、印刷装置150とから構成される。
UI装置130は、LCD(Liquid Crystal Display)表示装置あるいはCRT(Cathode Ray Tube)表示装置等の表示装置およびGUI(Graphical User Interface)等のキーボード・タッチパネルなどを含む。
画像読取装置140は、例えばスキャナ等であって、原稿等の記録媒体から画像等を読み取って、例えばビットマップ形式の読取情報に変換する。
印刷装置150は、例えばプリンタ等であって、文字データまたは画像データ等を用紙等の記録媒体に印刷する。
FIG. 1 is a diagram illustrating a hardware configuration of an image processing apparatus 1 according to the present embodiment.
As illustrated in FIG. 1, the image processing apparatus 1 includes a control device 100 including a calculation unit 102 such as a CPU and a storage unit 104 such as a memory, a communication device 110, a recording device 120, a USB memory or an SD memory. A recording medium 122 such as a card, a user interface device (UI device) 130, an image reading device 140, and a printing device 150 are configured.
The UI device 130 includes a display device such as an LCD (Liquid Crystal Display) display device or a CRT (Cathode Ray Tube) display device, and a keyboard / touch panel such as a GUI (Graphical User Interface).
The image reading device 140 is a scanner or the like, for example, and reads an image or the like from a recording medium such as a document, and converts the read information into, for example, bitmap format reading information.
The printing apparatus 150 is, for example, a printer, and prints character data or image data on a recording medium such as paper.

つまり、画像処理装置1は、情報処理および他の画像処理装置又は端末との通信が可能なコンピュータとしてのハードウェア構成部分を有している。
また、以下の各図において、実質的に同じ構成部分および処理には同じ番号が付される。
なお、本実施形態において、画像処理装置1は画像読取装置140及び印刷装置150を有するとしたが、画像処理装置は、画像読取装置及び印刷装置の少なくとも一方を有さない例えばPCであってもよく、この場合、画像処理装置は、画像読取装置及び印刷装置の少なくとも一方とLAN(Local Area Network)等を介して接続されていてもよい。
That is, the image processing apparatus 1 has a hardware configuration part as a computer capable of information processing and communication with other image processing apparatuses or terminals.
In the following drawings, substantially the same components and processes are denoted by the same reference numerals.
In the present embodiment, the image processing apparatus 1 includes the image reading apparatus 140 and the printing apparatus 150. However, the image processing apparatus may be, for example, a PC that does not include at least one of the image reading apparatus and the printing apparatus. In this case, the image processing apparatus may be connected to at least one of the image reading apparatus and the printing apparatus via a LAN (Local Area Network) or the like.

図2は、図1に示した画像処理装置1において動作する画像処理プログラム20の構成を示す図である。
画像処理プログラム20は、たとえば、記憶媒体122(図1)又は通信装置110を介して画像処理装置1に供給され、記憶部104にロードされ、画像処理装置1にインストールされたOS(図示せず)上で、画像処理装置1のハードウェア資源を具体的に利用して実行される。
なお、本実施形態においては、画像処理プログラム20は、ソフトウェアで実現されるとしているが、画像処理プログラム20の全部又は一部は、例えばFPGA(Field Programmable Gate Array)、画像読取装置140又は印刷装置150などのハードウェアで実現されてもよい。
FIG. 2 is a diagram showing the configuration of the image processing program 20 that operates in the image processing apparatus 1 shown in FIG.
The image processing program 20 is supplied to the image processing apparatus 1 via, for example, the storage medium 122 (FIG. 1) or the communication device 110, loaded into the storage unit 104, and installed in the image processing apparatus 1 (not shown). In the above, the hardware resources of the image processing apparatus 1 are specifically used.
In the present embodiment, the image processing program 20 is realized by software, but all or part of the image processing program 20 is, for example, an FPGA (Field Programmable Gate Array), the image reading device 140, or the printing device. It may be realized by hardware such as 150.

図2に示すように、画像処理プログラム20は、設定処理部210、原稿読取処理部220、読取データ取得部222、画像データ生成処理部230、画像データ格納部260及び画像形成処理部262から構成される。
設定処理部210は、設定画面表示部212及び設定受付部214から構成される。
画像データ生成処理部230は、頁単位順序決定部232、順序決定テーブル格納部234、頁単位並び替え部236、上下反転決定部238、反転決定テーブル格納部240、上下反転部242及び画像データ生成部244から構成される。
画像処理プログラム20は、上記の構成部分により、複数の頁単位が集約された集約画像が1つの頁に形成された両面印刷の集約原稿に関する情報を設定する。
さらに、画像処理プログラム20は、設定された情報に基づいて、頁単位に分割された頁単位の順序を決定し、決定された順序に基づいて頁単位を並び替えて、画像読取装置140が集約原稿を読み取って得られた読取データから、各頁単位を1つの頁とする画像データを生成する。
As shown in FIG. 2, the image processing program 20 includes a setting processing unit 210, a document reading processing unit 220, a reading data acquisition unit 222, an image data generation processing unit 230, an image data storage unit 260, and an image formation processing unit 262. Is done.
The setting processing unit 210 includes a setting screen display unit 212 and a setting reception unit 214.
The image data generation processing unit 230 includes a page unit order determination unit 232, an order determination table storage unit 234, a page unit rearrangement unit 236, an upside down determination unit 238, an inversion determination table storage unit 240, an up / down inversion unit 242, and image data generation. Part 244.
The image processing program 20 sets information related to a double-sided printed original document in which an integrated image in which a plurality of page units are integrated is formed on one page by the above-described components.
Further, the image processing program 20 determines the order of page units divided into page units based on the set information, rearranges the page units based on the determined order, and the image reading device 140 aggregates them. Image data having each page unit as one page is generated from the read data obtained by reading the document.

ここで、集約原稿について説明する。
集約原稿とは、主に印刷枚数を削減するため、元々の原稿(元原稿)における複数の頁が1枚の用紙(記録媒体)、つまり1つの頁に集約されて印刷された原稿である。
なお、以下、集約原稿において1つの頁に集約された複数の頁それぞれ(つまり集約される前の元原稿においては1つの頁を構成するもの)を、頁単位と称する。また、頁単位を示す画像を、頁単位画像を称する。
また、以下、複数の頁単位を示す画像が1つの頁に集約された画像を、集約画像と称する。言い換えれば、集約画像には、複数の頁単位画像が含まれる。集約画像は、集約原稿の1つの頁に形成される。
Here, the collected original will be described.
An aggregated document is a document in which a plurality of pages in an original document (original document) are collected and printed on one sheet (recording medium), that is, one page, mainly to reduce the number of printed sheets.
Hereinafter, each of a plurality of pages aggregated on one page in the aggregated manuscript (that is, one constituting one page in the original manuscript before being aggregated) is referred to as a page unit. An image indicating a page unit is referred to as a page unit image.
Further, hereinafter, an image in which images indicating a plurality of page units are aggregated into one page is referred to as an aggregated image. In other words, the aggregated image includes a plurality of page unit images. The aggregated image is formed on one page of the aggregated document.

図3(A)には、1枚の用紙に2つの頁(頁単位)が集約された集約原稿が例示されている。
この例では、元原稿では2つの頁であったが、それぞれの頁が縮小され、それら2つの頁単位が、1枚の用紙に集約されて形成されている。
頁単位の向きが縦のものを左から右に並べて集約した場合(つまり左から右に、1頁目、2頁目と配列された場合)、その頁単位の配列順を(頁単位数2の場合の)「順横方向」という。
FIG. 3A illustrates an aggregate document in which two pages (page units) are aggregated on one sheet.
In this example, there are two pages in the original document, but each page is reduced, and these two page units are formed on a single sheet.
When the page unit orientations are vertically aligned from left to right (that is, when the first page and second page are arranged from left to right), the arrangement order of the page units (number of page units 2) In the case of).

なお、「頁単位の向き」とは、頁単位を判読(認識)可能な向きに置いた場合の向きである。
例えば、「頁単位の向きが縦」とは、頁単位を縦長に置いた場合(言い換えれば頁単位の長辺を縦向きに、短辺を横向きにした場合)に、その頁単位を判読(認識)可能な向きであることをいう。
また、例えば、「頁単位の向きが横」とは、頁単位を横長に置いた場合(言い換えれば頁単位の長辺を横向きに、短辺を縦向きにした場合)に、その頁単位を判読(認識)可能な向きであることをいう。
The “direction of page unit” is the direction when the page unit is placed in a direction that can be read (recognized).
For example, “the orientation of the page unit is vertical” means that when the page unit is placed vertically (in other words, the long side of the page unit is oriented vertically and the short side is oriented horizontally), the page unit is read ( Recognize) It is possible orientation.
Also, for example, “the direction of the page unit is horizontal” means that the page unit is set to be horizontally long (in other words, the long side of the page unit is set horizontally and the short side is set vertically). It means that the orientation is legible (recognizable).

頁単位の向きが横のものを上から下に並べて集約した場合、その頁単位の配列順を(頁単位数2の場合の)「順縦方向」という。
頁単位の向きが縦のものを右から左に並べて集約した場合、その頁単位の配列順を(頁単位数2の場合の)「逆横方向」という。
頁単位の向きが横のものを下から上に並べて集約した場合、その頁単位の配列順を(頁単位数2の場合の)「逆縦方向」という。
When the page unit orientations are horizontal and arranged side by side from top to bottom, the arrangement order of the page units is referred to as “forward vertical direction” (in the case of 2 page units).
When the page unit orientations are arranged vertically and arranged from right to left, the arrangement order of the page units is referred to as “reverse horizontal direction” (when the number of page units is 2).
When the page unit orientations are horizontal and arranged from bottom to top, the arrangement order of the page units is referred to as “reverse vertical direction” (in the case of 2 page units).

図3(B)には、1枚の用紙に4つの頁(頁単位)が集約された集約原稿が例示されている。
この例では、元原稿では4つの頁であったが、それぞれの頁が縮小され、それら4つの頁単位が、1枚の用紙に集約されて形成されている。
頁単位を左上、右上、左下、右下の順に並べて集約した場合(つまり左上、右上、左下、右下の順に、1頁目、2頁目、3頁目、4頁目と配列された場合)、その頁単位の配列順を「順横方向」という。
頁単位を左上、左下、右上、右下の順に並べて集約した場合(つまり左上、左下、右上、右下の順に、1頁目、2頁目、3頁目、4頁目と配列された場合)、その頁単位の配列順を「順縦方向」という。
頁単位を右上、左上、右下、左下の順に並べて集約した場合(つまり右上、左上、右下、左下の順に、1頁目、2頁目、3頁目、4頁目と配列された場合)、その頁単位の配列順を「逆横方向」という。
頁単位を右上、右下、左上、左下の順に並べて集約した場合(つまり右上、右下、左上、左下の順に、1頁目、2頁目、3頁目、4頁目と配列された場合)、その頁単位の配列順を「逆縦方向」という。
FIG. 3B illustrates an aggregate document in which four pages (page units) are aggregated on one sheet.
In this example, the original document has four pages. However, each page is reduced, and the unit of the four pages is formed on one sheet.
When the page units are arranged in the order of upper left, upper right, lower left, lower right (that is, when the first page, second page, third page, fourth page are arranged in the order of upper left, upper right, lower left, lower right) ), And the arrangement order of the page unit is referred to as “forward horizontal direction”.
When page units are arranged in the order of upper left, lower left, upper right, lower right (that is, arranged in the order of upper left, lower left, upper right, lower right, page 1, page 2, page 3, page 4) ), And the arrangement order of the page unit is referred to as “forward vertical direction”.
When page units are arranged in the order of upper right, upper left, lower right, lower left (ie, arranged in the order of upper right, upper left, lower right, lower left, first page, second page, third page, fourth page) ), The order of arrangement in page units is called “reverse horizontal direction”.
When page units are arranged in order of upper right, lower right, upper left, lower left (that is, arranged in the order of upper right, lower right, upper left, lower left, page 1, page 2, page 3, page 4) ), And the arrangement order of the page unit is called “reverse vertical direction”.

設定処理部210(図2)において、設定画面表示部212は、集約原稿に関する情報の設定を行うための設定画面をUI装置130に表示させる。
図4は、設定画面を例示する図である。
UI装置130には、図4(A)に例示された設定画面が表示される。
設定画面には、分割数と、配列順と、頁単位向きと、両面印刷か否かと、綴じ位置とを設定するためのボタンが表示されている。
ここで、分割数とは、集約画像から頁単位に画像を分割するときに分割される数であって、1枚の用紙に含まれる頁単位の数である。
綴じ位置とは、両面印刷の場合に用紙が綴じられる位置であって、長辺が綴じられる場合は「長辺綴じ」、短辺が綴じられる場合は「短辺綴じ」という。
In the setting processing unit 210 (FIG. 2), the setting screen display unit 212 causes the UI device 130 to display a setting screen for setting information regarding the aggregated document.
FIG. 4 is a diagram illustrating a setting screen.
A setting screen illustrated in FIG. 4A is displayed on the UI device 130.
The setting screen displays buttons for setting the number of divisions, the arrangement order, the page unit orientation, whether or not double-sided printing is performed, and the binding position.
Here, the number of divisions is a number that is divided when an image is divided into page units from the aggregated image, and is the number of page units included in one sheet.
The binding position is a position where the paper is bound in the case of duplex printing, and is referred to as “long-side binding” when the long side is bound, and “short-side binding” when the short side is bound.

画像処理装置1の使用者は、UI装置130に表示された設定画面を用いて、集約原稿に関する情報の設定を行う。
例えば、1枚の用紙に2つの頁単位が集約され配列順が順横方向の集約原稿(図3(A)の「順横方向」)であって、長辺綴じの両面印刷の集約原稿から、頁単位に分割して画像データを得る場合を仮定する。
このとき、使用者は、図4(A)に例示された設定画面において、分割数「2」のボタンを押下し、配列順「順横方向」のボタンを押下し、頁単位向き「縦」のボタンを押下し、「両面有り」のボタンを押下し、綴じ位置「長辺綴じ」のボタンを押下する。
The user of the image processing apparatus 1 uses the setting screen displayed on the UI device 130 to set information regarding the aggregated document.
For example, an aggregated document in which two page units are aggregated on one sheet and the arrangement order is the forward / horizontal direction (“forward / horizontal direction” in FIG. 3A), Assume that the image data is obtained by dividing into page units.
At this time, on the setting screen illustrated in FIG. 4A, the user presses the button for the division number “2”, presses the button for the arrangement order “forward / horizontal direction”, and sets the page unit direction “vertical”. Button, press the “both sides” button, and press the binding position “long edge binding” button.

また、例えば、1枚の用紙に4つの縦向きの頁単位が集約され配列順が順横方向の集約原稿(図3(B)の「頁単位向き:縦」の「順横方向」)であって、長辺綴じの両面印刷の集約原稿から、頁単位に分割して画像データを得る場合を仮定する。
このとき、使用者は、図4(A)に例示された設定画面において、分割数「4」のボタンを押下し、配列順「順横方向」のボタンを押下し、頁単位向き「縦」のボタンを押下し、「両面有り」のボタンを押下し、綴じ位置「長辺綴じ」のボタンを押下する。
なお、配列順のボタンは、矢印で示してもよい。
分割数「2」のボタンが押下された場合、図4(B)に例示するように、縦又は横の矢印で配列順を示したボタンが設定画面に表示されるようにしてもよく、使用者は、順横方向の場合は右向き矢印のボタンを押下するようにしてもよい。
また、分割数「4」のボタンが押下された場合、図4(C)に例示するように、ジグザグの矢印で配列順を示したボタンが設定画面に表示されるようにしてもよい。
また、分割数「8」のボタンが押下された場合、図4(D)に例示するように、ジグザグの矢印で配列順を示したボタンが設定画面に表示されるようにしてもよい。
In addition, for example, in an aggregated manuscript in which four vertical page units are collected on one sheet and the arrangement order is the forward and horizontal direction (“forward direction” in “page unit direction: vertical” in FIG. 3B). Assume that image data is obtained by dividing a long-edge-bound double-sided printing original into pages.
At this time, on the setting screen illustrated in FIG. 4A, the user presses the button for the division number “4”, presses the button for the arrangement order “forward / horizontal direction”, and sets the page unit direction “vertical”. Button, press the “both sides” button, and press the binding position “long edge binding” button.
The buttons in the order of arrangement may be indicated by arrows.
When the button with the division number “2” is pressed, as illustrated in FIG. 4B, a button indicating the arrangement order with vertical or horizontal arrows may be displayed on the setting screen. The person may press the button of the right arrow in the case of the forward and horizontal direction.
Further, when the button with the division number “4” is pressed, as illustrated in FIG. 4C, a button whose arrangement order is indicated by a zigzag arrow may be displayed on the setting screen.
In addition, when the button with the division number “8” is pressed, as illustrated in FIG. 4D, a button whose arrangement order is indicated by a zigzag arrow may be displayed on the setting screen.

設定受付部214(図2)は、UI装置130に表示された設定画面を用いて使用者によって設定された情報(設定情報)を受け付け、原稿読取処理部220及び画像データ生成処理部230に対して出力する。
原稿読取処理部220は、画像読取装置140を制御して集約原稿を読み取って、読取データを生成する。
The setting reception unit 214 (FIG. 2) receives information (setting information) set by the user using the setting screen displayed on the UI device 130, and sends the information to the document reading processing unit 220 and the image data generation processing unit 230. Output.
The original reading processing unit 220 controls the image reading device 140 to read the aggregated original and generate read data.

図5は、原稿読取処理部220及び画像読取装置140の処理を示すフローチャート(S10)である。
なお、各ステップの一部はなくてもよく、ステップの順序は、適宜、変更可能である。
ステップ100(S100)において、原稿読取処理部220は、分割数N及び配列順を受け付ける。
ステップ102(S102)において、画像読取装置140は、集約原稿の1頁目を引き込む。
FIG. 5 is a flowchart (S10) illustrating processing of the document reading processing unit 220 and the image reading device 140.
Note that some of the steps may not be provided, and the order of the steps can be changed as appropriate.
In step 100 (S100), the document reading processing unit 220 receives the division number N and the arrangement order.
In step 102 (S102), the image reading device 140 pulls in the first page of the aggregated document.

ステップ104(S104)において、原稿読取処理部220はKを初期値(K=1)に設定する。
なお、Kは、配列順に応じて各頁単位が配列された順序であって、例えば、図3(B)の例の順横方向の場合、左上の頁単位はK=1であり、右上の頁単位はK=2であり、左下の頁単位はK=3であり、右下の頁単位はK=4である。
ステップ106(S106)において、原稿読取処理部220は、画像読取装置140を制御して、設定されたKの値に対応する頁単位を読み取らせる。
例えば、Kが初期値(K=1)の場合、画像読取装置140は、K=1に対応する頁単位(上記の例では左上の頁単位)が形成された領域を読み取る。
なお、各頁単位が形成された領域を分割領域と称する。
In step 104 (S104), the document reading processing unit 220 sets K to an initial value (K = 1).
Note that K is the order in which each page unit is arranged according to the arrangement order. For example, in the case of the forward and horizontal direction in the example of FIG. 3B, the upper left page unit is K = 1, The page unit is K = 2, the lower left page unit is K = 3, and the lower right page unit is K = 4.
In step 106 (S106), the document reading processing unit 220 controls the image reading device 140 to read the page unit corresponding to the set K value.
For example, when K is an initial value (K = 1), the image reading device 140 reads an area in which a page unit corresponding to K = 1 (the upper left page unit in the above example) is formed.
An area where each page unit is formed is referred to as a divided area.

ステップ108(S108)において、画像読取装置140及び原稿読取処理部220は、読み取られて得た頁単位の読取データに対し、必要な画像処理を行う。
具体的には、画像読取装置140及び原稿読取処理部220は、シェーディング補正、白紙除去(白紙の分割領域を読み取った場合にその読取データを除去すること)、色変換、地色除去、絵文字分離、主走査方向拡大処理、デジタル空間フィルタ処理、及びガンマ補正を行う。
In step 108 (S108), the image reading device 140 and the original reading processing unit 220 perform necessary image processing on the read data obtained in units of pages.
Specifically, the image reading device 140 and the document reading processing unit 220 perform shading correction, blank sheet removal (removing read data when a blank area is read), color conversion, ground color removal, and pictogram separation. , Enlargement processing in the main scanning direction, digital spatial filter processing, and gamma correction.

ステップ110(S110)において、原稿読取処理部220は、読取データに属性情報を追加する。属性情報については後述する。
ステップ112(S112)において、原稿読取処理部220は、頁単位の読取データ(頁単位読取データ)を蓄積する。
ステップ114(S114)において、原稿読取処理部220は、K=N(分割数)であるか、つまり、配列順が最後である頁単位を読み取ったか否かを判断する(N,Kは1以上の整数)。
K=Nでない場合、つまり、その集約原稿の頁においてまだ読み取っていない頁単位が有る場合、処理はS116に進み、K=Nである場合、処理はS118に進む。
In step 110 (S110), the document reading processing unit 220 adds attribute information to the read data. The attribute information will be described later.
In step 112 (S112), the document reading processing unit 220 accumulates page-by-page reading data (page-by-page reading data).
In step 114 (S114), the document reading processing unit 220 determines whether K = N (number of divisions), that is, whether the page unit whose arrangement order is the last has been read (N and K are 1 or more). Integer).
If K = N, that is, if there is a page unit that has not yet been read in the pages of the aggregated document, the process proceeds to S116, and if K = N, the process proceeds to S118.

ステップ116(S116)において、Kの値を1つ増加させ、S106に進む。
ステップ118(S118)において、原稿読取処理部220は、画像読取装置140によって引き込まれている頁が集約原稿の最後の頁であるか否かを判断し、最後の頁でない場合、処理はS120に進み、最後の頁である場合、処理を終了する。
ステップ120(S120)において、画像読取装置140は、集約原稿の次の頁を引き込み、S104に進む。
In step 116 (S116), the value of K is incremented by 1, and the process proceeds to S106.
In step 118 (S118), the document reading processing unit 220 determines whether or not the page drawn by the image reading device 140 is the last page of the consolidated document. If the page is not the last page, the process proceeds to S120. If it is the last page, the process is terminated.
In step 120 (S120), the image reading apparatus 140 pulls in the next page of the aggregated document, and proceeds to S104.

読取データ取得部222(図2)は、上記の処理によって得られた読取データを取得して、画像データ生成処理部230の頁単位順序決定部232に対して出力する。
図6は、読取データを例示する図である。
図6に示すように、読取データは、各頁単位に対応する頁単位読取データ#1〜#M(Mは1以上の整数)を含む。
また、各頁単位読取データは、頁単位の画像を示す頁単位画像データと、頁単位画像データの属性を示す属性情報とを含む。
The read data acquisition unit 222 (FIG. 2) acquires the read data obtained by the above processing and outputs it to the page unit order determination unit 232 of the image data generation processing unit 230.
FIG. 6 is a diagram illustrating read data.
As shown in FIG. 6, the read data includes page unit read data # 1 to #M (M is an integer of 1 or more) corresponding to each page unit.
Each page-unit read data includes page-unit image data indicating a page-unit image and attribute information indicating attributes of the page-unit image data.

さらに、属性情報は、読取順情報と、集約原稿頁情報と、集約原稿表裏情報と、分割領域位置情報とを含む。
分割領域位置情報は、対応する頁単位が配置されていた分割領域の位置を示し、例えば、配列順に対応する順序に対応する。
例えば、図3(B)の配列順「順横方向」の例では、左上に配置された頁単位では、分割領域位置情報は「分割領域位置1」であり、右下に配置された頁単位では、分割領域位置情報は「分割領域位置4」である。
Further, the attribute information includes reading order information, aggregated document page information, aggregated document front / back information, and divided region position information.
The divided area position information indicates the position of the divided area where the corresponding page unit is arranged, and corresponds to the order corresponding to the arrangement order, for example.
For example, in the example of the arrangement order “forward / horizontal direction” in FIG. 3B, the divided region position information is “divided region position 1” in the page unit arranged at the upper left, and the page unit arranged at the lower right. Then, the divided region position information is “divided region position 4”.

集約原稿頁情報は、対応する頁単位が配置されていた集約原稿における頁を示す。
集約原稿表裏情報は、対応する頁単位が配置されていた集約原稿における頁が、表頁であったか裏頁であったかを示す。
なお、奇数頁が表頁であり偶数頁が裏頁である場合、集約原稿表裏情報は、なくてもよい。
The aggregated manuscript page information indicates pages in the aggregated manuscript where the corresponding page unit has been arranged.
The aggregated manuscript front / back information indicates whether the page in the aggregated manuscript in which the corresponding page unit is arranged was a front page or a back page.
Note that when the odd page is a front page and the even page is a back page, there is no need for the aggregated manuscript front / back information.

読取順情報は、集約原稿全体において、対応する頁単位が読み取られた順序を示す情報であって、頁単位読取データ#m(mは1以上M以下の整数)の読取順情報は「m番目」である。
例えば、分割数4の集約原稿の1頁目の「分割領域位置1」に配置されていた頁単位では、読取順情報は、「1番目」を示し、分割数4の集約原稿の2頁目の「分割領域位置1」に配置されていた頁単位では、読取順情報は、「5番目」を示す。
なお、後述するように、読取順情報は、元原稿における正しい順序を表していない(つまり頁単位の順序が入れ替わっている)可能性がある。
さらに、頁単位画像データは、上下が反転している頁単位画像を示している可能性がある。
The reading order information is information indicating the order in which the corresponding page units are read in the entire aggregated document, and the reading order information of the page unit reading data #m (m is an integer from 1 to M) is “mth”. Is.
For example, in the page unit arranged in the “divided region position 1” of the first page of the aggregated document with the division number 4, the reading order information indicates “first”, and the second page of the aggregated document with the division number 4 In the page unit arranged at “divided region position 1”, the reading order information indicates “fifth”.
As will be described later, the reading order information may not represent the correct order in the original document (that is, the order of pages is changed).
Further, the page unit image data may indicate a page unit image that is upside down.

図7及び図8は、頁単位読取データの順序入れ替え及び上下反転を説明する図である。
図7には、分割数2の場合が例示されている。
配列順「順横方向」、綴じ位置「短辺綴じ」の場合、集約原稿の1頁目(表頁)において、左側(分割領域位置1)に元原稿の1頁目の頁単位が配置され、右側(分割領域位置2)に元原稿の2頁目の頁単位が配置されている。また、集約原稿の2頁目(裏頁)において、左側(分割領域位置1)に元原稿の3頁目の頁単位が配置され、右側(分割領域位置2)に元原稿の4頁目の頁単位が配置されている。
このとき、集約原稿の2頁目(裏頁)において、頁単位の順序は入れ替わっておらず、頁単位の上下は反転していない。
したがって、この場合、例えば、頁単位読取データ#1の頁単位画像データは、元原稿の1頁目の頁単位の、上下反転されていない画像を示し、頁単位読取データ#3の頁単位画像データは、元原稿の3頁目の頁単位の、上下反転されていない画像を示す。
FIGS. 7 and 8 are diagrams for explaining the order change and the upside down of the page-unit read data.
FIG. 7 illustrates the case of the division number 2.
In the case of the arrangement order “forward horizontal direction” and the binding position “short edge binding”, the page unit of the first page of the original document is arranged on the left side (division region position 1) on the first page (front page) of the consolidated document. The page unit of the second page of the original document is arranged on the right side (division area position 2). Further, on the second page (back page) of the aggregated document, the page unit of the third page of the original document is arranged on the left side (division area position 1), and the fourth page of the original document is arranged on the right side (division area position 2). Page units are arranged.
At this time, on the second page (back page) of the consolidated original, the order of the page units is not changed, and the upper and lower sides of the page units are not inverted.
Therefore, in this case, for example, the page unit image data of the page unit read data # 1 indicates an image that is not inverted upside down in the page unit of the first page of the original document, and the page unit image of the page unit read data # 3. The data indicates an image that is not flipped up and down in page units of the third page of the original document.

一方、配列順「順横方向」、綴じ位置「長辺綴じ」の場合、集約原稿の1頁目(表頁)において、左側(分割領域位置1)に元原稿の1頁目の頁単位が配置され、右側(分割領域位置2)に元原稿の2頁目の頁単位が配置されているが、集約原稿の2頁目(裏頁)において、左側(分割領域位置1)に元原稿の4頁目の頁単位が上下反転して配置され、右側(分割領域位置2)に元原稿の3頁目の頁単位が上下反転して配置されている。
このとき、集約原稿の2頁目(裏頁)において、頁単位の順序が入れ替わっており、さらに、頁単位の上下が反転している。
したがって、この場合、例えば、頁単位読取データ#1の頁単位画像データは、元原稿の1頁目の頁単位の、上下反転されていない画像を示すが、頁単位読取データ#3の頁単位画像データは、元原稿の4頁目の頁単位の、上下反転されている画像を示し、頁単位読取データ#4の頁単位画像データは、元原稿の3頁目の頁単位の、上下反転されている画像を示す。
On the other hand, in the arrangement order “forward horizontal direction” and binding position “long edge binding”, the page unit of the first page of the original document is on the left side (division region position 1) on the first page (front page) of the consolidated document. The page unit of the second page of the original document is arranged on the right side (division area position 2), but on the second page (back page) of the consolidated original, the original document is placed on the left side (division area position 1). The page unit of the fourth page is arranged upside down, and the page unit of the third page of the original document is arranged upside down on the right side (division area position 2).
At this time, on the second page (back page) of the aggregated document, the order of the page units is changed, and the upper and lower sides of the page units are inverted.
Therefore, in this case, for example, the page unit image data of the page unit read data # 1 indicates an image that is not inverted upside down in the page unit of the first page of the original document, but the page unit of the page unit read data # 3. The image data indicates an image that is flipped up and down in units of pages of the fourth page of the original document, and the page-unit image data of page unit read data # 4 is flipped up and down in units of pages of the third page of the original document. The image that is being displayed.

同様に、配列順「順縦方向」、綴じ位置「長辺綴じ」の場合、集約原稿の1頁目(表頁)において、上側(分割領域位置1)に元原稿の1頁目の頁単位が配置され、下側(分割領域位置2)に元原稿の2頁目の頁単位が配置されている。また、集約原稿の2頁目(裏頁)において、上側(分割領域位置1)に元原稿の3頁目の頁単位が配置され、下側(分割領域位置2)に元原稿の4頁目の頁単位が配置されている。
このとき、集約原稿の2頁目(裏頁)において、頁単位の順序は入れ替わっておらず、頁単位の上下は反転していない。
したがって、この場合、例えば、頁単位読取データ#1の頁単位画像データは、元原稿の1頁目の頁単位の、上下反転されていない画像を示し、頁単位読取データ#3の頁単位画像データは、元原稿の3頁目の頁単位の、上下反転されていない画像を示す。
Similarly, in the case of the arrangement order “forward / vertical direction” and the binding position “long edge binding”, the first page (front page) of the aggregated document has a page unit of the first page of the original document on the upper side (division region position 1). And the page unit of the second page of the original document is arranged on the lower side (division area position 2). Further, on the second page (back page) of the aggregated document, the page unit of the third page of the original document is arranged on the upper side (division region position 1), and the fourth page of the original document is arranged on the lower side (division region position 2). Page units are arranged.
At this time, on the second page (back page) of the consolidated original, the order of the page units is not changed, and the upper and lower sides of the page units are not inverted.
Therefore, in this case, for example, the page unit image data of the page unit read data # 1 indicates an image that is not inverted upside down in the page unit of the first page of the original document, and the page unit image of the page unit read data # 3. The data indicates an image that is not flipped up and down in page units of the third page of the original document.

一方、配列順「順縦方向」、綴じ位置「短辺綴じ」の場合、集約原稿の1頁目(表頁)において、上側(分割領域位置1)に元原稿の1頁目の頁単位が配置され、下側(分割領域位置2)に元原稿の2頁目の頁単位が配置されているが、集約原稿の2頁目(裏頁)において、上側(分割領域位置1)に元原稿の4頁目の頁単位が上下反転して配置され、下側(分割領域位置2)に元原稿の3頁目の頁単位が上下反転して配置されている。
このとき、集約原稿の2頁目(裏頁)において、頁単位の順序が入れ替わっており、さらに、頁単位の上下が反転している。
したがって、この場合、例えば、頁単位読取データ#1の頁単位画像データは、元原稿の1頁目の頁単位の、上下反転されていない画像を示すが、頁単位読取データ#3の頁単位画像データは、元原稿の4頁目の頁単位の、上下反転されている画像を示し、頁単位読取データ#4の頁単位画像データは、元原稿の3頁目の頁単位の、上下反転されている画像を示す。
On the other hand, in the case of the arrangement order “forward vertical direction” and the binding position “short edge binding”, the page unit of the first page of the original document is on the upper side (division region position 1) on the first page (front page) of the consolidated document. The page unit of the second page of the original document is arranged on the lower side (divided region position 2), but the original document is placed on the upper side (divided region position 1) on the second page (back page) of the consolidated document. The page unit of the fourth page is arranged upside down, and the page unit of the third page of the original document is arranged upside down on the lower side (division region position 2).
At this time, on the second page (back page) of the aggregated document, the order of the page units is changed, and the upper and lower sides of the page units are inverted.
Therefore, in this case, for example, the page unit image data of the page unit read data # 1 indicates an image that is not inverted upside down in the page unit of the first page of the original document, but the page unit of the page unit read data # 3. The image data indicates an image that is flipped up and down in units of pages of the fourth page of the original document, and the page-unit image data of page unit read data # 4 is flipped up and down in units of pages of the third page of the original document. The image that is being displayed.

図8には、分割数4の場合が例示されている。
配列順「順横方向」、頁単位向き「縦」、綴じ位置「長辺綴じ」の場合、集約原稿の1頁目(表頁)において、左上(分割領域位置1)に元原稿の1頁目の頁単位が配置され、右上(分割領域位置2)に元原稿の2頁目の頁単位が配置され、左下(分割領域位置3)に元原稿の3頁目の頁単位が配置され、右下(分割領域位置4)に元原稿の4頁目の頁単位が配置されている。
また、集約原稿の2頁目(裏頁)において、左上(分割領域位置1)に元原稿の5頁目の頁単位が配置され、右上(分割領域位置2)に元原稿の6頁目の頁単位が配置され、左下(分割領域位置3)に元原稿の7頁目の頁単位が配置され、右下(分割領域位置4)には白紙が配置されている。
このとき、集約原稿の2頁目(裏頁)において、頁単位の順序は入れ替わっておらず、頁単位の上下は反転していない。
したがって、この場合、例えば、頁単位読取データ#1の頁単位画像データは、元原稿の1頁目の頁単位の、上下反転されていない画像を示し、頁単位読取データ#5の頁単位画像データは、元原稿の5頁目の頁単位の、上下反転されていない画像を示す。
FIG. 8 illustrates a case where the number of divisions is four.
In the case of arrangement order “forward horizontal direction”, page unit orientation “vertical”, and binding position “long edge binding”, one page of the original document at the upper left (division region position 1) on the first page (front page) of the consolidated document A page unit of the second page of the original document is arranged at the upper right (division area position 2), and a page unit of the third page of the original document is arranged at the lower left (division area position 3). The page unit of the fourth page of the original document is arranged in the lower right (division area position 4).
In the second page (back page) of the aggregated document, the page unit of the fifth page of the original document is arranged at the upper left (division area position 1), and the sixth page of the original document is arranged at the upper right (division area position 2). The page unit is arranged, the page unit of the seventh page of the original document is arranged in the lower left (division area position 3), and the blank page is arranged in the lower right (division area position 4).
At this time, on the second page (back page) of the consolidated original, the order of the page units is not changed, and the upper and lower sides of the page units are not inverted.
Therefore, in this case, for example, the page unit image data of the page unit read data # 1 indicates an image that is not inverted upside down in the page unit of the first page of the original document, and the page unit image of the page unit read data # 5. The data indicates an image that is not flipped up and down in units of the fifth page of the original document.

一方、配列順「順横方向」、頁単位向き「縦」、綴じ位置「短辺綴じ」の場合、集約原稿の1頁目(表頁)においては、「長辺綴じ」の場合と同じ配列で頁単位が配置されている。
しかしながら、集約原稿の2頁目(裏頁)において、左上(分割領域位置1)には白紙が配置され、右上(分割領域位置2)に元原稿の7頁目の頁単位が配置され、左下(分割領域位置3)に元原稿の6頁目の頁単位が配置され、右下(分割領域位置4)に元原稿の5頁目の頁単位が配置されている。
このとき、集約原稿の2頁目(裏頁)において、頁単位の順序が入れ替わっており、さらに、頁単位の上下が反転している。
したがって、この場合、例えば、頁単位読取データ#1の頁単位画像データは、元原稿の1頁目の頁単位の、上下反転されていない画像を示すが、頁単位読取データ#5の頁単位画像データは、元原稿の7頁目の頁単位の、上下反転されていない画像を示す。なお、左上(分割領域位置1)に配置されていた白紙は除去されている。
On the other hand, in the case of the arrangement order “forward horizontal direction”, page unit orientation “vertical”, and binding position “short edge binding”, the first page (front page) of the consolidated original has the same arrangement as that of “long edge binding”. A page unit is arranged.
However, on the second page (back page) of the consolidated original, a blank page is arranged at the upper left (division area position 1), and the page unit of the seventh page of the original original is arranged at the upper right (division area position 2). The page unit of the sixth page of the original document is arranged at (division area position 3), and the page unit of the fifth page of the original document is arranged at the lower right (division area position 4).
At this time, on the second page (back page) of the aggregated document, the order of the page units is changed, and the upper and lower sides of the page units are inverted.
Accordingly, in this case, for example, the page unit image data of the page unit read data # 1 indicates an image that is not inverted upside down in the page unit of the first page of the original document, but the page unit of the page unit read data # 5. The image data indicates an image that is not flipped up and down in page units of the seventh page of the original document. Note that the blank sheet placed in the upper left (division area position 1) has been removed.

同様に、配列順「順横方向」、頁単位向き「横」、綴じ位置「短辺綴じ」の場合、集約原稿の1頁目(表頁)において、左上(分割領域位置1)に元原稿の1頁目の頁単位が配置され、右上(分割領域位置2)に元原稿の2頁目の頁単位が配置され、左下(分割領域位置3)に元原稿の3頁目の頁単位が配置され、右下(分割領域位置4)に元原稿の4頁目の頁単位が配置されている。
また、集約原稿の2頁目(裏頁)において、左上(分割領域位置1)に元原稿の5頁目の頁単位が配置され、右上(分割領域位置2)に元原稿の6頁目の頁単位が配置され、左下(分割領域位置3)に元原稿の7頁目の頁単位が配置され、右下(分割領域位置4)には白紙が配置されている。
このとき、集約原稿の2頁目(裏頁)において、頁単位の順序は入れ替わっておらず、頁単位の上下は反転していない。
したがって、この場合、例えば、頁単位読取データ#1の頁単位画像データは、元原稿の1頁目の頁単位の、上下反転されていない画像を示し、頁単位読取データ#5の頁単位画像データは、元原稿の5頁目の頁単位の、上下反転されていない画像を示す。
Similarly, in the case of arrangement order “forward horizontal direction”, page unit direction “horizontal”, and binding position “short edge binding”, the original document is located at the upper left (division area position 1) on the first page (front page) of the consolidated original. The page unit of the second page of the original document is arranged at the upper right (division region position 2), and the page unit of the third page of the original document is arranged at the lower left (division region position 3). The page unit of the fourth page of the original document is arranged at the lower right (division area position 4).
In the second page (back page) of the aggregated document, the page unit of the fifth page of the original document is arranged at the upper left (division area position 1), and the sixth page of the original document is arranged at the upper right (division area position 2). The page unit is arranged, the page unit of the seventh page of the original document is arranged in the lower left (division area position 3), and the blank page is arranged in the lower right (division area position 4).
At this time, on the second page (back page) of the consolidated original, the order of the page units is not changed, and the upper and lower sides of the page units are not inverted.
Therefore, in this case, for example, the page unit image data of the page unit read data # 1 indicates an image that is not inverted upside down in the page unit of the first page of the original document, and the page unit image of the page unit read data # 5. The data indicates an image that is not flipped up and down in units of the fifth page of the original document.

一方、配列順「順横方向」、頁単位向き「横」、綴じ位置「長辺綴じ」の場合、集約原稿の1頁目(表頁)においては、「短辺綴じ」の場合と同じ配列で頁単位が配置されている。
しかしながら、集約原稿の2頁目(裏頁)において、左上(分割領域位置1)には白紙が配置され、右上(分割領域位置2)に元原稿の7頁目の頁単位が配置され、左下(分割領域位置3)に元原稿の6頁目の頁単位が配置され、右下(分割領域位置4)に元原稿の5頁目の頁単位が配置されている。
このとき、集約原稿の2頁目(裏頁)において、頁単位の順序が入れ替わっており、さらに、頁単位の上下が反転している。
したがって、この場合、例えば、頁単位読取データ#1の頁単位画像データは、元原稿の1頁目の頁単位の、上下反転されていない画像を示すが、頁単位読取データ#5の頁単位画像データは、元原稿の7頁目の頁単位の、上下反転されていない画像を示す。なお、左上(分割領域位置1)に配置されていた白紙は除去されている。
On the other hand, in the case of arrangement order “forward horizontal direction”, page unit direction “horizontal”, and binding position “long edge binding”, the same arrangement as in the case of “short edge binding” on the first page (front page) of the consolidated document A page unit is arranged.
However, on the second page (back page) of the consolidated original, a blank page is arranged at the upper left (division area position 1), and the page unit of the seventh page of the original original is arranged at the upper right (division area position 2). The page unit of the sixth page of the original document is arranged at (division area position 3), and the page unit of the fifth page of the original document is arranged at the lower right (division area position 4).
At this time, on the second page (back page) of the aggregated document, the order of the page units is changed, and the upper and lower sides of the page units are inverted.
Accordingly, in this case, for example, the page unit image data of the page unit read data # 1 indicates an image that is not inverted upside down in the page unit of the first page of the original document, but the page unit of the page unit read data # 5. The image data indicates an image that is not flipped up and down in page units of the seventh page of the original document. Note that the blank sheet placed in the upper left (division area position 1) has been removed.

頁単位順序決定部232(図2)は、順序決定テーブル格納部234に格納されている順序決定テーブルを用いて、読取データに含まれる頁単位読取データの順序を決定する。
なお、順序決定テーブル格納部234に格納されている順序決定テーブルは、画像処理装置1の管理者等が例えばUI装置130を操作することによって、適宜、修正可能である。
頁単位並び替え部236は、頁単位順序決定部232によって決定された順序に従って、頁単位読取データの順序を、元原稿における頁単位の順(つまり正しい順)に並び替え、並び替えた読取データを、上下反転決定部238に対して出力する。
The page unit order determination unit 232 (FIG. 2) uses the order determination table stored in the order determination table storage unit 234 to determine the order of the page unit read data included in the read data.
Note that the order determination table stored in the order determination table storage unit 234 can be appropriately modified by the administrator of the image processing apparatus 1 operating the UI device 130, for example.
The page unit rearrangement unit 236 rearranges the order of page unit read data in the order of page units in the original document (that is, the correct order) according to the order determined by the page unit order determination unit 232, and rearranges the read data. Is output to the upside down determination unit 238.

図9〜図11は、順序決定テーブル格納部234に格納されている順序決定テーブルを例示する図である。
図9に例示するように、順序決定テーブルは、分割数及び配列順ごとにそれぞれ設けられている。
図10には、分割数「2」、配列順「順横方向」の「2分割・順横方向テーブル」が例示されている。
2分割・順横方向テーブルは、綴じ位置及び集約原稿表裏に応じて、分割領域位置ごとに、頁単位順序入力値が設定されている。
9 to 11 are diagrams illustrating the order determination table stored in the order determination table storage unit 234.
As illustrated in FIG. 9, the order determination table is provided for each number of divisions and arrangement order.
FIG. 10 exemplifies a “two-divided / forward-horizontal table” with the division number “2” and the arrangement order “forward-horizontal direction”.
In the 2-split / forward horizontal direction table, a page unit order input value is set for each divided region position according to the binding position and the front and back of the aggregated document.

ここで、頁単位順序入力値は、頁単位を正しい順序に並び替えるための値である。
例えば、綴じ位置「長辺綴じ」の場合、集約原稿の表頁においては、分割領域位置1には頁単位順序入力値「1」が設定され、分割領域位置2には頁単位順序入力値「2」が設定されている。
また、集約原稿の裏頁においては、分割領域位置1には頁単位順序入力値「2」が設定され、分割領域位置2には頁単位順序入力値「1」が設定されている。
Here, the page unit order input value is a value for rearranging the page units in the correct order.
For example, in the case of the binding position “long edge binding”, the page unit order input value “1” is set to the divided region position 1 and the page unit order input value “1” is set to the divided region position 2 on the front page of the aggregated document. 2 "is set.
On the back page of the aggregated document, the page unit order input value “2” is set in the divided region position 1, and the page unit order input value “1” is set in the divided region position 2.

図11には、分割数「4」、配列順「順横方向」の「4分割・順横方向テーブル」が例示されている。
4分割・順横方向テーブルは、綴じ位置、頁単位向き及び集約原稿表裏に応じて、分割領域位置ごとに、頁単位順序入力値が割り当てられている。
例えば、綴じ位置「短辺綴じ」、頁単位向き「縦」の場合、集約原稿の表頁においては、分割領域位置1には頁単位順序入力値「1」が設定され、分割領域位置2には頁単位順序入力値「2」が設定され、分割領域位置3には頁単位順序入力値「3」が設定され、分割領域位置4には頁単位順序入力値「4」が設定されている。
また、集約原稿の裏頁においては、分割領域位置1には頁単位順序入力値「4」が設定され、分割領域位置2には頁単位順序入力値「3」が設定され、分割領域位置3には頁単位順序入力値「2」が設定され、分割領域位置4には頁単位順序入力値「1」が設定されている。
FIG. 11 exemplifies a “4 division / forward horizontal direction table” with the division number “4” and the arrangement order “forward horizontal direction”.
In the 4-split / forward horizontal direction table, page unit order input values are assigned for each divided region position in accordance with the binding position, the page unit orientation, and the front and back of the aggregated document.
For example, when the binding position is “short edge binding” and the page unit orientation is “vertical”, the page unit order input value “1” is set to the divided area position 1 and the divided area position 2 is set to the front page of the aggregated document. The page unit order input value “2” is set, the page unit order input value “3” is set to the divided region position 3, and the page unit order input value “4” is set to the divided region position 4. .
Further, on the back page of the aggregated document, the page unit order input value “4” is set to the divided region position 1, the page unit order input value “3” is set to the divided region position 2, and the divided region position 3 is set. Is set to the page unit order input value “2”, and the divided region position 4 is set to the page unit order input value “1”.

図12は、頁単位順序決定部232及び頁単位並び替え部236の処理の具体例を説明するための図である。
図12においては、集約原稿において、分割数「4」、配列順「順横方向」、綴じ位置「短辺綴じ」、頁単位向き「縦」(図8参照)であって、頁単位数「23」の場合を例示する。
頁単位順序決定部232は、設定受付部214から、分割数「4」、配列順「順横方向」、綴じ位置「短辺綴じ」、頁単位向き「縦」を示す設定情報を受け付ける。
さらに、頁単位順序決定部232は、受け付けた設定情報に対応する順序決定テーブルを、順序決定テーブル格納部234から取得する。
上記例の場合、頁単位順序決定部232は、「4分割・順横方向テーブル」(図11)の綴じ位置「短辺綴じ」、頁単位向き「縦」のテーブルを取得する。
また、頁単位順序決定部232は、各頁単位読取データについて、以下の式(1)に基づいて、頁単位順序値を割り当てる。
(1)[頁単位順序値]=([集約原稿頁]−1)×(分割数)+[頁単位順序入力値]
FIG. 12 is a diagram for explaining a specific example of processing of the page unit order determination unit 232 and the page unit rearrangement unit 236.
In FIG. 12, in the aggregated document, the division number is “4”, the arrangement order is “forward / horizontal direction”, the binding position is “short edge binding”, the page unit direction is “vertical” (see FIG. 8), and the page unit number is “ The case of “23” is illustrated.
The page unit order determination unit 232 receives setting information indicating the number of divisions “4”, the arrangement order “forward horizontal direction”, the binding position “short edge binding”, and the page unit direction “vertical” from the setting reception unit 214.
Further, the page unit order determination unit 232 acquires an order determination table corresponding to the received setting information from the order determination table storage unit 234.
In the case of the above example, the page unit order determination unit 232 acquires a table of the binding position “short edge binding” and the page unit direction “vertical” of the “four division / forward horizontal direction table” (FIG. 11).
The page unit order determination unit 232 assigns a page unit order value to each page unit read data based on the following equation (1).
(1) [Page unit order value] = ([Aggregated manuscript page] -1) × (Number of divisions) + [Page unit order input value]

以下、図12を用いて具体的に説明する。
まず、頁単位順序決定部232は、読取データから、頁単位読取データ#1を取り出す。
頁単位読取データ#1の属性情報(図6)において、集約原稿頁情報は「1頁目」を示し、集約原稿表裏情報は「表頁」を示し、分割領域位置情報は「分割領域位置1」を示す。
表頁における分割領域位置1の頁単位順序入力値は「1」なので、頁単位読取データ#1の頁単位順序値は、(1−1)×4+1=1である。
したがって、頁単位順序決定部232は、頁単位読取データ#1に、頁単位順序値「1」を割り当てる。
同様に、頁単位順序決定部232は、頁単位読取データ#2〜#4を取り出して、それぞれ、頁単位順序値「2」〜「4」を割り当てる。
This will be specifically described below with reference to FIG.
First, the page unit order determination unit 232 extracts page unit read data # 1 from the read data.
In the attribute information (FIG. 6) of the page-unit read data # 1, the aggregated document page information indicates “first page”, the aggregated document front / back information indicates “front page”, and the divided region position information is “divided region position 1”. Is shown.
Since the page unit order input value of the divided region position 1 on the front page is “1”, the page unit order value of the page unit read data # 1 is (1-1) × 4 + 1 = 1.
Therefore, the page unit order determination unit 232 assigns a page unit order value “1” to the page unit read data # 1.
Similarly, the page unit order determination unit 232 takes out the page unit read data # 2 to # 4 and assigns page unit order values “2” to “4”, respectively.

次に、頁単位順序決定部232は、読取データから、頁単位読取データ#5を取り出す。
頁単位読取データ#5の属性情報において、集約原稿頁情報は「2頁目」を示し、集約原稿表裏情報は「裏頁」を示し、分割領域位置情報は「分割領域位置1」を示す。
裏頁における分割領域位置1の頁単位順序入力値は「4」なので、頁単位読取データ#5の頁単位順序値は、(2−1)×4+4=8である。
したがって、頁単位順序決定部232は、頁単位読取データ#5に、頁単位順序値「8」を割り当てる。
Next, the page unit order determination unit 232 extracts page unit read data # 5 from the read data.
In the attribute information of the page-unit read data # 5, the aggregated document page information indicates “second page”, the aggregated document front / back information indicates “back page”, and the divided region position information indicates “divided region position 1”.
Since the page unit order input value of the divided region position 1 on the back page is “4”, the page unit order value of the page unit read data # 5 is (2-1) × 4 + 4 = 8.
Therefore, the page unit order determination unit 232 assigns the page unit order value “8” to the page unit read data # 5.

次に、頁単位順序決定部232は、読取データから、頁単位読取データ#6を取り出す。
頁単位読取データ#6の属性情報において、集約原稿頁情報は「2頁目」を示し、集約原稿表裏情報は「裏頁」を示し、分割領域位置情報は「分割領域位置2」を示す。
裏頁における分割領域位置2の頁単位順序入力値は「3」なので、頁単位読取データ#5の頁単位順序値は、(2−1)×4+3=7である。
したがって、頁単位順序決定部232は、頁単位読取データ#6に、頁単位順序値「7」を割り当てる。
Next, the page unit order determination unit 232 extracts page unit read data # 6 from the read data.
In the attribute information of the page unit read data # 6, the aggregated manuscript page information indicates “second page”, the aggregated manuscript front / back information indicates “back page”, and the divided region position information indicates “divided region position 2”.
Since the page unit order input value of the divided region position 2 on the back page is “3”, the page unit order value of the page unit read data # 5 is (2-1) × 4 + 3 = 7.
Therefore, the page unit order determination unit 232 assigns the page unit order value “7” to the page unit read data # 6.

同様に、頁単位順序決定部232は、頁単位読取データ#7,#8を取り出して、それぞれ、頁単位順序値「6」,「5」を割り当てる。
以下、同様にして、頁単位順序決定部232は、頁単位読取データ#9〜#20に対して、図12に示す頁単位順序値を割り当てる。
Similarly, the page unit order determination unit 232 takes out the page unit read data # 7 and # 8 and assigns page unit order values “6” and “5”, respectively.
Similarly, the page unit order determination unit 232 assigns page unit order values shown in FIG. 12 to the page unit read data # 9 to # 20.

さらに、頁単位順序決定部232は、読取データから、頁単位読取データ#21を取り出す。
頁単位読取データ#21の属性情報において、集約原稿頁情報は「6頁目」を示し、集約原稿表裏情報は「裏頁」を示し、分割領域位置情報は「分割領域位置2」を示す。
ここで、頁単位読取データ#21の分割領域位置情報が「分割領域位置2」であるのは、分割領域位置1には白紙が配置されており、分割領域位置1に対応する頁単位がないからである。
裏頁における分割領域位置2の頁単位順序入力値は「3」なので、頁単位読取データ#21の頁単位順序値は、(6−1)×4+3=23である。
したがって、頁単位順序決定部232は、頁単位読取データ#21に、頁単位順序値「23」を割り当てる。
Further, the page unit order determination unit 232 extracts the page unit read data # 21 from the read data.
In the attribute information of the page-unit read data # 21, the aggregated document page information indicates “sixth page”, the aggregated document front / back information indicates “back page”, and the divided region position information indicates “divided region position 2”.
Here, the reason why the divided area position information of the page unit read data # 21 is “divided area position 2” is that a blank page is arranged in the divided area position 1 and there is no page unit corresponding to the divided area position 1. Because.
Since the page unit order input value of the divided region position 2 on the back page is “3”, the page unit order value of the page unit read data # 21 is (6-1) × 4 + 3 = 23.
Therefore, the page unit order determination unit 232 assigns the page unit order value “23” to the page unit read data # 21.

また、頁単位順序決定部232は、読取データから、頁単位読取データ#22を取り出す。
頁単位読取データ#22の属性情報において、集約原稿頁情報は「6頁目」を示し、集約原稿表裏情報は「裏頁」を示し、分割領域位置情報は「分割領域位置3」を示す。
裏頁における分割領域位置3の頁単位順序入力値は「2」なので、頁単位読取データ#22の頁単位順序値は、(6−1)×4+2=22である。
したがって、頁単位順序決定部232は、頁単位読取データ#22に、頁単位順序値「22」を割り当てる。
Further, the page unit order determination unit 232 extracts page unit read data # 22 from the read data.
In the attribute information of the page-unit read data # 22, the aggregated document page information indicates “sixth page”, the aggregated document front / back information indicates “back page”, and the divided region position information indicates “divided region position 3”.
Since the page unit order input value of the divided region position 3 on the back page is “2”, the page unit order value of the page unit read data # 22 is (6-1) × 4 + 2 = 22.
Therefore, the page unit order determination unit 232 assigns the page unit order value “22” to the page unit read data # 22.

最後に、頁単位順序決定部232は、読取データから、頁単位読取データ#23を取り出す。
頁単位読取データ#23の属性情報において、集約原稿頁情報は「6頁目」を示し、集約原稿表裏情報は「裏頁」を示し、分割領域位置情報は「分割領域位置4」を示す。
裏頁における分割領域位置4の頁単位順序入力値は「1」なので、頁単位読取データ#23の頁単位順序値は、(6−1)×4+1=21である。
したがって、頁単位順序決定部232は、頁単位読取データ#23に、頁単位順序値「21」を割り当てる。
Finally, the page unit order determination unit 232 extracts page unit read data # 23 from the read data.
In the attribute information of the page unit read data # 23, the aggregated document page information indicates “sixth page”, the aggregated document front / back information indicates “back page”, and the divided region position information indicates “divided region position 4”.
Since the page unit order input value of the divided region position 4 on the back page is “1”, the page unit order value of the page unit read data # 23 is (6-1) × 4 + 1 = 21.
Therefore, the page unit order determination unit 232 assigns the page unit order value “21” to the page unit read data # 23.

頁単位並び替え部236は、頁単位読取データ#1〜#23を、図12に示すように並び替える。
頁単位読取データ#5,#6,#7,#8には、それぞれ、頁単位順序値「8」,「7」,「6」,「5」が割り当てられているので、頁単位並び替え部236は、頁単位読取データ#5,#6,#7,#8を、それぞれ、8番目、7番目、6番目、5番目に並び替える。
同様に、頁単位並び替え部236は、頁単位読取データ#13〜#16、#21〜#23の順序を並び替える。
The page unit rearrangement unit 236 rearranges the page unit read data # 1 to # 23 as shown in FIG.
Since page unit read data # 5, # 6, # 7, and # 8 are assigned page unit order values “8”, “7”, “6”, and “5”, respectively, page unit rearrangement is performed. The unit 236 rearranges the page-unit read data # 5, # 6, # 7, and # 8 into the eighth, seventh, sixth, and fifth, respectively.
Similarly, the page unit rearrangement unit 236 rearranges the order of the page unit read data # 13 to # 16 and # 21 to # 23.

上下反転決定部238(図2)は、反転決定テーブル格納部240に格納されている反転決定テーブルを用いて、上下反転が必要な頁単位画像データを含む頁単位読取データを決定する。
なお、反転決定テーブル格納部240に格納されている反転決定テーブルは、画像処理装置1の管理者等が例えばUI装置130を操作することによって、適宜、修正可能である。
上下反転部242は、上下反転決定部238によって決定された頁単位読取データに含まれる頁単位画像データに対して、上下が反転されるように(つまり正しい向きになるように)処理する。
The upside down determination unit 238 (FIG. 2) uses the inversion determination table stored in the inversion determination table storage unit 240 to determine page unit read data including page unit image data that needs to be upside down.
Note that the inversion determination table stored in the inversion determination table storage unit 240 can be appropriately modified by the administrator of the image processing apparatus 1 operating the UI device 130, for example.
The vertical flip unit 242 processes the page unit image data included in the page unit read data determined by the vertical flip determination unit 238 so that the vertical unit is inverted (that is, in the correct orientation).

図13は、反転決定テーブル格納部240に格納されている反転決定テーブルを例示する図である。
図13に例示するように、反転決定テーブルは、分割数、綴じ位置及び頁単位向きごとにそれぞれ設けられている。
例えば、分割数「2」、綴じ位置「長辺綴じ」、頁単位向き「縦」の場合、集約原稿の表頁に配置されていた頁単位については、上下反転処理は不要だが、集約原稿の裏頁に配置されていた頁単位については、上下反転処理が必要である。
また、例えば、分割数「4」、綴じ位置「短辺綴じ」、頁単位向き「縦」の場合、集約原稿の表頁に配置されていた頁単位については、上下反転処理は不要だが、集約原稿の裏頁に配置されていた頁単位については、上下反転処理が必要である。
FIG. 13 is a diagram illustrating an inversion determination table stored in the inversion determination table storage unit 240.
As illustrated in FIG. 13, the inversion determination table is provided for each division number, binding position, and page unit direction.
For example, when the number of divisions is “2”, the binding position is “long edge binding”, and the page unit orientation is “vertical”, the page unit arranged on the front page of the aggregated document does not require upside down processing. Upside down processing is necessary for the page unit arranged on the back page.
Further, for example, in the case of the division number “4”, the binding position “short edge binding”, and the page unit orientation “vertical”, the page unit arranged on the front page of the aggregated document does not require the upside down process, but the aggregation is performed. The page unit arranged on the back page of the document needs to be turned upside down.

図12の例では、集約原稿において、分割数「4」、綴じ位置「短辺綴じ」、頁単位向き「縦」であるので、集約原稿の裏頁に配置されていた頁単位については、上下反転処理が必要である。
ここで、頁単位読取データ#5〜#8、#13〜16、#21〜#23の集約原稿裏表情報が「裏頁」を示すので、上下反転部242は、頁単位読取データ#5〜#8、#13〜16、#21〜#23に含まれる頁単位画像データに対し、上下反転処理を行う。
In the example of FIG. 12, since the number of divisions is “4”, the binding position is “short edge binding”, and the page unit orientation is “vertical”, the page unit arranged on the back page of the aggregated document is Inversion processing is necessary.
Here, since the aggregate document back and front information of the page unit read data # 5 to # 8, # 13 to 16, and # 21 to # 23 indicates “back page”, the upside down unit 242 causes the page unit read data # 5 to # 5. Upside down processing is performed on the page unit image data included in # 8, # 13 to 16, and # 21 to # 23.

図14は、図12の例における画像データ生成処理部230の処理の流れを説明する図である。
図14(A)に示すように、原稿読取処理部220によって、集約原稿から各頁単位が読み取られ、図14(B)に示す読取データが得られる。
ここで、図14(B)の「1」,「2」,「3」,「4」は、それぞれ、頁単位読取データ#1〜#4の頁単位画像データを示し、上下反転した「8」,「7」,「6」,「5」は、それぞれ、頁単位読取データ#5〜#8の頁単位画像データを示す。
頁単位並び替え部236は、上述したように頁単位読取データ#5〜#8を入れ替えることによって、頁単位の順序は元原稿の順序通り(つまり正しい順序)となったが、上下の向きが正しくない。
上下反転部242が、上述したように頁単位読取データ#5〜#8の頁単位画像データに対して上下反転処理を行うことによって、図14(D)に示すような、正しい順序で並んだ正しい向きの頁単位が生成される。
FIG. 14 is a diagram illustrating the flow of processing of the image data generation processing unit 230 in the example of FIG.
As shown in FIG. 14A, the original reading processing unit 220 reads each page unit from the aggregated original, and the read data shown in FIG. 14B is obtained.
Here, “1”, “2”, “3”, and “4” in FIG. 14B indicate the page unit image data of the page unit read data # 1 to # 4, respectively, and are “8” inverted upside down. ",""7","6", and "5" indicate page unit image data of page unit read data # 5 to # 8, respectively.
As described above, the page unit rearrangement unit 236 replaces the page unit read data # 5 to # 8 so that the page unit order is the same as that of the original document (that is, the correct order). Incorrect.
As described above, the upside down unit 242 performs the upside down process on the page unit image data of the page unit read data # 5 to # 8, so that they are arranged in the correct order as shown in FIG. A page unit with the correct orientation is generated.

画像データ生成部244(図2)は、頁単位読取データに含まれる属性情報を除去し、新たな識別子(頁単位の正しい順序に基づくもの)を付与する等の処理を施す。
さらに、画像データ生成部244は、正しい向きの頁単位を1つの頁とし、これらの頁単位が正しい順序で並んだ画像データを生成し、画像データ格納部260に格納する。
画像形成処理部262は、印刷装置150を制御して、画像データを用紙(記録媒体)に形成するための処理を行う。
The image data generation unit 244 (FIG. 2) performs processing such as removing attribute information included in the page-unit read data and assigning a new identifier (based on the correct order of page units).
Further, the image data generation unit 244 generates image data in which the page unit in the correct orientation is one page, and these page units are arranged in the correct order, and stores the image data in the image data storage unit 260.
The image formation processing unit 262 controls the printing apparatus 150 to perform processing for forming image data on a sheet (recording medium).

[変形例1]
集約原稿が製本綴じ原稿である場合について説明する。
製本綴じとは、例えば旅行のしおり(小冊子)を作成する場合に、1枚の用紙に複数の頁単位を印刷し、それを折り畳むことによって、コンパクト化することができる。
図15は、製本綴じ原稿を説明するための図である。
また、図16は、製本綴じ原稿の場合の順序決定テーブル及び反転決定テーブルを例示する図である。
[Modification 1]
A case where the consolidated original is a bookbinding binding original will be described.
With bookbinding, for example, when creating a travel bookmark (booklet), a plurality of page units can be printed on one sheet and folded to be compact.
FIG. 15 is a diagram for explaining a bound and bound document.
FIG. 16 is a diagram illustrating an order determination table and a reversal determination table in the case of a bound book.

図15(A)に示すような、分割数「8」、配列順「順横方向」、頁単位向き「縦」の製本綴じ原稿の場合、太線部に切れ込みを入れ、破線部を谷折り、一点鎖線部を山折りにすると、「1」〜「8」をそれぞれ1頁〜8頁とする小冊子が作成される。
ここで、設定画面表示部212によって表示された設定画面で分割数「8」が設定された場合、「製本綴じ」の設定ボタンを表示して、使用者がそのボタンを押下して製本綴じ原稿を読み取らせると、図15(B)に示した頁単位画像データを含む読取データが得られる。
ここで、図15(B)の上下反転した「1」,「8」,「7」,「6」は、それぞれ、頁単位読取データ#1〜#4の頁単位画像データを示し、「2」,「3」,「4」,「5」は、それぞれ、頁単位読取データ#5〜#8の頁単位画像データを示す。
As shown in FIG. 15A, in the case of a bound and bound document having a division number “8”, an arrangement order “forward / horizontal direction”, and a page unit direction “vertical”, a cut is made in a bold line part, and a broken line part is folded in a valley. When the one-dot chain line portion is folded in a mountain, a booklet having “1” to “8” as 1 to 8 pages is created.
Here, when the division number “8” is set on the setting screen displayed by the setting screen display unit 212, a “binding binding” setting button is displayed, and the user presses the button to bind the bound binding document. Is read, the read data including the page unit image data shown in FIG. 15B is obtained.
Here, “1”, “8”, “7”, and “6” that are vertically inverted in FIG. 15B indicate the page unit image data of the page unit read data # 1 to # 4, respectively, and “2”. ”,“ 3 ”,“ 4 ”, and“ 5 ”indicate page unit image data of page unit read data # 5 to # 8, respectively.

このとき、頁単位読取データ#1〜#8の分割領域位置は、それぞれ、「分割領域位置1」〜「分割領域位置8」である。
頁単位順序決定部232は、図16に例示したテーブルを参照して、頁単位読取データ#1〜#8に、それぞれ、頁単位順序入力値「1」,「8」,「7」,「6」,「2」,「3」,「4」,「5」を割り当てる。
頁単位並び替え部236は、割り当てられた頁単位順序入力値に応じて、頁単位読取データ#1〜#8を並び替える。
上下反転決定部238は、図16に例示したテーブルを参照して、頁単位読取データ#1〜#4(「1」,「8」,「7」,「6」)について上下反転が必要であると決定し、上下反転部242は、頁単位読取データ#1〜#4の頁単位画像データに対して、上下反転処理を行う。
以上の処理により、図15(C)に示すような、正しい順序で並んだ正しい向きの頁単位が生成される。
At this time, the divided region positions of the page-unit read data # 1 to # 8 are “divided region position 1” to “divided region position 8”, respectively.
The page unit order determining unit 232 refers to the table illustrated in FIG. 16 and inputs the page unit order input values “1”, “8”, “7”, “ “6”, “2”, “3”, “4”, “5” are assigned.
The page unit rearrangement unit 236 rearranges the page unit read data # 1 to # 8 according to the assigned page unit order input value.
The vertical inversion determination unit 238 needs to invert the page-unit read data # 1 to # 4 (“1”, “8”, “7”, “6”) with reference to the table illustrated in FIG. When it is determined that there is, the upside down unit 242 performs upside down processing on the page unit image data of the page unit read data # 1 to # 4.
With the above processing, page units with the correct orientation arranged in the correct order as shown in FIG. 15C are generated.

[変形例2]
上述した実施形態においては、設定処理部210は、使用者がUI装置130を操作して入力された設定を用いて設定するとしたが、使用者が入力するのではなく、集約原稿から自動で設定してもよい。
例えば、各頁単位に何頁目化を示す頁数が付されている場合、その頁数を読み取ることによって、頁単位の配列順を設定し、分割数を設定してもよい。
さらに、OCR(Optical Character Recognition)処理等によって頁単位に含まれる文字の上下を認識することによって、頁単位向きを設定してもよい。
さらに、1枚の用紙に印刷された頁単位の向きの異同を認識することによって、綴じ位置を設定してもよい。
[Modification 2]
In the above-described embodiment, the setting processing unit 210 is set using the setting input by the user operating the UI device 130. However, the setting processing unit 210 is not set by the user but automatically set from the aggregated document. May be.
For example, when the number of pages indicating the number of pages is attached to each page unit, the order of arrangement in page units may be set by reading the number of pages, and the number of divisions may be set.
Furthermore, the page unit orientation may be set by recognizing the upper and lower sides of characters included in the page unit by OCR (Optical Character Recognition) processing or the like.
Further, the binding position may be set by recognizing the difference in the direction of the page unit printed on one sheet.

また、上述した実施形態においては、分割数(集約原稿の1頁に含まれる頁単位数)の例として2,4,8,16を挙げたが、これらの数に限定されず、例えば分割数9であってもよい。
また、上述した実施形態においては、設定された分割数及び配列順に応じて、画像読取装置140が集約原稿の1頁から頁単位ごとに読み取るとしたが、画像読取装置140は、集約原稿の1頁全部を読み取り、得られた読取データを、設定された分割数及び配列順に応じて、頁単位ごとに分割してもよい。
In the above-described embodiment, 2, 4, 8, and 16 are given as examples of the number of divisions (number of page units included in one page of the aggregated document). However, the number of divisions is not limited to these numbers. 9 may be sufficient.
In the above-described embodiment, the image reading device 140 reads the page of the consolidated original page by page unit according to the set number of divisions and the order of arrangement. The entire page may be read, and the obtained read data may be divided for each page unit according to the set division number and arrangement order.

1・・・画像処理装置
130・・・UI装置
140・・・画像読取装置
150・・・印刷装置
20・・・画像処理プログラム
210・・・設定処理部
212・・・設定画面表示部
214・・・設定受付部
220・・・原稿読取処理部
222・・・読取データ取得部
230・・・画像データ生成処理部
232・・・頁単位順序決定部
234・・・順序決定テーブル格納部
236・・・頁単位並び替え部
238・・・上下反転決定部
240・・・反転決定テーブル格納部
242・・・上下反転部
244・・・画像データ生成部
260・・・画像データ格納部
262・・・画像形成処理部
DESCRIPTION OF SYMBOLS 1 ... Image processing apparatus 130 ... UI apparatus 140 ... Image reading apparatus 150 ... Printing apparatus 20 ... Image processing program 210 ... Setting process part 212 ... Setting screen display part 214. .. Setting accepting unit 220... Document reading processing unit 222... Reading data acquiring unit 230... Image data generation processing unit 232 .. page unit order determining unit 234. .. page unit rearrangement unit 238... Vertical inversion determination unit 240... Inversion determination table storage unit 242... Vertical inversion unit 244.・ Image formation processor

Claims (5)

複数の頁単位が1つの頁に集約された両面印刷の集約原稿である場合、該両面印刷の集約原稿が長辺綴じであるか短辺綴じであるかの設定を受け付ける設定受付手段と、
前記設定受付手段により受け付けられた長辺綴じであるか短辺綴じであるかの設定に基づいて頁単位の順序を決定し、決定された順序に基づいて頁単位を並び替えて各頁単位を1つの頁とする画像データを生成する画像データ生成手段と
を有する画像処理装置。
A setting accepting unit that accepts a setting of whether the double-sided printing original document is long-side binding or short-side binding when a plurality of page units is a double-sided printing original document integrated into one page;
The order of the page units is determined based on the setting of the long side binding or the short side binding received by the setting accepting unit, and the page units are rearranged based on the determined order. An image processing apparatus comprising: image data generating means for generating image data for one page.
前記設定受付手段は、集約画像を頁単位に分割する分割数と、1つの集約画像における頁単位の配列順との設定をさらに受け付け、
前記画像データに生成手段は、設定された分割数と配列順とにさらに基づいて、各頁単位を1つの頁とする画像データを生成する
請求項1に記載の画像処理装置。
The setting accepting unit further accepts a setting of the number of divisions for dividing the aggregated image into pages and the arrangement order of the pages in one aggregated image ,
The image data in the generating means, the image processing apparatus according to claim 1, further based on the set division number and arrangement order, and generates an image data of each page unit and one page.
前記画像データ生成手段は、頁単位を並べ替えるときに、頁単位の上下を反転させる
請求項1に記載の画像処理装置。
The image processing apparatus according to claim 1, wherein the image data generation unit reverses the top and bottom of the page unit when rearranging the page unit.
複数の頁単位が1つの頁に集約された両面印刷の集約原稿である場合、該両面印刷の集約原稿が長辺綴じであるか短辺綴じであるかの設定を受け付ける設定受付手段と、
前記設定受付手段により受け付けられた長辺綴じであるか短辺綴じであるかの設定に基づいて頁単位の順序を決定し、決定された順序に基づいて頁単位を並び替えて各頁単位を1つの頁とする画像を記録媒体に形成する画像形成手段と
を有する画像形成装置。
A setting accepting unit that accepts a setting of whether the double-sided printing original document is long-side binding or short-side binding when a plurality of page units is a double-sided printing original document integrated into one page;
The order of the page units is determined based on the setting of the long side binding or the short side binding received by the setting accepting unit, and the page units are rearranged based on the determined order. An image forming apparatus comprising: an image forming unit that forms an image for one page on a recording medium.
複数の頁単位が1つの頁に集約された両面印刷の集約原稿である場合、該両面印刷の集約原稿が長辺綴じであるか短辺綴じであるかの設定を受け付ける設定受付ステップと、
前記設定受付ステップにより受け付けられた長辺綴じであるか短辺綴じであるかの設定に基づいて頁単位の順序を決定し、決定された順序に基づいて頁単位を並び替えて各頁単位を1つの頁とする画像データを生成する生成ステップと
をコンピュータに実行させるプログラム。
A setting acceptance step for accepting a setting as to whether the double-sided printing original document is long-side binding or short-side binding when a plurality of page units is a double-sided printing original document integrated into one page;
The order of page units is determined based on the setting of whether long-edge binding or short-edge binding is accepted by the setting accepting step, and the page units are rearranged based on the determined order. A program for causing a computer to execute a generation step of generating image data for one page.
JP2012186367A 2012-08-27 2012-08-27 Image processing apparatus, image forming apparatus, and program Active JP5958883B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012186367A JP5958883B2 (en) 2012-08-27 2012-08-27 Image processing apparatus, image forming apparatus, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012186367A JP5958883B2 (en) 2012-08-27 2012-08-27 Image processing apparatus, image forming apparatus, and program

Publications (2)

Publication Number Publication Date
JP2014045327A JP2014045327A (en) 2014-03-13
JP5958883B2 true JP5958883B2 (en) 2016-08-02

Family

ID=50396311

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012186367A Active JP5958883B2 (en) 2012-08-27 2012-08-27 Image processing apparatus, image forming apparatus, and program

Country Status (1)

Country Link
JP (1) JP5958883B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3717742B2 (en) * 2000-03-29 2005-11-16 大日本スクリーン製造株式会社 Book data generation device and book data generation method
JP2007324739A (en) * 2006-05-30 2007-12-13 Kyocera Mita Corp Image forming apparatus, and program
JP4784546B2 (en) * 2007-04-04 2011-10-05 村田機械株式会社 Image processing device

Also Published As

Publication number Publication date
JP2014045327A (en) 2014-03-13

Similar Documents

Publication Publication Date Title
US8438478B2 (en) Displaying an overlapped print preview for multiple pages with different finishing options
US11386046B2 (en) Apparatus for setting file name for scan image, method of controlling same, and storage medium
US8159506B2 (en) User interface device and image displaying method
JP4801177B2 (en) Image processing apparatus and image processing method
US9203983B2 (en) Image forming apparatus and image data processing method
JP2007013799A (en) System, method for inputting document image data and computer program
EP3352441A1 (en) Scanner, scanning control program, and image file generating method
JP6070976B2 (en) Image processing apparatus, image processing system, and program
JP5958883B2 (en) Image processing apparatus, image forming apparatus, and program
JP6544637B2 (en) INFORMATION PROCESSING APPARATUS, IMAGE READING APPARATUS, IMAGE FORMING APPARATUS, AND PROGRAM
JP4968937B2 (en) Image forming apparatus
JP2010258632A (en) Image forming apparatus and image formation system, and printer driver
JP2016120626A (en) Image forming apparatus, image forming method, control program and image forming system
JP6607042B2 (en) Image forming apparatus and image forming method
JP2014121043A (en) Image generation device, method and program
JP4999729B2 (en) Image processing method and image processing apparatus
CN110297610B (en) Image processing apparatus
JP5416176B2 (en) Terminal device and printer device
JP4881897B2 (en) Image processing method and image processing apparatus
JP6443752B2 (en) Image forming apparatus, image forming method, and printer driver
JP5193340B2 (en) Printing method and printing program
JP2019220822A (en) Image processing system and program
JP4877613B2 (en) Variable data output control method, variable data output control device, and variable data output control program
JP2003234859A (en) Image processor
JP2012088704A (en) Image forming device and information terminal

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150306

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160310

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160314

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160427

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20160530

R150 Certificate of patent or registration of utility model

Ref document number: 5958883

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160612

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350