JP5644995B2 - Image forming apparatus and alignment program - Google Patents

Image forming apparatus and alignment program Download PDF

Info

Publication number
JP5644995B2
JP5644995B2 JP2009202629A JP2009202629A JP5644995B2 JP 5644995 B2 JP5644995 B2 JP 5644995B2 JP 2009202629 A JP2009202629 A JP 2009202629A JP 2009202629 A JP2009202629 A JP 2009202629A JP 5644995 B2 JP5644995 B2 JP 5644995B2
Authority
JP
Japan
Prior art keywords
page
image
reading
read
image data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2009202629A
Other languages
Japanese (ja)
Other versions
JP2011055267A (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 JP2009202629A priority Critical patent/JP5644995B2/en
Publication of JP2011055267A publication Critical patent/JP2011055267A/en
Application granted granted Critical
Publication of JP5644995B2 publication Critical patent/JP5644995B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Facsimiles In General (AREA)
  • Storing Facsimile Image Data (AREA)
  • Editing Of Facsimile Originals (AREA)

Description

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

スキャナーの原稿読取機構として、通常、ガラスの上に原稿をのせて読取処理を行なうフラットベッド型や原稿トレイにセットされた原稿を搬送路を搬送することで読取処理を行なうADF型(オートドキュメントフィーダー)がある。   As a document reading mechanism of a scanner, a flatbed type in which an original is placed on a glass for reading processing or an ADF type (auto document feeder) in which reading processing is performed by conveying a document set on a document tray along a conveyance path. )

このADFの中には、両面ADF(DADF)とも称され、用紙を反転する反転搬送路を設け、若しくは、センサーを原稿の表方向と裏方向に複数配置し、原稿の両面を読み取れるようにした読取機構がある。   This ADF, also called double-sided ADF (DADF), is provided with a reverse conveyance path for reversing the paper, or a plurality of sensors are arranged in the front and back directions of the original so that both sides of the original can be read. There is a reading mechanism.

ADF型で読取処理を行なう場合、その読取機構の構造(原稿を搬送路上を搬送して読み取りを行なう構造)により冊子などの複数の原稿が綴じられた文書を読み取る場合には各原稿に解くことが必要となる。また、読取対象の文書を解けない場合には、1ページずつめくりながらフラットベット型の読取機構にセットすることが必要である。   When performing the reading process with the ADF type, when reading a document in which a plurality of originals such as a booklet are bound due to the structure of the reading mechanism (a structure in which the original is conveyed on the conveyance path), each document is unwound. Is required. Further, when the document to be read cannot be solved, it is necessary to set it in a flatbed type reading mechanism while turning one page at a time.

特許文献1に開示された従来技術では、ページ分割機能とページ再配置機能を持つことで、原稿裏表の画像を4ページ分の画像に分割し、これをページ順に並べ替えることが可能となっている。これにより、ユーザーは、ADFを使って一度の操作で原稿を読み取りながら、あたかも冊子を1ページずつ順番にスキャンしたかのような出力を得ることができるようになった。   The prior art disclosed in Patent Document 1 has a page division function and a page rearrangement function, so that it is possible to divide the front and back images into four pages of images and rearrange them in page order. Yes. As a result, the user can obtain an output as if the booklet was scanned one page at a time while reading the document with one operation using the ADF.

特開2007−324739号公報JP 2007-324739 A

本発明は、読取元の文書全ページの画像データ容量分の記憶領域を必要とすることなく、該文書のページ構成に基づいて読取文書を整列できるようにした画像形成装置および整列プログラムを提供することを目的とする。   The present invention provides an image forming apparatus and an alignment program capable of aligning a read document based on the page configuration of the document without requiring a storage area corresponding to the image data capacity of all pages of the source document. For the purpose.

上記目的を達成するため、請求項1の発明は、複数の印刷用紙の面それぞれの中央の両側に2ページ分の画像が印刷されて重ねられ、前記中央が綴じられて構成される冊子文書の画像データを処理する画像処理装置であって、前記冊子文書に綴じられていない状態の印刷用紙から読み取られたか、または、前記冊子文書の見開き面から読み取られたかに応じて、前記読み取られた画像に含まれる前記ページの画像それぞれのページ番号を決定するページ番号決定手段と、前記読み取られた画像に含まれる前記ページそれぞれの画像のページオブジェクトを、識別番号を付して出力するページオブジェクト出力手段と、前記冊子文書に綴じられていない状態の印刷用紙または前記冊子文書の見開き面のそれぞれから読み取られたこれらの画像に含まれる前記2ページ分の画像それぞれに、前記決定されたページ番号を付けて、前記決定された前記ページ画像それぞれのページ番号に基づいて、前記出力されたページオブジェクトそれぞれの識別番号を整列して、整列された状態で読み取りが行われた文書を作成するための前記ページ構造情報を作成する作成手段とを具備する。 In order to achieve the above object, the invention according to claim 1 is a booklet document configured by printing and superimposing two pages of images on both sides of the center of each surface of a plurality of printing sheets, and binding the center. An image processing apparatus for processing image data, wherein the read image is read according to whether it is read from a printing paper that is not bound to the booklet document or read from a spread surface of the booklet document. Page number determining means for determining the page number of each image of the page included in the page, and page object output means for outputting the page object of the image of each page included in the read image with an identification number attached thereto And these images read from each of the printing paper that is not bound to the booklet document or the facing surface of the booklet document. The determined page number is assigned to each of the two pages of images to be rotated, and the identification numbers of the output page objects are aligned based on the page numbers of the determined page images. Creating means for creating the page structure information for creating a document read in an aligned state .

また、請求項2の発明は、請求項1の発明において、前記読取手段は、前記印刷用紙を搬送して読み取る搬送読取機構と、原稿台に設置された前記印刷用紙を読み取る原稿台読取機構とを備え、前記ページ番号決定手段は、前記搬送読取機構に前記印刷用紙が設置されたと検知された場合は、前記冊子文書に綴じられていない状態の印刷用紙から読み取られたと判断し、前記原稿台読取機構に前記印刷用紙が設置されたと検知された場合は、前記冊子文書の見開き面から読み取られたと判断して、前記読み取られた画像それぞれに含まれる前記ページそれぞれのページ番号を決定する。 According to a second aspect of the present invention, in the first aspect of the invention, the reading unit includes a conveyance reading mechanism that conveys and reads the printing paper, and a document table reading mechanism that reads the printing paper placed on the document table. The page number determination means determines that the printing paper is read from the printing paper not bound to the booklet document when it is detected that the printing paper is installed in the transport reading mechanism, and the document table When it is detected that the printing paper is installed in the reading mechanism, it is determined that the printing paper has been read from the facing side of the booklet document, and the page number of each of the pages included in each of the read images is determined.

また、請求項3の発明は、請求項1または2の発明において、前記読み取られた画像それぞれを前記中央で前記2ページ分の画像に分割する分割手段をさらに具備し、前記ページ番号決定手段は、前記分割された画像それぞれに対してページ番号を決定する。 The invention of claim 3 further comprises a dividing means for dividing each of the read images into the images of the two pages at the center in the invention of claim 1 or 2 , wherein the page number determining means is A page number is determined for each of the divided images.

また、請求項4の発明は、請求項1または2の発明において、前記ページ番号決定手段は、前記冊子文書に綴じられていない状態の印刷用紙の面それぞれの画像が、前記冊子文書の外側になる面の画像から順に読み取られたときには、前記複数の印刷用紙の面の中央に対して一方の側にある前記ページの画像に、読み取りの順番に1つずつ増加するようにページ番号を決定し、前記複数の印刷用紙の面の中央に対して他方の側にある前記ページの画像に、読み取りとは逆の順番で、前記複数の印刷用紙の面の中央に対して一方の側にある前記ページの画像に付した最大のページ番号の次から1つずつ増加するようにページ番号を決定する。 According to a fourth aspect of the present invention, in the first or second aspect of the present invention, the page number determining means is configured so that each image of the surface of the printing paper that is not bound to the booklet document is outside the booklet document. The page number is determined so that the page image is incremented by one in the order of reading in the image of the page on one side with respect to the center of the surface of the plurality of printing sheets. The image of the page on the other side with respect to the center of the surface of the plurality of printing papers, in the reverse order of reading, on the one side with respect to the center of the surface of the plurality of printing papers The page number is determined so as to increase one by one from the next of the maximum page number assigned to the page image.

また、請求項5の発明は、請求項1または2の発明において、前記ページ番号決定手段は、前記冊子文書の見開き面それぞれの画像が、前記冊子文書の外側になる面の画像から順に読み取られたときには、前記複数の印刷用紙の面の中央に対して一方の側にある前記ページの画像に、読み取りの順番で増加する奇数のページ番号を決定し、前記複数の印刷用紙の面の中央に対して他方の側にある前記ページの画像に、読み取りとは逆の順番で、前記複数の印刷用紙の面の中央に対して一方の側にある前記ページの画像に付した最大のページ番号の次の番号から増加する偶数のページ番号を決定する。 According to a fifth aspect of the present invention, in the first or second aspect of the invention, the page number determining means reads each image of the spread surface of the booklet document sequentially from the image of the surface on the outside of the booklet document. The odd number of page numbers increasing in the reading order is determined for the image of the page on one side with respect to the center of the surface of the plurality of printing papers, and the center of the surface of the plurality of printing papers is determined. In contrast, the image of the page on the other side has the maximum page number assigned to the image of the page on one side with respect to the center of the surface of the plurality of printing papers in the reverse order of reading. Determine even page numbers that increment from the next number.

また、請求項の発明は、請求項1乃至5のいずれかの発明において、前記読み取られた画像のイメージオブジェクトを出力するイメージオブジェクト出力手段をさらに具備し、前記作成手段は、前記出力されたイメージオブジェクトに、前記出力されたページオブジェクトそれぞれをさらに関連付けて、前記ページ構造情報を作成する。 The invention of claim 6 further comprises image object output means for outputting an image object of the read image in any of the inventions of claims 1 to 5 , wherein the creation means outputs the output. The page structure information is created by further associating each of the output page objects with an image object.

また、請求項の発明は、請求項の発明において、前記出力されたイメージオブジェクトに、前記出力されたページオブジェクトを関連付け、前記作成されたページ構造情報の対応付けを行なう対応付け手段を具備する。 The invention according to claim 7 is the invention according to claim 6 , further comprising association means for associating the output page object with the output image object and associating the created page structure information. To do.

また、請求項の発明は、請求項1乃至7のいずれかの発明において、前記冊子文書に綴じられていない状態の印刷用紙の外側の1つの面には、前記2ページ分の画像として表紙の画像が印刷され、前記冊子文書の表紙が読み取られるか否かを判別する判別手段をさらに具備する。 The invention according to claim 8 is the cover according to any one of claims 1 to 7 , wherein an image of the two pages is formed on one outer surface of the printing paper that is not bound to the booklet document. A discriminating means for discriminating whether or not the cover of the booklet document is read.

また、請求項の発明は、複数の印刷用紙の面それぞれの中央の両側に2ページ分の画像が印刷されて重ねられ、前記中央が綴じられて構成される冊子文書の画像データを処理する画像処理装置のコンピュータを、前記冊子文書に綴じられていない状態の印刷用紙から読み取られたか、または、前記冊子文書の見開き面から読み取られたかに応じて、前記読み取られた画像に含まれる前記ページの画像それぞれのページ番号を決定するページ番号決定手段、前記読み取られた画像に含まれる前記ページそれぞれの画像のページオブジェクトを、識別番号を付して出力するページオブジェクト出力手段、前記冊子文書に綴じられていない状態の印刷用紙または前記冊子文書の見開き面のそれぞれから読み取られたこれらの画像に含まれる前記2ページ分の画像それぞれに、前記決定されたページ番号を付けて、前記決定された前記ページ画像それぞれのページ番号に基づいて、前記出力されたページオブジェクトそれぞれの識別番号を整列して、整列された状態で読み取りが行われた文書を作成するための前記ページ構造情報を作成する作成手段として機能させる。 According to a ninth aspect of the present invention , image data of a booklet document formed by printing and superimposing two pages of images on both sides of the center of each surface of a plurality of print sheets and binding the center is processed. The page included in the read image according to whether the computer of the image processing apparatus is read from the printing paper that is not bound to the booklet document or from the spread surface of the booklet document Page number determining means for determining the page number of each of the images, page object output means for outputting the page object of each image included in the read image with an identification number, and binding to the booklet document The 2 included in these images read from each of the unprinted printing paper or the spread surface of the booklet document Pages are assigned the determined page numbers, and the identification numbers of the output page objects are aligned based on the determined page numbers of the page images. It is made to function as a creation means for creating the page structure information for creating a document that has been read in the read state.

本発明の請求項1によれば、読取元の文書全ページの画像データ容量分の記憶領域を必要とすることなく、該文書を構成するページを整列することができるようになるという効果を奏する。   According to the first aspect of the present invention, there is an effect that the pages constituting the document can be arranged without requiring a storage area corresponding to the image data capacity of all the pages of the reading source document. .

また、請求項2によれば、読取機構に応じた読み取りに応じたページ構成に基づいてページを整列することができるようになるという効果を奏する。   According to the second aspect of the present invention, it is possible to arrange the pages based on the page configuration corresponding to the reading according to the reading mechanism.

また、請求項3によれば、分割した画像データを元に、読取元の文書全ページの画像データ容量分の記憶領域を必要とすることなく、該文書を構成するページを整列することができるようになるという効果を奏する。 According to the third aspect of the present invention, the pages constituting the document can be aligned based on the divided image data without requiring a storage area corresponding to the image data capacity of all pages of the source document. There is an effect of becoming .

また、請求項4によれば、冊子文書を分解した印刷用紙を読み取った場合であっても、読取元の文書全ページの画像データ容量分の記憶領域を必要とすることなく、該文書を構成するページを整列することができるようになるという効果を奏する。   According to a fourth aspect of the present invention, even when a print sheet obtained by disassembling a booklet document is read, the document can be configured without requiring a storage area corresponding to the image data capacity of all pages of the read source document. The effect is that the pages to be arranged can be arranged.

また、請求項5によれば、冊子文書の状態のままで読み取った場合であっても読取元の文書全ページの画像データ容量分の記憶領域を必要とすることなく、該文書を構成するページを整列することができるようになるという効果を奏する。   According to a fifth aspect of the present invention, even when a booklet document is read as it is, the pages constituting the document can be stored without requiring a storage area corresponding to the image data capacity of all pages of the reading source document. There is an effect that can be aligned.

また、請求項によれば、ページオブジェクトに基づいて文書を構成するページを整列することができるようになるという効果を奏する。 Further, according to the sixth aspect , there is an effect that the pages constituting the document can be arranged based on the page object .

また、請求項によれば、整列したページからなる文書を簡単な操作によって形成できるという効果を奏する。 Further, according to the seventh aspect, there is an effect that a document composed of aligned pages can be formed by a simple operation .

また、請求項によれば、表紙を含めた読取処理においても、読取文書のページを整列することができるようになるという効果を奏する。 Further, according to the eighth aspect , there is an effect that the pages of the read document can be aligned even in the reading process including the cover .

また、請求項によれば、読取元の文書全ページの画像データ容量分の記憶領域を必要とすることなく、該文書のページ構成に基づいて読取文書を整列できるようになるという効果を奏する。 According to the ninth aspect of the present invention, it is possible to arrange the read documents based on the page configuration of the document without requiring a storage area corresponding to the image data capacity of all the pages of the read source document. .

本発明の実施の形態における画像形成装置および整列プログラムを適用して構成した画像形成装置の装置構成図の一例。1 is an example of an apparatus configuration diagram of an image forming apparatus configured by applying an image forming apparatus and an alignment program according to an embodiment of the present invention. 綴じられた状態の文書とその文書を構成する印刷用紙を示す図。The figure which shows the document of the bound state and the printing paper which comprises the document. 本発明の実施の形態における画像形成装置の詳細な構成を示すブロック図。1 is a block diagram showing a detailed configuration of an image forming apparatus according to an embodiment of the present invention. 図3に示すブロック図を構成する画像処理部で行なわれる処理状態を示す図。The figure which shows the processing state performed by the image process part which comprises the block diagram shown in FIG. ページ順序管理テーブルの作成順序を示す図。The figure which shows the creation order of a page order management table. 読取ファイル情報の一例を示す図。The figure which shows an example of reading file information. ページツリーノードオブジェクト、ページオブジェクト、イメージオブジェクトの関係を示す図。The figure which shows the relationship between a page tree node object, a page object, and an image object. 本発明の実施の形態における画像形成装置により行なわれる詳細な処理の流れを示すフローチャート。4 is a flowchart showing a detailed flow of processing performed by the image forming apparatus according to the embodiment of the present invention. 図8に示す画像処理の詳細な流れを示すフローチャート。The flowchart which shows the detailed flow of the image processing shown in FIG. 図8に示すページ順序管理処理の詳細な流れを示すフローチャート。The flowchart which shows the detailed flow of the page order management process shown in FIG. 図8に示すデータフォーマット処理の詳細な流れを示すフローチャート。The flowchart which shows the detailed flow of the data format process shown in FIG. 本発明の実施の形態における画像形成装置の詳細な構成を示すブロック図。1 is a block diagram showing a detailed configuration of an image forming apparatus according to an embodiment of the present invention. 読取ファイル情報の一例を示す図。The figure which shows an example of reading file information. 実施例2における画像処理の詳細な流れを示すフローチャート。9 is a flowchart illustrating a detailed flow of image processing in the second embodiment. 実施例2におけるデータフォーマット処理の詳細な流れを示すフローチャート。9 is a flowchart showing a detailed flow of data format processing in Embodiment 2. ページツリーノードオブジェクト、ページオブジェクト、イメージオブジェクトの関係を示す図。The figure which shows the relationship between a page tree node object, a page object, and an image object. 本発明の実施の形態における画像形成装置の詳細な構成を示すブロック図。1 is a block diagram showing a detailed configuration of an image forming apparatus according to an embodiment of the present invention. 綴じられた状態の文書とその文書を構成する印刷用紙を示す図。The figure which shows the document of the bound state and the printing paper which comprises the document. 図3に示すブロック図を構成する画像処理部で行なわれる処理状態を示す図。The figure which shows the processing state performed by the image process part which comprises the block diagram shown in FIG. ページ順序管理テーブルの作成順序を示す図。The figure which shows the creation order of a page order management table. 読取ファイル情報の一例を示す図。The figure which shows an example of reading file information. 実施例3におけるページ順序管理処理の詳細な流れを示すフローチャート。10 is a flowchart showing a detailed flow of page order management processing in Embodiment 3. 実施例3におけるページ順序管理処理の詳細な流れを示すフローチャート。10 is a flowchart showing a detailed flow of page order management processing in Embodiment 3.

以下、本発明に係わる画像形成装置および整列プログラムの一実施例を添付図面を参照して詳細に説明する。   Hereinafter, an embodiment of an image forming apparatus and an alignment program according to the present invention will be described in detail with reference to the accompanying drawings.

本発明の画像形成装置の一例として、原稿を読み取ることにより画像データを形成する読取装置(以下、「スキャナ」という)がある。   As an example of the image forming apparatus of the present invention, there is a reading apparatus (hereinafter referred to as “scanner”) that forms image data by reading a document.

スキャナには、読取対象の原稿をセットする原稿台読取機構であるフラットベッド型の原稿台のほか、原稿を搬送して読み取る搬送読取機構であるADF(Automatic Document Feeder)が設けられている。また、このADFに代えて、スキャナ内の搬送路を搬送することにより原稿の読み取り面を反転し、反転した他の読み取り面を読み取ることによって両面の読み取りを可能とした両面ADF(DADF:Duplex Automatic Document Feeder)を設けた構成とすることも可能である。   The scanner is provided with an ADF (Automatic Document Feeder) which is a conveyance reading mechanism that conveys and reads a document in addition to a flat bed type document table that is a document table reading mechanism for setting a document to be read. Further, instead of this ADF, a double-sided ADF (DADF: Duplex Automatic) that can read both sides by reversing the reading surface of the original by conveying the conveyance path in the scanner and reading the other reading surface that has been reversed. It is also possible to adopt a configuration in which a Document Feeder) is provided.

通常、冊子やカタログなどのように束ねられた状態にある冊子文書(以下、単に「文書」という)の読み取りを行なう場合、その束ねられた状態を解いて分解した印刷用紙をADFにセットし、順次搬送することによって行なう読取形態のほか、束ねられた状態のままでユーザがページ送りを行なう読取形態がある。   Normally, when reading a booklet document in a bundled state such as a booklet or a catalog (hereinafter simply referred to as “document”), set the print paper disassembled and disassembled in the bundled state in the ADF, In addition to the reading mode performed by sequentially conveying, there is a reading mode in which the user feeds pages while being bundled.

前者の読取形態で読み取りを行なう場合には、ADFを用いて行なうほか、フラットベッド型の原稿台に原稿を一枚づつセットして読み取ることができるが、後者の読取形態で読み取りを行なう場合には、フラットベッド型の原稿台に原稿の読み取りページを見開いてセットすることが必要となる。   When reading in the former reading form, in addition to using the ADF, it is possible to read originals one by one on a flat bed type platen, but when reading in the latter reading form. Therefore, it is necessary to open and set a document reading page on a flat bed type document table.

