JP2010088048A - Image processing apparatus, image forming apparatus, computer program, recording medium, and image processing method - Google Patents

Image processing apparatus, image forming apparatus, computer program, recording medium, and image processing method Download PDF

Info

Publication number
JP2010088048A
JP2010088048A JP2008257686A JP2008257686A JP2010088048A JP 2010088048 A JP2010088048 A JP 2010088048A JP 2008257686 A JP2008257686 A JP 2008257686A JP 2008257686 A JP2008257686 A JP 2008257686A JP 2010088048 A JP2010088048 A JP 2010088048A
Authority
JP
Japan
Prior art keywords
image
document
divided
unit
original
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.)
Granted
Application number
JP2008257686A
Other languages
Japanese (ja)
Other versions
JP5025611B2 (en
Inventor
Hitoshi Hirohata
仁志 廣畑
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP2008257686A priority Critical patent/JP5025611B2/en
Publication of JP2010088048A publication Critical patent/JP2010088048A/en
Application granted granted Critical
Publication of JP5025611B2 publication Critical patent/JP5025611B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image processing apparatus, an image forming apparatus, a computer program, a recording medium, and an image processing method, for output of a manuscript having a plurality of pages assigned to a manuscript image by a predetermined state. <P>SOLUTION: An assigned manuscript determining unit 204 determines whether a manuscript image is an assigned manuscript image to which a manuscript having a plurality of pages are assigned. A manuscript dividing unit 205 divides an image into assignment units when the manuscript image is the assigned manuscript image. A manuscript direction detection unit 206 determines a vertical direction relating to each of divided images. A manuscript correcting unit 207 corrects the divided images by performing processing such as magnification processing, rotation processing, etc. relating to each of the divided images in response to a vertical direction, the number of assignment, and an assigned state. A display-print command generation unit 208 performs generation processing of a display command for displaying in every divided image in a correct vertical direction, and the generation processing of a print command for printing by the assigned state (a state before assignment). <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、原稿画像を処理する画像処理装置に関し、特に原稿画像に対して原稿の割付状態を判定し、判定結果に基づいて割り付けられた原稿を所要の状態で出力することができる画像処理装置、該画像処理装置を備える画像形成装置、前記画像処理装置を実現するためのコンピュータプログラム、該コンピュータプログラムを記録した記録媒体及び画像処理方法に関する。   BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus that processes a document image, and more particularly to an image processing apparatus that can determine a document assignment state with respect to a document image and output a document assigned based on the determination result in a required state The present invention relates to an image forming apparatus including the image processing apparatus, a computer program for realizing the image processing apparatus, a recording medium storing the computer program, and an image processing method.

複写機や複合機などの画像形成装置において、原稿の天地方向や傾きを検知し、その判定結果に基づいて、補正などの画像処理を施して画像処理結果を表示し、期待される結果と異なっている場合に、判定結果に応じた画像処理を再実行する方法が提案されている。   In an image forming apparatus such as a copying machine or a multifunction peripheral, the vertical direction or inclination of the original is detected, and based on the determination result, image processing such as correction is performed and the image processing result is displayed. In such a case, a method for re-executing image processing according to the determination result has been proposed.

例えば、入力された原稿画像に対して、原稿の天地や原稿の傾きを判別し、あらかじめ設定された画像処理を実行して画像処理後の画像を表示し、原稿の天地や傾き補正の判別結果に誤りがあれば、例えば、原稿の左右の角度を調整する。そして、再スキャンすることなく、調整結果に応じて画像処理を再実行し、画像処理を再実行した画像を表示するとともに、出力することができる画像読取装置が開示されている(特許文献1参照)。
特開2007−324648号公報
For example, with respect to the input document image, the top and bottom of the document and the tilt of the document are determined, the preset image processing is executed and the image after image processing is displayed, and the determination result of the top and bottom of the document and tilt correction If there is an error, for example, the left and right angles of the document are adjusted. An image reading apparatus is disclosed that can re-execute image processing according to the adjustment result without re-scanning, and display and output an image that has been re-executed (see Patent Document 1). ).
JP 2007-324648 A

しかしながら、特許文献1の装置にあっては、1つの原稿画像に向きが異なる複数頁の原稿が割り付けられた場合、どちらの向きが正しい向きなのかを特定することができない。また、割り付けられた原稿のうち一方の原稿の向きを特定の方向(例えば、天地方向)に補正した場合、他の原稿の向きが横向きや反転する場合があり、原稿画像に割り付けられた原稿の一部が却って見にくくなるという問題があった。   However, in the apparatus of Patent Document 1, when a plurality of pages of documents with different orientations are assigned to one document image, it is not possible to specify which orientation is the correct orientation. In addition, when the orientation of one of the assigned documents is corrected to a specific direction (for example, the top-to-bottom direction), the orientation of the other document may be horizontal or reversed. There was a problem that some of them were difficult to see.

本発明は、斯かる事情に鑑みてなされたものであり、原稿画像に割り付けられた複数頁の原稿を所要の状態で出力することができる画像処理装置、該画像処理装置を備える画像形成装置、前記画像処理装置を実現するためのコンピュータプログラム、該コンピュータプログラムを記録した記録媒体及び画像処理方法を提供することを目的とする。   The present invention has been made in view of such circumstances, and an image processing apparatus capable of outputting a plurality of pages of a document assigned to a document image in a required state, an image forming apparatus including the image processing apparatus, It is an object of the present invention to provide a computer program for realizing the image processing apparatus, a recording medium storing the computer program, and an image processing method.

本発明に係る画像処理装置は、原稿画像を処理して出力する画像処理装置において、原稿画像が複数頁の原稿を割り付けた割付原稿画像であるか否かを判定する割付原稿判定手段と、該割付原稿判定手段で割付原稿画像であると判定した場合、前記原稿画像を各頁の原稿毎の分割画像に分割する原稿分割手段と、該原稿分割手段で分割した分割画像を所要の大きさに及び/又は該分割画像の向きを補正する原稿補正手段と、該原稿補正手段で補正した分割画像に対する補正内容に応じて、該分割画像を出力するための情報を生成する情報生成手段とを備えることを特徴とする。   An image processing apparatus according to the present invention, in an image processing apparatus that processes and outputs a document image, includes an allocated document determination unit that determines whether or not the document image is an allocated document image to which a plurality of pages of documents are allocated. When the allocated document determination unit determines that the document is an allocated document image, the document dividing unit divides the document image into divided images for each document on each page, and the divided image divided by the document dividing unit has a required size. And / or document correction means for correcting the orientation of the divided image, and information generation means for generating information for outputting the divided image in accordance with the correction contents of the divided image corrected by the document correction means. It is characterized by that.

本発明に係る画像処理装置は、前記原稿補正手段は、前記原稿分割手段で分割した分割画像の大きさを割付前の原稿の大きさにすべく該分割画像を変倍する変倍手段を備え、前記情報生成手段は、前記変倍手段で変倍した変倍率に応じて、前記分割画像を出力するための情報を生成するように構成してあることを特徴とする。   In the image processing apparatus according to the present invention, the document correction unit includes a scaling unit that scales the divided image so that the size of the divided image divided by the document dividing unit becomes the size of the document before the allocation. The information generating means is configured to generate information for outputting the divided image in accordance with a scaling ratio changed by the scaling means.

本発明に係る画像処理装置は、前記原稿分割手段で分割した分割画像それぞれの天地方向を判定する天地判定手段を備え、前記原稿補正手段は、前記天地判定手段で判定した分割画像の天地方向が前記原稿画像の天地方向と異なる場合、該分割画像の天地方向と前記原稿画像の天地方向とが一致するように前記分割画像を回転する回転手段を備え、前記情報生成手段は、前記回転手段で回転した角度に応じて、前記分割画像を出力するための情報を生成するように構成してあることを特徴とする。   An image processing apparatus according to the present invention includes a top and bottom determination unit that determines a top and bottom direction of each of the divided images divided by the document dividing unit, and the document correction unit has a top and bottom direction of the divided image determined by the top and bottom determination unit. A rotation unit configured to rotate the divided image so that the vertical direction of the divided image and the vertical direction of the original image coincide with each other when the vertical direction of the original image is different from the vertical direction of the original image; Information for outputting the divided image is generated in accordance with the rotated angle.

本発明に係る画像処理装置は、原稿画像を表示するための表示用画像データを生成する表示画像データ生成手段を備え、前記情報生成手段は、前記原稿分割手段で分割した分割画像を表示する場合、前記原稿補正手段で補正した補正内容に応じて、前記分割画像それぞれの大きさ、天地方向及び位置の少なくとも1つの表示情報を生成するように構成してあり、前記表示画像データ生成手段は、前記表示情報を含む表示用画像データを生成するように構成してあることを特徴とする。   The image processing apparatus according to the present invention includes display image data generation means for generating display image data for displaying a document image, and the information generation means displays the divided image divided by the document division means. The display image data generation means is configured to generate at least one display information of the size, the top direction, and the position of each of the divided images according to the correction content corrected by the document correction means. The display image data including the display information is generated.

本発明に係る画像処理装置は、原稿画像を印刷するための印刷用画像データを生成する印刷画像データ生成手段を備え、前記情報生成手段は、前記原稿分割手段で分割した分割画像を印刷する場合、該分割画像それぞれを元の原稿画像に割り付けるべく、前記原稿補正手段で補正した補正内容に応じて、前記分割画像それぞれの大きさ、天地方向及び位置の少なくとも1つの印刷情報を生成するように構成してあり、前記印刷画像データ生成手段は、前記印刷情報を用いて、印刷用画像データを生成するように構成してあることを特徴とする。   The image processing apparatus according to the present invention includes a print image data generation unit that generates print image data for printing a document image, and the information generation unit prints the divided image divided by the document division unit. In order to assign each of the divided images to the original document image, at least one piece of print information of the size, the vertical direction, and the position of each of the divided images is generated according to the correction content corrected by the document correction unit. The print image data generation means is configured to generate print image data using the print information.

本発明に係る画像形成装置は、出力画像を形成する画像形成手段と、前述の発明のいずれか1つに係る画像処理装置とを備えることを特徴とする。   An image forming apparatus according to the present invention includes an image forming unit that forms an output image, and an image processing apparatus according to any one of the above-described inventions.

本発明に係るコンピュータプログラムは、コンピュータを、原稿画像を処理する手段として機能させるためのコンピュータプログラムにおいて、コンピュータを、原稿画像が複数頁の原稿を割り付けた割付原稿画像であるか否かを判定する割付原稿判定手段と、割付原稿画像であると判定した場合、前記原稿画像を各頁の原稿毎の分割画像に分割する原稿分割手段と、分割した分割画像を所要の大きさに及び/又は該分割画像の向きを補正する原稿補正手段と、補正した分割画像に対する補正内容に応じて、該分割画像を出力するための情報を生成する情報生成手段として機能させることを特徴とする。   A computer program according to the present invention is a computer program for causing a computer to function as means for processing an original image. The computer determines whether the original image is an assigned original image in which a plurality of pages of originals are assigned. When it is determined that the original document is an allocated original image, the original dividing means for dividing the original image into divided images for each original on each page, and / or the divided divided image to a required size. A document correction unit that corrects the orientation of the divided image and an information generation unit that generates information for outputting the divided image according to the correction content of the corrected divided image are used.

本発明に係るコンピュータでの読み取りが可能な記録媒体は、前述の発明に係るコンピュータプログラムを記録してあることを特徴とする。   A recording medium readable by a computer according to the present invention records the computer program according to the above-described invention.

本発明に係る画像処理方法は、原稿画像を処理して出力する画像処理装置による画像処理方法において、原稿画像が複数頁の原稿を割り付けた割付原稿画像であるか否かを判定し、割付原稿画像であると判定した場合、前記原稿画像を各頁の原稿毎の分割画像に分割し、分割した分割画像を所要の大きさに及び/又は該分割画像の向きを補正し、補正した分割画像に対する補正内容に応じて、該分割画像を出力するための情報を生成することを特徴とする。   The image processing method according to the present invention is an image processing method by an image processing apparatus that processes and outputs a document image, and determines whether or not the document image is an allocated document image in which a plurality of pages of documents are allocated, If it is determined that the image is an image, the original image is divided into divided images for each original on each page, the divided divided image is corrected to a required size and / or the direction of the divided image, and the corrected divided image is corrected. Information for outputting the divided image is generated in accordance with the correction content of the image.

本発明にあっては、原稿画像が複数頁の原稿を割り付けた割付原稿画像であるか否かを判定し、割付原稿画像であると判定した場合、原稿画像を各頁の原稿毎の分割画像に分割する。例えば、1つの原稿画像に2頁の原稿が割り付けられている(割付数が2)場合、原稿画像を各頁の原稿それぞれに対応した2つの分割画像に分割する。そして、分割した分割画像を所要の大きさに及び/又は該分割画像の向きを補正し、補正した分割画像に対する補正内容に応じて、分割画像を出力(例えば、表示又は印刷)するための情報(例えば、表示コマンド又は印刷コマンド)を生成する。これにより、分割画像それぞれを所要の大きさや向きに補正することができ、原稿画像に割り付けられた各原稿を所要の状態で表示又は印刷することができる。   In the present invention, it is determined whether or not the document image is an allocated document image in which a plurality of pages of documents are allocated. If it is determined that the document image is an allocated document image, the document image is divided into images for each document on each page. Divide into For example, when two pages of originals are assigned to one original image (the number of assignments is 2), the original image is divided into two divided images corresponding to the originals of each page. Then, information for correcting the divided image to a required size and / or correcting the direction of the divided image, and outputting (for example, displaying or printing) the divided image according to the correction content of the corrected divided image. (For example, a display command or a print command) is generated. Thereby, each divided image can be corrected to a required size and orientation, and each document assigned to the document image can be displayed or printed in a required state.