図1は、本発明の実施の形態における画像形成装置および整列プログラムを適用して構成した画像形成装置の装置構成図の一例である。   FIG. 1 is an example of an apparatus configuration diagram of an image forming apparatus configured by applying an image forming apparatus and an alignment program according to an embodiment of the present invention.

図1には、画像管理装置100と画像形成装置の一例であるスキャナ200がネットワーク回線を介して接続されたシステム構成を示しており、画像管理装置100はハードディスクやデータベースなどからなる画像保存部101が接続された状態を示している。   FIG. 1 shows a system configuration in which an image management apparatus 100 and a scanner 200 which is an example of an image forming apparatus are connected via a network line. The image management apparatus 100 includes an image storage unit 101 including a hard disk and a database. Indicates a connected state.

この図1に示すスキャナ200では、複数の印刷用紙を束ねて冊子のように綴じられた状態にある文書の読み取り処理を行なうに際し、読取操作者(「ユーザ」ともいう)により文書が解かれ、解かれた状態の各印刷用紙を1枚づつ読み取る処理(以下、「読取処理」という)を行なう。   In the scanner 200 shown in FIG. 1, when reading a document in a state where a plurality of printing sheets are bundled and bound like a booklet, the document is unwound by a reading operator (also referred to as a “user”). A process (hereinafter referred to as “reading process”) of reading each undissolved print sheet one by one is performed.

各印刷用紙には、綴じられた状態の文書の内容が複数ページの画情報が印刷されており、文書が「A4サイズ」の大きさからなる場合には解かれた各印刷用紙は文書サイズの倍の用紙面積を有する「A3サイズ」である。   Each print sheet is printed with a plurality of pages of image information of the bound document, and if the document has a size of “A4 size”, each unprinted print sheet has a document size. “A3 size” having double the paper area.

すなわち、A3サイズからなる印刷用紙の表面には綴じられた状態の文書における2ページ分の画情報が印刷された状態にあり、また裏面には同じように2ページ分の画情報が印刷された状態にあることから、各印刷用紙には合計4ページ分の画情報が印刷されている。   That is, the image information for two pages in the bound document is printed on the front side of the A3 size printing paper, and the image information for two pages is printed on the back side in the same manner. Since it is in a state, image information for a total of four pages is printed on each printing sheet.

図2には、冊子のように綴じられた状態の文書と、その文書を解くことによって分離された各印刷用紙における印刷状態を示している。   FIG. 2 shows a document in a bound state like a booklet and a printing state on each printing paper separated by solving the document.

図2(a)は、冊子のように綴じられた文書を示した図であって、この図2(a)では、印刷用紙2枚の全8ページからなる文書を示しており、表紙を先頭の1ページ目とし、裏表紙を最終の8ページ目としている。   FIG. 2A is a diagram showing a document bound like a booklet. FIG. 2A shows a document consisting of eight pages of two printing sheets, with the cover at the top. And the back cover is the final eighth page.

図2(b)、図2(c)は、図2(a)の文書を解くことにより各印刷用紙に分離した状態である。   2B and 2C show a state where the document shown in FIG. 2A is separated into printing sheets by solving the document.

この図2(b)は、表紙を含む第一枚目の印刷用紙(以下、「第1印刷用紙」という)を示し、図2(c)は裏表紙を含む第二枚目の印刷用紙(以下、「第2印刷用紙」という)を示している。   FIG. 2B shows a first printing paper (hereinafter referred to as “first printing paper”) including a front cover, and FIG. 2C shows a second printing paper (hereinafter referred to as “first printing paper”). Hereinafter, it is referred to as “second printing paper”.

図2(b)の第1印刷用紙の内面(折り目の線が内側となるように折る谷折りをしたときの谷側の面)には、2ページ目と裏表紙の8ページ目の前ページである7ページ目が印刷された状態にあり、また、図2(c)の第2印刷用紙の内面には、4ページ目と5ページ目が印刷された状態にある。   The front page of the second page and the eighth page of the back cover is shown on the inner surface of the first printing paper in FIG. 2B (the valley side surface when the fold line is folded so that the line of the crease is inside). The seventh page is printed, and the fourth and fifth pages are printed on the inner surface of the second printing paper of FIG.

図2(d)は、図2(b)に示す第1印刷用紙を用紙中央の折り目を軸として半回転(180度回転)させた状態を示しており、第1印刷用紙の外面(折り目の線が外側になるように折る山折りをしたときの山側の面)に1ページ目と8ページ目が印刷された状態を示している。   FIG. 2D shows a state in which the first printing paper shown in FIG. 2B is half-rotated (turned 180 degrees) about the fold at the center of the paper, and the outer surface of the first printing paper (fold fold) is shown. The first page and the eighth page are printed on the mountain side when the mountain is folded so that the line is on the outside.

また、図2(e)は、図2(c)に示す第2印刷用紙を用紙中央の折り目を軸として半回転(180度回転)させた状態を示しており、第2印刷用紙の外面に6ページ目と3ページ目が印刷された状態にあることを示している。   FIG. 2E shows a state in which the second printing paper shown in FIG. 2C is half-rotated (rotated 180 degrees) around the fold at the center of the paper, and is formed on the outer surface of the second printing paper. It shows that the sixth page and the third page are in a printed state.

図2(f)は、図2(d)の第1印刷用紙の折り目をなくして間開きにした状態を示しており、第1印刷用紙の外面を表面とした場合に表面に8ページ目と1ページ目が印刷された状態にあることを示しており、図2(g)は、図2(e)の第2印刷用紙の折り目をなくして間開きにした状態を示しており、第2印刷用紙の外面を表面とした場合に表面に6ページ目と3ページ目が印刷された状態にあることを示している。   FIG. 2 (f) shows a state in which the crease of the first printing paper of FIG. 2 (d) is eliminated and the gap is widened. When the outer surface of the first printing paper is the front surface, FIG. 2G shows a state in which the first page is printed, and FIG. 2G shows a state in which the second printing paper in FIG. When the outer surface of the printing paper is the front surface, the sixth page and the third page are printed on the front surface.

図2(h)は、図2(f)の第1印刷用紙の中央線を軸として半回転(180度回転)させた状態であって第1印刷用紙の内面を裏面とした場合に裏面に2ページ目と7ページ目が印刷された状態にあることを示しており、図2(i)は、図2(g)の第2印刷用紙の中央線を軸として半回転(180度回転)させた状態であって第2印刷用紙の内面を裏面とした場合に裏面に4ページ目と5ページ目が印刷された状態にあることを示している。   FIG. 2 (h) shows a state in which the first printing paper in FIG. 2 (f) is rotated halfway (180 degrees) about the center line of the first printing paper, and the first printing paper has the inner surface as the back surface. FIG. 2 (i) shows that the second and seventh pages are printed, and FIG. 2 (i) shows a half rotation (180 degree rotation) about the center line of the second printing paper of FIG. 2 (g). In this state, when the inner surface of the second printing paper is the back surface, the fourth and fifth pages are printed on the back surface.

このことから、図1に示すスキャナ200では、フラットベッド型の原稿台若しくはADFを用いて、綴じられた文書を解いた状態の第1印刷用紙と第2印刷用紙の読取処理を行なう。   Accordingly, the scanner 200 shown in FIG. 1 performs reading processing of the first printing paper and the second printing paper in a state where the bound document is unwound using a flat bed type document table or ADF.

このように、フラットベッド型の原稿台若しくはADFのいずれをも用いて読取処理を行なうことができるが、以下ではADFを用いて読取処理を行なった場合について説明する。   As described above, the reading process can be performed using either the flat bed type document table or the ADF. Hereinafter, a case where the reading process is performed using the ADF will be described.

スキャナ200では、読取条件を設定して読取処理を行ない、読み取った各印刷用紙の印刷面ごとの画像データに対して画像処理を行なう。また同時に読取条件を元にその画像データのページ番号を決定するページ順序管理処理を行ない、画像処理後の画像データからイメージオブジェクトおよびページオブジェクトを出力して画像管理装置100へと転送する。また、ページ順序管理処理で決定したページ番号に基づいてページオブジェクトを整列した頁構造情報(以下、「ページツリーノードオブジェクト」という)を作成して画像管理装置100へと転送する。   The scanner 200 sets a reading condition, performs reading processing, and performs image processing on the image data for each printing surface of each read printing paper. At the same time, page order management processing for determining the page number of the image data is performed based on the reading conditions, and the image object and page object are output from the image data after the image processing and transferred to the image management apparatus 100. Also, page structure information (hereinafter referred to as “page tree node object”) in which page objects are arranged based on the page number determined in the page order management process is created and transferred to the image management apparatus 100.

画像管理装置100では、イメージオブジェクト、ページオブジェクト、ページツリーノードオブジェクトを対応付けて管理することで昇降順に整列された状態で読み取りが行なわれた文書が作成される。   The image management apparatus 100 creates a document that has been read in an ascending / descending order by managing image objects, page objects, and page tree node objects in association with each other.

図3は、本発明の実施の形態における画像形成装置の詳細な構成を示す図である。   FIG. 3 is a diagram showing a detailed configuration of the image forming apparatus according to the embodiment of the present invention.

図3において、画像形成装置(スキャナ)200は、コントローラ210、操作パネル220、画像読取処理部230を具備して構成される。   In FIG. 3, the image forming apparatus (scanner) 200 includes a controller 210, an operation panel 220, and an image reading processing unit 230.

ユーザが操作パネル220を操作することにより、その操作により指定された読取条件に基づいて画像読取部230で文書の読取処理が行なわれ、読み取られた画像データをコントローラ210で画像形成の処理を行なう。そして、画像処理後の画像データを画像管理装置100へと転送する。   When the user operates the operation panel 220, the document reading process is performed by the image reading unit 230 based on the reading condition specified by the operation, and the read image data is subjected to the image forming process by the controller 210. . Then, the image data after image processing is transferred to the image management apparatus 100.

このコントローラ210は、ネットワーク制御部211、データフォーマット部212、画像処理部213、ジョブ制御部216を具備しており、操作パネル220は、読取条件入力部221、スキャン指示部223を具備しており、画像読取処理部230は、画像読取部231、読取制御部232を具備して構成されている。   The controller 210 includes a network control unit 211, a data format unit 212, an image processing unit 213, and a job control unit 216. The operation panel 220 includes a reading condition input unit 221 and a scan instruction unit 223. The image reading processing unit 230 includes an image reading unit 231 and a reading control unit 232.

画像読取処理部230の画像読取部231には、原稿台が備えられており、また、その原稿台がADFなどのフィーダーにより構成される場合には原稿台にセットされた読取対象の印刷用紙を搬送する搬送路が備えられている。   The image reading unit 231 of the image reading processing unit 230 is provided with a document table, and when the document table is configured by a feeder such as an ADF, printing paper to be read set on the document table is loaded. A conveying path for conveying is provided.

操作パネル220の読取条件入力部221で読取条件として、読取解像度、読取色彩情報(カラー/モノクロ)、読取倍率のほか、読取対象のページ構成状態を指定する読取モードを入力する。   As a reading condition, the reading condition input unit 221 of the operation panel 220 inputs a reading mode for designating a page configuration state to be read, in addition to reading resolution, reading color information (color / monochrome), and reading magnification.

この読取モードは、冊子などの綴じられた文書を解いて各印刷用紙の読み取りを行なう冊子分離モード、定形・不定形のサイズにカットされたカット紙を読み取るカット紙モードなどがある。ただし、冊子などの綴じられた文書がカット紙を束ねられて構成されており、その文書を解いて読み取りを行なうカット紙モードとする。   This reading mode includes a booklet separation mode in which a bound document such as a booklet is released to read each print sheet, and a cut sheet mode in which a cut sheet cut into a fixed size and an irregular size is read. However, a bound document such as a booklet is formed by bundling cut sheets, and a cut sheet mode in which the document is read and read is set.

冊子スキャン指定部222において、このいずれかの読取モードを指定すると、その指定した読取モードのモード識別情報が読取条件としてジョブ制御部216へと通知される。   When any one of these reading modes is designated in the booklet scan designation unit 222, mode identification information of the designated reading mode is notified to the job control unit 216 as a reading condition.

また、読取条件入力部221において、上記の読取条件を入力し、スキャン指示部223で印刷用紙の読み取りを指示すると、スキャン指示部223は、ジョブ制御部216に対して読み取り指示を行なう。   In addition, when the reading condition input unit 221 inputs the above-described reading conditions and the scan instruction unit 223 instructs to read the printing paper, the scan instruction unit 223 instructs the job control unit 216 to read.

このとき、ジョブ制御部216は、スキャン指示部223から読み取り指示を受信し、読取条件入力部221で入力された読取条件の通知を受けると、読取処理部230の読取制御部232に対してモード識別情報により識別される読取モードに基づく印刷用紙の読取指示を行なう。   At this time, when the job control unit 216 receives the reading instruction from the scan instruction unit 223 and receives the notification of the reading condition input by the reading condition input unit 221, the job control unit 216 sets the mode to the reading control unit 232 of the reading processing unit 230. A printing paper reading instruction is issued based on the reading mode identified by the identification information.

読取制御部232では、画像読取部231を起動してフィーダーの原稿台にセットされた読取対象の印刷用紙を読み取ることにより画像データを生成する。このとき、読取制御部232は、ジョブ制御部216に対して読み取りの開始通知を行なう。また、読取処理が終了した場合にはジョブ制御部216に対して読み取りの終了通知を行なう。   The reading control unit 232 activates the image reading unit 231 to read image data to be read set on the document table of the feeder, thereby generating image data. At this time, the reading control unit 232 notifies the job control unit 216 of the start of reading. Further, when the reading process is completed, a reading completion notification is sent to the job control unit 216.

読取制御部232では、読取モードが「冊子分離モード」である場合には画像読取部231に対して両面読み取りを指示し、画像読取部231では、フィーダーの原稿台にセットされた印刷用紙を、搬送路を搬送することで印刷用紙の片面を読み取り、その後、反転搬送路を搬送することで印刷用紙の読み取り面を反転し、反転した他の読み取り面の読み取りを行なう。   When the reading mode is “booklet separation mode”, the reading control unit 232 instructs the image reading unit 231 to perform double-sided reading, and the image reading unit 231 reads the printing paper set on the document platen of the feeder. By conveying the conveyance path, one side of the printing paper is read, and then by conveying the reverse conveyance path, the reading surface of the printing paper is reversed and the other reversed reading surface is read.

これにより、印刷用紙を読み取った片面ごとの画像データを画像処理部213へと送信する。   As a result, the image data for each side obtained by reading the printing paper is transmitted to the image processing unit 213.

画像処理部213は、画像分割部214、回転処理部215を具備し、画像読取部231で読み取った画像データを読み取り制御部232から受信する。   The image processing unit 213 includes an image dividing unit 214 and a rotation processing unit 215, and receives image data read by the image reading unit 231 from the reading control unit 232.

図2(a)に示すような文書の第1印刷用紙を「冊子分離モード」で読み取り、画像処理部213が受信した画像データの一例を図4(a)の[イ]、図4(b)の[イ]に示している。   An example of image data received by the image processing unit 213 by reading the first print sheet of the document as shown in FIG. 2A in the “booklet separation mode” and FIG. 4B. ) [I].

図4(a)の[イ]は、図2(b)に示すような第1印刷用紙の表面を読み取った画像データを示し、図4(b)の[イ]は、図2(b)に示すような第1印刷用紙の裏面を読み取った画像データを示す。   [A] in FIG. 4A shows image data obtained by reading the surface of the first printing paper as shown in FIG. 2B, and [I] in FIG. 4B shows FIG. 2B. The image data which read the back surface of the 1st printing paper as shown in FIG.

まず、このような片面の画像データを受信した画像処理部213では、その画像データに対して色変換処理等を行なう。さらに、画像処理部213の画像分割部214によって画像データの長辺中心点から垂直直線で均等分割する。この画像分割部214による分割処理によって図4(a)の[イ]、図4(b)の[イ]を均等分割、この場合2分割された状態をそれぞれ図4(a)の[ロ]、図4(b)の[ロ]に示している。   First, the image processing unit 213 that has received such single-sided image data performs color conversion processing or the like on the image data. Further, the image dividing unit 214 of the image processing unit 213 equally divides the image data along the vertical straight line from the center point of the long side. By the dividing process by the image dividing unit 214, [A] in FIG. 4A and [A] in FIG. 4B are equally divided. In this case, the divided state is divided into [B] in FIG. FIG. 4B shows [B].

図4(a)の[ロ]は、図4(a)の[イ]の画像データを均等分割した状態を示し、その画像データの左端側を左ページオブジェクトとし、右端側を右ページオブジェクトとして分割した状態である。また、図4(b)の[ロ]は、図4(b)の[イ]の画像データを均等分割した状態を示し、その画像データの左端側を左ページオブジェクトとし、右端側を右ページオブジェクトとして分割した状態である。   [B] in FIG. 4A shows a state in which the image data in [A] in FIG. 4A is equally divided. The left end side of the image data is a left page object, and the right end side is a right page object. It is in a divided state. [B] in FIG. 4B shows a state in which the image data in [b] in FIG. 4B is equally divided. The left end side of the image data is a left page object, and the right end side is a right page. It is in a state of being divided as an object.

このようにして画像分割部214によって均等分割されると、続いて、画像処理部213の回転処理部215では、均等分割された各画像データを同一方向に回転する。   After being equally divided by the image dividing unit 214 in this way, subsequently, the rotation processing unit 215 of the image processing unit 213 rotates the equally divided image data in the same direction.

図4(a)の[ハ]は、図4(a)の[ロ]の左ページオブジェクトおよび右ページオブジェクトをそれぞれ左方向に90度回転された画像データであり、また同様に、図4(b)の[ハ]は、図4(b)の[ロ]の左ページオブジェクトおよび右ページオブジェクトをそれぞれ左方向に90度回転された画像データである。   [C] in FIG. 4A is image data obtained by rotating the left page object and the right page object of [B] in FIG. 4A by 90 degrees to the left. Similarly, FIG. [c] in (b) is image data obtained by rotating the left page object and the right page object in [b] in FIG.

このように、画像処理部213によって印刷用紙ごとに画像処理が行なわれると、画像処理が行なわれた各画像データ(第1印刷用紙に対して画像処理を行なった場合には図4(a)の[ハ]と図4(b)の[ハ]に示す4つの画像データ)をデータフォーマット部212へと送信する。   As described above, when image processing is performed for each printing sheet by the image processing unit 213, each image data subjected to the image processing (in FIG. 4A when image processing is performed on the first printing sheet). (C) and (four image data shown in [c] in FIG. 4B) are transmitted to the data format unit 212.

また、画像処理部213では、読み取った画像データの数量情報をジョブ制御部216へと通知する。   Further, the image processing unit 213 notifies the job control unit 216 of the quantity information of the read image data.

ジョブ制御部216は、ページ順序管理部217を具備し、画像処理部213から受信した画像データの数量情報を元にページ順序管理部217でページ順序管理処理を行なう。このページ順序管理処理では、図5(c)に示すようなページ順序管理テーブルを作成する。   The job control unit 216 includes a page order management unit 217. The page order management unit 217 performs page order management processing based on the quantity information of the image data received from the image processing unit 213. In this page order management process, a page order management table as shown in FIG.

このページ順序管理部217では、図5(c)に示すようなページ順序管理テーブルの作成に際して、図5(a)のページ順序管理テーブル、図5(b)に示すようなページ順序管理テーブルを順次作成する。   When the page order management unit 217 creates the page order management table as shown in FIG. 5C, the page order management table as shown in FIG. 5A and the page order management table as shown in FIG. Create sequentially.

ページ順序管理部217では、画像処理前の画像データ(第1印刷用紙の表面の画像データと、裏面のデータそれぞれ)が左端側の画像データと右端側の画像データとによって構成されており、左端側の画像データと右端側の画像データとがそれぞれ異なるページオブジェクトによって文書を構成していることを認識する。そして、認識した各ページオブジェクトに対してページ番号を設定する。   In the page order management unit 217, the image data before image processing (the image data on the front surface of the first printing paper and the data on the back surface) are composed of the image data on the left end side and the image data on the right end side. It is recognized that the image data on the side and the image data on the right end side are composed of different page objects. Then, a page number is set for each recognized page object.

このページ番号の設定においては、各印刷用紙における最初の画像データの左端側のページオブジェクト(以下、「左ページオブジェクト」ともいう)に対して「未決定」と設定し、右端側のページオブジェクト(以下、「右ページオブジェクト」ともいう)のページ番号に未使用の最小番号を設定する。さらに、次の画像データの右端側のページオブジェクトに対しても「未決定」と設定し、左端側のページオブジェクトに対して未使用の最小番号を設定する。このときの未使用の最小番号とは、最初の画像データの左端側のページオブジェクトに対して採番した最小番号の次に大きな番号である。   In this page number setting, “undecided” is set for the page object (hereinafter also referred to as “left page object”) on the left end side of the first image data on each printing sheet, and the page object (right end side) Hereinafter, an unused minimum number is set as the page number of “right page object”. Further, “undecided” is also set for the page object on the right end side of the next image data, and an unused minimum number is set for the page object on the left end side. The unused minimum number at this time is the next highest number after the minimum number assigned to the page object on the left end side of the first image data.

これによって、図5(a)に示すようなページ順序管理テーブルが作成される。   As a result, a page order management table as shown in FIG.

図5(a)に示すページ順序管理テーブルは、[ページオブジェクト]項目501、[ページ番号]項目502によって構成され、[ページオブジェクト]項目501は、各画像データのページオブジェクトのページオブジェクト番号であり、[ページ番号]項目502は、[ページオブジェクト]項目501に表すページオブジェクト番号のページオブジェクトが、冊子のように綴じられた状態にある場合に構成するページ番号である。   The page order management table shown in FIG. 5A includes a [page object] item 501 and a [page number] item 502. The [page object] item 501 is a page object number of a page object of each image data. The [page number] item 502 is a page number configured when the page object of the page object number represented in the [page object] item 501 is bound like a booklet.

図5(a)のページ順序管理テーブルの[ページオブジェクト]項目501には、図4(a)の[ハ]の左ページオブジェクトと右ページオブジェクトおよび図4(b)の[ハ]の左ページオブジェクトと右ページオブジェクトそれぞれに対するページオブジェクト番号である「ページ0001」、「ページ0002」、「ページ0003」、「ページ0004」を示している。   In the [page object] item 501 of the page order management table of FIG. 5A, the left page object and right page object of [C] in FIG. 4A and the left page of [C] in FIG. 4B. The page object numbers “page 0001”, “page 0002”, “page 0003”, and “page 0004” for the object and the right page object are shown.

また、[ページ番号]項目502には、[ページオブジェクト]項目501が「ページ0001」であるページ番号として「未決定」が設定されている。これは、ページ順序管理部217によって最初の画像データの左ページオブジェクトのページ番号を「未決定」とするためである。   In the [page number] item 502, “undecided” is set as the page number in which the [page object] item 501 is “page 0001”. This is because the page order management unit 217 sets the page number of the left page object of the first image data to “undecided”.

次に、[ページオブジェクト]項目501が「ページ0002」のページ番号として、未使用の最小番号、すなわち「1」が設定される。   Next, an unused minimum number, that is, “1” is set in the “page object” item 501 as the page number of “page 0002”.

次に、[ページオブジェクト]項目501が「ページ0003」のページ番号として、最初の画像データの右ページオブジェクトのページ番号「1」の次に最小の番号である「2」が設定される。   Next, “2” which is the smallest number after the page number “1” of the right page object of the first image data is set as the page number of “page 0003” in the “page object” item 501.

そして、[ページオブジェクト]項目501が「ページ0004」のページ番号として「未決定」が設定されている。これは、ページ順序管理部217によって最後の画像データの右ページオブジェクトのページ番号を「未決定」として取り扱うことためである。   The “page object” item 501 is set to “undecided” as the page number of “page 0004”. This is because the page order management unit 217 handles the page number of the right page object of the last image data as “undecided”.

このようにしてページ順序管理テーブルが作成されると、ページ順序管理部217では読取制御部232から読み取り処理の終了通知を受信するまで記憶した状態とする。   When the page order management table is created in this way, the page order management unit 217 stores the page order management table 217 until it receives a read processing end notification from the reading control unit 232.

画像処理部213から画像データを受信したデータフォーマット部212では、受信した画像データをそれぞれイメージオブジェクトとして出力する。このときの画像データは、画像処理後の画像データであることから、各印刷用紙における4つの画像データを受信することとなり、これらの各画像データをイメージオブジェクトとして出力する。   The data format unit 212 that has received the image data from the image processing unit 213 outputs the received image data as an image object. Since the image data at this time is image data after image processing, four image data on each printing paper are received, and each of these image data is output as an image object.

さらに、その各イメージオブジェクトに対し、ページ属性として指定された用紙サイズにそのイメージオブジェクトが収まるように指定されたページオブジェクトを出力する。   Further, for each image object, a page object designated so that the image object fits on the paper size designated as the page attribute is output.

このページオブジェクトは、指定された用紙に貼り付けるイメージオブジェクトを指定するほか、用紙に貼り付ける際のイメージオブジェクトの位置、大きさ、範囲が指定された情報である。   This page object is information that specifies the image object to be pasted on the designated paper and the position, size, and range of the image object to be pasted on the paper.

このようにしてデータフォーマット部212でイメージオブジェクトとそのイメージオブジェクトに対するページオブジェクトとが出力されると、これらを一対としてネットワーク制御部211へと通知する。ネットワーク制御部211では、予め指定された画像管理装置にそのイメージオブジェクトおよびページオブジェクトを送信する。   In this way, when the image object and the page object corresponding to the image object are output by the data formatting unit 212, they are notified to the network control unit 211 as a pair. The network control unit 211 transmits the image object and page object to a previously specified image management apparatus.

なお、上記の画像処理部213、ジョブ制御部216、データフォーマット部212、ネットワーク制御部211では、第1印刷用紙の読み取り処理を行なった場合における処理を示しているが、以下では、文書の最後の印刷用紙である第2印刷用紙を読み取った画像データについて説明する。   Note that the image processing unit 213, job control unit 216, data format unit 212, and network control unit 211 described above show the processing when the first printing paper is read. Next, image data obtained by reading the second printing paper, which is the printing paper, will be described.

画像処理部213は、画像読取部231によって読み取った第2印刷用紙に対する画像データを読取制御部232から受信すると、色変換処理等を行なう。このときの画像処理部213が受信した画像データの一例を、図4(c)の[イ]、図4(d)の[イ]に示している。   When the image processing unit 213 receives image data for the second print sheet read by the image reading unit 231 from the reading control unit 232, the image processing unit 213 performs color conversion processing and the like. An example of the image data received by the image processing unit 213 at this time is shown in [A] in FIG. 4C and [A] in FIG.

この図4(c)の[イ]、図4(d)の[イ]に示す画像データは、図2(a)に示すような文書の第2印刷用紙を「冊子分離モード」で読み取ったものである。   The image data shown in [A] in FIG. 4C and [I] in FIG. 4D is obtained by reading the second print sheet of the document as shown in FIG. 2A in the “booklet separation mode”. Is.

続いて、画像処理部213では、画像分割部214によって画像データを均等分割し、画像分割部214によって均等分割された各画像データを回転処理部215によって同一方向に回転する。   Subsequently, in the image processing unit 213, the image data is equally divided by the image dividing unit 214, and each image data equally divided by the image dividing unit 214 is rotated in the same direction by the rotation processing unit 215.

例えば、図4(c)の[ロ]は、図4(c)の[イ]の画像データを均等分割した状態を示し、その画像データの左端側を左ページオブジェクトとし、右端側を右ページオブジェクトとして分割した状態を示している。図4(d)の[ロ]は、図4(d)の[イ]の画像データを均等分割した状態を示し、その画像データの左端側を左オブジェクトとし、右端側を右ページオブジェクトとして分割した状態を示している。   For example, [b] in FIG. 4C shows a state in which the image data in [b] in FIG. 4C is equally divided, the left end side of the image data is a left page object, and the right end side is a right page. It shows a state of being divided as an object. [B] in FIG. 4D shows a state in which the image data in [b] in FIG. 4D is divided equally, and the left end side of the image data is set as a left object and the right end side is set as a right page object. Shows the state.

このようにして画像分割部214によって均等分割された画像データを回転処理部215によって回転した状態を図4(c)の[ハ]、図4(d)の[ハ]に示している。   The state in which the image data equally divided by the image dividing unit 214 in this way is rotated by the rotation processing unit 215 is shown in [c] in FIG. 4C and [C] in FIG.

図4(c)の[ハ]は、図4(c)の[ロ]の左ページオブジェクトおよび右ページオブジェクトをそれぞれ左方向に90度回転された画像データであり、図4(d)の[ハ]は、図4(d)の[ロ]の左ページオブジェクトおよび右ページオブジェクトをそれぞれ左方向に90度回転された画像データである。   [C] in FIG. 4C is image data obtained by rotating the left page object and the right page object in [B] in FIG. 4C by 90 degrees to the left, and [C] in FIG. C] is image data obtained by rotating the left page object and the right page object of [B] in FIG.

このように、画像処理部213によって印刷用紙ごとに画像処理が行なわれると、画像処理が行なわれた各画像データ(第2印刷用紙に対して画像処理を行なった場合には図4(c)の[ハ]と図4(d)の[ハ]に示す4つの画像データ)をデータフォーマット部212へと送信する。   As described above, when the image processing is performed for each printing sheet by the image processing unit 213, each image data subjected to the image processing (FIG. 4C when image processing is performed on the second printing sheet). (C) and (four image data indicated by [c] in FIG. 4D) are transmitted to the data format unit 212.

また、画像処理部213では、読み取った画像データの数量情報をジョブ制御部216へと通知する。   Further, the image processing unit 213 notifies the job control unit 216 of the quantity information of the read image data.

ジョブ制御部216は、画像処理部213から受信した画像データの数量情報を元にページ順序管理部217でページ順序管理処理を行なう。   The job control unit 216 performs page order management processing by the page order management unit 217 based on the quantity information of the image data received from the image processing unit 213.

画像処理部213によって第2印刷用紙に基づく4ページ分の画像データが画像処理された場合において、ページ順序管理部217で管理されるページ順序管理テーブルを図5(b)に示す。   FIG. 5B shows a page order management table managed by the page order management unit 217 when the image processing unit 213 performs image processing on image data for four pages based on the second printing paper.

図5(b)に示すページ順序管理テーブルは、図5(a)に示す第1印刷用紙のページ順序管理テーブルに、第2印刷用紙の各画像データに関する情報を付加して作成されるページ順序管理テーブルである。   The page order management table shown in FIG. 5B is a page order created by adding information about each image data of the second print paper to the page order management table of the first print paper shown in FIG. It is a management table.

図5(b)には、図5(a)に付加された第2印刷用紙の各画像データに関する情報として、第2印刷用紙の最初の画像データに対するページオブジェクトの左ページオブジェクトのページオブジェクト番号である「ページ0005」、最初の画像データの次の画像データに対するページオブジェクトの右ページオブジェクトのページオブジェクト番号である「ページ0006」、次の画像データに対するページオブジェクトの左ページオブジェクトのページオブジェクト番号である「ページ0007」、次の画像データに対するページオブジェクトの右ページオブジェクトのページオブジェクト番号である「ページ0008」が付加されている。   FIG. 5B shows the page object number of the left page object of the page object for the first image data of the second print paper as information on each image data of the second print paper added to FIG. “Page 0005”, the page object number of the right page object of the page object for the next image data of the first image data, “Page 0006”, the page object number of the left page object of the page object for the next image data “Page 0007” and “page 0008” which is the page object number of the right page object of the page object for the next image data are added.

また、図5(b)の[ページ番号]項目502には、各ページオブジェクトに対するページ番号が設定されており、[ページオブジェクト]項目501が「ページ0005」のページ番号として「未決定」が設定されている。   Further, the page number for each page object is set in the [page number] item 502 in FIG. 5B, and the “page object” item 501 is set to “undecided” as the page number of “page 0005”. Has been.

次に、[ページオブジェクト]項目501により示されるページオブジェクト番号が「ページ0006」であるページオブジェクトのページ番号として、未使用の最小番号、すなわち「3」が設定される。ページ番号「1」、「2」は第1印刷用紙のページ番号として使用済みであることから、未使用のうちの最小のページ番号として「3」が設定されることとなる。   Next, an unused minimum number, that is, “3” is set as the page number of the page object whose page object number indicated by the “page object” item 501 is “page 0006”. Since the page numbers “1” and “2” have already been used as the page numbers of the first printing paper, “3” is set as the smallest unused page number.

次に、[ページオブジェクト]項目501により示されるページオブジェクト番号が「ページ0007」であるページオブジェクトのページ番号として、最初の画像データの次の画像データに採番したページ番号「3」の次に最小の番号である「4」が設定される。   Next, the page number of the page object whose page object number is “page 0007” indicated by the “page object” item 501 is next to the page number “3” assigned to the image data next to the first image data. The minimum number “4” is set.

そして、[ページオブジェクト]項目501により示されるページオブジェクト番号が「ページ0008」であるページオブジェクトのページ番号として「未決定」が設定されている。   Then, “undecided” is set as the page number of the page object whose page object number indicated by the “page object” item 501 is “page 0008”.

このようにして図5(b)に示すようなページ順序管理テーブルが作成されると、ページ順序管理部217では読取制御部232から読み取り処理の終了通知を受信するまで記憶した状態とする。   When the page order management table as shown in FIG. 5B is created in this way, the page order management unit 217 keeps the page order management table 217 until it receives a read processing end notification from the read control unit 232.

画像処理部213から画像データを受信したデータフォーマット部212では、受信した画像データをそれぞれイメージオブジェクトとして出力する。このときの画像データは、画像処理後の画像データであることから、各印刷用紙における4つの画像データを受信することとなり、これらの各画像データをイメージオブジェクトとして出力する。   The data format unit 212 that has received the image data from the image processing unit 213 outputs the received image data as an image object. Since the image data at this time is image data after image processing, four image data on each printing paper are received, and each of these image data is output as an image object.

さらに、その各イメージオブジェクトに対し、ページ属性として指定された用紙サイズにそのイメージオブジェクトが収まるように指定されたページオブジェクトを出力する。   Further, for each image object, a page object designated so that the image object fits on the paper size designated as the page attribute is output.

このようにしてデータフォーマット部212でイメージオブジェクトとそのイメージオブジェクトに対するページオブジェクトとが出力されると、これらを一対としてネットワーク制御部211へと通知する。ネットワーク制御部211では、予め指定された画像管理装置にそのイメージオブジェクトおよびページオブジェクトを送信する。   In this way, when the image object and the page object corresponding to the image object are output by the data formatting unit 212, they are notified to the network control unit 211 as a pair. The network control unit 211 transmits the image object and page object to a previously specified image management apparatus.

画像読取部231のフィーダーに印刷用紙が残っていない場合(図2(a)に示すような文書で第2印刷用紙の裏面の読み取り処理が終了した場合)や読取条件クリアボタンが押下された場合に、読取制御部232では、終了通知をジョブ制御部216に通知する。   When there is no printing paper remaining in the feeder of the image reading unit 231 (when the back side of the second printing paper has been read in the document as shown in FIG. 2A) or when the reading condition clear button is pressed In addition, the reading control unit 232 notifies the job control unit 216 of an end notification.

この終了通知を受信したジョブ制御部216が、第2印刷用紙の裏面の画像データに基づいてページ順序管理テーブルが作成された状態にある場合には、ページ順序管理部217において管理するページ順序管理テーブルの「未決定」のページ番号を設定するページ番号決定処理を行なう。また、ページ順序管理テーブルが作成途中、作成前である場合には作成が完了した後にページ番号決定処理を行なう。   When the job control unit 216 that has received the end notification is in a state in which the page order management table has been created based on the image data on the back surface of the second printing paper, the page order management managed by the page order management unit 217. A page number determination process for setting the “undecided” page number of the table is performed. If the page order management table is in the process of being created and before being created, the page number determination process is performed after the creation is completed.

この番号決定処理では、まず総ページオブジェクト数若しくは数量情報の合計値から全ページ数を特定し、その総ページ数をページオブジェクト番号が小さいページ番号に設定する。次に、ページオブジェクト番号が小さいページオブジェクトから順に、総ページ数から「1」を減算した番号をページ番号と設定する。   In this number determination process, first, the total number of pages is specified from the total number of page objects or the total value of quantity information, and the total number of pages is set to a page number with a small page object number. Next, in order from the page object with the smallest page object number, a number obtained by subtracting “1” from the total number of pages is set as the page number.

これにより、図5(c)に示すページ順序管理テーブルのように、ページオブジェクト番号が「ページ0001」であるページオブジェクトのページ番号に、総ページ数の「8」が設定され、ページオブジェクト番号が「ページ0004」であるページオブジェクトのページ番号に、総ページ数の「8」から「1」を引いた「7」が設定される。   Thus, as in the page order management table shown in FIG. 5C, the page number of the page object whose page object number is “page 0001” is set to “8” as the total page number, and the page object number is The page number of the page object “page 0004” is set to “7” obtained by subtracting “1” from the total number of pages “8”.

続いて、ページオブジェクト番号が「ページ0005」であるページオブジェクトのページ番号に、総ページ数よりも小さく、未使用の番号である「6」と「5」のうち、最も大きな番号である「6」が設定される。そして、ページオブジェクト番号が「ページ0008」であるページオブジェクトのページ番号に、総ページ数よりも小さく、未使用の番号である「5」を設定する。この場合、ページ番号「5」のみが設定されていない状態にあることからこのページ番号「5」が設定されることとなる。   Subsequently, the page number of the page object whose page object number is “page 0005” is smaller than the total number of pages and is the largest number among the unused numbers “6” and “5” “6”. Is set. Then, an unused number “5”, which is smaller than the total number of pages, is set to the page number of the page object whose page object number is “page 0008”. In this case, since only the page number “5” is not set, this page number “5” is set.

これにより、図5(c)に示すページ順序管理テーブルは、ページオブジェクト番号が「ページ0001」であるページオブジェクトのページ番号が「8」であることを示し、ページオブジェクト番号が「ページ0002」であるページオブジェクトのページ番号が「1」であることを示し、ページオブジェクト番号が「ページ0003」であるページオブジェクトのページ番号が「2」であることを示し、ページオブジェクト番号が「ページ0004」であるページオブジェクトのページ番号が「7」であることを示し、ページオブジェクト番号が「ページ0005」であるページオブジェクトのページ番号が「6」であることを示し、ページオブジェクト番号が「ページ0006」であるページオブジェクトのページ番号が「3」であることを示し、ページオブジェクト番号が「ページ0007」であるページオブジェクトのページ番号が「4」であることを示し、ページオブジェクト番号が「ページ0008」であるページオブジェクトのページ番号が「5」であることを示す。   As a result, the page order management table shown in FIG. 5C indicates that the page number of the page object whose page object number is “page 0001” is “8”, and the page object number is “page 0002”. The page number of a certain page object is “1”, the page number of a page object whose page object number is “page 0003” is “2”, and the page object number is “page 0004”. This indicates that the page number of a certain page object is “7”, the page number of the page object whose page object number is “page 0005” is “6”, and the page object number is “page 0006”. The page number of a page object is “3” Indicates that the page number of the page object whose page object number is “page 0007” is “4”, and the page number of the page object whose page object number is “page 0008” is “5”. It shows that.

このようなページ順序管理テーブルがページ順序管理部217によって作成されると、ジョブ制御部216は、データフォーマット部212に対してこのページ順序管理テーブルを送信する。   When such a page order management table is created by the page order management unit 217, the job control unit 216 transmits the page order management table to the data format unit 212.

データフォーマット部212では、このページ順序管理テーブルを元にページツリーノードオブジェクトを出力する。このページツリーノードオブジェクトは、設定されたページ番号に基づいて昇降順のいずれかでページオブジェクト番号を整列したツリーノードである。   The data format unit 212 outputs a page tree node object based on this page order management table. This page tree node object is a tree node in which page object numbers are arranged in any of ascending and descending order based on a set page number.

そして、ページツリーノードオブジェクトを出力したデータフォーマット部212は、ネットワーク制御部211にこれを通知し、ネットワーク制御部211は、イメージオブジェクト、ページオブジェクトを管理する画像管理装置100に対して送信する。   The data formatting unit 212 that has output the page tree node object notifies the network control unit 211 of this, and the network control unit 211 transmits the image object and page object to the image management apparatus 100 that manages the image object.

このとき、画像管理装置100では、受信したイメージオブジェクトおよびページオブジェクトとともに受信したページツリーノードオブジェクトが管理された状態となる。   At this time, in the image management apparatus 100, the received page tree node object is managed together with the received image object and page object.

画像管理装置100により管理されたこれらのオブジェクトからなる読取ファイル情報の一例を図6に示す。   An example of read file information composed of these objects managed by the image management apparatus 100 is shown in FIG.

図6に示す読取ファイル情報は、イメージオブジェクトとページオブジェクトの対の情報と、ページツリーノードオブジェクトとから構成されており、イメージオブジェクトとページオブジェクトとの対の情報はページ数分、設けられた構成である。   The read file information shown in FIG. 6 includes information on pairs of image objects and page objects and page tree node objects, and information on pairs of image objects and page objects is provided for the number of pages. It is.

図6の読取ファイル情報は、図2(a)に示すような文書の読み取りを行なった場合に作成される情報であって、全8ページからなることから、8対のイメージオブジェクトとページオブジェクトの対の情報によって構成される。ページツリーノードオブジェクトは、全8ページのページオブジェクト番号がページ番号に並べている。   The read file information in FIG. 6 is information that is created when a document is read as shown in FIG. 2A, and is composed of 8 pages, so that there are 8 pairs of image objects and page objects. Composed of pair information. In the page tree node object, page object numbers of all eight pages are arranged in the page number.