本発明にあっては、分割した分割画像の大きさを割付前の原稿の大きさにすべく分割画像を変倍する変倍手段を備え、変倍した変倍率に応じて、分割画像を出力するための情報を生成する。例えば、1つの原稿画像に4頁の原稿が割り付けられている(割付数が4)場合、各原稿に対応する分割画像の変倍率を200%として変倍処理を行い、割付前の元の原稿の大きさに補正する。これにより、原稿画像に複数頁の原稿が割り付けられた場合であっても、割り付けられた原稿を元の大きさで出力することができ、原稿が見やすくなる。   In the present invention, there is provided scaling means for scaling the divided image so that the size of the divided divided image becomes the size of the original document before layout, and the divided image is output according to the scaled magnification. To generate information. For example, when a four-page document is assigned to one document image (the number of assignments is 4), the magnification processing of the divided images corresponding to each document is performed at 200%, and the original document before the assignment is performed. Correct to the size of. As a result, even when a plurality of pages of a document is allocated to the document image, the allocated document can be output in the original size, and the document can be easily viewed.

本発明にあっては、分割した分割画像それぞれの天地方向を判定する天地判定手段を備え、判定した分割画像の天地方向が原稿画像の天地方向と異なる場合、分割画像の天地方向と原稿画像の天地方向とが一致するように分割画像を回転する。そして、回転した角度に応じて、分割画像を出力するための情報を生成する。例えば、1つの原稿画像に2頁の原稿が割り付けられている(割付数が2)場合、一方の原稿に対応する分割画像の天地方向が原稿画像の天地方向と同じである場合、分割画像の回転処理は行わない。また、他方の原稿に対応する分割画像の天地方向が原稿画像の天地方向と異なる場合、その分割画像の天地方向が原稿画像の天地方向になるように前記分割画像に対して回転処理を施す。これにより、向きの異なる複数頁の原稿が割り付けられた場合であっても、すべての原稿を正しい向き(例えば、原稿画像と同じ向き)に補正して見やすくすることができる。   In the present invention, there is provided a top / bottom determination means for determining the top / bottom direction of each of the divided divided images, and when the determined top / bottom direction of the divided image is different from the top / bottom direction of the document image, The divided image is rotated so that the vertical direction coincides with the vertical direction. Then, information for outputting a divided image is generated according to the rotated angle. For example, when two pages of originals are assigned to one original image (the number of assignments is 2), the vertical direction of the divided image corresponding to one original is the same as the vertical direction of the original image. No rotation processing is performed. When the vertical direction of the divided image corresponding to the other document is different from the vertical direction of the original image, the divided image is rotated so that the vertical direction of the divided image becomes the vertical direction of the original image. As a result, even when a plurality of pages of documents having different orientations are allocated, all the documents can be corrected to the correct orientation (for example, the same orientation as the document image) for easy viewing.

本発明にあっては、原稿画像を表示するための表示用画像データを生成する表示画像データ生成手段を備え、分割した分割画像を表示する場合、分割画像に対する補正内容に応じて、分割画像それぞれの大きさ、天地方向及び位置の少なくとも1つの表示情報を生成し、生成した表示情報を含む表示用画像データを生成する。例えば、1つの原稿画像に2頁の原稿が割り付けられ、2つの分割画像で分割されている場合に、第1の分割画像の天地方向が原稿画像と一致し、第2の分割画像の天地方向が原稿画像に対して反時計回りに90度回転しているときは、第1の分割画像を割付前の元の原稿の大きさに変倍する。また、第2の分割画像を割付前の元の原稿の大きさに変倍する補正を行うとともに、天地方向が原稿画像の天地方向と一致するように時計回りに90度回転する補正を行う。これらの補正内容としての変倍処理及び回転処理の処理内容を表示情報として生成し、生成した表示情報を含む表示用画像データを生成する。これにより、複数頁の原稿を割り付けた割付原稿をそれぞれの原稿に分けて表示することができるとともに、すべての原稿を正しい向き(例えば、原稿画像と同じ向き)に補正して見やすくすることができる。また、表示情報を含む表示用画像データを生成することにより、表示用画像データを処理する表示装置側で割付原稿のそれぞれの原稿を表示させるための処理を行うことができ、画像処理装置側での処理を簡易にすることができる。   In the present invention, the display image data generating means for generating the display image data for displaying the document image is provided, and when displaying the divided image, each of the divided images is displayed according to the correction content for the divided image. At least one display information of the size, top and bottom direction and position is generated, and display image data including the generated display information is generated. For example, when a two-page document is allocated to one document image and is divided into two divided images, the top and bottom direction of the first divided image matches the top and bottom direction of the second divided image. Is rotated 90 degrees counterclockwise with respect to the document image, the first divided image is scaled to the size of the original document before assignment. Further, correction is performed to change the size of the second divided image to the size of the original document before assignment, and correction is performed to rotate 90 degrees clockwise so that the vertical direction coincides with the vertical direction of the original image. The processing contents of the scaling process and the rotation process as the correction contents are generated as display information, and display image data including the generated display information is generated. As a result, it is possible to divide and display the allocated originals assigned with a plurality of pages of originals, and to correct all the originals in the correct orientation (for example, the same orientation as the original image) for easy viewing. . In addition, by generating display image data including display information, the display device that processes the display image data can perform processing for displaying each document of the assigned document, and the image processing device side This process can be simplified.

本発明にあっては、原稿画像を印刷するための印刷用画像データを生成する印刷画像データ生成手段を備え、分割した分割画像を印刷する場合、分割画像それぞれを元の原稿画像に割り付けるべく、分割画像に対する補正内容に応じて、分割画像それぞれの大きさ、天地方向及び位置の少なくとも1つの印刷情報を生成し、生成した印刷情報を用いて、印刷用画像データを生成する。例えば、1つの原稿画像に2頁の原稿が割り付けられ、2つの分割画像で分割されている場合に、第1の分割画像の天地方向が原稿画像と一致し、第2の分割画像の天地方向が原稿画像に対して反時計回りに90度回転しているときは、第1の分割画像を割付前の元の原稿の大きさに変倍する補正を行う。また、第2の分割画像を割付前の元の原稿の大きさに変倍するとともに、天地方向が原稿画像の天地方向と一致するように時計回りに90度の回転する補正を行う。そして、分割画像それぞれを元の原稿画像に割り付けるべく、これらの補正内容としての変倍処理及び回転処理の処理内容と逆の処理内容を印刷情報として生成し、生成した印刷情報を用いて、印刷用画像データを生成する。これにより、原稿画像を分割する前の割付状態で印刷することができ、元の原稿と同じ状態の原稿を得ることができる。   In the present invention, a print image data generation unit that generates print image data for printing a document image is provided. When printing a divided image, the divided image is assigned to the original document image. In accordance with the correction contents for the divided image, at least one piece of print information of the size, the vertical direction, and the position of each divided image is generated, and print image data is generated using the generated print information. For example, when a two-page document is allocated to one document image and is divided into two divided images, the top and bottom direction of the first divided image matches the top and bottom direction of the second divided image. Is rotated 90 degrees counterclockwise with respect to the original image, correction is performed to change the size of the first divided image to the size of the original original document before allocation. Further, the second divided image is scaled to the size of the original document before allocation, and correction is performed to rotate 90 degrees clockwise so that the vertical direction coincides with the vertical direction of the original image. Then, in order to assign each of the divided images to the original document image, processing contents opposite to those of the scaling process and the rotation process as the correction contents are generated as print information, and the generated print information is used for printing. Image data is generated. As a result, the original image can be printed in the assigned state before being divided, and the original in the same state as the original original can be obtained.

本発明によれば、分割画像それぞれを所要の大きさや向きに補正することができ、原稿画像に割り付けられた各原稿を所要の状態で表示又は印刷することができる。   According to the present invention, each of the divided images can be corrected to a required size and orientation, and each document assigned to the document image can be displayed or printed in a required state.

以下、本発明を実施の形態を示す図面に基づいて説明する。図1は本発明に係る画像処理装置2を備える画像形成装置100の構成を示すブロック図である。画像形成装置100(例えば、デジタルカラー複写機、又はコピア機能、プリンタ機能、ファイリング機能、ファクシミリ送信機能若しくはScan to E-mail機能等を備えた複合機)は、画像入力装置1、画像処理装置2、画像形成手段としての画像出力装置3、CPU等で構成され装置全体を制御するための制御部4、画像処理装置2で処理するデータ又は処理後のデータ等を外部へ送受信し、あるいは記憶する記憶部51を備えた送受信部5、液晶ディスプレイや操作ボタンなどを有する操作パネル(不図示)などを備える。   Hereinafter, the present invention will be described with reference to the drawings illustrating embodiments. FIG. 1 is a block diagram illustrating a configuration of an image forming apparatus 100 including an image processing apparatus 2 according to the present invention. The image forming apparatus 100 (for example, a digital color copying machine or a multi-function machine having a copier function, a printer function, a filing function, a facsimile transmission function, a Scan to E-mail function, or the like) includes an image input device 1 and an image processing device 2. , An image output device 3 as an image forming means, a control unit 4 configured to control the entire device, a data processed by the image processing device 2 or data after processing, etc. The transmission / reception unit 5 including the storage unit 51, an operation panel (not shown) having a liquid crystal display, operation buttons, and the like are provided.

画像入力装置1は、例えば、CCD(Charged Coupled Device)ラインセンサを備え、原稿から反射した光をR、G、B(R:赤、G:緑、B:青)に色分解された電気信号に変換する。CCDラインセンサにより入力されたカラー画像信号(RGBアナログ信号)は、A/D(アナログ・デジタル)変換部201にてデジタル信号に変換され、シェーディング補正部202にて画像入力装置1の照明系、結像系、撮像系で生じる各種の歪みが取り除かれる。その後、入力処理部203においてRGB信号のそれぞれに対してγを補正する処理などが施される。   The image input device 1 includes, for example, a CCD (Charged Coupled Device) line sensor, and an electric signal obtained by color-separating light reflected from a document into R, G, and B (R: red, G: green, B: blue). Convert to A color image signal (RGB analog signal) input by the CCD line sensor is converted into a digital signal by an A / D (analog / digital) converter 201, and an illumination system of the image input device 1 is converted by a shading correction unit 202. Various distortions generated in the imaging system and imaging system are removed. Thereafter, the input processing unit 203 performs processing for correcting γ for each of the RGB signals.

入力処理部203は、画像データを送受信部5へ出力する。   The input processing unit 203 outputs the image data to the transmission / reception unit 5.

送受信部5は、入力された画像データをハードディスク又は半導体メモリなどの記憶部51に一旦記憶する。そして、一旦記憶された画像データに対して、後段の色補正処理を含む各処理を施す。また、一旦記憶された画像データは、所要のフォーマット(例えば、PDFファイルフォーマット)に変換後に、例えば、イーサーネットワーク(登録商標)やファクシミリなどのネットワーク網又は通信回線を介して外部接続装置又は通信回線へ送信される。   The transmission / reception unit 5 temporarily stores the input image data in a storage unit 51 such as a hard disk or a semiconductor memory. Then, each process including the subsequent color correction process is performed on the image data once stored. The image data once stored is converted into a required format (for example, PDF file format), and then, for example, an external connection device or a communication line via a network network or a communication line such as an Ethernet network (registered trademark) or a facsimile. Sent to.

割付原稿判定手段としての割付原稿判定部204は、記憶部51から読み出された画像データ、あるいは入力処理部203より出力された画像データに対して、原稿の割付状態の判定処理を行う。すなわち、原稿画像が複数頁の原稿を割り付けた割付原稿を示す画像(割付原稿画像)であるか否かを判定する。   An allocated document determination unit 204 as an allocated document determination unit performs document allocation state determination processing on the image data read from the storage unit 51 or the image data output from the input processing unit 203. That is, it is determined whether or not the document image is an image (allocated document image) indicating an allocated document in which a plurality of pages of documents are allocated.

割付原稿(Nin1原稿)の判定は、例えば、以下の方法を用いることができる。すなわち、(1)操作パネルより、画像モード(例えば、分割画像出力モード)を選択するようにし、制御部4で割付原稿の判定を行う方法、(2)パーソナルコンピュータ等の情報処理装置に接続されたスキャナの場合、スキャナの読み取り条件の設定画面(例えば、スキャナドライバの設定画面)において、原稿種別を選択するようにし、制御部4で割付原稿の判定を行う方法などがある。   For example, the following method can be used to determine the allocated document (Nin1 document). That is, (1) a method of selecting an image mode (for example, a divided image output mode) from the operation panel and determining a document to be assigned by the control unit 4, and (2) a connection to an information processing apparatus such as a personal computer. In the case of a scanner, there is a method in which a document type is selected on a scanner reading condition setting screen (for example, a scanner driver setting screen), and the control unit 4 determines an assigned document.