このページツリーノードオブジェクトのページ番号は、図5(c)に示すようなページ順序管理テーブルのページ番号に基づいて並べられている。   The page numbers of the page tree node objects are arranged based on the page numbers of the page order management table as shown in FIG.

この図6に示すような読取ファイル情報が作成された状態となり、ユーザが画像管理装置100で管理するこの読取ファイル情報へアクセスすることによってページツリーノードオブジェクトに示されたページ順からなる読取文書が表示されることとなる。   The read file information as shown in FIG. 6 is created, and when the user accesses the read file information managed by the image management apparatus 100, the read document having the page order indicated in the page tree node object is obtained. Will be displayed.

次に、図6に示す読取ファイル情報のページツリーノードオブジェクトに基づいて画像データを並び替えた状態を図7(a)に示している。   Next, FIG. 7A shows a state in which the image data is rearranged based on the page tree node object of the read file information shown in FIG.

図7は、ページツリーノードオブジェクト、ページオブジェクト、イメージオブジェクトの関係を示す図である。   FIG. 7 is a diagram illustrating a relationship between a page tree node object, a page object, and an image object.

図7(a)は、ページ番号順にページノードオブジェクトに基づいて画像データを昇順に整列した状態を示し、図7(b)は、ページオブジェクト番号に基づいてイページオブジェクトを整列した状態を示し、図7(c)は、図7(b)に示すページオブジェクトのページオブジェクト番号に対するイメージオブジェクトを示した図である。   FIG. 7A shows a state in which image data is arranged in ascending order based on page node objects in order of page numbers, and FIG. 7B shows a state in which i-page objects are arranged based on page object numbers, FIG. 7C shows an image object corresponding to the page object number of the page object shown in FIG.

図8は、本発明の実施の形態における画像形成装置により行なわれる詳細な処理の流れを示すフローチャートである。   FIG. 8 is a flowchart showing a detailed flow of processing performed by the image forming apparatus according to the embodiment of the present invention.

図8において、読取対象の文書を各印刷用紙に解いて分解し、各印刷用紙を原稿台にセットすると処理が開始され、操作パネルを用いてユーザが読取モード等の読取条件が指定されると、その読取条件を読取設定に設定する(801)。   In FIG. 8, when a document to be read is disassembled by disassembling each print sheet and each print sheet is set on the platen, the processing is started. When the user designates a reading condition such as a reading mode using the operation panel. The reading condition is set to the reading setting (801).

そして、その読取条件に基づく読取指示を受け付けたかを判断し(802)、読取指示がされると(802でYES)、原稿台にセットされた印刷用紙の読み取りを行なう(803)。続いて、読み取りが行なわれた画像データを画像処理し(804)、画像処理した画像データを元に、ページ順序管理処理を行なうことによりページ順序管理テーブルを作成する(805)。   Then, it is determined whether a reading instruction based on the reading condition has been received (802). When the reading instruction is issued (YES in 802), the printing paper set on the document table is read (803). Subsequently, the read image data is subjected to image processing (804), and a page order management table is created by performing page order management processing based on the image processed image data (805).

このようにしてページ順序管理処理が行なわれると、続いて、データフォーマット処理によりイメージオブジェクト、ページオブジェクトの出力を行なう(806)。   When the page order management process is performed in this way, the image object and page object are output by the data format process (806).

そして、読取処理によって読み取った画像データが、読取モードを「冊子分離モード」として印刷用紙の片面を読み取ったものであるかを判断する(807)。この判断処理によって、読取モードが「冊子分離モード」であって印刷用紙の片面を読み取ったものである場合(807でYES)には、他の面(裏面)の読取処理を行ない(803)、その裏面の画像データに対して画像処理(804)、ページ順序管理処理(805)、データフォーマット処理(806)を行なう。   Then, it is determined whether the image data read by the reading process is one in which the reading mode is “booklet separation mode” and one side of the printing paper is read (807). If the reading mode is the “booklet separation mode” and one side of the printing paper is read by this determination process (YES in 807), the other side (back side) is read (803), Image processing (804), page order management processing (805), and data formatting processing (806) are performed on the back side image data.

また、、読取モードが「冊子分離モード」であって印刷用紙の片面を読み取ったものでない場合や、読取モードが「冊子分離モード」でない場合(807でNO)には、出力したイメージオブジェクト、ページオブジェクトを画像管理装置へ転送する(808)。   Further, when the reading mode is “booklet separation mode” and one side of the printing paper is not read, or when the reading mode is not “booklet separation mode” (NO in 807), the output image object, page The object is transferred to the image management apparatus (808).

続いて、他の印刷用紙が原稿台にセットされているかを判断し(809)、他の印刷用紙がある場合(809でYES)には、その印刷用紙の読取処理を行なう(803)。   Subsequently, it is determined whether another printing paper is set on the document table (809). If there is another printing paper (YES in 809), the printing paper is read (803).

また、全ての印刷用紙の読取処理が終了した場合(809でNO)には、ページ順序管理処理により作成したページ順序管理テーブルを元にページツリーノードオブジェクトを出力し(810)、出力したページツリーノードオブジェクトを画像管理装置へと転送する(811)。   When all the printing paper reading processes are completed (NO in 809), a page tree node object is output based on the page order management table created by the page order management process (810), and the output page tree is output. The node object is transferred to the image management apparatus (811).

図9は、図3に示す画像処理部213における処理および図8に示す画像処理の詳細な流れを示すフローチャートである。   FIG. 9 is a flowchart showing a detailed flow of the processing in the image processing unit 213 shown in FIG. 3 and the image processing shown in FIG.

図9において、読取処理によって読み取られた画像データを受信すると(901)、その画像データの色変換処理を行なう(902)。   In FIG. 9, when image data read by the reading process is received (901), color conversion processing of the image data is performed (902).

このとき、読取処理が行なわれた読取条件の読取モードが「冊子分離モード」であるかを判断し(903)、この「冊子分離モード」によって読取処理が行なわれた場合(903でYES)には、読み取った画像データを均等分割し(904)、その均等分割後の各画像データを90度回転する(905)。   At this time, it is determined whether the reading mode of the reading condition on which the reading process has been performed is the “booklet separation mode” (903), and when the reading process is performed in this “booklet separation mode” (YES in 903). Divides the read image data equally (904), and rotates the image data after the equal division by 90 degrees (905).

そして、均等分割した左端側の画像データをデータフォーマット部へと転送する(906)。また、同様に均等分割した右端側の画像データをもデータフォーマット部へと転送する(907)。   Then, the equally divided image data on the left end side is transferred to the data format section (906). Similarly, the right end image data equally divided is also transferred to the data format section (907).

それに対して、読取処理が行なわれた読取条件の読取モードが「冊子分離モード」でない場合(903でNO)には、読み取った画像データをそのままデータフォーマット部へと転送する(908)。   On the other hand, when the reading mode of the reading condition in which the reading process is performed is not the “booklet separation mode” (NO in 903), the read image data is transferred to the data format unit as it is (908).

これにより、画像処理が終了する。   Thereby, the image processing ends.

図10は、図3に示すページ順序管理部217における処理および図8に示すページ順序管理処理の詳細な流れを示すフローチャートである。   FIG. 10 is a flowchart showing a detailed flow of the process in the page order management unit 217 shown in FIG. 3 and the page order management process shown in FIG.

図10において、画像処理が行なわれた画像データの数量情報を図3に示すジョブ制御部216が受信し、ジョブ制御部216からページ順序管理処理の指示要求を受信すると処理が開始され、まず、初期設定としてページオブジェクト番号を「0001」と設定し、ページ番号を「1」と設定する(1001)。   In FIG. 10, the job control unit 216 shown in FIG. 3 receives the quantity information of the image data that has undergone image processing, and the processing is started when an instruction request for page order management processing is received from the job control unit 216. As an initial setting, the page object number is set to “0001”, and the page number is set to “1” (1001).

そして、読取処理が「冊子分離モード」の読取モードによって読み取られたものであるかを判断し(1002)、冊子分離モードによって読み取られたものでない場合(1002でNO)、カット紙モードである場合には、出力されたページオブジェクトに未使用の最小番号を割り振って設定し(1003)、初期値として設定されているページオブジェクト番号とページ番号に「1」を加算するインクリメントを行なう(1004)。   Then, it is determined whether the reading process is read in the “booklet separation mode” reading mode (1002). When the reading process is not read in the booklet separation mode (NO in 1002), the case is the cut sheet mode. Is set by assigning an unused minimum number to the output page object (1003), and incrementing the page object number set as the initial value and adding “1” to the page number (1004).

続いて、次のページの画像データがあるかを判断し(1005)、次ページの画像データがある場合(1005でYES)には、その次ページの画像データに対するページオブジェクトにページ番号を設定する。   Subsequently, it is determined whether there is image data of the next page (1005). If there is image data of the next page (YES in 1005), a page number is set to the page object for the image data of the next page. .

また、次ページの画像データがない場合(1005でNO)には、処理を終了する。   If there is no image data for the next page (NO in 1005), the process ends.

それに対して、冊子分離モードによって読み取られたものである場合(1002でYES)には、続いて、読取処理によって読み取られた画像データが表面を読み取った画像データであるかを判断する(1006)。   On the other hand, if it is read in the booklet separation mode (YES in 1002), it is subsequently determined whether the image data read by the reading process is image data obtained by reading the surface (1006). .

表面を読み取った画像データである場合(1006でYES)には、左ページオブジェクトのページ番号を「未決定」と設定し(1007)、ページオブジェクト値をインクリメントする(1008)。続いて、右ページオブジェクトのページ番号を未使用の最小番号で割り振って設定し(1009)、ページオブジェクト番号とページ番号とをインクリメントする(1010)。   If it is image data obtained by reading the front side (YES in 1006), the page number of the left page object is set to “undecided” (1007), and the page object value is incremented (1008). Subsequently, the page number of the right page object is allocated and set with an unused minimum number (1009), and the page object number and the page number are incremented (1010).

次に、読取処理によって読み取られた画像データが表面を読み取った画像データであるかの判断によって、表面を読み取った画像データでない場合(1006でNO)には、左ページオブジェクトのページ番号を未使用の最小番号で割り振って設定し(1011)、ページオブジェクト番号とページ番号をインクリメントする(1012)。続いて、右ページオブジェクトのページ番号を「未決定」と設定し(1013)、ページオブジェクト番号をインクリメントする(1014)。   Next, if the image data read by the reading process is image data obtained by reading the surface, and if it is not image data obtained by reading the surface (NO in 1006), the page number of the left page object is not used. The page object number and the page number are incremented (1012). Subsequently, the page number of the right page object is set to “undecided” (1013), and the page object number is incremented (1014).

そして、次のページの画像データがあるかを判断し(1015)、次ページの画像データがある場合(1015でYES)には、その次ページの画像データが印刷用紙の表面を読み取った画像データであるかの判断処理(1006)以降を行なう。   Then, it is determined whether there is image data of the next page (1015). If there is image data of the next page (YES in 1015), the image data of the next page read the surface of the printing paper. The determination processing (1006) and subsequent steps are performed.

また、次ページの画像データがない場合(1015でNO)には、ページオブジェクト総数を算出し(1016)、ページオブジェクト番号が最も小さく、ページ番号が「未決定」であるを判断する(1017)。   If there is no image data for the next page (NO in 1015), the total number of page objects is calculated (1016), and it is determined that the page object number is the smallest and the page number is “undecided” (1017). .

ページオブジェクト番号が最も小さく「未決定」のページ番号に対して(1017)、ページオブジェクト総数をページ番号として設定し(1018)、そのページ番号から「1」を減算するデクリメントを行なう(1019)。   For the page number with the smallest page object number “undecided” (1017), the total number of page objects is set as the page number (1018), and decrementing is performed by subtracting “1” from the page number (1019).

そして、再度、ページオブジェクト番号が最も小さく、ページ番号が「未決定」であるを判断する(1017)。「未決定」のページ番号がなくなった場合(1017でNO)にページ順序管理処理を終了する。   Then, it is determined again that the page object number is the smallest and the page number is “undecided” (1017). When there are no more “undetermined” page numbers (NO in 1017), the page order management process is terminated.

図11は、図3に示すデータフォーマット部212における処理および図8に示すデータフォーマット処理の詳細な流れを示すフローチャートである。   FIG. 11 is a flowchart showing a detailed flow of the process in the data format unit 212 shown in FIG. 3 and the data format process shown in FIG.

図11において、まず、画像処理が行なわれた画像データに基づいてイメージオブジェクトを出力する(1101)。続いて、そのイメージオブジェクトに対応するページオブジェクトを出力する(1102)。   In FIG. 11, first, an image object is output based on image data that has undergone image processing (1101). Subsequently, a page object corresponding to the image object is output (1102).

最後の画像データであるかを判断し(1103)、画像処理が行なわれた画像データ全てのに対してイメージオブジェクトとページオブジェクトが出力された場合(1103でYES)には、ページ順序管理処理によって作成されたページ順序管理テーブルを取得する(1104)。   It is determined whether the image data is the last image data (1103), and when the image object and page object are output for all the image data subjected to image processing (YES in 1103), the page order management processing is performed. The created page order management table is acquired (1104).

そして、取得したページ順序管理テーブルに基づいてページノードツリーオブジェクトを出力する(1105)。   Then, a page node tree object is output based on the acquired page order management table (1105).

図12は、本発明の実施の形態における画像形成装置の詳細な構成を示す図である。   FIG. 12 is a diagram showing a detailed configuration of the image forming apparatus according to the embodiment of the present invention.

図12において、画像形成装置(スキャナ)200は、コントローラ210、操作パネル220、画像読取処理部230を具備して構成され、コントローラは、ネットワーク制御部211、データフォーマット部212、画像処理部213、ジョブ制御部216を具備しており、操作パネル220は、読取条件入力部221、スキャン指示部223を具備しており、画像読取処理部230は、画像読取部231、読取制御部232を具備して構成されている。   In FIG. 12, an image forming apparatus (scanner) 200 includes a controller 210, an operation panel 220, and an image reading processing unit 230. The controller includes a network control unit 211, a data formatting unit 212, an image processing unit 213, The job control unit 216 is provided. The operation panel 220 includes a reading condition input unit 221 and a scan instruction unit 223. The image reading processing unit 230 includes an image reading unit 231 and a reading control unit 232. Configured.

さらに、ジョブ制御部216は、ページ順序管理部217を具備し、読取条件入力部221は、冊子スキャン指定部222を具備して構成される。   Further, the job control unit 216 includes a page order management unit 217, and the reading condition input unit 221 includes a booklet scan designation unit 222.

画像読取処理部230の画像読取部231には、原稿台が備えられており、また、その原稿台がADFなどのフィーダーにより構成される場合には原稿台にセットされた読取対象の印刷用紙を搬送する搬送路が備えられている。   The image reading unit 231 of the image reading processing unit 230 is provided with a document table, and when the document table is configured by a feeder such as an ADF, printing paper to be read set on the document table is loaded. A conveying path for conveying is provided.

操作パネル220の読取条件入力部221で読取条件として、読取解像度、読取色彩情報(カラー/モノクロ)、読取倍率のほか、読取対象の印刷用紙のページ状態を指定する読取モードを入力する。   As a reading condition, the reading condition input unit 221 of the operation panel 220 inputs a reading mode for designating the page state of the printing paper to be read, in addition to the reading resolution, reading color information (color / monochrome), and reading magnification.

この読取モードは、冊子などの綴じられた文書を解いて各印刷用紙の読み取りを行なう冊子分離モード定形・不定形のサイズにカットされたカット紙を読み取るカット紙モードのいずれかである。ただし、冊子などの綴じられた文書がカット紙を束ねられて構成されており、その文書を解いて読み取りを行なうカット紙モードとする。   This reading mode is either a booklet separation mode in which a bound document such as a booklet is released to read each printing sheet, or a cut sheet mode in which a cut sheet cut into a regular or irregular size is read. However, a bound document such as a booklet is formed by bundling cut sheets, and a cut sheet mode in which the document is read and read is set.

冊子スキャン指定部222において、このいずれかの読取モードを指定すると、その指定した読取モードのモード識別情報が読取条件としてジョブ制御部216へと通知される。   When any one of these reading modes is designated in the booklet scan designation unit 222, mode identification information of the designated reading mode is notified to the job control unit 216 as a reading condition.

また、読取条件入力部221において、上記の読取条件を入力し、スキャン指示部223で印刷用紙の読み取りを指示すると、スキャン指示部223は、ジョブ制御部216に対して読み取り指示を行なう。   In addition, when the reading condition input unit 221 inputs the above-described reading conditions and the scan instruction unit 223 instructs to read the printing paper, the scan instruction unit 223 instructs the job control unit 216 to read.

このとき、ジョブ制御部216は、スキャン指示部223から読み取り指示を受信し、読取条件入力部221で入力された読取条件の通知を受けると、読取処理部230の読取制御部232に対してモード識別情報により識別される読取モードに基づく印刷用紙の読取指示を行なう。   At this time, when the job control unit 216 receives the reading instruction from the scan instruction unit 223 and receives the notification of the reading condition input by the reading condition input unit 221, the job control unit 216 sets the mode to the reading control unit 232 of the reading processing unit 230. A printing paper reading instruction is issued based on the reading mode identified by the identification information.

読取制御部232では、画像読取部231を起動してフィーダーの原稿台にセットされた読取対象の印刷用紙を読み取ることにより画像データを生成する。このとき、読取制御部232は、ジョブ制御部216に対して読み取りの開始通知を行なう。また、読取処理が終了した場合にはジョブ制御部216に対して読み取りの終了通知を行なう。   The reading control unit 232 activates the image reading unit 231 to read image data to be read set on the document table of the feeder, thereby generating image data. At this time, the reading control unit 232 notifies the job control unit 216 of the start of reading. Further, when the reading process is completed, a reading completion notification is sent to the job control unit 216.

読取制御部232では、読取モードが「冊子分離モード」である場合には画像読取部231に対して両面読み取りを指示し、画像読取部231では、フィーダーの原稿台にセットされた印刷用紙を、搬送路を搬送することで印刷用紙の片面を読み取り、その後、反転搬送路を搬送することで印刷用紙の読み取り面を反転し、反転した他の読み取り面の読み取りを行なう。   When the reading mode is “booklet separation mode”, the reading control unit 232 instructs the image reading unit 231 to perform double-sided reading, and the image reading unit 231 reads the printing paper set on the document platen of the feeder. By conveying the conveyance path, one side of the printing paper is read, and then by conveying the reverse conveyance path, the reading surface of the printing paper is reversed and the other reversed reading surface is read.

これにより、印刷用紙を読み取った片面ごとの画像データを画像処理部213へと送信する。   As a result, the image data for each side obtained by reading the printing paper is transmitted to the image processing unit 213.

画像処理部213は、画像読取部231で読み取った画像データを読み取り制御部232から受信する。この画像処理部213では、印刷用紙を読み取った片面の画像データ(図4(a)の[イ]、図4(b)の[イ]に示すような画像データ)を受信し、その画像データの色変換処理等を行なう。そして、データフォーマット部212へと送信する。   The image processing unit 213 receives the image data read by the image reading unit 231 from the reading control unit 232. The image processing unit 213 receives one-sided image data (image data as shown in [A] in FIG. 4A and [A] in FIG. 4B) obtained by reading the printing paper, and the image data The color conversion process is performed. Then, the data is transmitted to the data format unit 212.

また、画像処理部213では、読み取った画像データの数量情報をジョブ制御部216へと通知する。   Further, the image processing unit 213 notifies the job control unit 216 of the quantity information of the read image data.

ジョブ制御部216は、ページ順序管理部217を具備し、画像処理部213から受信した画像データの数量情報を元にページ順序管理部217でページ順序管理処理を行なう。このページ順序管理処理では、図5(c)に示すようなページ順序管理テーブルを作成する。   The job control unit 216 includes a page order management unit 217. The page order management unit 217 performs page order management processing based on the quantity information of the image data received from the image processing unit 213. In this page order management process, a page order management table as shown in FIG.

この図5(c)に示すページ順序管理テーブルは、上記の実施例1と同一の処理によって作成される。   The page order management table shown in FIG. 5C is created by the same process as in the first embodiment.

このページ順序管理テーブルを作成するページ順序管理処理において、ページ順序管理部217では、画像処理部213が読取制御部232から受信した画像データが左端側の画像データと右端側の画像データとによって構成されており、左端側の画像データと右端側の画像データとがそれぞれ異なるページオブジェクトによって文書を構成していることを認識する。   In the page order management process for creating the page order management table, in the page order management unit 217, the image data received by the image processing unit 213 from the reading control unit 232 is composed of left-side image data and right-side image data. It is recognized that the document is composed of different page objects for the image data on the left end side and the image data on the right end side.

画像処理部213により送信された画像データを受信したデータフォーマット部212は、その印刷用紙の片面の画像データを元にイメージオブジェクトを出力し、ネットワーク制御部211へと通知する。このとき、ネットワーク制御部211では、通知されたイメージオブジェクトを予め指定された画像管理装置100に対して送信する。   The data formatting unit 212 that has received the image data transmitted by the image processing unit 213 outputs an image object based on the image data on one side of the printing paper, and notifies the network control unit 211 of the image object. At this time, the network control unit 211 transmits the notified image object to the image management apparatus 100 designated in advance.

イメージオブジェクトを出力したデータフォーマット部212では、さらに、そのイメージオブジェクトを元に、左ページオブジェクトと右ページオブジェクトを出力し、ネットワーク制御部211へと通知する。同様に、ネットワーク制御部211では、通知された2つのページオブジェクトをイメージオブジェクトを送信した画像管理装置100に対して送信してイメージオブジェクトとともに管理した状態とする。   The data formatting unit 212 that has output the image object further outputs a left page object and a right page object based on the image object, and notifies the network control unit 211 of them. Similarly, the network control unit 211 transmits the notified two page objects to the image management apparatus 100 that has transmitted the image object so as to be managed together with the image object.

なお、このデータフォーマット部212では、ページ順序管理部217によってページ順序管理テーブルの作成が完了したことにより、そのページ順序管理テーブルを元にページツリーノードオブジェクトを出力する。このページツリーノードオブジェクトは、設定されたページ番号に基づいて昇降順のいずれかでページオブジェクト番号を整列したツリーノードである。   In this data format unit 212, when the page order management table 217 completes the creation of the page order management table, a page tree node object is output based on the page order management table. This page tree node object is a tree node in which page object numbers are arranged in any of ascending and descending order based on a set page number.

そして、ページツリーノードオブジェクトを出力したデータフォーマット部212は、ネットワーク制御部211にこれを通知し、ネットワーク制御部211は、画像管理装置100に対して送信し、イメージオブジェクトおよびページオブジェクトとともに管理した状態とする。   The data formatting unit 212 that has output the page tree node object notifies the network control unit 211 of this, and the network control unit 211 transmits the image to the image management apparatus 100 and manages it together with the image object and the page object. And

画像管理装置100により管理されたこれらのオブジェクトからなる読取ファイル情報の一例を図13に示す。   An example of read file information including these objects managed by the image management apparatus 100 is shown in FIG.

図13は、読取ファイル情報の一例を示す図であって、図6に示す実施例1の読取ファイル情報と類似する。   FIG. 13 is a diagram illustrating an example of read file information, which is similar to the read file information of the first embodiment illustrated in FIG. 6.

図13に示す読取ファイル情報は、1つのイメージオブジェクトに対して2つのページオブジェクトが関連付けられており、図2(a)に示す文書を冊子分離モードで読み取りを行なった場合には第1印刷用紙の表面の画像データに対するイメージオブジェクトにその第一印刷用紙の表面の画像データから出力した2つのページデータが関連付けられる。   In the read file information shown in FIG. 13, two page objects are associated with one image object, and the first print sheet is obtained when the document shown in FIG. 2A is read in the booklet separation mode. Two page data output from the image data on the surface of the first printing paper are associated with the image object for the image data on the surface of the first print sheet.

すなわち、図2(a)に示すような文書を元に、4つのイメージオブジェクトが出力され、各イメージオブジェクトに2つのページオブジェクト、合計8つのページオブジェクトが出力され、各イメージオブジェクトに関連付けられた状態を図13では示している。   That is, based on the document shown in FIG. 2A, four image objects are output, two page objects are output to each image object, and a total of eight page objects are output and associated with each image object. Is shown in FIG.

さらに、このようなイメージオブジェクトとページオブジェクトの組合せに、図12に示すデータフォーマット部212によって出力されたページツリーノードオブジェクトが関連付けられて設定されている。   Further, a page tree node object output by the data formatting unit 212 shown in FIG. 12 is set in association with such a combination of an image object and a page object.

このページツリーノードは、ページ順序管理部217で設定されたページ順にページオブジェクトを整列した情報を示している。   This page tree node indicates information in which page objects are arranged in the page order set by the page order management unit 217.

この図13に示すような読取ファイル情報が作成された状態となり、ユーザが画像管理装置100で管理するこの読取ファイル情報へアクセスすることによってページツリーノードオブジェクトに示されたページ順からなる読取文書が表示されることとなる。   The read file information as shown in FIG. 13 is created, and when the user accesses the read file information managed by the image management apparatus 100, the read document having the page order indicated in the page tree node object is obtained. Will be displayed.

そして、図12に示すような構成におけるスキャナ100で行なわれる処理の流れを図8に示す。   FIG. 8 shows a flow of processing performed by the scanner 100 having the configuration as shown in FIG.

この図8は、実施例1に示すスキャナ100における構成と同一の処理フローであるが、実施例2における画像処理(804)の詳細な流れを図14に示し、データフォーマット処理(806)の詳細な流れを図15に示す。   FIG. 8 shows the same processing flow as that in the scanner 100 shown in the first embodiment, but the detailed flow of the image processing (804) in the second embodiment is shown in FIG. 14 and the details of the data format processing (806). The general flow is shown in FIG.

図14は、図12に示すスキャナを構成する画像処理部によって行われる処理の詳細な流れを示すフローチャートである。   FIG. 14 is a flowchart showing a detailed flow of processing performed by the image processing unit constituting the scanner shown in FIG.

図14において、読取制御部232から画像データを受信し(1401)、その画像データに対して色変換処理を行なう(1402)。   In FIG. 14, image data is received from the reading control unit 232 (1401), and color conversion processing is performed on the image data (1402).

そして、色変換処理を行なった画像データをデータフォーマット部へと転送する(1403)。   Then, the image data subjected to the color conversion process is transferred to the data format section (1403).

図15は、図12に示すスキャナを構成するデータフォーマット部によって行われる処理の詳細な流れを示すフローチャートである。   FIG. 15 is a flowchart showing a detailed flow of processing performed by the data formatting unit constituting the scanner shown in FIG.

図15において、画像データを受信すると処理が開始され、受信した画像データをイメージオブジェクトとして出力する(1501)。さらに、出力したイメージオブジェクトの左端側の左ページオブジェクトを出力し(1502)、イメージオブジェクトの右端側の右ページオブジェクトを出力する(1503)。   In FIG. 15, processing is started when image data is received, and the received image data is output as an image object (1501). Further, the left page object on the left end side of the output image object is output (1502), and the right page object on the right end side of the image object is output (1503).

そして、最後の画像データであるかを判断し(1504)、全ての画像データを元にイメージオブジェクトおよびページオブジェクトを出力すると(1504でYES)、ページ順序管理テーブルを取得し(1505)、そのページ順序管理テーブルに基づいてページツリーノードオブジェクトを出力する(1506)。   Then, it is determined whether it is the last image data (1504), and when an image object and a page object are output based on all the image data (YES in 1504), a page order management table is acquired (1505), and the page A page tree node object is output based on the order management table (1506).

また、最後の画像データでない場合には(1504でNO)には、他の画像データについてイメージオブジェクトの出力処理以降を行なう。   On the other hand, if it is not the last image data (NO in 1504), the image object output processing and other processes are performed for other image data.

図16は、図13に示す読取ファイル情報に示す各オブジェクト間の関係を示す図である。   FIG. 16 is a diagram showing the relationship between the objects shown in the read file information shown in FIG.

図16(a)は、読取ファイル情報のページツリーノードオブジェクトに基づいて各ページのイメージオブジェクトを整列した状態を示す図であって、図16(b)は、読取ファイル情報に示された順にページオブジェクトを表示した状態を示す図であって、図16(c)は、読取ファイル情報のイメージオブジェクトを示す図である。   FIG. 16A is a diagram showing a state in which the image objects of the respective pages are arranged based on the page tree node object of the read file information, and FIG. 16B is a diagram in which the pages are displayed in the order shown in the read file information. FIG. 16C is a diagram illustrating a state in which an object is displayed, and FIG. 16C is a diagram illustrating an image object of read file information.

図16(b)に示すページオブジェクトと図16(c)に示すイメージオブジェクトとの関係は、1つのイメージオブジェクトに対して2つのページオブジェクトが出力され、関連付けられた状態にあることを示している。   The relationship between the page object shown in FIG. 16B and the image object shown in FIG. 16C indicates that two page objects are output for one image object and are in an associated state. .

図17は、本発明の実施の形態における画像形成装置の詳細な構成を示す図である。   FIG. 17 is a diagram showing a detailed configuration of the image forming apparatus according to the embodiment of the present invention.

図17において、画像形成装置(スキャナ)200は、コントローラ210、操作パネル220、画像読取処理部230を具備して構成される。   In FIG. 17, the image forming apparatus (scanner) 200 includes a controller 210, an operation panel 220, and an image reading processing unit 230.

ユーザが操作パネル220を操作することにより、その操作により指定された読取条件に基づいて画像読取部230で文書の読取処理が行なわれ、読み取られた画像データをコントローラ210で画像形成の処理を行なう。そして、画像処理後の画像データを画像管理装置100へと転送する。   When the user operates the operation panel 220, the document reading process is performed by the image reading unit 230 based on the reading condition specified by the operation, and the read image data is subjected to the image forming process by the controller 210. . Then, the image data after image processing is transferred to the image management apparatus 100.

このコントローラ210は、ネットワーク制御部211、データフォーマット部212、画像処理部213、ジョブ制御部216を具備しており、操作パネル220は、読取条件入力部221、スキャン指示部223を具備しており、画像読取処理部230は、画像読取部231、読取制御部232を具備して構成されている。   The controller 210 includes a network control unit 211, a data format unit 212, an image processing unit 213, and a job control unit 216. The operation panel 220 includes a reading condition input unit 221 and a scan instruction unit 223. The image reading processing unit 230 includes an image reading unit 231 and a reading control unit 232.

画像読取処理部230の画像読取部231には、ADFなどのフィーダーにより構成される原稿台と、フラットベッド型の原稿台とが備えられている。また、その原稿台がADFなどのフィーダーにより構成される場合には原稿台にセットされた読取対象の印刷用紙を搬送する搬送路が備えられている。   The image reading unit 231 of the image reading processing unit 230 is provided with a document table constituted by a feeder such as ADF and a flat bed type document table. Further, when the document table is constituted by a feeder such as ADF, a conveyance path for conveying the printing paper to be read set on the document table is provided.

操作パネル220の読取条件入力部221で読取条件として、読取解像度、読取色彩情報(カラー/モノクロ)、読取倍率を入力するほか、冊子スキャン指定部222では、読取対象のページ構成状態を指定する読取モードを指定する。   In addition to inputting the reading resolution, reading color information (color / monochrome), and reading magnification as reading conditions in the reading condition input unit 221 of the operation panel 220, the booklet scan specifying unit 222 specifies a page configuration state to be read. Specify the mode.

この読取モードは、冊子などの綴じられた文書の読み取りを行なう「冊子モード」、定形・不定形のサイズにカットされたカット紙を読み取る「カット紙モード」のいずれかである。   This reading mode is either “booklet mode” for reading a bound document such as a booklet, or “cut sheet mode” for reading a cut sheet cut into a regular or irregular size.

また、この冊子スキャン指定部222で「冊子モード」が指定された場合には、続いて、冊子綴じ状態指定部224で冊子の綴じ状態を指定する。   When the “booklet mode” is designated by the booklet scan designation unit 222, the booklet binding state designation unit 224 designates the binding state of the booklet.

この冊子綴じ状態指定部224では、冊子綴じ状態に基づく読取モードとして、冊子などの綴じられた文書を解いて各印刷用紙の読み取りを行なう「冊子分離モード」、若しくは、冊子などの綴じられた文書をページ単位で順番に読み取る「冊子綴じモード」のいずれかを指定する。   In the booklet binding state designating unit 224, as a reading mode based on the booklet binding state, a “booklet separation mode” in which each printed paper is read by reading a bound document such as a booklet or a bound document such as a booklet. One of the “booklet binding mode” is read in order in page units.

このようにして読取条件入力部221で読取条件が入力され、スキャン指示部223で印刷用紙の読み取りを指示すると、スキャン指示部223は、ジョブ制御部216に対して読み取り指示を行なう。   In this way, when the reading condition is input by the reading condition input unit 221 and the scan instruction unit 223 instructs to read the printing paper, the scan instruction unit 223 instructs the job control unit 216 to read.

なお、上記では読取モードを指定するような構成を示しているが、読取対象がセットされた原稿台がADFの原稿台であるか、フラットベッド型の原稿台であるかをセンサー等によって検知し、読取対象を検知した原稿台がADFである場合には「冊子分離モード」を指定された状態とし、また読取対象を検知した原稿台がフラットベッド型の原稿台である場合には「冊子綴じモード」を指定された状態とするように構成することも可能である。   In the above description, a configuration is shown in which the reading mode is specified. However, a sensor or the like is used to detect whether the document table on which the reading target is set is an ADF document table or a flatbed document table. If the document table on which the reading target is detected is ADF, the “booklet separation mode” is designated, and if the document table on which the reading target is detected is a flatbed type document table, “booklet binding” is selected. It is also possible to configure so that the “mode” is designated.

まず、冊子スキャン指定部222で「冊子モード」が指定され、続いて、冊子綴じ状態指定部224で冊子綴じ状態として「冊子分離モード」が指定された場合付いて説明する。   First, the case where “booklet mode” is designated by the booklet scan designation unit 222 and then “booklet separation mode” is designated as the booklet binding state by the booklet binding state designation unit 224 will be described.

このとき、ジョブ制御部216は、スキャン指示部223から読み取り指示を受信し、読取条件入力部221で入力された読取条件の通知を受けると、読取処理部230の読取制御部232に対してモード識別情報により識別される読取モードに基づく印刷用紙の読取指示を行なう。   At this time, when the job control unit 216 receives the reading instruction from the scan instruction unit 223 and receives the notification of the reading condition input by the reading condition input unit 221, the job control unit 216 sets the mode to the reading control unit 232 of the reading processing unit 230. A printing paper reading instruction is issued based on the reading mode identified by the identification information.

読取制御部232では、画像読取部231を起動してフィーダーの原稿台にセットされた読取対象の印刷用紙を読み取ることにより画像データを生成する。このとき、読取制御部232は、ジョブ制御部216に対して読み取りの開始通知を行なう。また、読取処理が終了した場合にはジョブ制御部216に対して読み取りの終了通知を行なう。   The reading control unit 232 activates the image reading unit 231 to read image data to be read set on the document table of the feeder, thereby generating image data. At this time, the reading control unit 232 notifies the job control unit 216 of the start of reading. Further, when the reading process is completed, a reading completion notification is sent to the job control unit 216.

読取制御部232では、読取モードとして「冊子分離モード」が指定されていることから画像読取部231に対して両面読み取りを指示し、画像読取部231では、フィーダーの原稿台にセットされた印刷用紙を、搬送路を搬送することで印刷用紙の片面を読み取り、その後、反転搬送路を搬送することで印刷用紙の読み取り面を反転し、反転した他の読み取り面の読み取りを行なう。   The reading control unit 232 instructs the image reading unit 231 to perform double-sided reading because the “booklet separation mode” is designated as the reading mode. Then, one side of the printing paper is read by carrying the conveyance path, and then the reading surface of the printing paper is reversed by carrying the reverse conveyance path, and the other reading surface that has been reversed is read.

これにより、印刷用紙を読み取った片面ごとの画像データを画像処理部213へと送信する。   As a result, the image data for each side obtained by reading the printing paper is transmitted to the image processing unit 213.

画像処理部213は、画像分割部214、回転処理部215を具備し、画像読取部231で読み取った画像データを読み取り制御部232から受信する。   The image processing unit 213 includes an image dividing unit 214 and a rotation processing unit 215, and receives image data read by the image reading unit 231 from the reading control unit 232.

図2(a)に示すような文書の第1印刷用紙を「冊子分離モード」で読み取り、画像処理部213が受信した画像データの一例を図4(a)の[イ]、図4(b)の[イ]に示している。   An example of image data received by the image processing unit 213 by reading the first print sheet of the document as shown in FIG. 2A in the “booklet separation mode” and FIG. 4B. ) [I].

図4(a)の[イ]は、図2(b)に示すような第1印刷用紙の表面を読み取った画像データを示し、図4(b)の[イ]は、図2(b)に示すような第1印刷用紙の裏面を読み取った画像データを示す。   [A] in FIG. 4A shows image data obtained by reading the surface of the first printing paper as shown in FIG. 2B, and [I] in FIG. 4B shows FIG. 2B. The image data which read the back surface of the 1st printing paper as shown in FIG.

まず、このような片面の画像データを受信した画像処理部213では、その画像データに対して色変換処理等を行なう。さらに、画像処理部213の画像分割部214によって画像データの長辺中心点から垂直直線で均等分割する。この画像分割部214による分割処理によって図4(a)の[イ]、図4(b)の[イ]を均等分割、この場合2分割された状態をそれぞれ図4(a)の[ロ]、図4(b)の[ロ]に示している。   First, the image processing unit 213 that has received such single-sided image data performs color conversion processing or the like on the image data. Further, the image dividing unit 214 of the image processing unit 213 equally divides the image data along the vertical straight line from the center point of the long side. By the dividing process by the image dividing unit 214, [A] in FIG. 4A and [A] in FIG. 4B are equally divided. In this case, the divided state is divided into [B] in FIG. FIG. 4B shows [B].

図4(a)の[ロ]は、図4(a)の[イ]の画像データを均等分割した状態を示し、その画像データの左端側を左ページオブジェクトとし、右端側を右ページオブジェクトとして分割した状態である。また、図4(b)の[ロ]は、図4(b)の[イ]の画像データを均等分割した状態を示し、その画像データの左端側を左ページオブジェクトとし、右端側を右ページオブジェクトとして分割した状態である。   [B] in FIG. 4A shows a state in which the image data in [A] in FIG. 4A is equally divided. The left end side of the image data is a left page object, and the right end side is a right page object. It is in a divided state. [B] in FIG. 4B shows a state in which the image data in [b] in FIG. 4B is equally divided. The left end side of the image data is a left page object, and the right end side is a right page. It is in a state of being divided as an object.

このようにして画像分割部214によって均等分割されると、続いて、画像処理部213の回転処理部215では、均等分割された各画像データを同一方向に回転する。   After being equally divided by the image dividing unit 214 in this way, subsequently, the rotation processing unit 215 of the image processing unit 213 rotates the equally divided image data in the same direction.

図4(a)の[ハ]は、図4(a)の[ロ]の左ページオブジェクトおよび右ページオブジェクトをそれぞれ左方向に90度回転された画像データであり、また同様に、図4(b)の[ハ]は、図4(b)の[ロ]の左ページオブジェクトおよび右ページオブジェクトをそれぞれ左方向に90度回転された画像データである。   [C] in FIG. 4A is image data obtained by rotating the left page object and the right page object of [B] in FIG. 4A by 90 degrees to the left. Similarly, FIG. [c] in (b) is image data obtained by rotating the left page object and the right page object in [b] in FIG.

このように、画像処理部213によって印刷用紙ごとに画像処理が行なわれると、画像処理が行なわれた各画像データ(第1印刷用紙に対して画像処理を行なった場合には図4(a)の[ハ]と図4(b)の[ハ]に示す4つの画像データ)をデータフォーマット部212へと送信する。   As described above, when image processing is performed for each printing sheet by the image processing unit 213, each image data subjected to the image processing (in FIG. 4A when image processing is performed on the first printing sheet). (C) and (four image data shown in [c] in FIG. 4B) are transmitted to the data format unit 212.

また、画像処理部213では、読み取った画像データの数量情報をジョブ制御部216へと通知する。   Further, the image processing unit 213 notifies the job control unit 216 of the quantity information of the read image data.

ジョブ制御部216は、ページ順序管理部217を具備し、画像処理部213から受信した画像データの数量情報を元にページ順序管理部217でページ順序管理処理を行なう。このページ順序管理処理では、図5(c)に示すようなページ順序管理テーブルを作成する。   The job control unit 216 includes a page order management unit 217. The page order management unit 217 performs page order management processing based on the quantity information of the image data received from the image processing unit 213. In this page order management process, a page order management table as shown in FIG.

このページ順序管理部217では、図5(c)に示すようなページ順序管理テーブルの作成に際して、図5(a)のページ順序管理テーブル、図5(b)に示すようなページ順序管理テーブルを順次作成する。   When the page order management unit 217 creates the page order management table as shown in FIG. 5C, the page order management table as shown in FIG. 5A and the page order management table as shown in FIG. Create sequentially.

ページ順序管理部217では、画像処理前の画像データ(第1印刷用紙の表面の画像データと、裏面のデータそれぞれ)が左端側の画像データと右端側の画像データとによって構成されており、左端側の画像データと右端側の画像データとがそれぞれ異なるページオブジェクトによって文書を構成していることを認識する。そして、認識した各ページオブジェクトに対してページ番号を設定する。   In the page order management unit 217, the image data before image processing (the image data on the front surface of the first printing paper and the data on the back surface) are composed of the image data on the left end side and the image data on the right end side. It is recognized that the image data on the side and the image data on the right end side are composed of different page objects. Then, a page number is set for each recognized page object.