また、割付原稿の別の判定方法として、原稿の主走査方向及び副走査方向のライン毎に、画素値が0から1、あるいは1から0に変化(反転)する反転回数(あるいは、エッジの数)の分布を求める方法がある。この場合、ライン毎の画素値の平均値や分散値を用いることもできる。そして、下記の条件を満たす場合に、割付原稿(例えば、2in1原稿)であると判定することができる。すなわち、(1)主走査方向の反転回数に関し、連続した分布が2つ存在し、分布と分布の間に空白領域が存在する。(2)副走査方向の反転回数に関し、行間があるので、所定の間隔毎に反転回数が現れる分布になる。(3)空白領域に関し、原稿のレイアウトに依存するものの、反転回数が所定値(例えば、20)以下のラインが、特徴量の分布の間に、20mm程度(解像度が300dpiの場合、170ライン程度)存在する。この場合、原稿周辺部の余白は除いて判定を行う(反転回数が所定値以下のラインに、最初のラインまたは最終のラインが含まれる場合は除く)。なお、割付数が4の場合は、主走査方向、副走査方向ともに空白領域が現れる。   As another determination method for the document to be assigned, the number of inversions (or the number of edges) at which the pixel value changes (inverts) from 0 to 1, or from 1 to 0, for each line in the main scanning direction and the sub-scanning direction of the document. ) Distribution. In this case, an average value or a variance value of pixel values for each line can be used. When the following condition is satisfied, it can be determined that the document is an allocated document (for example, a 2-in-1 document). That is, (1) regarding the number of inversions in the main scanning direction, there are two continuous distributions, and there is a blank area between the distributions. (2) Regarding the number of inversions in the sub-scanning direction, since there is a line spacing, the distribution is such that the number of inversions appears at every predetermined interval. (3) Although the blank area depends on the layout of the document, the line whose number of inversions is a predetermined value (for example, 20) or less is about 20 mm during the distribution of the feature amount (about 170 lines when the resolution is 300 dpi). ) Exists. In this case, the determination is made by removing the margins at the peripheral portion of the document (except when the first line or the last line is included in the lines whose number of inversions is equal to or less than a predetermined value). When the allocation number is 4, blank areas appear in both the main scanning direction and the sub-scanning direction.

さらに、割付原稿の別の判定方法として、後述する天地判別処理を利用して割付状態を判定することができる。図2及び図3は天地判別処理を用いた割付原稿の判定方法を示す説明図である。なお、図2及び図3の例は、原稿画像に2頁の原稿が割り付けられた(2in1原稿)場合(割付数が2)を示すが、他の割付数についても同様である。   Furthermore, as another method for determining an assigned document, the assigned state can be determined using a top / bottom discrimination process described later. 2 and 3 are explanatory views showing a method for determining an assigned document using the top / bottom determination process. 2 and 3 show a case where a two-page document is allocated to a document image (2-in-1 document) (allocation number is 2), but the same applies to other allocation numbers.

まず、原稿の天地判別処理について説明する。原稿の天地判別処理は、例えば、OCR技術を用いて文字認識を行い、原稿内の各文字を切り出し、切り出した文字をパターン化する。   First, the top / bottom discrimination processing of the document will be described. In the document top / bottom discrimination process, for example, character recognition is performed using an OCR technique, each character in the document is cut out, and the cut out character is patterned.

次に、文字パターンの特徴とデータベース化された文字パターン情報とを比較する。マッチングの方法としては、データベース化された文字パターンに切り出された文字パターンを重ね合わせ、画素ごとの白黒を比較し、全てが合致したときのデータベース化された文字パターンを入力パターンの文字であると判別する。全てが合致する文字パターンがない場合、マッチングする画素が最も多い文字パターンの文字であると判別する。なお、所定のマッチング割合に達しなければ判別不能と判断する。   Next, the feature of the character pattern is compared with the character pattern information stored in the database. As a matching method, the character pattern that has been cut out is superimposed on the character pattern that has been databased, the black and white for each pixel is compared, and the databased character pattern when all match is the character of the input pattern Determine. If there is no character pattern that matches all, it is determined that the character pattern has the largest number of matching pixels. If the predetermined matching ratio is not reached, it is determined that discrimination is impossible.

そして、切り出された文字パターンを90°、180°、270°回転させ、上記処理を繰り返す。切り出された文字パターンの回転角毎の判別可能な文字数の比較を行い、判別可能な文字数が最も多い回転角を文字の方向、すなわち、原稿の天地方向とする。   Then, the cut character pattern is rotated by 90 °, 180 °, and 270 °, and the above processing is repeated. The number of distinguishable characters for each rotation angle of the extracted character pattern is compared, and the rotation angle with the largest number of distinguishable characters is set as the character direction, that is, the top / bottom direction of the document.

図2(b)は、図2(a)に示すような異なる方向(天地方向が異なる)2頁の原稿が割り付けられた原稿画像に対して、上述の天地判別処理を行った結果を示す。このように1つの原稿内に天地方向が異なる複数頁の原稿が割り付けられている場合には、割付原稿の天地方向を特定することができない。すなわち、回転角が0°、90°でそれぞれ閾値以上の度数が得られているため、いずれの回転角が天地方向を示すのか特定することができない。   FIG. 2B shows the result of performing the above-described top / bottom discrimination processing on a document image to which a two-page document having different directions (the top and bottom directions are different) as shown in FIG. 2A is assigned. In this way, when a plurality of pages of documents with different top and bottom directions are allocated in one document, the top and bottom direction of the allocated documents cannot be specified. That is, since the rotation angles are 0 ° and 90 ° and the respective frequencies are equal to or greater than the threshold value, it is not possible to specify which rotation angle indicates the vertical direction.

そこで、図3(a)に示すように、例えば、原稿画像の長辺方向を2等分して原稿画像を2つに分割し、分割したそれぞれの分割画像に対して、天地判別処理を行う。「いろは」で示す分割画像に対しては、図3(b)に示すように、回転角が0°で閾値以上の度数が得られ、天地方向が回転角0°に対応する方向であることが分かる。また、「ABC」で示す分割画像に対しては、図3(c)に示すように、回転角が90°で閾値以上の度数が得られ、天地方向が回転角90°に対応する方向であることが分かる。このように、分割画像それぞれについては、天地方向を特定することができるので、この原稿は、天地方向の混在した割付原稿であると判断することができる。なお、図2及び図3では、2in1の原稿を例にしたが、原稿を2分割しても天地方向を特定することができない場合には、さらに割付数を増やすことにより、Nin1割付も判定することができる。   Therefore, as shown in FIG. 3A, for example, the original image is divided into two by dividing the long side direction of the original image into two, and the top and bottom discrimination processing is performed on each of the divided divided images. . For the divided image indicated by “Iroha”, as shown in FIG. 3B, the rotation angle is 0 ° and a frequency equal to or greater than the threshold value is obtained, and the vertical direction is a direction corresponding to the rotation angle of 0 °. I understand. For the divided image indicated by “ABC”, as shown in FIG. 3C, a rotation angle is 90 ° and a frequency equal to or higher than the threshold value is obtained, and the vertical direction is a direction corresponding to the rotation angle 90 °. I understand that there is. As described above, since the vertical direction can be specified for each of the divided images, it is possible to determine that this original is an assigned original in which the vertical directions are mixed. 2 and 3 exemplify a 2-in-1 document. However, if the top-and-bottom direction cannot be specified even if the document is divided into two, the Nin1 allocation is also determined by increasing the allocation number. be able to.

原稿分割手段としての原稿分割部205は、原稿画像が割付原稿画像であると判定された場合に、割付単位に画像を分割する。例えば、1つの原稿画像に4頁の原稿が割り付けられている場合、割り付けられた各原稿に対応する画像を分割画像とし、原稿画像を4つの分割画像に分割する。原稿分割部205は、分割画像を送受信部5又は記憶部51へ出力する。そして、記憶部51に記憶された分割画像それぞれに対して、後述する原稿方向検知部206による原稿方向検知処理、原稿補正部207による原稿補正処理を施す。   An original dividing unit 205 as an original dividing unit divides an image into allocation units when it is determined that the original image is an allocated original image. For example, when a four-page document is allocated to one document image, an image corresponding to each allocated document is set as a divided image, and the document image is divided into four divided images. The document dividing unit 205 outputs the divided image to the transmission / reception unit 5 or the storage unit 51. Then, each of the divided images stored in the storage unit 51 is subjected to document direction detection processing by a document direction detection unit 206, which will be described later, and document correction processing by a document correction unit 207.

図4は原稿分割の例を示す説明図である。図中、番号が付された画像は分割画像である。図4(a)は、番号1が付され、割付数が1、すなわち、非割付原稿であることを示す。図4(a)に示すように、割付原稿でない場合には、原稿分割処理は行わない。   FIG. 4 is an explanatory diagram showing an example of document division. In the figure, the numbered images are divided images. FIG. 4A shows that the number 1 is assigned and the number of assignments is 1, that is, an unassigned document. As shown in FIG. 4A, if the document is not an allocated document, the document dividing process is not performed.

一方、図4(b)は、番号1、2が付され、割付数が2である。すなわち、原稿画像には2頁の原稿(番号1、2)が割り付けられている。同様に、図4(c)は、番号1、2、3、4が付され、割付数が4である。すなわち、原稿画像には4頁の原稿(番号1、2、3、4)が割り付けられている。図4(d)〜(f)についても同様である。割付状態は、割付数で表わされ、2、4、6、8、9、…という数になり、主走査方向及び副走査方向に対して、原稿のサイズ(長さ)を等分することにより、原稿画像を割付数に応じた分割画像に分割する。   On the other hand, in FIG. 4B, numbers 1 and 2 are assigned, and the number of assignments is 2. That is, a two-page document (numbers 1 and 2) is assigned to the document image. Similarly, in FIG. 4C, numbers 1, 2, 3, and 4 are assigned, and the number of assignments is four. That is, a four-page document (numbers 1, 2, 3, 4) is assigned to the document image. The same applies to FIGS. 4D to 4F. The layout state is represented by the number of layouts and is a number of 2, 4, 6, 8, 9,..., And equally divides the document size (length) in the main scanning direction and the sub-scanning direction. Thus, the document image is divided into divided images corresponding to the number of assignments.

なお、原稿サイズ(長さ)を検知する方法としては、例えば、(1)画像入力装置1内に配置されたフォトトランジスタなどの光電変換素子により、原稿台に載置された、主走査方向、副走査方向の原稿サイズを検知する方法、(2)操作パネルよりユーザにより選択された原稿のサイズを検知する方法などがあり、いずれかの方法を用いればよい。   As a method for detecting the document size (length), for example, (1) the main scanning direction placed on the document table by a photoelectric conversion element such as a phototransistor disposed in the image input apparatus 1, There are a method for detecting the document size in the sub-scanning direction, a method (2) a method for detecting the size of the document selected by the user from the operation panel, and one of these methods may be used.

天地判定手段としての原稿方向検知部206は、記憶部51から読み出された分割画像それぞれに対して、天地方向を判定する。より具体的には、原稿方向検知部206は、各分割画像の天地方向が原稿画像(複数頁の分割画像で構成され、複数頁の原稿が割り付けられた原稿画像)の天地方向と一致するか否かを判定する。なお、天地方向は、上述の天地判別処理を用いて判定することができる。原稿方向検知部206は、判定結果(例えば、天地方向、割付状態など)を、原稿補正部207及び表示・印刷コマンド生成部208へ出力する。   A document direction detection unit 206 serving as a top / bottom determination unit determines the top / bottom direction for each of the divided images read from the storage unit 51. More specifically, the document direction detection unit 206 determines whether the vertical direction of each divided image coincides with the vertical direction of the document image (a document image composed of a plurality of pages of divided images and assigned with a plurality of pages of documents). Determine whether or not. The top / bottom direction can be determined using the top / bottom determination process described above. The document direction detection unit 206 outputs the determination result (for example, the top-to-bottom direction, the assigned state, etc.) to the document correction unit 207 and the display / print command generation unit 208.

原稿補正手段、変倍手段及び回転手段としての原稿補正部207は、原稿方向検知結果(天地方向)、割付検知結果(割付数、割付状態)に応じて、分割画像それぞれに対して、変倍処理、回転処理などの処理を施すことにより分割画像を補正する。   A document correction unit 207 serving as a document correction unit, a scaling unit, and a rotation unit performs scaling for each of the divided images in accordance with the document direction detection result (vertical direction) and the layout detection result (number of layouts and layout state). The divided image is corrected by performing processing such as processing and rotation processing.

まず、補正処理としての回転処理について説明する。原点を中心に、反時計回りに角度90°、180°、270°回転する場合において、回転前後の座標の関係は、以下の式で表すことができる。そして、下記の式を用いて分割画像の天地方向の補正を行う。すなわち、回転前座標を(X、Y)とし、回転後座標を(X′、Y′)とすると、(1)90°回転時は、X′=元の画像のY方向の長さ−1−Y、Y′=Xとなる。また、(2)180°回転時は、X′=元の画像のX方向の長さ−1−X、Y′=元の画像のY方向の長さ−1−Yとなる。また、(3)270°回転時は、X′=Y、Y′=元の画像のX方向の長さ−1−Xとなる。   First, rotation processing as correction processing will be described. In the case of rotating 90 degrees, 180 degrees, and 270 degrees counterclockwise around the origin, the relationship between the coordinates before and after the rotation can be expressed by the following expression. And the correction | amendment of the vertical direction of a divided image is performed using the following formula | equation. That is, if the coordinates before rotation are (X, Y) and the coordinates after rotation are (X ′, Y ′), (1) X ′ = the length of the original image in the Y direction−1 when rotated 90 °. -Y, Y '= X. Further, (2) when rotated 180 °, X ′ = length of the original image in the X direction-1-X, and Y ′ = length of the original image in the Y direction-1-Y. In addition, (3) at the time of 270 ° rotation, X ′ = Y and Y ′ = the length of the original image in the X direction—1-X.

次に、補正処理としての変倍処理について説明する。変倍処理は、分割画像の各画素を補間する等の処理を行って、分割画像が、分割前の原稿と同じ大きさになるように、割付数に応じた変倍率を用いて変倍を行う。変倍には、補間処理を使用することができる。   Next, the scaling process as the correction process will be described. Scaling processing is performed by interpolating each pixel of the divided image, etc., so that the divided image has the same size as the original document before division, and scaling is performed using a scaling factor according to the number of assignments. Do. Interpolation processing can be used for scaling.

図5は割付数と変倍率との関係を示す説明図である。図5に示すように、例えば、4in1(割付数4)の原稿である場合、分割画像に対して変倍率200%を用いて変倍処理を行う。他の割付数についても同様である。   FIG. 5 is an explanatory diagram showing the relationship between the number of assignments and the scaling factor. As shown in FIG. 5, for example, in the case of a 4 in 1 document (number of assignments 4), a scaling process is performed on the divided images using a scaling factor of 200%. The same applies to other allocation numbers.

また、画素を補間する方法としては、例えば、(1)ニアレストネイバ(最近傍補間)による補間処理、すなわち、補間する画素に一番近い画素、あるいは、補間する画素に対して所定の位置関係にある既存画素の値をその補間画素の値とする方法、(2)バイリニア(線形補間)による補間処理、すなわち、補間する画素を囲む周囲4点の既存画素の距離に比例した形で重み付けした値の平均を求め、その値をその補間画素とする方法、(3)バイキュービック(非線形補間)による補間処理、すなわち、補間する画素を囲む4点に加え、更にそれらを囲む12点を加えた計16点の画素の値を用いて、補間演算を行う方法などがあり、いずれのかの方法を用いることができる。   As a method of interpolating pixels, for example, (1) interpolation processing by nearest neighbor (nearest neighbor interpolation), that is, a pixel closest to the pixel to be interpolated or a predetermined positional relationship with respect to the pixel to be interpolated (2) Bilinear (linear interpolation) interpolation processing, that is, weighting in a form proportional to the distance between the four existing pixels surrounding the pixel to be interpolated. A method of calculating an average of values and using the value as an interpolation pixel. (3) Interpolation processing by bicubic (non-linear interpolation), that is, adding four points surrounding pixels to be interpolated and adding 12 points surrounding them. There is a method of performing an interpolation calculation using the pixel values of a total of 16 points, and either method can be used.

情報生成手段としての表示・印刷コマンド生成部208は、割付単位で分割された分割画像毎に正しい天地方向で表示するための表示情報としての表示コマンドの生成処理、割付状態(分割前の状態)で印刷するための印刷情報としての印刷コマンドの生成処理を行う。   The display / print command generation unit 208 as information generation means generates a display command as display information for displaying each divided image divided in allocation units in the correct top-and-bottom direction, an allocation state (state before division) A print command generation process as print information for printing is performed.

より具体的には、表示・印刷コマンド生成部208は、例えば、分割画像(分割された原稿)を、原稿の順序(頁順)に沿って表示するように、分割画像毎に表示位置、表示の大きさ、表示方向(天地方向)に関する表示コマンド(表示情報)を生成する。   More specifically, for example, the display / print command generation unit 208 displays the display position and display for each divided image so that the divided images (divided originals) are displayed in the order of the originals (page order). Display command (display information) related to the size of the image and the display direction (top and bottom direction).

以下、表示コマンドの生成の例について説明する。図6は複数枚の原稿画像の例を示す説明図であり、図7は補正後の原稿画像の例を示す説明図であり、図8は表示用の出力ファイルの例を示す説明図である。図6に示すように、1枚目の原稿画像は原稿P1そのものであり、割付原稿画像ではない。同様に、3枚目の原稿画像も原稿P4そのものであって、割付原稿画像ではないとする。2枚目の原稿画像は、原稿P2、P3が割り付けられた割付原稿画像であるとする。   Hereinafter, an example of display command generation will be described. FIG. 6 is an explanatory diagram showing an example of a plurality of document images, FIG. 7 is an explanatory diagram showing an example of a corrected document image, and FIG. 8 is an explanatory diagram showing an example of an output file for display. . As shown in FIG. 6, the first document image is the document P1 itself, not the allocated document image. Similarly, it is assumed that the third document image is also the document P4 itself and not the allocated document image. Assume that the second document image is an allocated document image to which documents P2 and P3 are allocated.

割付原稿画像である場合、割付数に応じて分割画像P2、P3に分割され、分割画像P2、P3に対して、元の原稿の大きさになるように変倍処理が施され、原稿画像の天地方向と異なる場合には、天地方向が原稿画像の天地方向と一致するように回転処理が施される。これらの変倍処理、回転処理などの補正処理により補正後の原稿画像(分割画像)は図7に示すようになる。   In the case of an assigned document image, the image is divided into divided images P2 and P3 according to the number of assignments, and the divided images P2 and P3 are subjected to scaling processing so as to be the size of the original document. If it is different from the vertical direction, the rotation process is performed so that the vertical direction matches the vertical direction of the document image. FIG. 7 shows a document image (divided image) that has been corrected by correction processing such as scaling processing and rotation processing.

すなわち、分割画像P2に対しては、天地方向を原稿画像の天地方向に一致させるべく時計回りに90°の回転処理が施されるとともに、元の原稿の大きさになるように変倍(拡大)処理が施される。また、分割画像P3に対しては、元の原稿の大きさになるように変倍(拡大)処理のみが施される。   That is, the divided image P2 is rotated 90 ° clockwise so that the vertical direction coincides with the vertical direction of the original image, and is scaled (enlarged) to the original original size. ) Processing is performed. Further, only the scaling (enlargement) processing is performed on the divided image P3 so as to be the size of the original document.

そして、図7の原稿画像P1〜P4をこの順序で表示することができるように、図8に示すように出力ファイルを生成する。図8に示すように、1頁目の原稿画像P1の画像データに表示情報としての表示コマンドを埋め込む。表示コマンドは、画像表示装置により解析及び実行することができ、表示する画像の指定、表示する画像の表示開始位置(座標)、表示サイズなどを含む。同様に、2頁目の原稿画像P2、3頁目の原稿画像P3、4頁目の原稿画像P4の画像データに表示情報としての表示コマンドを埋め込む。図8に示すように、頁毎に表示する画像が指定され、左上を基準に元の原稿の大きさ(100%サイズ)で表示される。   Then, an output file is generated as shown in FIG. 8 so that the document images P1 to P4 of FIG. 7 can be displayed in this order. As shown in FIG. 8, a display command as display information is embedded in the image data of the original image P1 of the first page. The display command can be analyzed and executed by the image display device, and includes designation of an image to be displayed, display start position (coordinates) of the image to be displayed, display size, and the like. Similarly, a display command as display information is embedded in the image data of the original image P2 of the second page, the original image P3 of the third page, and the original image P4 of the fourth page. As shown in FIG. 8, an image to be displayed for each page is designated, and the original document size (100% size) is displayed with the upper left as a reference.

これにより、複数頁の原稿を割り付けた割付原稿をそれぞれの原稿に分けて表示することができるとともに、すべての原稿を正しい向き(例えば、原稿画像と同じ向き)に補正して見やすくすることができる。また、表示情報を含む表示用画像データを生成することにより、表示用画像データを処理する表示装置側で割付原稿のそれぞれの原稿を表示させるための処理を行うことができ、画像表示装置側での処理を簡易にすることができる。   As a result, it is possible to divide and display the allocated originals assigned with a plurality of pages of originals, and to correct all the originals in the correct orientation (for example, the same orientation as the original image) for easy viewing. . In addition, by generating display image data including display information, the display device that processes the display image data can perform processing for displaying each document of the assigned document, and on the image display device side. This process can be simplified.

また、表示・印刷コマンド生成部208は、例えば、分割された原稿を、元通りの(分割前の)状態で印刷するように、原稿頁毎に印刷位置、印刷サイズ、印刷方向に関する印刷情報としての印刷コマンドを生成する。   Further, the display / print command generation unit 208, for example, print information regarding the print position, print size, and print direction for each original page so that the divided original is printed in the original state (before division). Generate a print command.

以下、印刷コマンドの生成の例について説明する。図9は印刷用の出力ファイルの例を示す説明図である。なお、複数枚の原稿画像の例は図6と同様であり、補正後の原稿画像の例は図7と同様である。すなわち、図6に示すように、1枚目の原稿画像は原稿P1そのものであり、割付原稿画像ではない。同様に、3枚目の原稿画像も原稿P4そのものであって、割付原稿画像ではないとする。2枚目の原稿画像は、原稿P2、P3が割り付けられた割付原稿画像であるとする。   An example of print command generation will be described below. FIG. 9 is an explanatory diagram showing an example of an output file for printing. An example of a plurality of document images is the same as in FIG. 6, and an example of a corrected document image is the same as in FIG. That is, as shown in FIG. 6, the first document image is the document P1 itself, not the allocated document image. Similarly, it is assumed that the third document image is also the document P4 itself and not the allocated document image. Assume that the second document image is an allocated document image to which documents P2 and P3 are allocated.

割付原稿画像である場合、割付数に応じて分割画像P2、P3に分割され、分割画像P2、P3に対して、元の原稿の大きさになるように変倍処理が施され、原稿画像の天地方向と異なる場合には、天地方向が原稿画像の天地方向と一致するように回転処理が施される。これらの変倍処理、回転処理などの補正処理により補正後の原稿画像(分割画像)は図7に示すようになる。   In the case of an assigned document image, the image is divided into divided images P2 and P3 according to the number of assignments, and the divided images P2 and P3 are subjected to scaling processing so as to be the size of the original document. If it is different from the vertical direction, the rotation process is performed so that the vertical direction matches the vertical direction of the document image. FIG. 7 shows a document image (divided image) that has been corrected by correction processing such as scaling processing and rotation processing.

すなわち、分割画像P2に対しては、天地方向を原稿画像の天地方向に一致させるべく時計回りに90°の回転処理が施されるとともに、元の原稿の大きさになるように変倍(拡大)処理が施される。また、分割画像P3に対しては、元の原稿の大きさになるように変倍(拡大)処理のみが施される。   That is, the divided image P2 is rotated 90 ° clockwise so that the vertical direction coincides with the vertical direction of the original image, and is scaled (enlarged) to the original original size. ) Processing is performed. Further, only the scaling (enlargement) processing is performed on the divided image P3 so as to be the size of the original document.

図7に示す原稿画像P2、P3を、補正前の状態、すなわち、図6(b)に示す状態で印刷するために、原稿補正部207でどのような補正内容で補正されたかの情報を取得する。そして、補正される前の分割画像P2、P3になるように、原稿補正部207で行った補正処理と逆の処理を施すべく印刷用補正コマンド(回転情報、変倍情報)を生成する。例えば、原稿補正部207で140%拡大の変倍処理及び90°回転処理が施された場合、これらの補正と逆の処理である、1/1.4(約70%)縮小の変倍処理及び−90°の回転処理を行う印刷用補正コマンドを生成する。これにより、割り付けられた原稿(元の原稿)通りの大きさと天地方向の画像を得ることができる。   In order to print the original images P2 and P3 shown in FIG. 7 in a state before correction, that is, in the state shown in FIG. 6B, information on what correction content has been corrected by the original correction unit 207 is acquired. . Then, a print correction command (rotation information, scaling information) is generated so as to perform a process reverse to the correction process performed by the document correction unit 207 so as to obtain the divided images P2 and P3 before being corrected. For example, when the original correction unit 207 performs 140% enlargement scaling processing and 90 ° rotation processing, 1/14 (about 70%) reduction scaling processing is the reverse of these corrections. And a printing correction command for performing a rotation process of −90 °. As a result, it is possible to obtain an image in the same size and top / bottom direction as the assigned document (original document).

そして、大きさと天地方向が元通りとなった画像に対して、印刷位置を指定する印刷位置指定コマンドを生成する。図9の例では、まず、画像P3を左上から印刷するように指定し、画像P2は、画像P3に続いて略中央から印刷するように指定する印刷位置指定コマンドとなる。図9に示すように、上述の印刷用補正コマンドと合わせて、原稿画像を分割する前の割付状態で印刷することができ、元通り(分割前)の画像と同等の原稿を印刷物として得ることができる。すなわち、この場合、分割画像P2、P3に対する印刷コマンドには補正処理(分割、変倍、回転など)が含まれる。   Then, a print position designation command for designating a print position is generated for an image whose size and top / bottom direction have been restored. In the example of FIG. 9, first, the image P3 is designated to be printed from the upper left, and the image P2 is a print position designation command that designates printing from the substantially center following the image P3. As shown in FIG. 9, in conjunction with the above-described printing correction command, the original image can be printed in an assigned state before being divided, and an original equivalent to the original (before division) image can be obtained as a printed matter. Can do. That is, in this case, the print command for the divided images P2 and P3 includes correction processing (division, scaling, rotation, etc.).