このページ番号の設定においては、各印刷用紙における最初の画像データのページオブジェクトの左端側のページオブジェクト(以下、「左ページオブジェクト」ともいう)に対して「未決定」と設定し、右端側のページオブジェクト(以下、「右ページオブジェクト」ともいう)のページ番号に未使用の最小番号を設定する。さらに、次の画像データの右端側のページオブジェクトに対しても「未決定」と設定し、左端側のページオブジェクトに対して未使用の最小番号を設定する。このときの未使用の最小番号とは、最初の画像データの左端側のページオブジェクトに対して採番した最小番号の次に大きな番号である。   In this page number setting, “undecided” is set for the page object (hereinafter also referred to as “left page object”) on the left end side of the page object of the first image data on each print sheet, and the right end side is set. An unused minimum number is set as the page number of the page object (hereinafter also referred to as “right page object”). Further, “undecided” is also set for the page object on the right end side of the next image data, and an unused minimum number is set for the page object on the left end side. The unused minimum number at this time is the next highest number after the minimum number assigned to the page object on the left end side of the first image data.

これによって、図5(a)に示すようなページ順序管理テーブルが作成される。   As a result, a page order management table as shown in FIG.

図5(a)に示すページ順序管理テーブルは、[ページオブジェクト]項目501、[ページ番号]項目502によって構成され、[ページオブジェクト]項目501は、各画像データのページオブジェクトのページオブジェクト番号であり、[ページ番号]項目502は、[ページオブジェクト]項目501に表すページオブジェクト番号のページオブジェクトが、冊子のように綴じられた状態にある場合に構成するページ番号である。   The page order management table shown in FIG. 5A includes a [page object] item 501 and a [page number] item 502. The [page object] item 501 is a page object number of a page object of each image data. The [page number] item 502 is a page number configured when the page object of the page object number represented in the [page object] item 501 is bound like a booklet.

図5(a)のページ順序管理テーブルの[ページオブジェクト]項目501には、図4(a)の[ハ]の左ページオブジェクトと右ページオブジェクトおよび図4(b)の[ハ]の左ページオブジェクトと右ページオブジェクトそれぞれに対するページオブジェクト番号である「ページ0001」、「ページ0002」、「ページ0003」、「ページ0004」を示している。   In the [page object] item 501 of the page order management table of FIG. 5A, the left page object and right page object of [C] in FIG. 4A and the left page of [C] in FIG. 4B. The page object numbers “page 0001”, “page 0002”, “page 0003”, and “page 0004” for the object and the right page object are shown.

また、[ページ番号]項目502には、[ページオブジェクト]項目501が「ページ0001」であるページ番号として「未決定」が設定されている。これは、ページ順序管理部217によって最初の画像データの左ページオブジェクトのページ番号を「未決定」とするためである。   In the [page number] item 502, “undecided” is set as the page number in which the [page object] item 501 is “page 0001”. This is because the page order management unit 217 sets the page number of the left page object of the first image data to “undecided”.

次に、[ページオブジェクト]項目501が「ページ0002」のページ番号として、未使用の最小番号、すなわち「1」が設定される。   Next, an unused minimum number, that is, “1” is set in the “page object” item 501 as the page number of “page 0002”.

次に、[ページオブジェクト]項目501が「ページ0003」のページ番号として、最初の画像データの右ページオブジェクトのページ番号「1」の次に最小の番号である「2」が設定される。   Next, “2” which is the smallest number after the page number “1” of the right page object of the first image data is set as the page number of “page 0003” in the “page object” item 501.

そして、[ページオブジェクト]項目501が「ページ0004」のページ番号として「未決定」が設定されている。これは、ページ順序管理部217によって最後の画像データの右ページオブジェクトのページ番号を「未決定」として取り扱うことためである。   The “page object” item 501 is set to “undecided” as the page number of “page 0004”. This is because the page order management unit 217 handles the page number of the right page object of the last image data as “undecided”.

このようにしてページ順序管理テーブルが作成されると、ページ順序管理部217では読取制御部232から読み取り処理の終了通知を受信するまで記憶した状態とする。   When the page order management table is created in this way, the page order management unit 217 stores the page order management table 217 until it receives a read processing end notification from the reading control unit 232.

画像処理部213から画像データを受信したデータフォーマット部212では、受信した画像データをそれぞれイメージオブジェクトとして出力する。このときの画像データは、画像処理後の画像データであることから、各印刷用紙における4つの画像データを受信することとなり、これらの各画像データをイメージオブジェクトとして出力する。   The data format unit 212 that has received the image data from the image processing unit 213 outputs the received image data as an image object. Since the image data at this time is image data after image processing, four image data on each printing paper are received, and each of these image data is output as an image object.

さらに、その各イメージオブジェクトに対し、ページ属性として指定された用紙サイズにそのイメージオブジェクトが収まるように指定されたページオブジェクトを出力する。   Further, for each image object, a page object designated so that the image object fits on the paper size designated as the page attribute is output.

このページオブジェクトは、指定された用紙に貼り付けるイメージオブジェクトを指定するほか、用紙に貼り付ける際のイメージオブジェクトの位置、大きさ、範囲が指定された情報である。   This page object is information that specifies the image object to be pasted on the designated paper and the position, size, and range of the image object to be pasted on the paper.

このようにしてデータフォーマット部212でイメージオブジェクトとそのイメージオブジェクトに対するページオブジェクトとが出力されると、これらを一対としてネットワーク制御部211へと通知する。ネットワーク制御部211では、予め指定された画像管理装置にそのイメージオブジェクトおよびページオブジェクトを送信する。   In this way, when the image object and the page object corresponding to the image object are output by the data formatting unit 212, they are notified to the network control unit 211 as a pair. The network control unit 211 transmits the image object and page object to a previously specified image management apparatus.

なお、上記の画像処理部213、ジョブ制御部216、データフォーマット部212、ネットワーク制御部211では、第1印刷用紙の読み取り処理を行なった場合における処理を示しているが、以下では、文書の最後の印刷用紙である第2印刷用紙を読み取った画像データについて説明する。   Note that the image processing unit 213, job control unit 216, data format unit 212, and network control unit 211 described above show the processing when the first printing paper is read. Next, image data obtained by reading the second printing paper, which is the printing paper, will be described.

画像処理部213は、画像読取部231によって読み取った第2印刷用紙に対する画像データを読取制御部232から受信すると、色変換処理等を行なう。このときの画像処理部213が受信した画像データの一例を、図4(c)の[イ]、図4(d)の[イ]に示している。   When the image processing unit 213 receives image data for the second print sheet read by the image reading unit 231 from the reading control unit 232, the image processing unit 213 performs color conversion processing and the like. An example of the image data received by the image processing unit 213 at this time is shown in [A] in FIG. 4C and [A] in FIG.

この図4(c)の[イ]、図4(d)の[イ]に示す画像データは、図2(a)に示すような文書の第2印刷用紙を「冊子分離モード」で読み取ったものである。   The image data shown in [A] in FIG. 4C and [I] in FIG. 4D is obtained by reading the second print sheet of the document as shown in FIG. 2A in the “booklet separation mode”. Is.

続いて、画像処理部213では、画像分割部214によって画像データを均等分割し、画像分割部214によって均等分割された各画像データを回転処理部215によって同一方向に回転する。   Subsequently, in the image processing unit 213, the image data is equally divided by the image dividing unit 214, and each image data equally divided by the image dividing unit 214 is rotated in the same direction by the rotation processing unit 215.

例えば、図4(c)の[ロ]は、図4(c)の[イ]の画像データを均等分割した状態を示し、その画像データの左端側を左ページオブジェクトとし、右端側を右ページオブジェクトとして分割した状態を示している。図4(d)の[ロ]は、図4(d)の[イ]の画像データを均等分割した状態を示し、その画像データの左端側を左オブジェクトとし、右端側を右ページオブジェクトとして分割した状態を示している。   For example, [b] in FIG. 4C shows a state in which the image data in [b] in FIG. 4C is equally divided, the left end side of the image data is a left page object, and the right end side is a right page. It shows a state of being divided as an object. [B] in FIG. 4D shows a state in which the image data in [b] in FIG. 4D is divided equally, and the left end side of the image data is set as a left object and the right end side is set as a right page object. Shows the state.

このようにして画像分割部214によって均等分割された画像データを回転処理部215によって回転した状態を図4(c)の[ハ]、図4(d)の[ハ]に示している。   The state in which the image data equally divided by the image dividing unit 214 in this way is rotated by the rotation processing unit 215 is shown in [c] in FIG. 4C and [C] in FIG.

図4(c)の[ハ]は、図4(c)の[ロ]の左ページオブジェクトおよび右ページオブジェクトをそれぞれ左方向に90度回転された画像データであり、図4(d)の[ハ]は、図4(d)の[ロ]の左ページオブジェクトおよび右ページオブジェクトをそれぞれ左方向に90度回転された画像データである。   [C] in FIG. 4C is image data obtained by rotating the left page object and the right page object in [B] in FIG. 4C by 90 degrees to the left, and [C] in FIG. C] is image data obtained by rotating the left page object and the right page object of [B] in FIG.

このように、画像処理部213によって印刷用紙ごとに画像処理が行なわれると、画像処理が行なわれた各画像データ(第2印刷用紙に対して画像処理を行なった場合には図4(c)の[ハ]と図4(d)の[ハ]に示す4つの画像データ)をデータフォーマット部212へと送信する。   As described above, when the image processing is performed for each printing sheet by the image processing unit 213, each image data subjected to the image processing (FIG. 4C when image processing is performed on the second printing sheet). (C) and (four image data indicated by [c] in FIG. 4D) are transmitted to the data format unit 212.

また、画像処理部213では、読み取った画像データの数量情報をジョブ制御部216へと通知する。   Further, the image processing unit 213 notifies the job control unit 216 of the quantity information of the read image data.

ジョブ制御部216は、画像処理部213から受信した画像データの数量情報を元にページ順序管理部217でページ順序管理処理を行なう。   The job control unit 216 performs page order management processing by the page order management unit 217 based on the quantity information of the image data received from the image processing unit 213.

画像処理部213によって第2印刷用紙に基づく4ページ分の画像データが画像処理された場合において、ページ順序管理部217で管理されるページ順序管理テーブルを図5(b)に示す。   FIG. 5B shows a page order management table managed by the page order management unit 217 when the image processing unit 213 performs image processing on image data for four pages based on the second printing paper.

図5(b)に示すページ順序管理テーブルは、図5(a)に示す第1印刷用紙のページ順序管理テーブルに、第2印刷用紙の各画像データに関する情報を付加して作成されるページ順序管理テーブルである。   The page order management table shown in FIG. 5B is a page order created by adding information about each image data of the second print paper to the page order management table of the first print paper shown in FIG. It is a management table.

図5(b)には、図5(a)に付加された第2印刷用紙の各画像データに関する情報として、第2印刷用紙の最初の画像データに対するページオブジェクトの左ページオブジェクトのページオブジェクト番号である「ページ0005」、最初の画像データの次の画像データに対するページオブジェクトの右ページオブジェクトのページオブジェクト番号である「ページ0006」、次の画像データに対するページオブジェクトの左ページオブジェクトのページオブジェクト番号である「ページ0007」、次の画像データに対するページオブジェクトの右ページオブジェクトのページオブジェクト番号である「ページ0008」が付加されている。   FIG. 5B shows the page object number of the left page object of the page object for the first image data of the second print paper as information on each image data of the second print paper added to FIG. “Page 0005”, the page object number of the right page object of the page object for the next image data of the first image data, “Page 0006”, the page object number of the left page object of the page object for the next image data “Page 0007” and “page 0008” which is the page object number of the right page object of the page object for the next image data are added.

また、図5(b)の[ページ番号]項目502には、各ページオブジェクトに対するページ番号が設定されており、[ページオブジェクト]項目501が「ページ0005」のページ番号として「未決定」が設定されている。   Further, the page number for each page object is set in the [page number] item 502 in FIG. 5B, and the “page object” item 501 is set to “undecided” as the page number of “page 0005”. Has been.

次に、[ページオブジェクト]項目501により示されるページオブジェクト番号が「ページ0006」であるページオブジェクトのページ番号として、未使用の最小番号、すなわち「3」が設定される。ページ番号「1」、「2」は第1印刷用紙のページ番号として使用済みであることから、未使用のうちの最小のページ番号として「3」が設定されることとなる。   Next, an unused minimum number, that is, “3” is set as the page number of the page object whose page object number indicated by the “page object” item 501 is “page 0006”. Since the page numbers “1” and “2” have already been used as the page numbers of the first printing paper, “3” is set as the smallest unused page number.

次に、[ページオブジェクト]項目501により示されるページオブジェクト番号が「ページ0007」であるページオブジェクトのページ番号として、最初の画像データの次の画像データに採番したページ番号「3」の次に最小の番号である「4」が設定される。   Next, the page number of the page object whose page object number is “page 0007” indicated by the “page object” item 501 is next to the page number “3” assigned to the image data next to the first image data. The minimum number “4” is set.

そして、[ページオブジェクト]項目501により示されるページオブジェクト番号が「ページ0008」であるページオブジェクトのページ番号として「未決定」が設定されている。   Then, “undecided” is set as the page number of the page object whose page object number indicated by the “page object” item 501 is “page 0008”.

このようにして図5(b)に示すようなページ順序管理テーブルが作成されると、ページ順序管理部217では読取制御部232から読み取り処理の終了通知を受信するまで記憶した状態とする。   When the page order management table as shown in FIG. 5B is created in this way, the page order management unit 217 keeps the page order management table 217 until it receives a read processing end notification from the read control unit 232.

画像処理部213から画像データを受信したデータフォーマット部212では、受信した画像データをそれぞれイメージオブジェクトとして出力する。このときの画像データは、画像処理後の画像データであることから、各印刷用紙における4つの画像データを受信することとなり、これらの各画像データをイメージオブジェクトとして出力する。   The data format unit 212 that has received the image data from the image processing unit 213 outputs the received image data as an image object. Since the image data at this time is image data after image processing, four image data on each printing paper are received, and each of these image data is output as an image object.

さらに、その各イメージオブジェクトに対し、ページ属性として指定された用紙サイズにそのイメージオブジェクトが収まるように指定されたページオブジェクトを出力する。   Further, for each image object, a page object designated so that the image object fits on the paper size designated as the page attribute is output.

このようにしてデータフォーマット部212でイメージオブジェクトとそのイメージオブジェクトに対するページオブジェクトとが出力されると、これらを一対としてネットワーク制御部211へと通知する。ネットワーク制御部211では、予め指定された画像管理装置にそのイメージオブジェクトおよびページオブジェクトを送信する。   In this way, when the image object and the page object corresponding to the image object are output by the data formatting unit 212, they are notified to the network control unit 211 as a pair. The network control unit 211 transmits the image object and page object to a previously specified image management apparatus.

画像読取部231のフィーダーに印刷用紙が残っていない場合(図2(a)に示すような文書で第2印刷用紙の裏面の読み取り処理が終了した場合)や読取条件クリアボタンが押下された場合に、読取制御部232では、終了通知をジョブ制御部216に通知する。   When there is no printing paper remaining in the feeder of the image reading unit 231 (when the back side of the second printing paper has been read in the document as shown in FIG. 2A) or when the reading condition clear button is pressed In addition, the reading control unit 232 notifies the job control unit 216 of an end notification.

この終了通知を受信したジョブ制御部216が、第2印刷用紙の裏面の画像データに基づいてページ順序管理テーブルが作成された状態にある場合には、ページ順序管理部217において管理するページ順序管理テーブルの「未決定」のページ番号を設定するページ番号決定処理を行なう。また、ページ順序管理テーブルが作成途中、作成前である場合には作成が完了した後にページ番号決定処理を行なう。   When the job control unit 216 that has received the end notification is in a state in which the page order management table has been created based on the image data on the back surface of the second printing paper, the page order management managed by the page order management unit 217. A page number determination process for setting the “undecided” page number of the table is performed. If the page order management table is in the process of being created and before being created, the page number determination process is performed after the creation is completed.

この番号決定処理では、まず総ページオブジェクト数若しくは数量情報の合計値から全ページ数を特定し、その総ページ数をページオブジェクト番号が小さいページ番号に設定する。次に、ページオブジェクト番号が小さいページオブジェクトから順に、総ページ数から「1」を減算した番号をページ番号と設定する。   In this number determination process, first, the total number of pages is specified from the total number of page objects or the total value of quantity information, and the total number of pages is set to a page number with a small page object number. Next, in order from the page object with the smallest page object number, a number obtained by subtracting “1” from the total number of pages is set as the page number.

これにより、図5(c)に示すページ順序管理テーブルのように、ページオブジェクト番号が「ページ0001」であるページオブジェクトのページ番号に、総ページ数の「8」が設定され、ページオブジェクト番号が「ページ0004」であるページオブジェクトのページ番号に、総ページ数の「8」から「1」を引いた「7」が設定される。   Thus, as in the page order management table shown in FIG. 5C, the page number of the page object whose page object number is “page 0001” is set to “8” as the total page number, and the page object number is The page number of the page object “page 0004” is set to “7” obtained by subtracting “1” from the total number of pages “8”.

続いて、ページオブジェクト番号が「ページ0005」であるページオブジェクトのページ番号に、総ページ数よりも小さく、未使用の番号である「6」と「5」のうち、最も大きな番号である「6」が設定される。そして、ページオブジェクト番号が「ページ0008」であるページオブジェクトのページ番号に、総ページ数よりも小さく、未使用の番号である「5」を設定する。この場合、ページ番号「5」のみが設定されていない状態にあることからこのページ番号「5」が設定されることとなる。   Subsequently, the page number of the page object whose page object number is “page 0005” is smaller than the total number of pages and is the largest number among the unused numbers “6” and “5” “6”. Is set. Then, an unused number “5”, which is smaller than the total number of pages, is set to the page number of the page object whose page object number is “page 0008”. In this case, since only the page number “5” is not set, this page number “5” is set.

これにより、図5(c)に示すページ順序管理テーブルは、ページオブジェクト番号が「ページ0001」であるページオブジェクトのページ番号が「8」であることを示し、ページオブジェクト番号が「ページ0002」であるページオブジェクトのページ番号が「1」であることを示し、ページオブジェクト番号が「ページ0003」であるページオブジェクトのページ番号が「2」であることを示し、ページオブジェクト番号が「ページ0004」であるページオブジェクトのページ番号が「7」であることを示し、ページオブジェクト番号が「ページ0005」であるページオブジェクトのページ番号が「6」であることを示し、ページオブジェクト番号が「ページ0006」であるページオブジェクトのページ番号が「3」であることを示し、ページオブジェクト番号が「ページ0007」であるページオブジェクトのページ番号が「4」であることを示し、ページオブジェクト番号が「ページ0008」であるページオブジェクトのページ番号が「5」であることを示す。   As a result, the page order management table shown in FIG. 5C indicates that the page number of the page object whose page object number is “page 0001” is “8”, and the page object number is “page 0002”. The page number of a certain page object is “1”, the page number of a page object whose page object number is “page 0003” is “2”, and the page object number is “page 0004”. This indicates that the page number of a certain page object is “7”, the page number of the page object whose page object number is “page 0005” is “6”, and the page object number is “page 0006”. The page number of a page object is “3” Indicates that the page number of the page object whose page object number is “page 0007” is “4”, and the page number of the page object whose page object number is “page 0008” is “5”. It shows that.

このようなページ順序管理テーブルがページ順序管理部217によって作成されると、ジョブ制御部216は、データフォーマット部212に対してこのページ順序管理テーブルを送信する。   When such a page order management table is created by the page order management unit 217, the job control unit 216 transmits the page order management table to the data format unit 212.

データフォーマット部212では、このページ順序管理テーブルを元にページツリーノードオブジェクトを出力する。このページツリーノードオブジェクトは、設定されたページ番号に基づいて昇降順のいずれかでページオブジェクト番号を整列したツリーノードである。   The data format unit 212 outputs a page tree node object based on this page order management table. This page tree node object is a tree node in which page object numbers are arranged in any of ascending and descending order based on a set page number.

そして、ページツリーノードオブジェクトを出力したデータフォーマット部212は、ネットワーク制御部211にこれを通知し、ネットワーク制御部211は、イメージオブジェクト、ページオブジェクトを管理する画像管理装置100に対して送信する。   The data formatting unit 212 that has output the page tree node object notifies the network control unit 211 of this, and the network control unit 211 transmits the image object and page object to the image management apparatus 100 that manages the image object.

このとき、画像管理装置100では、受信したイメージオブジェクトおよびページオブジェクトとともに受信したページツリーノードオブジェクトが管理された状態となる。   At this time, in the image management apparatus 100, the received page tree node object is managed together with the received image object and page object.

画像管理装置100により管理されたこれらのオブジェクトからなる読取ファイル情報の一例を図6に示している。   An example of read file information composed of these objects managed by the image management apparatus 100 is shown in FIG.

次に、読取条件入力部221の冊子スキャン指定部222で「冊子モード」が指定され、さらに冊子綴じ状態指定部224で「冊子綴じモード」が指定された場合について以下で説明する。   Next, a case where “booklet mode” is designated by the booklet scan designation unit 222 of the reading condition input unit 221 and “booklet binding mode” is designated by the booklet binding state designation unit 224 will be described below.