なお、図6の例では、2枚目の原稿画像が割付原稿画像であって、原稿P2、P3が割り当てられており、原稿P2に対応する分割画像の天地方向は、原稿画像の天地方向と異なり、一方、原稿P3に対応する分割画像の天地方向は、原稿画像の天地方向と一致する場合を示しているが、割付原稿画像の例はこれに限定されるものではない。例えば、原稿P3に対応する分割画像の天地方向も原稿P2に対応する分割画像と同様に、その天地方向が原稿画像の天地方向と異なるものでもよい。この場合、原稿P3に対応する分割画像の天地方向と原稿P2に対応する分割画像の天地方向とがお互いに異なる方向でもよい。また、原稿P2に対応する分割画像が原稿P3に対応する分割画像と同様に、その天地方向が原稿画像の天地方向と一致するものでもよい。   In the example of FIG. 6, the second original image is an assigned original image, and originals P2 and P3 are assigned. The vertical direction of the divided image corresponding to the original P2 is the vertical direction of the original image. On the other hand, on the other hand, the vertical direction of the divided image corresponding to the original P3 shows a case where the vertical direction of the original image coincides with the vertical direction of the original image, but the example of the assigned original image is not limited to this. For example, the vertical direction of the divided image corresponding to the original P3 may be different from the vertical direction of the original image, similarly to the divided image corresponding to the original P2. In this case, the vertical direction of the divided image corresponding to the original P3 and the vertical direction of the divided image corresponding to the original P2 may be different from each other. Further, similarly to the divided image corresponding to the original P3, the vertical direction corresponding to the original P2 may be the same as the vertical direction of the original image.

表示コマンドの生成は、上述の例に限定されない。以下、表示コマンドの生成の他の例について説明する。図10は表示用の出力ファイルの他の例を示す説明図であり、図11はデータを共通化した場合の表示用の出力ファイルの他の例を示す説明図である。   The generation of the display command is not limited to the above example. Hereinafter, another example of display command generation will be described. FIG. 10 is an explanatory diagram showing another example of the output file for display, and FIG. 11 is an explanatory diagram showing another example of the output file for display when data is shared.

上述の図6の例と同様に、割付原稿である場合、割付数に応じて分割画像P2、P3に分割表示(部分表示)する表示コマンドを生成する。また、分割画像P2、P3に対して、元の原稿の大きさになるように変倍処理を施す表示コマンドをさらに生成する。さらに、原稿画像の天地方向と異なる場合には、天地方向が原稿画像の天地方向と一致するように回転処理を施す表示コマンドを生成する。これらの分割表示コマンド、変倍表示コマンド、回転表示コマンドなどの表示コマンドにより、補正後の表示画像は図7に示すようになる。   Similar to the example of FIG. 6 described above, in the case of a layout document, a display command for split display (partial display) on the split images P2 and P3 is generated according to the number of layouts. Further, a display command for performing a scaling process on the divided images P2 and P3 so as to be the size of the original document is further generated. Further, if the top and bottom direction of the document image is different, a display command is generated for performing rotation processing so that the top and bottom direction matches the top and bottom direction of the document image. The display image after correction is as shown in FIG. 7 by the display commands such as the divided display command, the scaling display command, and the rotation display command.

すなわち、部分画像P2に対しては、P2部分が分割され、天地方向を原稿画像の天地方向に一致させるべく時計回りに90°の回転処理が施されるとともに、元の原稿の大きさになるように変倍(拡大)処理が施されて表示される。また、部分画像P3に対しては、元の原稿の大きさになるように変倍(拡大)処理のみが施されて表示される。   That is, with respect to the partial image P2, the P2 portion is divided, rotated 90 degrees clockwise to match the vertical direction with the vertical direction of the document image, and becomes the size of the original document. Thus, the image is displayed after being subjected to scaling (enlargement) processing. In addition, the partial image P3 is displayed after being subjected only to scaling (enlargement) processing so as to be the size of the original document.

そして、図7に示すような表示画像P1〜P4を得るために、図10に示すように出力ファイルを生成する。図10に示すように、1頁目の原稿画像P1の画像データに表示情報としての表示コマンドを埋め込む。表示コマンドは、画像表示装置により解析及び実行することができ、表示する画像の指定、表示する画像の表示開始位置(座標)、表示サイズなどを含む。また、2頁目に対しては、P2を含む原稿画像データのうち、P2部分に対して、部分切り出し、変倍、回転処理を示す表示情報としての表示コマンドを埋め込む。3頁目に対しては、P3を含む原稿画像データのうち、P3部分に対して、部分切り出し、変倍処理を示す表示情報としての表示コマンドを埋め込む。4頁目に対しては、1頁目と同様である。   Then, in order to obtain display images P1 to P4 as shown in FIG. 7, an output file is generated as shown in FIG. As shown in FIG. 10, a display command as display information is embedded in the image data of the original image P1 of the first page. The display command can be analyzed and executed by the image display device, and includes designation of an image to be displayed, display start position (coordinates) of the image to be displayed, display size, and the like. For the second page, a display command as display information indicating partial cutout, scaling, and rotation processing is embedded in the P2 portion of the original image data including P2. For the third page, a display command is embedded as display information indicating partial cutout and scaling processing in the P3 portion of the original image data including P3. The fourth page is the same as the first page.

図11に示す例は、2頁目の表示用の原稿画像データと、3頁目の表示用の原稿画像データとは、同じデータであるため、これらを共通化した場合である。データを共通化してP2部分に対する表示コマンドを埋め込むとともに、P3部分に対する表示コマンドを埋め込む。   The example shown in FIG. 11 is a case where the document image data for display on the second page and the document image data for display on the third page are the same data, and thus are shared. The data is shared and a display command for the P2 portion is embedded, and a display command for the P3 portion is embedded.

このように、原稿画像データから、補正処理を施して表示を行う表示コマンドを生成することにより、表示用画像データを処理する表示装置側で割付原稿のそれぞれの原稿を表示させるための処理を行うことができ、画像処理装置側での処理を簡易にすることができる。この場合、画像処理装置側は、画像に対する分割、変倍、回転の処理を行わず、表示コマンドとしてファイルデータに入れておき、画像表示装置側で、表示時に表示コマンドにしたがって、必要な分割、変倍、回転の処理を行う。   As described above, by generating a display command for performing display by performing correction processing from the document image data, the display device that processes the display image data performs processing for displaying each document of the allocated document. Therefore, the processing on the image processing apparatus side can be simplified. In this case, the image processing device side does not perform division, scaling, and rotation processing on the image, and puts it in the file data as a display command. On the image display device side, according to the display command at the time of display, necessary division, Performs scaling and rotation.

次に、図10及び図11の例で説明した場合のように、画像処理装置側で分割、変倍又は回転の補正処理を行わず、画像表示装置で表示する際に表示コマンドにしたがって必要な分割、変倍、回転の処理を行う場合における印刷コマンドの生成例について説明する。     Next, as described in the examples of FIGS. 10 and 11, the image processing apparatus does not perform division, scaling, or rotation correction processing, and is necessary according to the display command when displaying on the image display apparatus. An example of generating a print command when performing division, scaling, and rotation processing will be described.

図12は印刷用の出力ファイルの他の例を示す説明図である。上述したように、画像処理装置側で分割、変倍、回転の補正処理を行わない場合には、印刷用の出力ファイルは図12のようになる。すなわち、ファイル内部には、元の原稿のまま画像データが存在するため、元の原稿の頁の状態で、印刷するように、個々の頁に対して、印刷コマンドを生成する。このとき、分割、変倍、回転の補正処理は必要ない。すなわち、この場合、分割画像P2、P3に対する印刷コマンドには補正処理(分割、変倍、回転など)が含まれない。   FIG. 12 is an explanatory diagram showing another example of an output file for printing. As described above, when the division, scaling, and rotation correction processing is not performed on the image processing apparatus side, the output file for printing is as shown in FIG. That is, since image data exists in the file as it is in the original document, a print command is generated for each page so that printing is performed in a page state of the original document. At this time, division, scaling, and rotation correction processes are not necessary. That is, in this case, the print command for the divided images P2 and P3 does not include correction processing (division, scaling, rotation, etc.).

色補正部209は、RGB信号の補色であるCMY(C:シアン・M:マゼンタ・Y:イエロー)信号を生成するとともに、色再現性を高める処理を行う。具体的には、色補正部209は、色再現の忠実化を図るため、不要吸収成分を含むCMY色材の分光特性に基づいた色濁りを取り除く処理を行う。   The color correction unit 209 generates a CMY (C: cyan, M: magenta, Y: yellow) signal that is a complementary color of the RGB signal, and performs a process for improving color reproducibility. Specifically, the color correction unit 209 performs a process of removing color turbidity based on the spectral characteristics of the CMY color material including unnecessary absorption components in order to make the color reproduction faithful.

黒生成下色除去部210は、色補正部209から入力されたCMY信号に基づいて、K(黒)信号を生成するとともに、入力されたCMY信号からK信号を差し引いて新たなCMY信号を生成し、生成したCMYK信号を空間フィルタ部211へ出力する。これにより、CMYの3色信号はCMYKの4色信号に変換される。   The black generation and under color removal unit 210 generates a K (black) signal based on the CMY signal input from the color correction unit 209 and generates a new CMY signal by subtracting the K signal from the input CMY signal. Then, the generated CMYK signal is output to the spatial filter unit 211. As a result, the CMY three-color signal is converted into a CMYK four-color signal.

空間フィルタ部211は、黒生成下色除去部210から入力されたCMYK信号に対して、領域分離データに基づいたデジタルフィルタによる空間フィルタ処理を行う。これにより、画像データの空間周波数特性が補正され、画像出力装置3における出力画像のぼやけ、又は粒状性劣化を防止する。例えば、空間フィルタ部211は、後述する領域分離部214において文字領域に分離された領域を、特に黒文字又は色文字の再現性を高めるため、鮮鋭強調処理を施し高周波成分を強調する。また、空間フィルタ部211は、領域分離部214において網点領域に分離された領域を、入力網点成分を除去するためのローパス・フィルタ処理を施す。空間フィルタ部211は、処理後のCMYK信号を中間調生成部212へ出力する。   The spatial filter unit 211 performs a spatial filter process with a digital filter based on the region separation data on the CMYK signal input from the black generation and under color removal unit 210. Thereby, the spatial frequency characteristics of the image data are corrected, and blurring of the output image in the image output device 3 or deterioration of graininess is prevented. For example, the spatial filter unit 211 enhances high-frequency components by performing a sharp enhancement process on a region separated into character regions by a region separation unit 214 (to be described later), in particular, in order to improve the reproducibility of black characters or color characters. In addition, the spatial filter unit 211 performs a low-pass filter process for removing the input halftone component on the region separated by the halftone dot region in the region separation unit 214. The spatial filter unit 211 outputs the processed CMYK signal to the halftone generation unit 212.

中間調生成部212は、階調再現処理を行う。例えば、中間調生成部212は、文字領域に分離された領域を、特に黒文字又は色文字の再現性を高めるため、画像出力装置3における高周波成分の再現に適するように二値化処理又は多値化処理を行う。また、網点領域に分離された領域を、最終的に画像を画素に分離して、それぞれの階調を再現できるように階調再現処理(中間調生成)を行う。さらに、写真領域に分離された領域を、画像出力装置3における階調再現性に適するように二値化処理又は多値化処理を行う。   The halftone generation unit 212 performs gradation reproduction processing. For example, the halftone generation unit 212 performs binarization processing or multi-value processing so as to be suitable for reproduction of high-frequency components in the image output device 3 in order to improve the reproducibility of black characters or color characters, particularly for the regions separated into character regions. Process. In addition, the gradation separation process (halftone generation) is performed so that the area separated into the halftone dot area is finally separated into pixels and each gradation can be reproduced. Further, the binarization process or the multi-value process is performed so that the area separated into the photographic areas is suitable for the gradation reproducibility in the image output apparatus 3.

印刷画像データ生成手段としての出力データ生成部213は、印刷を行う場合、印刷用補正コマンド、印刷位置指定コマンドに基づいて、画像データを補正し、画像出力装置3で印刷される印刷データを生成する。なお、印刷用補正コマンド、印刷位置指定コマンドの詳細は後述する。   When performing printing, the output data generation unit 213 as the print image data generation unit corrects the image data based on the print correction command and the print position designation command, and generates print data to be printed by the image output device 3. To do. Details of the correction command for printing and the print position designation command will be described later.

また、表示画像データ生成手段としての出力データ生成部213は、原稿画像を表示する場合、表示する頁毎に、表示する原稿画像の画像データに表示コマンドを埋め込んだ出力ファイルを生成する。また、表示する原稿画像の画像データは、画像全体が画像表示装置の表示部(例えば、液晶ディスプレイなど)に表示されるように画素を間引く等の処理(画素を間引く処理は、上述の補間処理を用いることができる)がなされ、画像表示装置の表示特性に基づいた階調補正(ガンマ補正)が行われる。   Further, when displaying the document image, the output data generation unit 213 as the display image data generation unit generates an output file in which a display command is embedded in the image data of the document image to be displayed for each page to be displayed. Further, the image data of the document image to be displayed is processed such as thinning out pixels so that the entire image is displayed on a display unit (for example, a liquid crystal display) of the image display device. And gradation correction (gamma correction) based on the display characteristics of the image display device is performed.

領域分離部214は、入力画像データの各画素が黒文字、色文字、網点、印画紙写真(連続階調領域)等のどのような領域に属する画素であるのか判定する。領域分離部214は、判定結果である領域分離データを黒生成下色除去部210、空間フィルタ部211、中間調生成部212へ出力する。これにより、各種領域に応じた適切な処理が行われる。   The region separation unit 214 determines to which pixel each pixel of the input image data belongs, such as a black character, a color character, a halftone dot, a photographic paper photograph (continuous gradation region), or the like. The region separation unit 214 outputs the region separation data as a determination result to the black generation and under color removal unit 210, the spatial filter unit 211, and the halftone generation unit 212. Thereby, appropriate processing according to various areas is performed.

画像出力装置3は、原稿画像の画像データを記録紙上に出力する電子写真方式やインクジェット方式などを用いた画像形成手段である。   The image output device 3 is an image forming unit using an electrophotographic system or an inkjet system that outputs image data of an original image onto a recording sheet.

図13は画像表示装置6を用いる場合の本発明に係る画像処理装置2の構成を示すブロック図である。図13に示すように、原稿画像を画像表示装置6で表示する場合は、色補正部209において、スキャナの画像読取特性に適合したRGBの画像データを画像表示装置6の表示特性に適合したR′G′B′の画像データに変換する処理を行い、必要に応じて、空間フィルタ部211において、領域分離信号に基づいて、強調、あるいは、平滑化処理を行う。そして、出力データ生成部213において、表示頁毎に、表示する原稿画像の画像データに表示コマンドを埋め込んで出力ファイルを生成する。また、画像全体が画像表示装置6の表示部に表示されるように画素を間引く等の処理を行い、画像表示装置6の表示特性に基づいた階調補正(ガンマ補正)を行って画像データを画像表示装置6に出力する。画像データの表示を行う場合には、黒生成下色除去部210及び中間調生成部212での処理は行わない。   FIG. 13 is a block diagram showing a configuration of the image processing apparatus 2 according to the present invention when the image display apparatus 6 is used. As shown in FIG. 13, when the original image is displayed on the image display device 6, the color correction unit 209 uses RGB image data suitable for the image reading characteristics of the scanner to match the display characteristics of the image display device 6. Processing for conversion to image data of 'G'B' is performed, and enhancement or smoothing processing is performed in the spatial filter unit 211 based on the region separation signal as necessary. Then, the output data generation unit 213 generates an output file by embedding a display command in the image data of the document image to be displayed for each display page. Further, processing such as thinning out pixels is performed so that the entire image is displayed on the display unit of the image display device 6, and gradation correction (gamma correction) based on the display characteristics of the image display device 6 is performed to obtain image data. The image is output to the image display device 6. When the image data is displayed, the processes in the black generation and under color removal unit 210 and the halftone generation unit 212 are not performed.

上述のとおり、割付原稿判定部204で原稿画像が複数頁の原稿を割り付けた割付原稿画像であるか否かを判定し、割付原稿画像であると判定した場合、原稿分割部205で原稿画像を各頁の原稿毎の分割画像に分割する。そして、原稿補正部207で分割した分割画像を所要の大きさに及び/又は分割画像の向きを補正し、表示・印刷コマンド生成部208で、補正した分割画像に対する補正内容に応じて、分割画像を出力(例えば、表示又は印刷)するための情報(例えば、表示コマンド又は印刷コマンド)を生成する。これにより、分割画像それぞれを所要の大きさや向きに補正することができ、原稿画像に割り付けられた各原稿を所要の状態で表示又は印刷することができる。   As described above, the allocated document determination unit 204 determines whether or not the document image is an allocated document image in which a plurality of pages of documents are allocated. If it is determined that the document image is an allocated document image, the document dividing unit 205 converts the document image into a document image. The image is divided into divided images for each document on each page. Then, the divided image divided by the document correcting unit 207 is corrected to a required size and / or the direction of the divided image, and the divided image is displayed by the display / print command generating unit 208 according to the correction content for the corrected divided image. Information (for example, a display command or a print command) is generated. Thereby, each divided image can be corrected to a required size and orientation, and each document assigned to the document image can be displayed or printed in a required state.

また、特に、原稿補正部207は、分割した分割画像の大きさを割付前の原稿の大きさにすべく分割画像を変倍する変倍処理機能を備え、表示・印刷コマンド生成部208は、変倍した変倍率に応じて、分割画像を出力するための情報を生成する。これにより、原稿画像に複数頁の原稿が割り付けられた場合であっても、割り付けられた原稿を元の大きさで出力することができ、原稿が見やすくなる。   In particular, the document correction unit 207 has a scaling process function for scaling the divided image so that the size of the divided divided image becomes the size of the document before layout. The display / print command generation unit 208 includes: Information for outputting a divided image is generated according to the scaled magnification. As a result, even when a plurality of pages of a document is allocated to the document image, the allocated document can be output in the original size, and the document can be easily viewed.

また、原稿方向検知部206で、分割した分割画像それぞれの天地方向を判定し、判定した分割画像の天地方向が原稿画像の天地方向と異なる場合、原稿補正部207は、分割画像の天地方向と原稿画像の天地方向とが一致するように分割画像を回転する回転処理を行う。そして、表示・印刷コマンド生成部208は、回転した角度に応じて、分割画像を出力するための情報を生成する。例えば、1つの原稿画像に2頁の原稿が割り付けられている(割付数が2)場合、一方の原稿に対応する分割画像の天地方向が原稿画像の天地方向と同じである場合、分割画像の回転処理は行わない。また、他方の原稿に対応する分割画像の天地方向が原稿画像の天地方向と異なる場合、その分割画像の天地方向が原稿画像の天地方向になるように前記分割画像に対して回転処理を施す。これにより、向きの異なる複数頁の原稿が割り付けられた場合であっても、すべての原稿を正しい向き(例えば、原稿画像と同じ向き)に補正して見やすくすることができる。   In addition, the original direction detection unit 206 determines the vertical direction of each of the divided divided images. If the vertical direction of the determined divided image is different from the vertical direction of the original image, the original correction unit 207 determines the vertical direction of the divided image. A rotation process is performed to rotate the divided images so that the top and bottom direction of the document image matches. Then, the display / print command generation unit 208 generates information for outputting the divided image according to the rotated angle. For example, when two pages of originals are assigned to one original image (the number of assignments is 2), the vertical direction of the divided image corresponding to one original is the same as the vertical direction of the original image. No rotation processing is performed. When the vertical direction of the divided image corresponding to the other document is different from the vertical direction of the original image, the divided image is rotated so that the vertical direction of the divided image becomes the vertical direction of the original image. As a result, even when a plurality of pages of documents having different orientations are allocated, all the documents can be corrected to the correct orientation (for example, the same orientation as the document image) for easy viewing.

次に、本発明に係る画像処理装置2の動作について説明する。図14は画像処理装置2の処理手順を示すフローチャートであり、図15はファイル生成の処理手順を示すフローチャートであり、図16は表示用コマンド生成の処理手順を示すフローチャートであり、図17は印刷用コマンド生成の処理手順を示すフローチャートである。なお、割付原稿判定部204、原稿分割部205、原稿方向検知部206、原稿補正部207、表示・印刷コマンド生成部208、出力データ生成部213などの各部は、専用のハードウエア回路で実現することもでき、あるいは、CPUやRAMにより構成し、所定の処理手順を示すプログラムコードをCPUに実行させることで各部の機能を実現することもできる。これにより、プログラムコードにより、本発明に係る画像処理装置2を実現することができる。まず、図14について説明する。   Next, the operation of the image processing apparatus 2 according to the present invention will be described. 14 is a flowchart showing the processing procedure of the image processing apparatus 2, FIG. 15 is a flowchart showing the processing procedure of file generation, FIG. 16 is a flowchart showing the processing procedure of display command generation, and FIG. It is a flowchart which shows the process sequence of command generation. Note that each unit such as the allocated document determination unit 204, the document dividing unit 205, the document direction detection unit 206, the document correction unit 207, the display / print command generation unit 208, and the output data generation unit 213 is realized by a dedicated hardware circuit. Alternatively, the function of each unit can be realized by configuring the CPU or RAM and causing the CPU to execute a program code indicating a predetermined processing procedure. Thereby, the image processing apparatus 2 according to the present invention can be realized by the program code. First, FIG. 14 will be described.

画像処理装置2(以下、「装置2」という。)は、原稿画像に基づいて原稿サイズを検知し(S11)、原稿画像が割付原稿であるか否かの判定を行う(S12)。原稿画像が割付原稿である場合(S12でYES)、装置2は、割付数に応じて原稿画像を複数頁の分割画像に分割する原稿分割を行う(S13)。原稿画像が割付原稿でない場合(S12でNO)、装置2は、ステップS13の処理を行わずに後述のステップS14の処理を行う。   The image processing device 2 (hereinafter referred to as “device 2”) detects the document size based on the document image (S11), and determines whether the document image is an allocated document (S12). If the original image is an assigned original (YES in S12), the apparatus 2 performs original division to divide the original image into divided images of a plurality of pages according to the number of assignments (S13). If the document image is not an assigned document (NO in S12), the apparatus 2 performs the process of step S14 described later without performing the process of step S13.

装置2は、分割した分割画像それぞれに対して1頁毎に原稿方向(天地方向)を検知する(S14)。装置2は、分割画像の天地方向が原稿画像の天地方向と一致するか否かを判定し(S15)、一致しない場合(S15でNO)、一致しない分割画像の天地方向が原稿画像の天地方向と一致するように分割画像に対して回転処理を施して原稿方向を補正する(S16)。一致する場合(S15でYES)、装置2は、ステップS16の処理を行わずに、後述のステップS17の処理を行う。   The apparatus 2 detects the document direction (vertical direction) for each page for each of the divided divided images (S14). The apparatus 2 determines whether or not the top and bottom direction of the divided image matches the top and bottom direction of the document image (S15). If they do not match (NO in S15), the top and bottom direction of the divided images that do not match is the top and bottom direction of the document image. Rotate the divided image so as to match the original direction to correct the document direction (S16). If they match (YES in S15), the apparatus 2 performs the process of step S17 described later without performing the process of step S16.

装置2は、全ての原稿頁の補正を完了したか否かを判定し(S17)、補正を完了していない場合(S17でNO)、ステップS14以降の処理を行う。補正を完了した場合(S17でYES)、装置2は、ファイル生成処理を行い(S18)、処理を終了する。   The apparatus 2 determines whether or not correction of all document pages has been completed (S17). If correction has not been completed (NO in S17), the processing from step S14 is performed. When the correction is completed (YES in S17), the device 2 performs a file generation process (S18) and ends the process.

次に、図15に従ってファイル生成処理について説明する。装置2は、表示用コマンド生成処理を行い(S100)、印刷用コマンド生成処理を行い(S200)、処理を終了する。   Next, the file generation process will be described with reference to FIG. The apparatus 2 performs a display command generation process (S100), performs a print command generation process (S200), and ends the process.

次に、図16に従って表示用コマンド生成処理について説明する。装置2は、原稿画像の画像データ(補正が行われている原稿に対しては、補正後の画像データ)を取得し(S101)、表示コマンドを生成する(S102)。装置2は、全ての原稿画像の表示コマンドの生成を完了したか否かを判定し(S103)、完了していない場合(S103でNO)、ステップS101以降の処理を続け、完了した場合(S103でYES)、処理を終了する。   Next, display command generation processing will be described with reference to FIG. The apparatus 2 acquires image data of a document image (corrected image data for a document that has been corrected) (S101), and generates a display command (S102). The apparatus 2 determines whether or not generation of display commands for all document images has been completed (S103). If not completed (NO in S103), the processing after step S101 is continued and completed (S103). YES), the process is terminated.

次に、図17に従って印刷用コマンド生成処理について説明する。装置2は、原稿画像の画像データ(補正が行われている原稿に対しては、補正後の画像データ)を取得し(S201)、方向補正された原稿であるか否かを判定する(S202)。方向補正されている場合(S202でYES)、装置2は、分割画像の方向を元に戻すコマンドを生成する(S203)。方向補正されていない場合(S202でNO)、装置2は、ステップS203の処理を行わずに、後述のステップS204の処理を行う。   Next, the print command generation process will be described with reference to FIG. The apparatus 2 acquires image data of a document image (or corrected image data for a document that has been corrected) (S201), and determines whether the document is a direction-corrected document (S202). ). When the direction is corrected (YES in S202), the apparatus 2 generates a command for returning the direction of the divided image (S203). If the direction is not corrected (NO in S202), the apparatus 2 performs the process of step S204 described later without performing the process of step S203.