この冊子綴じモードで読取処理を行なうには、ADFなどのフィーダーの原稿台を用いることができないことから、フラットベッド型の原稿台(以下、「プラテン」という)にセットされた読取対象の読み取りを行なう。   In order to perform the reading process in the booklet binding mode, it is impossible to use a document table of a feeder such as ADF. Therefore, reading of a reading target set on a flat bed type document table (hereinafter referred to as “platen”) is performed. Do.

読取条件入力部221の冊子スキャン指定部222で読取モードを指定後、スキャン指示部223で印刷用紙の読み取りを指示すると、スキャン指示部223は、ジョブ制御部216に対して読み取り指示を行なう。   After specifying the reading mode in the booklet scan specifying unit 222 of the reading condition input unit 221 and instructing the scan instruction unit 223 to read the printing paper, the scan instruction unit 223 instructs the job control unit 216 to read.

このとき、ジョブ制御部216は、スキャン指示部223から読み取り指示を受信し、読取条件入力部221で入力された読取条件の通知を受けると、読取処理部230の読取制御部232に対してモード識別情報により識別される読取モードに基づく印刷用紙の読取指示を行なう。   At this time, when the job control unit 216 receives the reading instruction from the scan instruction unit 223 and receives the notification of the reading condition input by the reading condition input unit 221, the job control unit 216 sets the mode to the reading control unit 232 of the reading processing unit 230. A printing paper reading instruction is issued based on the reading mode identified by the identification information.

読取制御部232は、画像読取部231に対して文書の読み取りを指示し、画像読取部231は、冊子などの綴じられた文書のページを見開いた状態でプラテン上にセットされた文書の読み取りを行なうことにより画像データを生成する。このとき、読取制御部232は、ジョブ制御部216に対して読み取りの開始通知を行なう。また、読取処理が終了した場合にはジョブ制御部216に対して読み取りの終了通知を行なう。   The reading control unit 232 instructs the image reading unit 231 to read the document, and the image reading unit 231 reads the document set on the platen in a state where the page of the bound document such as a booklet is opened. By doing so, image data is generated. At this time, the reading control unit 232 notifies the job control unit 216 of the start of reading. Further, when the reading process is completed, a reading completion notification is sent to the job control unit 216.

これにより、読み取った画像データを画像処理部213へと送信する。この画像データは、文書の見開きページの画像データであって、2ページ分の画像データによって構成される。   Thereby, the read image data is transmitted to the image processing unit 213. This image data is image data of a spread page of a document, and is composed of image data for two pages.

このときの画像データの一例を図18に示す。   An example of the image data at this time is shown in FIG.

図18(a)は、冊子のように綴じられた文書を示した図であって、この図2(a)では、印刷用紙2枚の全8ページからなる文書を示しており、表紙を先頭の1ページ目とし、裏表紙を最終の8ページ目としている。   FIG. 18A shows a document bound like a booklet. FIG. 2A shows a document consisting of eight pages of two printing sheets, with the cover at the top. And the back cover is the final eighth page.

図18(b)、図18(c)、図18(d)、図18(e)は、画像読取部231によって読み取りが行なわれるページの見開き面を示す図であって、図18(b)は、表紙と裏表紙を見開き面とした図であって、図18(c)、図18(d)、図18(e)は、図18(a)に示す文書の内ページを見開きにした状態を示す図である。   18 (b), 18 (c), 18 (d), and 18 (e) are diagrams showing a facing surface of a page that is read by the image reading unit 231, and FIG. 18 (b) Fig. 18 (c), Fig. 18 (d), and Fig. 18 (e) are two-page spreads of the document shown in Fig. 18 (a). It is a figure which shows a state.

このうち、図18(c)は、文書の2ページ目および3ページ目を見開いた状態であって、図18(d)は、文書の4ページ目および5ページ目を見開いた状態であって、図18(e)は、文書の6ページ目および7ページ目を見開いた状態である。   18C shows a state where the second and third pages of the document are opened, and FIG. 18D shows a state where the fourth and fifth pages of the document are opened. FIG. 18E shows a state in which the sixth and seventh pages of the document are opened.

図18(f)、図18(g)、図18(h)、図18(i)は、図18(b)、図18(c)、図18(d)、図18(e)の見開きを読取処理によって読み取ることにより生成される画像データのイメージを示す図である。   18 (f), FIG. 18 (g), FIG. 18 (h), and FIG. 18 (i) are shown in FIG. 18 (b), FIG. 18 (c), FIG. 18 (d), and FIG. It is a figure which shows the image of the image data produced | generated by reading this by reading process.

このことから、図18(a)に示すような全8ページからなる文書を、冊子綴じモードで読み取ることによって、4つの画像データが生成されることとなる。   From this, four image data are generated by reading a document consisting of all eight pages as shown in FIG. 18A in the booklet binding mode.

そして、画像処理部213は、画像分割部214、回転処理部215を具備し、画像読取部231で読み取った図18(f)、図18(g)、図18(h)、図18(i)の画像データを読み取り制御部232から受信する。   The image processing unit 213 includes an image dividing unit 214 and a rotation processing unit 215, and is read by the image reading unit 231 as shown in FIGS. 18 (f), 18 (g), 18 (h), and 18 (i). ) Is received from the reading control unit 232.

画像処理部213では、その各画像データに対して色変換処理等を行なう。さらに、画像処理部213の画像分割部214によって画像データの長辺中心点から垂直直線で均等分割する。均等分割した各画像データは、回転処理部215により同一方向に一定角度で回転が行なわれる。   The image processing unit 213 performs color conversion processing on each image data. Further, the image dividing unit 214 of the image processing unit 213 equally divides the image data along the vertical straight line from the center point of the long side. Each equally divided image data is rotated by the rotation processing unit 215 at a constant angle in the same direction.

画像分割部214による分割処理により均等分割された状態および回転処理部215によって画像データを回転した状態を図19に示す。   FIG. 19 shows a state where the image data is evenly divided by the division processing by the image dividing unit 214 and a state where the image data is rotated by the rotation processing unit 215.

図19(a)は、図18(f)に示す画像データと同一の画像データを図19(a)の[イ]に示し、この画像データを均等分割した画像データを図19(a)の[ロ]に示し、この図19(a)の[ロ]に示す画像データを回転処理した画像データを図19(a)の[ハ]に示している。   FIG. 19A shows the same image data as the image data shown in FIG. 18F in [A] of FIG. 19A, and the image data obtained by equally dividing the image data is shown in FIG. 19A. Image data obtained by rotating the image data shown in [b] of FIG. 19A is shown in [c] of FIG. 19A.

同様に、図19(b)は、図18(g)に示す画像データと同一の画像データを図19(b)の[イ]に示し、この画像データを均等分割した画像データを図19(b)の[ロ]に示し、この図19(b)の[ロ]に示す画像データを回転処理した画像データを図19(b)の[ハ]に示している。さらに、図19(c)は、図18(h)に示す画像データと同一の画像データを図19(c)の[イ]に示し、この画像データを均等分割した画像データを図19(c)の[ロ]に示し、この図19(c)の[ロ]に示す画像データを回転処理した画像データを図19(c)の[ハ]に示している。   Similarly, FIG. 19B shows the same image data as the image data shown in FIG. 18G in [A] of FIG. 19B, and the image data obtained by equally dividing the image data is shown in FIG. The image data obtained by rotating the image data shown in [b] of FIG. 19B and shown in [b] of b) is shown in [c] of FIG. 19B. Further, FIG. 19C shows the same image data as the image data shown in FIG. 18H in [A] of FIG. 19C, and the image data obtained by equally dividing the image data is shown in FIG. The image data obtained by rotating the image data shown in [b] of FIG. 19C is shown in [c] of FIG. 19C.

このように、画像処理部213によって画像処理が行なわれると、読取処理で読み取った画像データに対して画像処理後の画像データをデータフォーマット部212へと送信する。   As described above, when the image processing is performed by the image processing unit 213, the image data after the image processing is transmitted to the data formatting unit 212 with respect to the image data read by the reading processing.

また、画像処理部213では、読み取った画像データの数量情報をジョブ制御部216へと通知する。   Further, the image processing unit 213 notifies the job control unit 216 of the quantity information of the read image data.

ジョブ制御部216は、ページ順序管理部217を具備し、画像処理部213から受信した画像データの数量情報を元にページ順序管理部217でページ順序管理処理を行なう。このページ順序管理処理では、図21(d)に示すようなページ順序管理テーブルを作成する。   The job control unit 216 includes a page order management unit 217. The page order management unit 217 performs page order management processing based on the quantity information of the image data received from the image processing unit 213. In this page order management process, a page order management table as shown in FIG.

このページ順序管理部217では、図20(d)に示すようなページ順序管理テーブルの作成に際して、図20(a)、図20(b)、図20(c)に示すようなページ順序管理テーブルを順次作成する。   When the page order management unit 217 creates the page order management table as shown in FIG. 20D, the page order management table as shown in FIGS. 20A, 20B, and 20C is used. Are created sequentially.

ページ順序管理部217では、画像処理前の画像データが左端側の画像データと右端側の画像データとによって構成されており、左端側の画像データと右端側の画像データとがそれぞれ異なるページオブジェクトによって文書を構成していることを認識する。そして、認識した各ページオブジェクトに対してページ番号を設定する。   In the page order management unit 217, the image data before image processing is composed of left end image data and right end image data, and the left end image data and the right end image data are different by different page objects. Recognize that the document is composed. Then, a page number is set for each recognized page object.

このページ番号の設定においては、画像データの左端側のページオブジェクト(以下、「左ページオブジェクト」ともいう)に対して「未決定」と設定し、右端側のページオブジェクト(以下、「右ページオブジェクト」ともいう)のページ番号に未使用の最小番号を設定する。   In this page number setting, “undecided” is set for the page object on the left end side of the image data (hereinafter also referred to as “left page object”), and the page object on the right end side (hereinafter “right page object”). The unused minimum number is set as the page number.

これによって、図20(a)に示すようなページ順序管理テーブルが作成される。   As a result, a page order management table as shown in FIG.

この図20(a)に示すようなページ順序管理テーブルは、左ページオブジェクトのページ番号を「未決定」とし、右ページオブジェクトのページ番号を未使用の最小番号として「1」が設定された状態にある。   In the page order management table as shown in FIG. 20A, the page number of the left page object is “undecided”, and the page number of the right page object is set to “1” as the minimum unused number. It is in.

続いて、次の画像データの数量情報が画像処理部213からジョブ制御部216へ通知されると、ジョブ制御部216のページ順序管理部217は、その画像データの各ページオブジェクトを認識し、ページ番号を設定する。   Subsequently, when the quantity information of the next image data is notified from the image processing unit 213 to the job control unit 216, the page order management unit 217 of the job control unit 216 recognizes each page object of the image data, and Set the number.

このページ番号の設定においては、図20(a)に示すようなページ順序管理テーブルが作成された状態にあって、先の画像データの最後のページオブジェクト(図20(a)ではページオブジェクト番号「0002」)のページ番号が「未決定」である場合、その「未決定」であるページ番号に未使用の最小番号を設定する。続いて、受信した画像データの左オブジェクトのページ番号に未使用の最小番号を設定し、さらに右オブジェクトのページ番号を次に未使用の最小番号と設定する。   In the setting of the page number, the page order management table as shown in FIG. 20A has been created, and the last page object of the previous image data (the page object number “ 0002 ”) is“ undecided ”, an unused minimum number is set as the“ undetermined ”page number. Subsequently, the unused minimum number is set as the page number of the left object of the received image data, and the page number of the right object is set as the next unused minimum number.

これによって、図20(b)に示すようなページ順序管理テーブルが作成される。   As a result, a page order management table as shown in FIG. 20B is created.

この図20(b)に示すページ順序管理テーブルは、先の画像データの最後のページオブジェクト(ページオブジェクト番号「0002」)のページ番号が「未決定」であることから、このページ番号に未使用の最小番号である「2」を設定する。次に、受信した画像データの左オブジェクトのページ番号として未使用の最小番号である「3」を設定し、右オブジェクトのページ番号を次に未使用の最小番号である「5」と設定する。   In the page order management table shown in FIG. 20B, since the page number of the last page object (page object number “0002”) of the previous image data is “undecided”, this page number is not used. “2”, which is the minimum number, is set. Next, “3” that is an unused minimum number is set as the page number of the left object of the received image data, and “5” that is the next unused minimum number is set as the page number of the right object.

このようなページ番号を決定する処理を画像処理部213で受信した画像データ全てに行なう。   Such processing for determining the page number is performed on all the image data received by the image processing unit 213.

そして、画像処理部213で最終の画像データを受信し、この数量情報をジョブ制御部216が受信すると、図20(d)に示すようなページ順序管理テーブルを作成する。   Then, when the image processing unit 213 receives the final image data and the job control unit 216 receives the quantity information, a page order management table as shown in FIG.

このときジョブ制御部216のページ順序管理部217は、受信した画像データの左オブジェクトのページ番号に未使用の最小番号を設定し、さらに右オブジェクトのページ番号にその設定した最小番号の次の最小番号を設定する。さらに、ページオブジェクト番号が「0001」であって「未決定」のページ番号に未使用の最小番号を設定する。   At this time, the page order management unit 217 of the job control unit 216 sets an unused minimum number to the page number of the left object of the received image data, and further sets the minimum number next to the set minimum number to the page number of the right object. Set the number. Further, an unused minimum number is set as the page number of “0001” and “undecided”.

最後の画像データを受信したページ順序管理部217では、受信した画像データの左ページオブジェクトのページ番号に「6」を設定し、右ページオブジェクトのページ番号に「7」を設定する。さらに、ページオブジェクト番号が「0001」であって「未決定」のページ番号に「8」を設定する。   The page order management unit 217 that has received the last image data sets “6” as the page number of the left page object of the received image data, and sets “7” as the page number of the right page object. Furthermore, the page object number is “0001”, and “8” is set to the “undecided” page number.

この「未決定」のページ番号として、ページオブジェクトの総数が該当することとなる。   The total number of page objects corresponds to this “undetermined” page number.

このようにして図20(d)に示すようなページ順序管理テーブルが作成される。   In this way, a page order management table as shown in FIG.

このようにしてページ順序管理テーブルが作成されると、ページ順序管理部217では読取制御部232から読み取り処理の終了通知を受信するまで記憶した状態とする。   When the page order management table is created in this way, the page order management unit 217 stores the page order management table 217 until it receives a read processing end notification from the reading control unit 232.

画像処理部213から画像データを受信したデータフォーマット部212では、受信した画像データをそれぞれイメージオブジェクトとして出力する。このとき、データフォーマット部では、画像処理後の画像データを受信する。図18(a)に示すような文書の読取処理を行なった場合には、画像処理後の8つの画像データを受信することとなり、これらの各画像データをイメージオブジェクトとして出力する。   The data format unit 212 that has received the image data from the image processing unit 213 outputs the received image data as an image object. At this time, the data format unit receives the image data after the image processing. When a document reading process as shown in FIG. 18A is performed, eight image data after image processing are received, and each of these image data is output as an image object.

さらに、その各イメージオブジェクトに対し、ページ属性として指定された用紙サイズにそのイメージオブジェクトが収まるように指定されたページオブジェクトを出力する。   Further, for each image object, a page object designated so that the image object fits on the paper size designated as the page attribute is output.

このようにしてデータフォーマット部212でイメージオブジェクトとそのイメージオブジェクトに対するページオブジェクトとが出力されると、これらを一対としてネットワーク制御部211へと通知する。ネットワーク制御部211では、予め指定された画像管理装置にそのイメージオブジェクトおよびページオブジェクトを送信する。   In this way, when the image object and the page object corresponding to the image object are output by the data formatting unit 212, they are notified to the network control unit 211 as a pair. The network control unit 211 transmits the image object and page object to a previously specified image management apparatus.

さらに、このデータフォーマット部212では、このページ順序管理テーブルを元にページツリーノードオブジェクトを出力する。   Further, the data format unit 212 outputs a page tree node object based on the page order management table.

そして、ページツリーノードオブジェクトを出力したデータフォーマット部212は、ネットワーク制御部211にこれを通知し、ネットワーク制御部211は、イメージオブジェクト、ページオブジェクトを管理する画像管理装置100に対して送信する。   The data formatting unit 212 that has output the page tree node object notifies the network control unit 211 of this, and the network control unit 211 transmits the image object and page object to the image management apparatus 100 that manages the image object.

このとき、画像管理装置100では、受信したイメージオブジェクトおよびページオブジェクトとともに受信したページツリーノードオブジェクトが管理された状態となる。   At this time, in the image management apparatus 100, the received page tree node object is managed together with the received image object and page object.

画像管理装置100により管理されたこれらのオブジェクトからなる読取ファイル情報の一例を図21に示す。   An example of read file information including these objects managed by the image management apparatus 100 is shown in FIG.

図21に示す読取ファイル情報は、イメージオブジェクトとページオブジェクトの対の情報と、ページツリーノードオブジェクトとから構成されており、イメージオブジェクトとページオブジェクトとの対の情報はページ数分、設けられた構成である。   The read file information shown in FIG. 21 includes information on pairs of image objects and page objects, and page tree node objects, and information on pairs of image objects and page objects is provided for the number of pages. It is.

図21の読取ファイル情報は、図18(a)に示すような文書の読み取りを行なった場合に作成される情報であって、全8ページからなることから、8対のイメージオブジェクトとページオブジェクトの対の情報によって構成される。ページツリーノードオブジェクトは、全8ページのページオブジェクト番号がページ番号に並べている。   The read file information in FIG. 21 is information that is created when a document is read as shown in FIG. 18A, and is composed of 8 pages. Composed of pair information. In the page tree node object, page object numbers of all eight pages are arranged in the page number.

このページツリーノードオブジェクトのページ番号は、図20(d)に示すようなページ順序管理テーブルのページ番号に基づいて並べられている。   The page numbers of the page tree node objects are arranged based on the page numbers of the page order management table as shown in FIG.

すなわち、先頭のページオブジェクトのページ番号を最終ページ番号「8」とし、最後のページオブジェクトと設定し、他のページオブジェクトのページ番号に基づいて整列した状態となる。   That is, the page number of the first page object is set to the last page number “8”, is set as the last page object, and is arranged based on the page numbers of other page objects.

この図21に示すような読取ファイル情報が作成された状態となり、ユーザが画像管理装置100で管理するこの読取ファイル情報へアクセスすることによってページツリーノードオブジェクトに示されたページ順からなる読取文書が表示されることとなる。   The read file information as shown in FIG. 21 is created, and when the user accesses the read file information managed by the image management apparatus 100, the read document having the page order indicated in the page tree node object is obtained. Will be displayed.

上記の図17に示すような構成における詳細な処理の流れを図8に示す。   FIG. 8 shows a detailed processing flow in the configuration as shown in FIG.

この図8に示す詳細な処理は、上記で説明する処理と同一である。ただし、この図8に示す処理のページ順序管理処理(805)の詳細な流れを図22および図23に示している。   The detailed processing shown in FIG. 8 is the same as the processing described above. However, a detailed flow of the page order management process (805) of the process shown in FIG. 8 is shown in FIGS.

図22および図23には、本発明の実施の形態における画像形成装置で行なわれるページ順序管理処理の詳細な流れを示すフローチャートである。   22 and 23 are flowcharts showing the detailed flow of the page order management process performed by the image forming apparatus according to the embodiment of the present invention.

図22において、画像処理が行なわれた画像データの数量情報をジョブ制御部216が受信し、ページ順順序管理部217がジョブ制御部216からページ順序管理処理の指示要求を受信すると処理が開始され、まず、初期設定としてページオブジェクト番号を「0001」と設定し、ページ番号を「1」と設定する(2201)。   In FIG. 22, when the job control unit 216 receives quantity information of image data that has undergone image processing, and the page order order management unit 217 receives an instruction request for page order management processing from the job control unit 216, the processing is started. First, as an initial setting, the page object number is set to “0001”, and the page number is set to “1” (2201).

そして、読取処理が「冊子モード」の読取モードによって読み取られたものであるかを判断し(2202)、冊子モードによって読み取られたものでない場合(2202でNO)、すなわちカット紙モードである場合には、出力されたページオブジェクトに未使用の最小番号を割り振って設定し(2203)、初期値として設定されているページオブジェクト番号とページ番号に「1」を加算するインクリメントを行なう(2204)。   Then, it is determined whether the reading process is read in the “booklet mode” reading mode (2202). If the reading process is not read in the booklet mode (NO in 2202), that is, in the cut sheet mode. Assigns and sets an unused minimum number to the output page object (2203), and increments the page object number set as an initial value and the page number by adding “1” (2204).

続いて、次のページの画像データがあるかを判断し(2205)、次ページの画像データがある場合(2205でYES)には、その次ページの画像データに対するページオブジェクトにページ番号を設定する。   Subsequently, it is determined whether there is image data for the next page (2205). If there is image data for the next page (YES in 2205), a page number is set in the page object for the image data of the next page. .

また、次ページの画像データがない場合(2205でNO)には、処理を終了する。   If there is no image data for the next page (NO in 2205), the process ends.