装置2は、全ての分割画像の方向を補正前の状態に戻すコマンドの生成処理を完了したか否かを判定し(S204)、完了していない場合(S204でNO)、ステップS201以降の処理を続ける。完了した場合(S204でYES)、装置2は、原稿画像の画像データ(補正が行われている原稿に対しては、補正後の画像データ)を取得し(S205)、分割済みの原稿画像であるか否かを判定する(S206)。   The apparatus 2 determines whether or not the command generation processing for returning the directions of all the divided images to the state before correction is completed (S204). If not completed (NO in S204), the processing after step S201 is performed. Continue. If completed (YES in S204), the apparatus 2 acquires image data of the original image (or corrected image data for the corrected original) (S205), and uses the divided original image. It is determined whether or not there is (S206).

分割済みの原稿画像である場合(S206でYES)、装置2は、分割相手の原稿画像の画像データを全て取得し(S207)、分割原稿を分割前の状態に再構成するコマンドを生成する(S208)。分割済みの原稿画像でない場合(S206でNO)、装置2は、ステップS207、S208の処理を行わずに、後述のステップS209の処理を行う。   If the original document image has been divided (YES in S206), the apparatus 2 acquires all image data of the original document image to be divided (S207), and generates a command for reconfiguring the divided original document to a state before division (S207). S208). If it is not a divided document image (NO in S206), the apparatus 2 performs the process of step S209 described later without performing the processes of steps S207 and S208.

装置2は、印刷コマンドを生成し(S209)、全ての原稿画像の印刷コマンドの生成を完了したか否かを判定し(S210)、完了していない場合(S210でNO)、ステップS205以降の処理を続け、完了した場合(S210でYES)、処理を終了する。   The apparatus 2 generates a print command (S209), determines whether or not generation of print commands for all document images has been completed (S210), and if not completed (NO in S210), the process from step S205 is performed. If the process is continued and completed (YES in S210), the process ends.

図18は画像読取装置200の構成を示すブロック図である。図18に示すように、画像読取装置(スキャナ)200に本発明に係る画像処理装置2を用いることもできる。画像読取装置200は、画像入力装置1、画像処理装置2、制御部4、記憶部51などを備えている。また、画像処理装置2は、A/D変換部201、シェーディング補正部202、入力処理部203、割付原稿判定部204、原稿分割部205、原稿方向検知部206、原稿補正部207、表示・印刷コマンド生成部208、出力データ生成部213などを備えている。図1の例と同様の箇所は同一符号を付し説明を省略する。   FIG. 18 is a block diagram illustrating a configuration of the image reading apparatus 200. As shown in FIG. 18, the image processing apparatus 2 according to the present invention can be used for an image reading apparatus (scanner) 200. The image reading apparatus 200 includes an image input apparatus 1, an image processing apparatus 2, a control unit 4, a storage unit 51, and the like. Further, the image processing apparatus 2 includes an A / D conversion unit 201, a shading correction unit 202, an input processing unit 203, an allocated document determination unit 204, a document dividing unit 205, a document direction detection unit 206, a document correction unit 207, display / printing. A command generation unit 208, an output data generation unit 213, and the like are provided. The same parts as those in the example of FIG.

画像処理装置2において上記各処理が施された後のRGB信号(表示コマンドが埋め込まれた画像信号)、印刷用補正コマンド及び印刷位置指定コマンドよりなる付加情報は、パーソナルコンピュータ等の情報処理装置やMFPなどへ出力される。   The additional information including the RGB signal (image signal in which the display command is embedded), the print correction command, and the print position designation command after the above-described processes are performed in the image processing apparatus 2 includes an information processing apparatus such as a personal computer, Output to MFP.

以上説明したように、本発明によれば、原稿画像に割り付けられた各原稿を所要の状態で表示又は印刷することができる。そして、特に、1つの原稿画像に向きが異なる複数頁の原稿が割り付けられた場合であっても、原稿画像に割り付けられた複数頁の原稿を所要の状態で出力(表示又は印刷)することができる。すなわち、Nin1原稿において、割付けられた原稿の天地方向が異なる場合に、割付けられた原稿毎に天地方向の判定を行って、プレビューあるいはファイリングを行うことができる。また、分割画像の画像データにNin1原稿であることを示す情報を付加しておき、印刷する際はこの情報を参照して、元のNin1原稿の通りの出力を得ることができる。   As described above, according to the present invention, each document allocated to a document image can be displayed or printed in a required state. In particular, even when a plurality of pages with different orientations are assigned to one document image, the plurality of pages assigned to the document image can be output (displayed or printed) in a required state. it can. That is, in the Nin1 document, when the top and bottom direction of the assigned document is different, the top and bottom direction can be determined for each assigned document and preview or filing can be performed. In addition, information indicating that the document is a Nin1 document is added to the image data of the divided image, and when printing, the information as the original Nin1 document can be obtained by referring to this information.

上述の実施の形態において、原稿補正部は、変倍処理及び回転処理を行うことができる構成であったが、変倍処理又は回転処理のいずれか一方のみを備える構成でもよい。また、表示・印刷コマンド生成部は、表示コマンド生成部と印刷コマンド生成部とに分離した構成でもよい。この場合、画像処理装置に画像表示装置又は画像出力装置のいずれか、あるいは両方が接続される形態に応じて、表示コマンド生成部又は印刷コマンド生成部のいずれか、あるいは両方を備える構成すればよい。   In the above-described embodiment, the document correction unit is configured to perform the scaling process and the rotation process. However, the document correction unit may include only one of the scaling process and the rotation process. Further, the display / print command generation unit may be separated into a display command generation unit and a print command generation unit. In this case, the image processing device may be configured to include either or both of the display command generation unit and the print command generation unit depending on the form in which either the image display device or the image output device or both are connected. .

本発明はコンピュータに実行させるためのプログラムコード(実行形式プログラム、中間コードプログラム、ソースプログラム)を記録したコンピュータ読み取り可能な記録媒体に、上記した画像処理(例えば、図14〜図17)を記録することもできる。この結果、上述の画像処理を行うプログラムを記録した記録媒体を持ち運び自在に提供することができる。   In the present invention, the above-described image processing (for example, FIGS. 14 to 17) is recorded on a computer-readable recording medium in which program code (execution format program, intermediate code program, source program) to be executed by a computer is recorded. You can also As a result, it is possible to provide a portable recording medium on which a program for performing the above-described image processing is recorded.

なお、本実施の形態では、この記録媒体としては、マイクロコンピュータで処理が行われるためのメモリ(不図示)、例えば、ROMのようなプログラムメディアであってもよく、図示しない外部記憶装置としてのプログラム読取装置が設けられ、そこに記録媒体を挿入することで読み取り可能なプログラムメディアであってもよい。   In the present embodiment, the recording medium may be a memory (not shown) for processing performed by a microcomputer, for example, a program medium such as a ROM, or an external storage device (not shown). It may be a program medium provided with a program reading device and readable by inserting a recording medium therein.

いずれの場合においても、格納されているプログラムコードはマイクロプロセッサがアクセスして実行させる構成であってもよいし、プログラムコードを読み出し、読み出されたプログラムコードは、マイクロコンピュータの図示されていないプログラム記憶エリアにダウンロードされて、そのプログラムコードが実行される方式であってもよい。この場合、ダウンロード用のコンピュータプログラムは予め本体装置に格納されているものとする。   In any case, the stored program code may be configured to be accessed and executed by the microprocessor, or the program code is read, and the read program code is a program (not shown) of the microcomputer. The program code may be downloaded to the storage area and executed. In this case, it is assumed that the computer program for download is stored in the main device in advance.

ここで、上記プログラムメディアは、本体と分離可能に構成される記録媒体であり、磁気テープやカセットテープ等のテープ系、フレキシブルディスクやハードディスク等の磁気ディスク並びにCD−ROM/MO/MD/DVD等の光ディスクのディスク系、ICカード(メモリカードを含む)/光カード等のカード系、あるいはマスクROM、EPROM(Erasable Programmable Read Only Memory)、EEPROM(Electrically Erasable Programmable Read Only Memory)、フラッシュROM等による半導体メモリを含めた固定的にプログラムコードを担持する媒体であってもよい。   Here, the program medium is a recording medium configured to be separable from the main body, such as a tape system such as a magnetic tape or a cassette tape, a magnetic disk such as a flexible disk or a hard disk, and a CD-ROM / MO / MD / DVD. Semiconductors such as optical discs, IC cards (including memory cards) / optical cards, etc., or mask ROM, EPROM (Erasable Programmable Read Only Memory), EEPROM (Electrically Erasable Programmable Read Only Memory), flash ROM, etc. It may be a medium that carries a fixed program code including a memory.

また、本実施の形態においては、インターネットを含む通信ネットワークを接続可能なシステム構成であることから、通信ネットワークからプログラムコードをダウンロードするように流動的にプログラムを担持する媒体であってもよい。なお、このように通信ネットワークからプログラムコードをダウンロードする場合には、そのダウンロード用のコンピュータプログラムは予め本体装置に格納しておくか、あるいは別の記録媒体からインストールされるものであってもよい。なお、本発明は、上記プログラムコードが電子的な伝送で具現化された、搬送波に埋め込まれたコンピュータデータ信号の形態でも実現され得る。   In the present embodiment, since the system configuration is such that a communication network including the Internet can be connected, the medium may be a medium that dynamically carries a program so as to download a program code from the communication network. When the program code is downloaded from the communication network in this way, the computer program for downloading may be stored in the main device in advance or may be installed from another recording medium. The present invention can also be realized in the form of a computer data signal embedded in a carrier wave in which the program code is embodied by electronic transmission.

上記記録媒体は、デジタルカラー画像形成装置やコンピュータシステムに備えられるプログラム読み取り装置により読み取られることで上述した画像処理方法が実行される。   The recording medium is read by a program reading device provided in a digital color image forming apparatus or a computer system, whereby the above-described image processing method is executed.

コンピュータシステムは、フラットベッドスキャナ、フィルムスキャナ、デジタルカメラなどの画像入力装置、所定のプログラムがロードされることにより上記画像処理方法など様々な処理が行われるコンピュータ、コンピュータの処理結果を表示するCRTディスプレイ又は液晶ディスプレイなどの画像表示装置、及びコンピュータの処理結果を紙などに出力するプリンタ等より構成される。さらに、ネットワークを介してサーバーなどに接続するための通信手段としてのネットワークカードやモデムなどが備えられる。   The computer system includes an image input device such as a flatbed scanner, a film scanner, and a digital camera, a computer that performs various processes such as the image processing method by loading a predetermined program, and a CRT display that displays the processing results of the computer. Or it comprises an image display device such as a liquid crystal display and a printer that outputs the processing results of the computer to paper or the like. Furthermore, a network card, a modem, etc. are provided as communication means for connecting to a server or the like via a network.

本発明に係る画像処理装置を備える画像形成装置の構成を示すブロック図である。1 is a block diagram illustrating a configuration of an image forming apparatus including an image processing apparatus according to the present invention. 天地判別処理を用いた割付原稿の判定方法を示す説明図である。It is explanatory drawing which shows the determination method of the layout document using the top-and-bottom determination process. 天地判別処理を用いた割付原稿の判定方法を示す説明図である。It is explanatory drawing which shows the determination method of the layout document using the top-and-bottom determination process. 原稿分割の例を示す説明図である。It is explanatory drawing which shows the example of a document division | segmentation. 割付数と変倍率との関係を示す説明図である。It is explanatory drawing which shows the relationship between the allocation number and a scaling factor. 複数枚の原稿画像の例を示す説明図である。FIG. 6 is an explanatory diagram illustrating an example of a plurality of document images. 補正後の原稿画像の例を示す説明図である。It is explanatory drawing which shows the example of the original document image after correction | amendment. 表示用の出力ファイルの例を示す説明図である。It is explanatory drawing which shows the example of the output file for a display. 印刷用の出力ファイルの例を示す説明図である。It is explanatory drawing which shows the example of the output file for printing. 表示用の出力ファイルの他の例を示す説明図である。It is explanatory drawing which shows the other example of the output file for a display. データを共通化した場合の表示用の出力ファイルの他の例を示す説明図である。It is explanatory drawing which shows the other example of the output file for a display at the time of sharing data. 印刷用の出力ファイルの他の例を示す説明図である。It is explanatory drawing which shows the other example of the output file for printing. 画像表示装置を用いる場合の本発明に係る画像処理装置の構成を示すブロック図である。It is a block diagram which shows the structure of the image processing apparatus which concerns on this invention in the case of using an image display apparatus. 画像処理装置の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of an image processing apparatus. ファイル生成の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of file generation. 表示用コマンド生成の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of command generation for a display. 印刷用コマンド生成の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of command generation for printing. 画像読取装置の構成を示すブロック図である。It is a block diagram which shows the structure of an image reading apparatus.

符号の説明Explanation of symbols

1 画像入力装置
2 画像処理装置
3 画像出力装置
4 制御部
5 送受信部
6 画像表示装置
51 記憶部
204 割付原稿判定部
205 原稿分割部
206 原稿方向検知部
207 原稿補正部
208 表示・印刷コマンド生成部
213 出力データ生成部
DESCRIPTION OF SYMBOLS 1 Image input device 2 Image processing device 3 Image output device 4 Control part 5 Transmission / reception part 6 Image display apparatus 51 Memory | storage part 204 Document arrangement | positioning determination part 205 Document division part 206 Document direction detection part 207 Document correction part 208 Display / print command generation part 213 Output data generator

Claims (9)

原稿画像を処理して出力する画像処理装置において、
原稿画像が複数頁の原稿を割り付けた割付原稿画像であるか否かを判定する割付原稿判定手段と、
該割付原稿判定手段で割付原稿画像であると判定した場合、前記原稿画像を各頁の原稿毎の分割画像に分割する原稿分割手段と、
該原稿分割手段で分割した分割画像を所要の大きさに及び/又は該分割画像の向きを補正する原稿補正手段と、
該原稿補正手段で補正した分割画像に対する補正内容に応じて、該分割画像を出力するための情報を生成する情報生成手段と
を備えることを特徴とする画像処理装置。
In an image processing apparatus that processes and outputs a document image,
An allocated document determination means for determining whether the document image is an allocated document image in which a plurality of pages of documents are allocated;
A document dividing unit that divides the document image into divided images for each document on each page when the allocated document determination unit determines that the document is an allocated document image;
A document correcting means for correcting the divided image divided by the document dividing means to a required size and / or the orientation of the divided image;
An image processing apparatus comprising: an information generation unit configured to generate information for outputting the divided image according to the correction content of the divided image corrected by the document correction unit.
前記原稿補正手段は、
前記原稿分割手段で分割した分割画像の大きさを割付前の原稿の大きさにすべく該分割画像を変倍する変倍手段を備え、
前記情報生成手段は、
前記変倍手段で変倍した変倍率に応じて、前記分割画像を出力するための情報を生成するように構成してあることを特徴とする請求項1に記載の画像処理装置。
The document correction means includes
A scaling unit that scales the divided image so that the size of the divided image divided by the document dividing unit becomes the size of the original before the assignment;
The information generating means
The image processing apparatus according to claim 1, wherein the image processing apparatus is configured to generate information for outputting the divided image according to a scaling ratio that has been changed by the scaling unit.
前記原稿分割手段で分割した分割画像それぞれの天地方向を判定する天地判定手段を備え、
前記原稿補正手段は、
前記天地判定手段で判定した分割画像の天地方向が前記原稿画像の天地方向と異なる場合、該分割画像の天地方向と前記原稿画像の天地方向とが一致するように前記分割画像を回転する回転手段を備え、
前記情報生成手段は、
前記回転手段で回転した角度に応じて、前記分割画像を出力するための情報を生成するように構成してあることを特徴とする請求項1又は請求項2に記載の画像処理装置。
A top / bottom determination unit that determines the top / bottom direction of each of the divided images divided by the document dividing unit;
The document correction means includes
When the top and bottom direction of the divided image determined by the top and bottom determination unit is different from the top and bottom direction of the document image, the rotating unit rotates the split image so that the top and bottom direction of the divided image matches the top and bottom direction of the document image. With
The information generating means
The image processing apparatus according to claim 1, wherein information for outputting the divided image is generated according to an angle rotated by the rotating unit.
原稿画像を表示するための表示用画像データを生成する表示画像データ生成手段を備え、
前記情報生成手段は、
前記原稿分割手段で分割した分割画像を表示する場合、前記原稿補正手段で補正した補正内容に応じて、前記分割画像それぞれの大きさ、天地方向及び位置の少なくとも1つの表示情報を生成するように構成してあり、
前記表示画像データ生成手段は、
前記表示情報を含む表示用画像データを生成するように構成してあることを特徴とする請求項1から請求項3までのいずれか1項に記載の画像処理装置。
Display image data generating means for generating display image data for displaying a document image;
The information generating means
When displaying the divided image divided by the original dividing unit, at least one display information of the size, the vertical direction, and the position of each of the divided images is generated according to the correction content corrected by the original correcting unit. Configured,
The display image data generation means includes
4. The image processing apparatus according to claim 1, wherein the image processing apparatus is configured to generate display image data including the display information. 5.
原稿画像を印刷するための印刷用画像データを生成する印刷画像データ生成手段を備え、
前記情報生成手段は、
前記原稿分割手段で分割した分割画像を印刷する場合、該分割画像それぞれを元の原稿画像に割り付けるべく、前記原稿補正手段で補正した補正内容に応じて、前記分割画像それぞれの大きさ、天地方向及び位置の少なくとも1つの印刷情報を生成するように構成してあり、
前記印刷画像データ生成手段は、
前記印刷情報を用いて、印刷用画像データを生成するように構成してあることを特徴とする請求項1から請求項4までのいずれか1項に記載の画像処理装置。
Printing image data generation means for generating image data for printing for printing a document image;
The information generating means
When printing the divided images divided by the document dividing unit, the size and the vertical direction of each of the divided images according to the correction contents corrected by the document correcting unit in order to assign each of the divided images to the original document image. And at least one print information of the position is generated,
The print image data generation means includes
5. The image processing apparatus according to claim 1, wherein image data for printing is generated using the print information. 6.
出力画像を形成する画像形成手段と、請求項1から請求項5までのいずれか1項に記載の画像処理装置とを備えることを特徴とする画像形成装置。   An image forming apparatus comprising: an image forming unit that forms an output image; and the image processing apparatus according to claim 1. コンピュータを、原稿画像を処理する手段として機能させるためのコンピュータプログラムにおいて、
コンピュータを、
原稿画像が複数頁の原稿を割り付けた割付原稿画像であるか否かを判定する割付原稿判定手段と、
割付原稿画像であると判定した場合、前記原稿画像を各頁の原稿毎の分割画像に分割する原稿分割手段と、
分割した分割画像を所要の大きさに及び/又は該分割画像の向きを補正する原稿補正手段と、
補正した分割画像に対する補正内容に応じて、該分割画像を出力するための情報を生成する情報生成手段と
して機能させることを特徴とするコンピュータプログラム。
In a computer program for causing a computer to function as means for processing a document image,
Computer
An allocated document determination means for determining whether the document image is an allocated document image in which a plurality of pages of documents are allocated;
A document dividing unit that divides the document image into divided images for each document on each page when it is determined that the document image is a layout document image;
Document correcting means for correcting the divided image to a required size and / or the orientation of the divided image;
A computer program that functions as information generation means for generating information for outputting a divided image in accordance with the correction content of the corrected divided image.
請求項7に記載のコンピュータプログラムを記録してあることを特徴とするコンピュータでの読み取りが可能な記録媒体。   A computer-readable recording medium on which the computer program according to claim 7 is recorded. 原稿画像を処理して出力する画像処理装置による画像処理方法において、
原稿画像が複数頁の原稿を割り付けた割付原稿画像であるか否かを判定し、
割付原稿画像であると判定した場合、前記原稿画像を各頁の原稿毎の分割画像に分割し、
分割した分割画像を所要の大きさに及び/又は該分割画像の向きを補正し、
補正した分割画像に対する補正内容に応じて、該分割画像を出力するための情報を生成することを特徴とする画像処理方法。
In an image processing method by an image processing apparatus that processes and outputs a document image,
Determining whether the original image is an assigned original image in which a multi-page original is assigned;
If it is determined that the document image is an allocated document image, the document image is divided into divided images for each document on each page;
Correct the divided image to the required size and / or the orientation of the divided image,
An image processing method, comprising: generating information for outputting a divided image according to the correction content of the corrected divided image.
JP2008257686A 2008-10-02 2008-10-02 Image processing apparatus, image forming apparatus, computer program, recording medium, and image processing method Active JP5025611B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008257686A JP5025611B2 (en) 2008-10-02 2008-10-02 Image processing apparatus, image forming apparatus, computer program, recording medium, and image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008257686A JP5025611B2 (en) 2008-10-02 2008-10-02 Image processing apparatus, image forming apparatus, computer program, recording medium, and image processing method

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2012137989A Division JP5265040B2 (en) 2012-06-19 2012-06-19 Image processing apparatus, image forming apparatus, computer program, recording medium, and image processing method

Publications (2)

Publication Number Publication Date
JP2010088048A true JP2010088048A (en) 2010-04-15
JP5025611B2 JP5025611B2 (en) 2012-09-12

Family

ID=42251506

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008257686A Active JP5025611B2 (en) 2008-10-02 2008-10-02 Image processing apparatus, image forming apparatus, computer program, recording medium, and image processing method

Country Status (1)

Country Link
JP (1) JP5025611B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013179426A (en) * 2012-02-28 2013-09-09 Fuji Xerox Co Ltd Image processing apparatus, image processing system and program
JP5758025B1 (en) * 2014-04-30 2015-08-05 株式会社Pfu Image reading device
JP2017120963A (en) * 2015-12-28 2017-07-06 株式会社リコー Image processing apparatus, method, and program

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05110825A (en) * 1991-10-11 1993-04-30 Toshiba Corp Facsimile equipment
JP2000350000A (en) * 1999-03-29 2000-12-15 Ricoh Co Ltd Image forming apparatus
JP2006270266A (en) * 2005-03-22 2006-10-05 Toshiba Corp Image processor and image processing method
JP2007081936A (en) * 2005-09-15 2007-03-29 Kyocera Mita Corp Image forming apparatus
JP2007267306A (en) * 2006-03-30 2007-10-11 Nec Access Technica Ltd Facsimile machine and transmission method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05110825A (en) * 1991-10-11 1993-04-30 Toshiba Corp Facsimile equipment
JP2000350000A (en) * 1999-03-29 2000-12-15 Ricoh Co Ltd Image forming apparatus
JP2006270266A (en) * 2005-03-22 2006-10-05 Toshiba Corp Image processor and image processing method
JP2007081936A (en) * 2005-09-15 2007-03-29 Kyocera Mita Corp Image forming apparatus
JP2007267306A (en) * 2006-03-30 2007-10-11 Nec Access Technica Ltd Facsimile machine and transmission method thereof

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013179426A (en) * 2012-02-28 2013-09-09 Fuji Xerox Co Ltd Image processing apparatus, image processing system and program
CN103297638A (en) * 2012-02-28 2013-09-11 富士施乐株式会社 Image processing device, image processing system, and image processing method
CN103297638B (en) * 2012-02-28 2017-04-12 富士施乐株式会社 Image processing device, image processing system, and image processing method
JP5758025B1 (en) * 2014-04-30 2015-08-05 株式会社Pfu Image reading device
US9350888B2 (en) 2014-04-30 2016-05-24 Pfu Limited Image-reading apparatus
JP2017120963A (en) * 2015-12-28 2017-07-06 株式会社リコー Image processing apparatus, method, and program

Also Published As

Publication number Publication date
JP5025611B2 (en) 2012-09-12

Similar Documents

Publication Publication Date Title
JP4886053B2 (en) CONTROL DEVICE, IMAGE READING DEVICE, IMAGE FORMING DEVICE, IMAGE READING DEVICE CONTROL METHOD, PROGRAM, AND RECORDING MEDIUM
JP5264831B2 (en) Image processing apparatus, image reading apparatus, image forming apparatus, image processing method, computer program, and recording medium
JP4927122B2 (en) Image processing method, image processing apparatus, image forming apparatus, program, and recording medium
JP4549418B2 (en) Image processing apparatus, image processing method, image forming apparatus, program, and recording medium
US8634650B2 (en) Image processing apparatus, image forming apparatus, image reading apparatus, and image processing method
JP5680605B2 (en) Image processing apparatus, image forming apparatus including the same, and image forming method
JP6628279B2 (en) Image processing apparatus, image processing method, image processing program, and recording medium
JP2011010033A (en) Image processing apparatus, image forming apparatus, image processing method, computer program and recording medium
JP2002112022A (en) Image formation device, image formation method, and recording medium capable of reading computer recording image formation program
JP4884305B2 (en) Image processing apparatus, image forming apparatus, computer program, and recording medium
JP5025611B2 (en) Image processing apparatus, image forming apparatus, computer program, recording medium, and image processing method
JP2009284081A (en) Image processing apparatus, image forming apparatus, computer program, recording medium, and image processing method
JP4208369B2 (en) Image processing apparatus, image processing method, storage medium, and image processing system
JP2010278948A (en) Image processing apparatus
JP2015015599A (en) Image processing apparatus, image forming apparatus, image processing method, and program and recording medium of the same
JP2009017208A (en) Image processing apparatus, image forming apparatus, image processing method, computer program, and computer readable recording medium
JP2011130416A (en) Image processing apparatus, image processing method, and program
JP5265040B2 (en) Image processing apparatus, image forming apparatus, computer program, recording medium, and image processing method
JP4960911B2 (en) Image processing device
JP6163244B2 (en) Image processing apparatus, image forming apparatus, image processing program, and recording medium
JP2010258706A (en) Image processing apparatus, image forming apparatus, method of controlling image processing apparatus, program, and recording medium
JP2006011754A (en) Image processing device and image processing method
US11863717B2 (en) Image reading apparatus and image reading method
JP5863497B2 (en) Image processing apparatus, image forming apparatus, computer program, and storage medium
JP6045182B2 (en) Image processing apparatus, image forming apparatus including the same, computer program, and recording medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110223

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120113

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120124

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120319

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120619

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150629

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5025611

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150