それに対して、冊子モードによって読み取られたものである場合(2202でYES)には、続いて、ADFの原稿台にセットされた読取対象を読み取る読取処理であるかを判断する(2206)。すなわち、読取モードが「冊子分離モード」であるか、「冊子綴じモード」であるかを判断する。   On the other hand, if it is read in the booklet mode (YES in 2202), it is subsequently determined whether the reading process is to read the reading target set on the ADF document table (2206). That is, it is determined whether the reading mode is “booklet separation mode” or “booklet binding mode”.

ADFの原稿台にセットされた読取対象を読み取る「冊子分離モード」が指定されたと判断する場合(2206でYES)には、さらに、読取処理によって読み取られた画像データが表紙を読み取った画像データであるかを判断する(2207)。   If it is determined that the “booklet separation mode” for reading the reading target set on the ADF document table is designated (YES in 2206), the image data read by the reading process is the image data obtained by reading the cover. It is determined whether or not there is (2207).

この判断処理は、読取条件として、表紙から読取処理を行なうことを指定したか否かを判断する。   In this determination process, it is determined whether or not the reading condition is designated to be read from the cover.

表面を読み取った画像データである場合(2207でYES)には、左ページオブジェクトのページ番号を「未決定」と設定し(2208)、ページオブジェクト値をインクリメントする(2209)。続いて、右ページオブジェクトのページ番号を未使用の最小番号で割り振って設定し(2210)、ページオブジェクト番号とページ番号とをインクリメントする(2211)。   If the image data has been read from the front side (YES in 2207), the page number of the left page object is set to “undecided” (2208), and the page object value is incremented (2209). Subsequently, the page number of the right page object is allocated and set by the unused minimum number (2210), and the page object number and the page number are incremented (2211).

次に、読取処理によって読み取られた画像データが表面を読み取った画像データであるかの判断によって、表面を読み取った画像データでない場合(2207でNO)には、左ページオブジェクトのページ番号を未使用の最小番号で割り振って設定し(2212)、ページオブジェクト番号とページ番号をインクリメントする(2213)。続いて、右ページオブジェクトのページ番号を「未決定」と設定し(2214)、ページオブジェクト番号をインクリメントする(2215)。   Next, if the image data read by the reading process is image data obtained by reading the surface, and if it is not image data obtained by reading the surface (NO in 2207), the page number of the left page object is not used. The page object number and the page number are incremented (2213). Subsequently, the page number of the right page object is set to “undecided” (2214), and the page object number is incremented (2215).

そして、次のページの画像データがあるかを判断し(2216)、次ページの画像データがある場合(2216でYES)には、その次ページの画像データが印刷用紙の表面を読み取った画像データであるかの判断処理(2207)以降を行なう。   Then, it is determined whether there is image data for the next page (2216). If there is image data for the next page (YES in 2216), the image data of the next page read the surface of the printing paper. (2207) and subsequent processing is performed.

また、次ページの画像データがない場合(2216でNO)には、ページオブジェクト総数を算出し(2217)、ページオブジェクト番号が最も小さく、ページ番号が「未決定」であるか判断する(2218)。   If there is no image data for the next page (NO in 2216), the total number of page objects is calculated (2217), and it is determined whether the page object number is the smallest and the page number is “undecided” (2218). .

ページオブジェクト番号が最も小さく「未決定」のページ番号に対して(221でYES)、ページオブジェクト総数をページ番号として設定し(2219)、そのページ番号から「1」を減算するデクリメントを行なう(2220)。   For the page number having the smallest page object number and “undecided” (YES in 221), the total number of page objects is set as the page number (2219), and decrementing is performed by subtracting “1” from the page number (2220). ).

そして、再度、ページオブジェクト番号が最も小さく、ページ番号が「未決定」であるか判断する(2218)。「未決定」のページ番号がなくなった場合(2218でNO)にページ順序管理処理を終了する。   Then, it is determined again whether the page object number is the smallest and the page number is “undecided” (2218). When there are no more “undetermined” page numbers (NO in 2218), the page order management process is terminated.

次に、ADFの原稿台にセットされた読取対象を読み取る読取処理であるかの判断処理(2206)によって、ADFの原稿台にセットされた読取対象を読み取る「冊子綴じモード」が指定されたと判断する場合(2206でNO)には、図23に示すフローチャートへと遷移する。   Next, it is determined that the “booklet binding mode” for reading the reading object set on the ADF document table is designated by the determination process (2206) as to whether the reading object is set on the ADF document table. If yes (NO in 2206), the process proceeds to the flowchart shown in FIG.

図23では、まず、表紙の読取処理であるかを判断し(2221)、表紙の読取処理である場合(2221でYES)には、画像データの左ページオブジェクトのページ番号を「未決定」と設定し(2222)、ページオブジェクト番号をインクリメントする(2223)。また、右ページオブジェクトのページ番号を未使用の最小番号を割り振り(2226)、ページオブジェクト番号とページ番号とをインクリメントする(2227)。   In FIG. 23, first, it is determined whether the cover reading process is performed (2221). If it is the cover reading process (YES in 2221), the page number of the left page object of the image data is set to “undecided”. The page object number is incremented (2223). Further, the unused minimum page number is assigned to the page number of the right page object (2226), and the page object number and the page number are incremented (2227).

それに対して、表紙の読取処理でない場合(2221でYES)には、画像データの左ページオブジェクトのページ番号を未使用の最小番号で割り振り(2224)、ページオブジェクト番号とページ番号とをインクリメントする(2225)。また、右ページオブジェクトのページ番号を未使用の最小番号を割り振り(2226)、ページオブジェクト番号とページ番号とをインクリメントする(2227)。   On the other hand, if it is not the cover reading process (YES in 2221), the page number of the left page object of the image data is allocated by the unused minimum number (2224), and the page object number and the page number are incremented ( 2225). Further, the unused minimum page number is assigned to the page number of the right page object (2226), and the page object number and the page number are incremented (2227).

続いて、次ページの画像データが存在するかを判断し(2228)、次の画像データが存在する場合(2228でYES)には、再度、表紙の読取処理であるかの判断処理(2221)以降を行なう。   Subsequently, it is determined whether the image data of the next page exists (2228). If the next image data exists (YES in 2228), it is determined again whether it is cover cover reading processing (2221). Do the following.

次ページの画像データが存在しない場合(2228でNO)には、「未決定」のページ番号に未使用の最小番号を割り振る(2229)。なお、このときの未使用の最小番号はページオブジェクトの総数であって、全ページ番号の中で最も大きな番号となる。   If the image data of the next page does not exist (NO in 2228), an unused minimum number is assigned to the page number “undecided” (2229). Note that the unused minimum number at this time is the total number of page objects, and is the largest number among all page numbers.

このような図22、図23の処理によって各ページオブジェクトのページ番号が設定される。   The page number of each page object is set by the processing shown in FIGS.

以上に示す実施の形態は、本発明の実施の一形態であって、これらの実施例に限定することなく、その要旨を変更しない範囲内で適宜変形して実施できるものである。   The embodiment described above is one embodiment of the present invention, and is not limited to these examples, and can be implemented with appropriate modifications within a range not changing the gist thereof.

なお、本発明は、通信機能を備えた画像形成システムで上述の動作を実行させ、あるいは上述の手段を構成させるためのプログラムを格納した記録媒体(CD−ROM、DVD−ROM等)から該プログラムをコンピュータにインストールし、これを実行させることにより、上述の処理を実行する画像形成システムを構成することも可能である。画像形成システムを構成するコンピュータは、システムバスを介してCPU(Central Processor Unit)、ROM(Read Only Memory)、RAM(Random Access Memory)、ハードディスクが接続されている。CPUは、ROMまたはハードディスクに記憶されているプログラムに従い、RAMを作業領域にして処理を行なう。   In the present invention, the program is executed from a recording medium (CD-ROM, DVD-ROM, etc.) storing a program for executing the above-described operation in an image forming system having a communication function or configuring the above-described means. It is also possible to configure an image forming system that executes the above-described processing by installing the above in a computer and executing it. A computer constituting the image forming system is connected to a central processor unit (CPU), a read only memory (ROM), a random access memory (RAM), and a hard disk via a system bus. The CPU performs processing using the RAM as a work area according to a program stored in the ROM or the hard disk.

また、プログラムを供給するための媒体は、通信媒体(通信回線、通信システムのように一時的または流動的にプログラムを保持する媒体)でもよい。例えば、通信ネットワークの電子掲示板(BBS:Bulletin Board Service)に該プログラムを掲示し、これを通信回線を介して配信するようにしてもよい。   The medium for supplying the program may be a communication medium (a medium for temporarily or fluidly holding the program such as a communication line or a communication system). For example, the program may be posted on an electronic bulletin board (BBS: Bulletin Board Service) of a communication network and distributed via a communication line.

100 画像管理装置
101 画像保存部
200 スキャナ(画像形成装置)
210 コントローラ
211 ネットワーク制御部
212 データフォーマット部
213 画像処理部
214 画像分割部
215 回転処理部
216 ジョブ制御部
217 ページ順序管理部
220 操作パネル
221 読取条件入力部
222 冊子スキャン指定部
223 スキャン指示部
224 冊子綴じ状態指定部
230 画像読取部
231 画像読取部
232 読取制御部
DESCRIPTION OF SYMBOLS 100 Image management apparatus 101 Image storage part 200 Scanner (image forming apparatus)
210 Controller 211 Network control unit 212 Data format unit 213 Image processing unit 214 Image division unit 215 Rotation processing unit 216 Job control unit 217 Page order management unit 220 Operation panel 221 Reading condition input unit 222 Booklet scan designation unit 223 Scan instruction unit 224 Booklet Binding state designation unit 230 Image reading unit 231 Image reading unit 232 Reading control unit

Claims (9)

複数の印刷用紙の面それぞれの中央の両側に2ページ分の画像が印刷されて重ねられ、前記中央が綴じられて構成される冊子文書の画像データを処理する画像処理装置であって、
前記冊子文書に綴じられていない状態の印刷用紙から読み取られたか、または、前記冊子文書の見開き面から読み取られたかに応じて、前記読み取られた画像に含まれる前記ページの画像それぞれのページ番号を決定するページ番号決定手段と、
前記読み取られた画像に含まれる前記ページそれぞれの画像のページオブジェクトを、識別番号を付して出力するページオブジェクト出力手段と、
前記冊子文書に綴じられていない状態の印刷用紙または前記冊子文書の見開き面のそれぞれから読み取られたこれらの画像に含まれる前記2ページ分の画像それぞれに、前記決定されたページ番号を付けて、前記決定された前記ページ画像それぞれのページ番号に基づいて、前記出力されたページオブジェクトそれぞれの識別番号を整列して、整列された状態で読み取りが行われた文書を作成するための前記ページ構造情報を作成する作成手段と
を具備する画像形成装置。
An image processing apparatus that processes image data of a booklet document that is formed by printing and superimposing two pages of images on both sides of the center of each surface of a plurality of printing sheets, and binding the center.
The page number of each of the images of the page included in the read image is read according to whether it is read from the printing paper that is not bound to the booklet document or from the spread surface of the booklet document. A page number determining means for determining;
A page object output means for outputting a page object of each image of the page included in the read image with an identification number;
The determined page number is attached to each of the two pages of images included in these images read from each of the printing paper that is not bound to the booklet document or each of the spread pages of the booklet document, The page structure information for creating a document read in an aligned state by aligning the identification numbers of the output page objects based on the determined page numbers of the page images. An image forming apparatus comprising: creating means for creating
前記読取手段は、
前記印刷用紙を搬送して読み取る搬送読取機構と、
原稿台に設置された前記印刷用紙を読み取る原稿台読取機構と
を備え、
前記ページ番号決定手段は、前記搬送読取機構に前記印刷用紙が設置されたと検知された場合は、前記冊子文書に綴じられていない状態の印刷用紙から読み取られたと判断し、前記原稿台読取機構に前記印刷用紙が設置されたと検知された場合は、前記冊子文書の見開き面から読み取られたと判断して、前記読み取られた画像それぞれに含まれる前記ページそれぞれのページ番号を決定する
請求項1記載の画像形成装置。
The reading means includes
A transport reading mechanism for transporting and reading the printing paper;
A document table reading mechanism for reading the printing paper placed on the document table,
When it is detected that the printing paper is set in the transport reading mechanism, the page number determination unit determines that the printing paper is read from a printing paper not bound to the booklet document, The page number of each of the pages included in each of the read images is determined when it is detected that the printing paper has been installed, and is determined to have been read from the facing surface of the booklet document. Image forming apparatus.
前記読み取られた画像それぞれを前記中央で前記2ページ分の画像に分割する分割手段
をさらに具備し、
前記ページ番号決定手段は、前記分割された画像それぞれに対してページ番号を決定する
請求項1または2に記載の画像形成装置。
Dividing means for dividing each of the read images into images of the two pages at the center;
The image forming apparatus according to claim 1, wherein the page number determination unit determines a page number for each of the divided images.
前記ページ番号決定手段は、
前記冊子文書に綴じられていない状態の印刷用紙の面それぞれの画像が、前記冊子文書の外側になる面の画像から順に読み取られたときには、前記複数の印刷用紙の面の中央に対して一方の側にある前記ページの画像に、読み取りの順番に1つずつ増加するようにページ番号を決定し、
前記複数の印刷用紙の面の中央に対して他方の側にある前記ページの画像に、読み取りとは逆の順番で、前記複数の印刷用紙の面の中央に対して一方の側にある前記ページの画像に付した最大のページ番号の次から1つずつ増加するようにページ番号を決定する
請求項1または2に記載の画像形成装置。
The page number determining means includes
When the images of the surfaces of the printing paper that are not bound to the booklet document are sequentially read from the image on the outer surface of the booklet document, one image with respect to the center of the surfaces of the plurality of printing papers The page number is determined so that the image of the page on the side increases by one in the reading order,
The page on the other side with respect to the center of the surface of the plurality of printing papers, the page on one side with respect to the center of the surface of the plurality of printing papers in the reverse order of reading. The image forming apparatus according to claim 1, wherein the page number is determined so as to increase one by one from the next of the maximum page number assigned to the image.
前記ページ番号決定手段は、前記冊子文書の見開き面それぞれの画像が、前記冊子文書の外側になる面の画像から順に読み取られたときには、前記複数の印刷用紙の面の中央に対して一方の側にある前記ページの画像に、読み取りの順番で増加する奇数のページ番号を決定し、
前記複数の印刷用紙の面の中央に対して他方の側にある前記ページの画像に、読み取りとは逆の順番で、前記複数の印刷用紙の面の中央に対して一方の側にある前記ページの画像に付した最大のページ番号の次の番号から増加する偶数のページ番号を決定する
請求項1または2に記載の画像形成装置。
The page number determination means, spread face their respective images of the booklet document, when read from the image of the surface on the outside of the booklet documents in order, on the one hand to the central plane of the plurality of printing paper In the image of the page on the side of the page, determine an odd page number that increases in reading order,
The page on the other side with respect to the center of the surface of the plurality of printing papers, the page on one side with respect to the center of the surface of the plurality of printing papers in the reverse order of reading. The image forming apparatus according to claim 1, wherein an even page number that increases from a number next to a maximum page number assigned to the image is determined.
前記読み取られた画像のイメージオブジェクトを出力するイメージオブジェクト出力手段
をさらに具備し、
前記作成手段は、前記出力されたイメージオブジェクトに、前記出力されたページオブジェクトそれぞれをさらに関連付けて、前記ページ構造情報を作成する
請求項1〜5のいずれかに記載の画像形成装置。
Image object output means for outputting an image object of the read image;
It said creating means, the output image object, further associate each of the output pages object, an image forming apparatus according to claim 1 to create the page structure information.
前記出力されたイメージオブジェクトに、前記出力されたページオブジェクトを関連付け、前記作成されたページ構造情報の対応付けを行なう対応付け手段
を具備する請求項記載の画像形成装置。
The image forming apparatus according to claim 6 , further comprising: an association unit that associates the output page object with the output image object and associates the generated page structure information.
前記冊子文書に綴じられていない状態の印刷用紙の外側の1つの面には、前記2ページ分の画像として表紙の画像が印刷され、
前記冊子文書の表紙が読み取られるか否かを判別する判別手段
をさらに具備する請求項1〜のいずれかに記載の画像形成装置。
On the outer surface of the printing paper not bound to the booklet document, a cover image is printed as the image for the two pages,
The image forming apparatus according to any one of claims 1 to 7, further comprising a discriminating means for discriminating whether the cover of the booklet document is read.
複数の印刷用紙の面それぞれの中央の両側に2ページ分の画像が印刷されて重ねられ、前記中央が綴じられて構成される冊子文書の画像データを処理する画像処理装置のコンピュータを、
前記冊子文書に綴じられていない状態の印刷用紙から読み取られたか、または、前記冊子文書の見開き面から読み取られたかに応じて、前記読み取られた画像に含まれる前記ページの画像それぞれのページ番号を決定するページ番号決定手段、
前記読み取られた画像に含まれる前記ページそれぞれの画像のページオブジェクトを、識別番号を付して出力するページオブジェクト出力手段、
前記冊子文書に綴じられていない状態の印刷用紙または前記冊子文書の見開き面のそれぞれから読み取られたこれらの画像に含まれる前記2ページ分の画像それぞれに、前記決定されたページ番号を付けて、前記決定された前記ページ画像それぞれのページ番号に基づいて、前記出力されたページオブジェクトそれぞれの識別番号を整列して、整列された状態で読み取りが行われた文書を作成するための前記ページ構造情報を作成する作成手段
として機能させる読取画像整列プログラム。
A computer of an image processing apparatus that processes image data of a booklet document in which images of two pages are printed and overlapped on both sides of the center of each surface of a plurality of printing sheets and the center is bound,
The page number of each of the images of the page included in the read image is read according to whether it is read from the printing paper that is not bound to the booklet document or from the spread surface of the booklet document. Page number determining means to determine,
Page object output means for outputting a page object of each image of the page included in the read image with an identification number;
The determined page number is attached to each of the two pages of images included in these images read from each of the printing paper that is not bound to the booklet document or each of the spread pages of the booklet document, The page structure information for creating a document read in an aligned state by aligning the identification numbers of the output page objects based on the determined page numbers of the page images. A read image alignment program that functions as a creation means for creating a document.
JP2009202629A 2009-09-02 2009-09-02 Image forming apparatus and alignment program Active JP5644995B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009202629A JP5644995B2 (en) 2009-09-02 2009-09-02 Image forming apparatus and alignment program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009202629A JP5644995B2 (en) 2009-09-02 2009-09-02 Image forming apparatus and alignment program

Publications (2)

Publication Number Publication Date
JP2011055267A JP2011055267A (en) 2011-03-17
JP5644995B2 true JP5644995B2 (en) 2014-12-24

Family

ID=43943819

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009202629A Active JP5644995B2 (en) 2009-09-02 2009-09-02 Image forming apparatus and alignment program

Country Status (1)

Country Link
JP (1) JP5644995B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3593676B2 (en) * 1999-06-28 2004-11-24 村田機械株式会社 Document reading and recording device
JP2003198832A (en) * 2001-12-27 2003-07-11 Kyocera Mita Corp Image reader

Also Published As

Publication number Publication date
JP2011055267A (en) 2011-03-17

Similar Documents

Publication Publication Date Title
JP5435968B2 (en) Sheet processing apparatus, sheet processing apparatus control method, storage medium, and program
EP3358422A1 (en) Image forming apparatus for arranging marks at scheduled cutting positions
JP2016052766A (en) Printer, printing method, program and printing system
JP2011056749A (en) Print processing apparatus and program
JP2011078038A (en) Image forming apparatus, and method of page insertion processing in the image forming apparatus
US9283796B2 (en) Sheet processing apparatus, control method of sheet processing apparatus, and storage medium
JP5326636B2 (en) Image forming apparatus main body and image forming system
US20130272741A1 (en) Image forming system and image forming method
JP4804555B2 (en) Information processing apparatus, control method therefor, and computer program
JP5644995B2 (en) Image forming apparatus and alignment program
US9983528B2 (en) Printing system, method of controlling the same, and storage medium
JP5250971B2 (en) Image forming apparatus
JP2007133530A (en) Image forming apparatus, printer driver and image forming system therewith
US10303990B1 (en) Information generating device, print processing device, and information generating method including setting a magnification ratio
JPH11170728A (en) Printing output control device
JP2007045093A (en) Image forming device, image forming system, program and post-processing control method
JP6256435B2 (en) Image forming apparatus and program
WO2021065124A1 (en) Support program, information processing device, and printing method
JP5492836B2 (en) Image forming method
JP7135598B2 (en) Image forming system and program
JP2010074351A (en) Image forming apparatus
JP2001345973A (en) Image processing system and its control method, and storage medium
JP2019098561A (en) Image forming apparatus, control method of the same, and program
JP5631472B2 (en) Sheet processing apparatus, sheet processing apparatus control method, and program
JP2009119722A (en) Image forming apparatus and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120816

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20130128

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130814

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130911

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140306

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140404

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20141021

R150 Certificate of patent or registration of utility model

Ref document number: 5644995

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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