JP4725597B2 - Document processing apparatus, program, and document management apparatus - Google Patents

Document processing apparatus, program, and document management apparatus Download PDF

Info

Publication number
JP4725597B2
JP4725597B2 JP2008117883A JP2008117883A JP4725597B2 JP 4725597 B2 JP4725597 B2 JP 4725597B2 JP 2008117883 A JP2008117883 A JP 2008117883A JP 2008117883 A JP2008117883 A JP 2008117883A JP 4725597 B2 JP4725597 B2 JP 4725597B2
Authority
JP
Japan
Prior art keywords
document
image
data
document data
orientation
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.)
Expired - Fee Related
Application number
JP2008117883A
Other languages
Japanese (ja)
Other versions
JP2009267991A (en
Inventor
修 小河原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Fujifilm Business Innovation Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Xerox Co Ltd, Fujifilm Business Innovation Corp filed Critical Fuji Xerox Co Ltd
Priority to JP2008117883A priority Critical patent/JP4725597B2/en
Publication of JP2009267991A publication Critical patent/JP2009267991A/en
Application granted granted Critical
Publication of JP4725597B2 publication Critical patent/JP4725597B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)

Description

本発明は、文書処理装置、プログラム、および文書管理装置に関する。   The present invention relates to a document processing device, a program, and a document management device.

例えばスキャナで読み取った画像やパーソナルコンピュータ(PC)上のアプリケーションで作成したドキュメント等についての文書データを文書ファイルとして管理する装置やソフトウェアが存在する。このようなソフトウェアでは、例えば画面上で複数の文書ファイルをそれぞれ識別するために、文書ファイルの一部の文書画像を縮小したサムネイル画像が用いられる。
例えば特許文献1には、画面上でフォルダ表示領域のフォルダが選択されると、選択されたフォルダを識別表示すると共に、選択されたフォルダに含まれる画像ファイルのサムネイル画像をサムネイル表示領域に表示する技術が開示されている。
For example, there are devices and software that manage document data of images read by a scanner and documents created by an application on a personal computer (PC) as document files. In such software, for example, a thumbnail image obtained by reducing a part of the document image of the document file is used to identify each of the plurality of document files on the screen.
For example, in Patent Document 1, when a folder in the folder display area is selected on the screen, the selected folder is identified and displayed, and thumbnail images of image files included in the selected folder are displayed in the thumbnail display area. Technology is disclosed.

特開2006−202302号公報JP 2006-202302 A

ここで一般に、サムネイル画像(縮小画像)は文書ファイルの例えば1ページ目の文書画像がそのまま縮小されて生成される。そのため、縮小画像の元となる文書画像が正立したものではなく例えば90°傾いた向きで生成されたものであった場合には、縮小画像も90°傾いた状態で生成される。それにより、その後に文書ファイルに対して回転描画処理された場合には、文書ファイルの文書画像の向きと縮小画像の向きとが一致せず、ユーザが縮小画像に基づいて文書ファイルを識別する際に混乱が生じる場合がある。
本発明は、縮小画像を文書画像の向きと一致させて表示させることを目的とする。
In general, the thumbnail image (reduced image) is generated by reducing the document image of the first page of the document file as it is. For this reason, when the document image that is the basis of the reduced image is not upright but generated, for example, in a direction inclined by 90 °, the reduced image is also generated in a state inclined by 90 °. Accordingly, when the rotation drawing process is performed on the document file after that, the orientation of the document image of the document file does not match the orientation of the reduced image, and the user identifies the document file based on the reduced image. May cause confusion.
An object of the present invention is to display a reduced image so as to match the orientation of a document image.

請求項1に記載の発明は、文書データの入力を受け付ける文書データ受付手段と、前記文書データ受付手段にて受け付けた前記文書データの中の一の文書画像を縮小した縮小画像を生成する縮小画像生成手段と、前記文書データ受付手段にて受け付けた前記文書データに含まれる文書画像の向きを解析する解析手段と、前記解析手段にて解析された前記文書画像の向きに応じて前記縮小画像生成手段にて生成された前記縮小画像を回転処理する回転処理手段と、前記回転処理手段にて回転処理された前記縮小画像と前記文書データ受付手段にて受け付けた前記文書データとを含む文書ファイルを作成する文書ファイル作成手段とを備えたことを特徴とする文書処理装置である。   The invention according to claim 1 is a document data receiving unit that receives input of document data, and a reduced image that generates a reduced image obtained by reducing one document image in the document data received by the document data receiving unit. Generating means, analyzing means for analyzing the orientation of the document image included in the document data received by the document data receiving means, and generating the reduced image according to the orientation of the document image analyzed by the analyzing means A document file including a rotation processing unit that rotates the reduced image generated by the unit, the reduced image rotated by the rotation processing unit, and the document data received by the document data receiving unit. A document processing apparatus comprising a document file creation means for creating.

請求項2に記載の発明は、前記解析手段は、前記文書データに前記文書画像に対する回転描画命令が設定されていない場合に、当該文書画像の向きを当該文書画像に対する画像解析を行うことにより決定することを特徴とする請求項1記載の文書処理装置である。
請求項3に記載の発明は、前記解析手段は、前記文書データに前記文書画像に対する回転描画命令が設定されていない場合に、解析された前記文書画像の向きに関する情報を当該文書画像に対応付けて当該文書データに付加することを特徴とする請求項1記載の文書処理装置である。
請求項4に記載の発明は、前記解析手段は、前記文書データに前記文書画像に対する回転描画命令が設定されている場合に、当該文書画像の向きを当該回転描画命令により解析することを特徴とする請求項1記載の文書処理装置である。
請求項5に記載の発明は、前記解析手段は、前記文書データに前記文書画像に対する回転描画命令が設定されている場合に、当該文書画像に対する画像解析を行い、当該設定されている回転描画命令に優先して当該画像解析の結果を当該文書画像の向きとして決定することを特徴とする請求項1記載の文書処理装置である。
請求項6に記載の発明は、前記縮小画像生成手段は、前記文書データが圧縮処理されている場合に、前記一の文書画像を構成する画素データの高周波成分を間引きするとともに当該画素データの低周波成分を伸長し、当該低周波成分が伸長された当該一の文書画像を縮小して前記縮小画像を生成することを特徴とする請求項1記載の文書処理装置である。
請求項7に記載の発明は、前記縮小画像生成手段は、前記圧縮処理された前記一の文書画像を構成する前記画素データの高周波成分を間引きし、低周波成分を伸長する場合に、圧縮処理されていない当該一の文書画像に関する前記縮小画像の画像サイズよりも小さくならない範囲内で当該高周波成分の間引き率を設定することを特徴とする請求項6記載の文書処理装置である。
According to a second aspect of the present invention, when the rotation drawing command for the document image is not set in the document data, the analysis unit determines the orientation of the document image by performing image analysis on the document image. The document processing apparatus according to claim 1, wherein:
According to a third aspect of the present invention, when the rotation drawing command for the document image is not set in the document data, the analysis unit associates the analyzed information about the orientation of the document image with the document image. The document processing apparatus according to claim 1, wherein the document data is added to the document data.
The invention according to claim 4 is characterized in that, when a rotation drawing command for the document image is set in the document data, the analysis unit analyzes the orientation of the document image by the rotation drawing command. The document processing apparatus according to claim 1.
According to a fifth aspect of the present invention, when the rotation drawing command for the document image is set in the document data, the analysis unit performs image analysis on the document image, and the set rotation drawing command. The document processing apparatus according to claim 1, wherein the image analysis result is determined as the orientation of the document image in preference to the document image.
According to a sixth aspect of the present invention, when the document data is compressed, the reduced image generating means thins out high frequency components of pixel data constituting the one document image and reduces the pixel data. 2. The document processing apparatus according to claim 1, wherein the reduced image is generated by expanding the frequency component and reducing the one document image in which the low frequency component is expanded.
According to a seventh aspect of the present invention, the reduced image generating means compresses the high frequency component of the pixel data constituting the one document image subjected to the compression processing and decompresses the low frequency component. The document processing apparatus according to claim 6, wherein the thinning rate of the high-frequency component is set within a range that does not become smaller than an image size of the reduced image related to the one document image that has not been set.

請求項8に記載の発明は、コンピュータに、文書データの入力を受け付ける機能と、前記文書データの中の一の文書画像を縮小した縮小画像を生成する機能と、前記文書データに含まれる文書画像の向きを解析する機能と、解析された前記文書画像の向きに応じて前記縮小画像を回転処理する機能と、回転処理された前記縮小画像と前記文書データとを含む文書ファイルを作成する機能とを実現させることを特徴とするプログラムである。   According to an eighth aspect of the present invention, there is provided a computer having a function of accepting input of document data, a function of generating a reduced image obtained by reducing one document image in the document data, and a document image included in the document data A function of analyzing the orientation of the document image, a function of rotating the reduced image according to the orientation of the analyzed document image, a function of creating a document file including the reduced image that has been rotated and the document data, It is a program characterized by realizing.

請求項9に記載の発明は、前記文書画像の向きを解析する機能は、前記文書データに前記文書画像に対する回転描画命令が設定されていない場合に、当該文書画像の向きを当該文書画像に対する画像解析を行うことにより決定する機能を含むことを特徴とする請求項8記載のプログラムである。
請求項10に記載の発明は、前記文書データに前記文書画像に対する回転描画命令が設定されていない場合に、解析された前記文書画像の向きに関する情報を当該文書画像に対応付けて当該文書データに付加する機能をさらに備えたことを特徴とする請求項8記載のプログラムである。
請求項11に記載の発明は、前記文書画像の向きを解析する機能は、前記文書データに前記文書画像に対する回転描画命令が設定されている場合に、当該文書画像の向きを当該回転描画命令により解析する機能を含むことを特徴とする請求項8記載のプログラムである。
請求項12に記載の発明は、前記文書画像の向きを解析する機能は、前記文書データに前記文書画像に対する回転描画命令が設定されている場合に、当該文書画像に対する画像解析を行い、当該設定されている回転描画命令に優先して当該画像解析の結果を当該文書画像の向きとして決定する機能を含むことを特徴とする請求項8記載のプログラムである。
請求項13に記載の発明は、前記縮小画像を生成する機能は、前記文書データが圧縮処理されている場合に、圧縮処理されていない前記一の文書画像に関する前記縮小画像の画像サイズよりも小さくならない範囲内の間引き率で当該一の文書画像を構成する画素データの高周波成分を間引きするとともに当該画素データの低周波成分を伸長し、当該低周波成分が伸長された当該一の文書画像を縮小して当該縮小画像を生成する機能を含むことを特徴とする請求項8記載のプログラムである。
According to a ninth aspect of the present invention, the function of analyzing the orientation of the document image is such that the orientation of the document image is set to the image relative to the document image when a rotation drawing command for the document image is not set in the document data. The program according to claim 8, further comprising a function that is determined by performing an analysis.
According to a tenth aspect of the present invention, when a rotation drawing command for the document image is not set in the document data, the information on the orientation of the analyzed document image is associated with the document image in the document data. The program according to claim 8, further comprising a function to be added.
According to an eleventh aspect of the present invention, the function of analyzing the orientation of the document image is such that, when a rotation drawing command for the document image is set in the document data, the orientation of the document image is determined by the rotation drawing command. The program according to claim 8, comprising a function of analyzing.
According to a twelfth aspect of the present invention, the function of analyzing the orientation of the document image performs image analysis on the document image when the rotation drawing command for the document image is set in the document data, and the setting is performed. 9. The program according to claim 8, further comprising a function of deciding the result of the image analysis as the orientation of the document image in preference to the rotation drawing command.
According to a thirteenth aspect of the present invention, when the document data is compressed, the function of generating the reduced image is smaller than the image size of the reduced image related to the one document image that has not been compressed. The high-frequency component of the pixel data that constitutes the one document image is thinned out at a thinning rate within a range that is not possible, the low-frequency component of the pixel data is expanded, and the one document image in which the low-frequency component is expanded is reduced. The program according to claim 8, further comprising a function of generating the reduced image.

請求項14に記載の発明は、文書データの入力を受け付ける文書データ受付手段と、前記文書データ受付手段にて受け付けた前記文書データの中の一の文書画像を縮小した縮小画像を生成する縮小画像生成手段と、前記文書データ受付手段にて受け付けた前記文書データに含まれる文書画像の向きを解析する解析手段と、前記解析手段にて解析された前記文書画像の向きに応じて前記縮小画像生成手段にて生成された前記縮小画像を回転処理する回転処理手段と、前記回転処理手段にて回転処理された前記縮小画像と前記文書データ受付手段にて受け付けた前記文書データとを含む文書ファイルを作成する文書ファイル作成手段と、前記文書ファイル作成手段にて作成された前記文書ファイルを記憶する文書ファイル記憶手段と、前記文書ファイル記憶手段に記憶された複数の前記文書ファイルを読み出し、当該複数の文書ファイル各々に記述された前記縮小画像からなる当該文書ファイルの一覧を表示する表示手段とを備えたことを特徴とする文書管理装置である。   The invention according to claim 14 is a document data receiving means for receiving input of document data, and a reduced image for generating a reduced image obtained by reducing one document image in the document data received by the document data receiving means. Generating means, analyzing means for analyzing the orientation of the document image included in the document data received by the document data receiving means, and generating the reduced image according to the orientation of the document image analyzed by the analyzing means A document file including a rotation processing unit that rotates the reduced image generated by the unit, the reduced image rotated by the rotation processing unit, and the document data received by the document data receiving unit. Document file creation means to be created, document file storage means for storing the document file created by the document file creation means, and the document file And a display unit for reading a plurality of the document files stored in the file storage unit and displaying a list of the document files composed of the reduced images described in each of the plurality of document files. It is a management device.

本発明の請求項1によれば、縮小画像を文書画像の向きと一致させて表示させることができる。
本発明の請求項2によれば、文書データに回転描画命令が含まれない場合に縮小画像の元となった文書画像の向きが把握できるので、縮小画像を正立させて表示させることができる。
本発明の請求項3によれば、文書データに回転描画命令が含まれない場合においても、文書画像を正立させて表示や印刷を行うことができる。
本発明の請求項4によれば、文書データに回転描画命令が含まれる場合には回転描画命令を用いることで、本発明を実施しない場合に比べて、縮小画像を正立させて描画する際の処理時間を低減することができる。
本発明の請求項5によれば、画像の向きの設定を自動的に行うことができるので、本発明を実施しない場合に比べて、例えばスキャナ等の機器の操作が不慣れなユーザにとっての利便性の向上を図ることができる。
本発明の請求項6によれば、本発明を実施しない場合に比べて、縮小画像の生成処理を高速に行うことができる。
本発明の請求項7によれば、本発明を実施しない場合に比べて、縮小画像が判別し難い程度に小さくなることを抑制することができる。
According to the first aspect of the present invention, the reduced image can be displayed in accordance with the orientation of the document image.
According to the second aspect of the present invention, when the rotation drawing command is not included in the document data, the orientation of the document image that is the source of the reduced image can be grasped, so that the reduced image can be displayed upright. .
According to the third aspect of the present invention, even when the rotation drawing command is not included in the document data, it is possible to display and print the document image upright.
According to claim 4 of the present invention, when the rotation drawing command is included in the document data, the rotation image is used to draw the reduced image upright as compared with the case where the present invention is not performed. The processing time can be reduced.
According to the fifth aspect of the present invention, since the orientation of the image can be automatically set, the convenience for a user who is unfamiliar with the operation of a device such as a scanner, for example, compared to the case where the present invention is not implemented. Can be improved.
According to the sixth aspect of the present invention, the reduced image generation process can be performed at a higher speed than when the present invention is not implemented.
According to the seventh aspect of the present invention, it is possible to prevent the reduced image from becoming smaller to the extent that it is difficult to discriminate as compared with the case where the present invention is not implemented.

本発明の請求項8によれば、縮小画像を文書画像の向きと一致させて表示させることができる。
本発明の請求項9によれば、文書データに回転描画命令が含まれない場合に縮小画像の元となった文書画像の向きが把握できるので、縮小画像を正立させて表示させることができる。
本発明の請求項10によれば、文書データに回転描画命令が含まれない場合においても、文書画像を正立させて表示や印刷を行うことができる。
本発明の請求項11によれば、画像の向きの設定を自動的に行うことができるので、本発明を実施しない場合に比べて、例えばスキャナ等の機器の操作が不慣れなユーザにとっての利便性の向上を図ることができる。
本発明の請求項12によれば、文書データに回転描画命令が含まれる場合には回転描画命令を用いることで、本発明を実施しない場合に比べて、縮小画像を正立させて描画する際の処理時間を低減することができる。
本発明の請求項13によれば、本発明を実施しない場合に比べて、縮小画像の生成処理を高速に行うことができるとともに、縮小画像が判別し難い程度に小さくなることを抑制することができる。
本発明の請求項14によれば、縮小画像を文書画像の向きと一致させて表示させることができる。
According to claim 8 of the present invention, the reduced image can be displayed in accordance with the orientation of the document image.
According to the ninth aspect of the present invention, when the rotation drawing command is not included in the document data, the orientation of the document image that is the source of the reduced image can be grasped, so that the reduced image can be displayed upright. .
According to the tenth aspect of the present invention, it is possible to display and print the document image upright even when the rotation drawing command is not included in the document data.
According to the eleventh aspect of the present invention, since the orientation of the image can be automatically set, it is convenient for a user who is unfamiliar with the operation of a device such as a scanner, for example, compared to the case where the present invention is not implemented. Can be improved.
According to the twelfth aspect of the present invention, when a rotation drawing command is included in document data, the rotation drawing command is used to draw a reduced image upright as compared with the case where the present invention is not implemented. The processing time can be reduced.
According to the thirteenth aspect of the present invention, compared to the case where the present invention is not implemented, the reduced image generation process can be performed at a high speed and the reduced image can be prevented from becoming so small that it is difficult to determine. it can.
According to the fourteenth aspect of the present invention, the reduced image can be displayed in accordance with the orientation of the document image.

以下、添付図面を参照して、本発明の実施の形態について詳細に説明する。
図1は、本実施の形態の文書管理装置1の全体構成を示した図である。図1に示したように、本実施の形態の文書管理装置1は、紙文書から文書データを読み取る文書読取手段の一例としてのスキャナ部20、公衆回線を通じて文書の送受信を行うファクシミリデータ受信手段の一例としてのファクシミリ(FAX)機能部30、LAN(Local Area Network)、WAN(Wide Area Network)、インターネット等のネットワークを介して文書データを受信する文書データ受信手段の一例としての通信機能部40、スキャナ部20にて読み取られた文書データやFAX機能部30にて受信した文書データ(ファクシミリデータ)、通信機能部40にて受信した文書データ(印刷ジョブ)に対して文書処理を行って文書ファイルを作成する文書処理装置の一例としての文書処理部10を備えている。
また、文書管理装置1は、文書処理部10により作成された文書ファイルを印刷する例えば電子写真方式やインクジェット方式等のプリンタエンジンで構成される画像形成部50、文書処理部10により作成された文書ファイルを表示する例えば液晶ディスプレイ等で構成される表示手段の一例としての表示部60、文書処理部10により作成された文書ファイルを記憶する例えばハードディスク(HDD)等で構成される文書ファイル記憶手段の一例としての文書ファイル記憶部70を備えている。
Embodiments of the present invention will be described below in detail with reference to the accompanying drawings.
FIG. 1 is a diagram showing an overall configuration of a document management apparatus 1 according to the present embodiment. As shown in FIG. 1, the document management apparatus 1 according to the present embodiment includes a scanner unit 20 as an example of a document reading unit that reads document data from a paper document, and a facsimile data receiving unit that transmits and receives a document through a public line. A facsimile function unit 30 as an example, a communication function unit 40 as an example of document data receiving means for receiving document data via a network such as a LAN (Local Area Network), a WAN (Wide Area Network), and the Internet, Document processing is performed on the document data read by the scanner unit 20, the document data (facsimile data) received by the FAX function unit 30, and the document data (print job) received by the communication function unit 40. The document processing unit 10 is provided as an example of a document processing apparatus for creating a document.
Further, the document management apparatus 1 prints a document file created by the document processing unit 10, for example, an image forming unit 50 configured by a printer engine such as an electrophotographic method or an inkjet method, and a document created by the document processing unit 10. A display unit 60 as an example of a display unit configured to display a file, for example, a liquid crystal display, and a document file storage unit configured to store a document file created by the document processing unit 10, such as a hard disk (HDD). A document file storage unit 70 is provided as an example.

なお、本実施の形態での「文書データ」には、テキストデータや、例えばフォントやグラフィックの記述で使用されるPostScript等のページ記述言語形式からなるベクターイメージデータ、イメージスキャナで読み込まれた画像やデジタル写真画像等のようなラスターイメージデータが含まれる。
また、上記の文書処理部10、スキャナ部20、FAX機能部30、通信機能部40、画像形成部50、表示部60、および文書ファイル記憶部70は、同一の装置内に内蔵される形態で構成されてもよいし、何れか一または複数が外部に外付けされた形態で構成されてもよい。
The “document data” in the present embodiment includes text data, vector image data composed of a page description language format such as PostScript used for font and graphic description, images read by an image scanner, Raster image data such as digital photographic images is included.
The document processing unit 10, the scanner unit 20, the FAX function unit 30, the communication function unit 40, the image forming unit 50, the display unit 60, and the document file storage unit 70 are incorporated in the same apparatus. It may be configured, or any one or more may be configured externally.

続いて、本実施の形態の文書処理部10について説明する。
図2は、文書処理部10の構成を示したブロック図である。図2に示したように、文書処理部10は、スキャナ部20やFAX機能部30や通信機能部40から入力された文書データを受け付ける文書データ受付手段の一例としての文書データ取得部11、文書データの例えば1ページ目の文書画像(以下、「ページイメージ」とも称する)の縮小化された画像であるサムネイル画像(縮小画像)を生成する縮小画像生成手段の一例としてのサムネイル生成部12、サムネイル生成部12にて生成されたサムネイル画像を記憶するサムネイル記憶部13、文書データを解析する解析手段の一例としての文書解析部14、文書解析部14での解析結果に基づいてサムネイル画像に対する画像処理を施すサムネイル処理部15を備えている。
また、文書処理部10は、文書データ取得部11にて取得した文書データとサムネイル処理部15にて画像処理されたサムネイル画像とからなる文書ファイルを作成して文書ファイル記憶部70に記憶する文書ファイル作成手段の一例としての文書ファイル作成部16、文書ファイル記憶部70から文書ファイルを読み出して表示部60に文書画像やサムネイル画像を表示させる表示制御部17、文書ファイル記憶部70から文書ファイルを読み出して画像形成部50に出力する出力部18を備えている。
Next, the document processing unit 10 according to the present embodiment will be described.
FIG. 2 is a block diagram showing the configuration of the document processing unit 10. As shown in FIG. 2, the document processing unit 10 includes a document data acquisition unit 11 as an example of a document data receiving unit that receives document data input from the scanner unit 20, the FAX function unit 30, and the communication function unit 40. For example, a thumbnail generation unit 12 as an example of reduced image generation means for generating a thumbnail image (reduced image) which is a reduced image of a document image (hereinafter also referred to as “page image”) of the first page of data, thumbnails Thumbnail storage unit 13 for storing thumbnail images generated by generation unit 12, document analysis unit 14 as an example of an analysis unit for analyzing document data, and image processing for thumbnail images based on the analysis results of document analysis unit 14 The thumbnail processing unit 15 is provided.
The document processing unit 10 creates a document file composed of the document data acquired by the document data acquisition unit 11 and the thumbnail image processed by the thumbnail processing unit 15 and stores the document file in the document file storage unit 70. The document file creation unit 16 as an example of the file creation unit, the display control unit 17 that reads the document file from the document file storage unit 70 and displays the document image and the thumbnail image on the display unit 60, and the document file from the document file storage unit 70. An output unit 18 that reads out and outputs to the image forming unit 50 is provided.

文書データ取得部11は、取得した文書データの1ページ目の文書データをサムネイル生成部12に送る。また、取得した文書データの全体を文書解析部14に送る。
サムネイル生成部12は、例えばユーザインターフェース(不図示)からのユーザの指示に対応して、または自動的に、文書データ取得部11から送られた1ページ目のページイメージを所定の縮小率で縮小してサムネイル画像を生成する。そして、生成したサムネイル画像を文書データに対応付けてサムネイル記憶部13に記憶する。
ここで、サムネイル生成部12は、文書データ取得部11からメモリを介さず直接1ページ目のページイメージを取得し、シーケンシャル(連続的)にサムネイル画像を生成する。それにより、メモリの設置を不要とするとともに、サムネイル画像の生成処理の迅速化を図っている。
The document data acquisition unit 11 sends the document data of the first page of the acquired document data to the thumbnail generation unit 12. Further, the entire acquired document data is sent to the document analysis unit 14.
The thumbnail generation unit 12 reduces the page image of the first page sent from the document data acquisition unit 11 at a predetermined reduction ratio, for example, in response to a user instruction from a user interface (not shown) or automatically. To generate a thumbnail image. The generated thumbnail image is stored in the thumbnail storage unit 13 in association with the document data.
Here, the thumbnail generation unit 12 acquires the page image of the first page directly from the document data acquisition unit 11 without using a memory, and generates thumbnail images sequentially (continuously). This eliminates the need for installing a memory and speeds up the process of generating thumbnail images.

文書解析部14は、文書データ取得部11から送られた文書データの属性データを解析し、属性データの中に回転描画コマンド(回転描画命令)が含まれるか否かを解析する。そして、属性データの中に回転描画コマンドが含まれている場合には、1ページ目のページイメージに付加された回転描画コマンドを抽出し、ページイメージの向きに関する解析結果としてサムネイル処理部15に送る。さらには、文書データをそのまま文書ファイル作成部16に送る。
また、文書解析部14は、属性データの中に回転描画コマンドが含まれていない場合には、文書データに含まれる各ページイメージの向きを各ページイメージに対する画像解析を行うことにより決定する。そして、1ページ目のページイメージの向きに関する解析結果をサムネイル処理部15に送る。さらには、各ページイメージの向きに関する解析結果を各ページイメージに対応付けて文書データの属性データとして付加する。そして、各ページイメージの向きが付加された文書データを文書ファイル作成部16に送る。
The document analysis unit 14 analyzes the attribute data of the document data sent from the document data acquisition unit 11 and analyzes whether or not a rotation drawing command (rotation drawing command) is included in the attribute data. If the rotation drawing command is included in the attribute data, the rotation drawing command added to the page image of the first page is extracted and sent to the thumbnail processing unit 15 as an analysis result regarding the orientation of the page image. . Further, the document data is sent to the document file creation unit 16 as it is.
If the attribute data does not include a rotation drawing command, the document analysis unit 14 determines the orientation of each page image included in the document data by performing image analysis on each page image. Then, the analysis result regarding the orientation of the page image of the first page is sent to the thumbnail processing unit 15. Further, the analysis result relating to the orientation of each page image is added to the page image as attribute data in association with each page image. Then, the document data to which the orientation of each page image is added is sent to the document file creation unit 16.

具体的には、文書解析部14は、次のような解析処理を行う。図3は、文書解析部14が行う解析処理の手順の一例を示したフローチャートである。図3に示したように、文書解析部14は、まず、文書データ取得部11から文書データを取得する(ステップ101)。そして、文書データの属性データを解析する(ステップ102)。
ステップ102での解析の結果、文書データの属性データにページイメージを回転して描画させる指示命令である回転描画コマンド(回転描画命令)が設定されている場合には(ステップ103)、1ページ目のページイメージに付加された回転描画コマンドを抽出して、これをページイメージの向きに関する解析結果としてサムネイル処理部15に送る(ステップ104)。さらに、取得した文書データをそのまま文書ファイル作成部16に送る(ステップ105)。
Specifically, the document analysis unit 14 performs the following analysis processing. FIG. 3 is a flowchart showing an example of the procedure of the analysis process performed by the document analysis unit 14. As shown in FIG. 3, the document analysis unit 14 first acquires document data from the document data acquisition unit 11 (step 101). Then, the attribute data of the document data is analyzed (step 102).
If the result of analysis in step 102 is that a rotation drawing command (rotation drawing command), which is an instruction command to rotate and draw a page image, is set in the attribute data of the document data (step 103), the first page The rotation drawing command added to the page image is extracted and sent to the thumbnail processing unit 15 as an analysis result relating to the orientation of the page image (step 104). Further, the acquired document data is sent as it is to the document file creation unit 16 (step 105).

一般に、通信機能部40にて受信される例えばパーソナルコンピュータ(PC)からの文書データ(印刷ジョブ)等は、例えばPDL(Page Description Language:ページ記述言語)形式や、PDL形式に論理ページに対応したコマンドが独立して設定された形式等により構成される。そのため、通信機能部40にて受信される印刷ジョブ等には、通常、文書データについて回転を行わないという0°回転指示も含めて回転描画コマンドが設定されている。したがって、通信機能部40にて受信される印刷ジョブ等に関しては、ステップ104〜ステップ105の処理が行われることとなる。
また、スキャナ部20にて読み取られた文書データに関しても、例えばスキャナ部20でのユーザからの指示入力により、文書データに対して回転描画コマンドが付加される場合がある。その場合には、文書データに回転描画コマンドが設定されており、ステップ104〜ステップ105の処理が行われる。
In general, document data (print job) received from the communication function unit 40, for example, from a personal computer (PC) corresponds to a logical page in, for example, PDL (Page Description Language) format or PDL format. The command is composed of a format set independently. For this reason, a rotation drawing command including a 0 ° rotation instruction not to rotate document data is normally set in a print job received by the communication function unit 40. Therefore, for the print job received by the communication function unit 40, the processing from step 104 to step 105 is performed.
Further, with respect to document data read by the scanner unit 20, for example, a rotation drawing command may be added to the document data by an instruction input from the user at the scanner unit 20. In that case, a rotation drawing command is set in the document data, and the processing from step 104 to step 105 is performed.

その一方で、ステップ102での解析の結果、文書データの属性データに回転描画コマンドが設定されていない場合には(ステップ103)、文書データに含まれる各ページイメージの向きを各ページイメージに対する画像解析を行うことで解析する(ステップ106)。なお、ページイメージの向きを解析する処理の手順については、後述する(後段の図4参照)。
そして、ステップ106にて解析された1ページ目のページイメージの向きに関する解析結果をサムネイル処理部15に送る(ステップ107)。さらには、ステップ106にて解析された各ページについてのページイメージの向きに関する解析結果を、各ページイメージに対応付けて属性データとして文書データに付加する(ステップ108)。そして、ページイメージの向きに関する解析結果が各ページイメージに対応付けて付加された文書データを文書ファイル作成部16に送る(ステップ109)。
On the other hand, as a result of the analysis in step 102, when the rotation drawing command is not set in the attribute data of the document data (step 103), the orientation of each page image included in the document data is set to the image for each page image. Analysis is performed by performing analysis (step 106). The process procedure for analyzing the orientation of the page image will be described later (see FIG. 4 at a later stage).
Then, the analysis result regarding the orientation of the page image of the first page analyzed in step 106 is sent to the thumbnail processing unit 15 (step 107). Further, the analysis result regarding the orientation of the page image for each page analyzed in step 106 is added to the document data as attribute data in association with each page image (step 108). Then, the document data to which the analysis result relating to the orientation of the page image is added in association with each page image is sent to the document file creation unit 16 (step 109).

例えば、FAX機能部30にて受信された文書データ(ファクシミリデータ)には、一般に、回転描画コマンド等の描画コマンド等は付加されていない。そのため、通常、ファクシミリデータに関しては、ステップ106〜ステップ109の処理が行われることとなる。
また、スキャナ部20にて読み取られた文書データに関しては、文書データに対する回転描画コマンドが付加されずに形成される場合がある。その場合には、文書データに回転描画コマンドが設定されておらず、ステップ106〜ステップ109の処理が行われる。
For example, document data (facsimile data) received by the FAX function unit 30 is generally not attached with a drawing command such as a rotation drawing command. For this reason, the processing from step 106 to step 109 is normally performed for facsimile data.
Further, the document data read by the scanner unit 20 may be formed without adding a rotation drawing command to the document data. In this case, the rotation drawing command is not set in the document data, and the processing from step 106 to step 109 is performed.

なお、PCからの文書データや回転描画コマンドが付加されたスキャナ部20にて読み取られた文書データに関しても、例えばユーザインターフェース(不図示)からのユーザからの指示により、文書解析部14にて文書データに含まれる各ページイメージの向きを画像解析を行うことにより決定するように構成してもよい。そして、ステップ107での処理において、これらに付加された回転描画コマンドに基づく1ページ目のページイメージの向きと文書解析部14での解析による1ページ目のページイメージの向きとが異なる場合に、文書解析部14での解析結果を優先させて、1ページ目のページイメージの向きに関する解析結果をサムネイル処理部15に送るように構成してもよい。   Note that document data read from the PC and the document data read by the scanner unit 20 to which the rotation drawing command is added are also processed by the document analysis unit 14 in accordance with an instruction from a user from a user interface (not shown), for example. The direction of each page image included in the data may be determined by performing image analysis. In the processing in step 107, when the orientation of the page image of the first page based on the rotation drawing command added to these is different from the orientation of the page image of the first page analyzed by the document analysis unit 14, The analysis result in the document analysis unit 14 may be prioritized and the analysis result regarding the orientation of the page image of the first page may be sent to the thumbnail processing unit 15.

このように、文書解析部14は、文書データの属性データに回転描画コマンドが設定されている場合には、1ページ目のページイメージに付加された回転描画コマンドをページイメージの向きに関する解析結果としてサムネイル処理部15に送る。さらに、取得した文書データをそのまま文書ファイル作成部16に送る。
また、文書解析部14は、文書データの属性データに回転描画コマンドが設定されていない場合には、文書データに含まれる各ページイメージの向きを画像解析を用いて決定する。そして、1ページ目のページイメージの向きに関する解析結果をサムネイル処理部15に送る。さらには、解析された各ページについてのページイメージの向きに関する解析結果が付加された文書データを文書ファイル作成部16に送る。
As described above, when the rotation drawing command is set in the attribute data of the document data, the document analysis unit 14 uses the rotation drawing command added to the page image of the first page as an analysis result regarding the orientation of the page image. It is sent to the thumbnail processing unit 15. Further, the acquired document data is sent to the document file creation unit 16 as it is.
Further, when the rotation drawing command is not set in the attribute data of the document data, the document analysis unit 14 determines the orientation of each page image included in the document data using image analysis. Then, the analysis result regarding the orientation of the page image of the first page is sent to the thumbnail processing unit 15. Further, the document data to which the analysis result relating to the orientation of the page image for each analyzed page is added is sent to the document file creation unit 16.

次に、図3のステップ106でのページイメージの向きの解析処理について説明する。
図4は、文書解析部14にて行うページイメージの向きの解析処理の手順の一例を示したフローチャートである。文書解析部14は、ページイメージに対する画像解析を行うことにより、ページイメージの向きを決定する。すなわち、図4に示したように、文書解析部14では、まず文書データ取得部11から取得した文書データの1ページ目のページイメージから文字を抽出する(ステップ201)。この文字の抽出方法としては、画像解析の特徴抽出による種々の領域検出方法が使用できるが、例えば、ページイメージの中の所定の領域内で縦方向および横方向の黒白画素の分布を得るための濃度ヒストグラムを作成し、濃度の高い領域の大きさによって文字領域を判定する。そして、この文字領域から予定個数の文字を抽出する。
Next, the page image orientation analysis processing in step 106 of FIG. 3 will be described.
FIG. 4 is a flowchart illustrating an example of the procedure of the page image orientation analysis process performed by the document analysis unit 14. The document analysis unit 14 determines the orientation of the page image by performing image analysis on the page image. That is, as shown in FIG. 4, the document analysis unit 14 first extracts characters from the page image of the first page of the document data acquired from the document data acquisition unit 11 (step 201). As the character extraction method, various region detection methods by image analysis feature extraction can be used. For example, in order to obtain vertical and horizontal black-and-white pixel distribution within a predetermined region in a page image. A density histogram is created, and a character area is determined based on the size of the high density area. Then, a predetermined number of characters are extracted from this character area.

ステップ201にて文字が抽出されると、その文字を1字ずつ認識する(ステップ202)。文字を認識する方法としては、定点サンプリング法、ゾンデ法、スリット法、文字の輪郭の特徴を捉える方法、相関関数による方法等の周知の方法が使用される。例えば、定点サンプリング法では、抽出した文字を予定の観測点を持つメッシュに当て嵌めて、観測点に文字の部分が存在するか否かで文字を認識する。
続いて、文字の認識ができたか否かを判定する(ステップ203)。そして、文字が認識できた場合には、変数Aをインクリメントし(ステップ204)、認識できなかった場合には、変数Bをインクリメントする(ステップ205)。
そして、次に、1ページ目のページイメージから抽出したすべての文字の認識処理を終了したか否かを判断する(ステップ206)。未だすべての文字の認識処理が終了していない場合には、ステップ201に戻る。また、すべての文字の認識処理を終了した場合には、文字認識率I(=(A/A+B)×100)を算出する(ステップ207)。ステップ207にて計算された1ページ目のページイメージの文字認識率Iをメモリ(不図示)に記憶する(ステップ208)。
When characters are extracted in step 201, the characters are recognized one by one (step 202). As a method for recognizing a character, a well-known method such as a fixed point sampling method, a sonde method, a slit method, a method for capturing a feature of a character outline, a method using a correlation function, or the like is used. For example, in the fixed point sampling method, the extracted character is applied to a mesh having a predetermined observation point, and the character is recognized depending on whether or not a character portion exists at the observation point.
Subsequently, it is determined whether or not the character has been recognized (step 203). If the character is recognized, the variable A is incremented (step 204). If the character is not recognized, the variable B is incremented (step 205).
Next, it is determined whether or not the recognition processing for all characters extracted from the page image of the first page has been completed (step 206). If the recognition processing for all characters has not been completed yet, the process returns to step 201. When the recognition processing for all characters is completed, a character recognition rate I (= (A / A + B) × 100) is calculated (step 207). The character recognition rate I of the first page image calculated in step 207 is stored in a memory (not shown) (step 208).

このような図4に示したステップ201〜208の処理は、1ページ目のページイメージの上下左右4方向をそれぞれ天方向(文書の上辺方向)と仮定した4つの場合について実施される。そして最も文字認識率Iが高い方向を1ページ目のページイメージの天方向であると決定する。決定された天方向は、例えば表示部60にて画面表示される際の画面の上辺方向や画像形成部50での記録紙の送り方向等を正立方向として、この正立方向を基準とした角度データとして設定される。
そして、1ページ目のページイメージに関する画像解析が終了した後には、図4の処理フローによる次のページイメージの画像解析が開始され、文書データのすべてのページイメージの向きに関する解析が行われる。
そして、図3のステップ107において、1ページ目のページイメージの天方向の角度データが解析結果としてサムネイル処理部15に送られる。さらには、図3のステップ108において、各ページについてのページイメージの天方向の角度データが各ページイメージに対応付けられて属性データとして文書データに付加される。
Such processing in steps 201 to 208 shown in FIG. 4 is performed for four cases assuming that the top, bottom, left, and right directions of the page image of the first page are respectively the top direction (the top side direction of the document). The direction with the highest character recognition rate I is determined to be the top direction of the page image of the first page. The determined top direction is based on the upright direction, for example, with the upper side direction of the screen when displayed on the display unit 60 and the feeding direction of the recording paper at the image forming unit 50 as the upright direction. Set as angle data.
After the image analysis related to the page image of the first page is completed, image analysis of the next page image by the processing flow of FIG. 4 is started, and analysis regarding the orientation of all page images of the document data is performed.
Then, in step 107 of FIG. 3, the angle data in the top direction of the page image of the first page is sent to the thumbnail processing unit 15 as an analysis result. Further, in step 108 in FIG. 3, the angle data in the top direction of the page image for each page is associated with each page image and added to the document data as attribute data.

次に、サムネイル処理部15での画像処理について述べる。
上記したように、サムネイル処理部15は、文書データの属性データに回転描画コマンドが設定されている場合には、文書解析部14から1ページ目のページイメージに付加された回転描画コマンドをページイメージの向きに関する解析結果として取得する(図3のステップ104参照)。また、文書データの属性データに回転描画コマンドが設定されていない場合には、文書解析部14での画像解析による1ページ目のページイメージの天方向の角度データを取得する(図3のステップ107参照)。
Next, image processing in the thumbnail processing unit 15 will be described.
As described above, when the rotation drawing command is set in the attribute data of the document data, the thumbnail processing unit 15 uses the rotation drawing command added to the page image of the first page from the document analysis unit 14 as the page image. Is obtained as an analysis result relating to the orientation (see step 104 in FIG. 3). If the rotation drawing command is not set in the attribute data of the document data, the angle data in the top direction of the page image of the first page obtained by image analysis in the document analysis unit 14 is acquired (step 107 in FIG. 3). reference).

サムネイル処理部15は、文書解析部14から文書データの1ページ目の回転描画コマンドや天方向の角度データを取得すると、サムネイル記憶部13からその文書データに対応付けられたサムネイル画像を読み出す。そして、ページイメージの向きに関する解析結果として文書データに設定された回転描画コマンドを取得した場合には、サムネイル画像に対して回転描画コマンドに従った回転描画処理を行う。すなわち、回転描画コマンドは、通常、ページイメージを正立させるために設定された描画命令である。そこで、サムネイル処理部15は、回転描画コマンドをページイメージを正立させるように設定するページイメージの向きに関する解析結果として用いることにより、複雑な変換処理を行うことなく、ページイメージの向きに対応した回転描画を行う。
一方、ページイメージの向きに関する解析結果として文書解析部14での解析結果である1ページ目のページイメージの天方向の角度データを取得した場合には、サムネイル処理部15は、取得した1ページ目のページイメージの天方向の角度データに応じて、サムネイルが正立方向を向くようにサムネイル画像に対する回転描画処理を行う。すなわち、この場合の天方向の角度データは、正立方向を基準とした文書データ上での1ページ目のページイメージの角度データとして設定されているので、例えば天方向の角度データが90°と設定されている場合には、その逆方向である−90°の回転描画処理を行う。
このように、サムネイル処理部15は、回転処理手段として機能する。
When the thumbnail processing unit 15 acquires the rotation drawing command and the top angle data of the first page of the document data from the document analysis unit 14, the thumbnail processing unit 15 reads the thumbnail image associated with the document data from the thumbnail storage unit 13. When the rotation drawing command set in the document data is acquired as the analysis result regarding the orientation of the page image, the rotation drawing process according to the rotation drawing command is performed on the thumbnail image. That is, the rotation drawing command is usually a drawing command set to erect the page image. Therefore, the thumbnail processing unit 15 uses the rotation drawing command as an analysis result regarding the orientation of the page image that is set so that the page image is set upright, and thereby corresponds to the orientation of the page image without performing complicated conversion processing. Perform rotation drawing.
On the other hand, when the angle data in the top direction of the page image of the first page which is the analysis result of the document analysis unit 14 is acquired as the analysis result regarding the direction of the page image, the thumbnail processing unit 15 acquires the acquired first page In accordance with the angle data in the top direction of the page image, the rotation drawing process is performed on the thumbnail image so that the thumbnail faces the upright direction. That is, the angle data in the top direction in this case is set as the angle data of the page image of the first page on the document data with the upright direction as a reference. For example, the angle data in the top direction is 90 °. If it is set, a rotation drawing process of −90 ° in the opposite direction is performed.
As described above, the thumbnail processing unit 15 functions as a rotation processing unit.

図5は、サムネイル処理部15での処理の一例を示した図である。図5(a)は、文書データ上での1ページ目のページイメージを示している。この例でのページイメージの天方向は、例えば表示部60にて表示される際の画面の上辺方向を正立方向とすると、時計回転描画方向(正方向)に90°回転した状態で形成されている。サムネイル生成部12は、図5(a)のページイメージをそのまま所定の縮小率で縮小して、図5(b)のようなサムネイル画像を生成する。そのため、サムネイル生成部12にて生成されるサムネイル画像も正方向に90°回転した状態で形成される。
一方、文書解析部14では、文書データが回転描画コマンドが設定されていないものであった場合には、上記の解析処理により、1ページ目のページイメージの天方向の角度データが90°であると解析される。そして、サムネイル処理部15は、1ページ目のページイメージの天方向の角度データ90°を取得する。そこで、サムネイル処理部15は、図5(c)に示したように、サムネイル生成部12にて生成されたサムネイル画像を反時計回転描画方向(負方向)に−90°回転させる画像処理を行う。それにより、サムネイル画像の天方向は、正立方向と一致する。
FIG. 5 is a diagram illustrating an example of processing in the thumbnail processing unit 15. FIG. 5A shows a page image of the first page on the document data. The top direction of the page image in this example is formed in a state rotated by 90 ° in the clockwise rotation drawing direction (forward direction), for example, when the upper side direction of the screen when displayed on the display unit 60 is the upright direction. ing. The thumbnail generation unit 12 reduces the page image of FIG. 5A as it is at a predetermined reduction rate, and generates a thumbnail image as shown in FIG. Therefore, the thumbnail image generated by the thumbnail generation unit 12 is also formed in a state rotated by 90 ° in the forward direction.
On the other hand, in the document analysis unit 14, when the document data is not set with the rotation drawing command, the angle data in the top direction of the page image of the first page is 90 ° by the above analysis process. Is analyzed. Then, the thumbnail processing unit 15 acquires the top angle data 90 ° of the page image of the first page. Therefore, as shown in FIG. 5C, the thumbnail processing unit 15 performs image processing for rotating the thumbnail image generated by the thumbnail generation unit 12 by −90 ° in the counterclockwise rotation drawing direction (negative direction). . Thereby, the top direction of the thumbnail image coincides with the upright direction.

このように、サムネイル処理部15は、文書データに回転描画コマンドが設定されていない場合には、文書解析部14での解析処理により求められた天方向の角度データに基づいて、サムネイル画像を回転させる画像処理を行う。それにより、例えばスキャナ部20にて文書を読み取った際に、ユーザが回転描画指示を行わなかった場合にも、サムネイル画像の天方向は、正立方向と一致するように構成される。
同様に、サムネイル処理部15は、文書データに回転描画コマンドが設定されている場合においても、取得した1ページ目のページイメージに付加された回転描画コマンドに従って、サムネイル画像に対する回転描画処理を行う。それにより、サムネイル画像の天方向は、正立方向と一致する。
As described above, when the rotation drawing command is not set in the document data, the thumbnail processing unit 15 rotates the thumbnail image based on the azimuth angle data obtained by the analysis processing in the document analysis unit 14. Image processing is performed. Thereby, for example, when the user does not give a rotation drawing instruction when the scanner unit 20 reads the document, the top direction of the thumbnail image is configured to match the upright direction.
Similarly, even when a rotation drawing command is set in the document data, the thumbnail processing unit 15 performs rotation drawing processing on the thumbnail image according to the rotation drawing command added to the acquired page image of the first page. Thereby, the top direction of the thumbnail image coincides with the upright direction.

そして、サムネイル処理部15は、文書データに予め付加された回転描画コマンドや文書解析部14での解析による天方向の角度データに応じてサムネイル画像を回転描画処理した後、サムネイル画像を圧縮処理する。さらに、回転描画処理と圧縮処理とが施されたサムネイル画像を文書データに対応付けて文書ファイル作成部16に送る。
文書ファイル作成部16は、サムネイル処理部15から回転描画/圧縮処理されたサムネイル画像を取得する。さらに、文書ファイル作成部16は、文書解析部14から文書データの属性データに回転描画コマンドが設定されている文書データを取得する(図3のステップ105参照)。または、ページイメージの向きに関する角度データが属性データとして各ページイメージに対応付けて付加された文書データを取得する(図3のステップ109参照)。
そして、文書ファイル作成部16は、例えばPDF(Portable Document Format)やXPS(XML Paper Specification)等といった文書ファイルを記憶する際の所定の形式(文書フォーマット)に従って、文書ファイルを作成する。その場合に、文書ファイルのサムネイル画像情報領域には、サムネイル処理部15にて回転描画/圧縮処理されたサムネイル画像を記憶する。
Then, the thumbnail processing unit 15 performs the rotation drawing process on the thumbnail image in accordance with the rotation drawing command added to the document data in advance or the angle data in the sky direction analyzed by the document analysis unit 14, and then compresses the thumbnail image. . Further, the thumbnail image subjected to the rotation drawing process and the compression process is sent to the document file creation unit 16 in association with the document data.
The document file creation unit 16 acquires the thumbnail image that has been subjected to the rotation drawing / compression processing from the thumbnail processing unit 15. Further, the document file creation unit 16 acquires the document data in which the rotation drawing command is set in the attribute data of the document data from the document analysis unit 14 (see step 105 in FIG. 3). Alternatively, document data in which angle data related to the orientation of the page image is added as attribute data in association with each page image is acquired (see step 109 in FIG. 3).
Then, the document file creation unit 16 creates a document file according to a predetermined format (document format) when storing a document file such as PDF (Portable Document Format) or XPS (XML Paper Specification). In this case, the thumbnail image information area of the document file stores the thumbnail image that has been rotated / compressed by the thumbnail processing unit 15.

図6は、文書フォーマットに従って作成された文書ファイルのデータ構造の一例を示した図である。図6に示したように、文書フォーマットに従った文書ファイルは、文書ファイルの先頭に付されるヘッダ、サムネイル画像情報が記述されるサムネイル画像情報領域、文書データが記述される文書データ領域、文書ファイルの最後尾に付されるフッタにより構成される。また、文書データ領域では、文書データとその文書データに対する描画命令情報とが各ページ毎に順に記述される。なお、図6に示した例では、Nページの文書データが記述されているものとした。   FIG. 6 is a diagram showing an example of the data structure of a document file created according to the document format. As shown in FIG. 6, the document file according to the document format includes a header attached to the head of the document file, a thumbnail image information area in which thumbnail image information is described, a document data area in which document data is described, and a document Consists of a footer attached to the end of the file. In the document data area, document data and rendering command information for the document data are described in order for each page. In the example shown in FIG. 6, it is assumed that N pages of document data are described.

文書ファイル作成部16は、図6に示したサムネイル画像情報領域に、サムネイル処理部15にて回転描画/圧縮処理されたサムネイル画像に関する情報を記述する。ここでは、サムネイル画像は1ページ目の文書データを縮小化したものである。
また、文書ファイル作成部16は、図6に示した文書データ領域には、文書データとして、文書データ取得部11にて取得した各ページ毎の文書データをそのまま記述する。さらに、文書ファイル作成部16は、文書データ領域の描画命令情報として、文書データの属性データに回転描画コマンドが設定されている場合には、属性データに設定されている回転描画コマンドを含む描画命令情報を記述する。一方、文書データの属性データに回転描画コマンドが設定されていない場合には、文書解析部14において解析された各ページイメージの天方向の角度データに基づき各ページの文書データに関する回転描画コマンドを設定する。そして、設定した回転描画コマンドを含む描画命令情報を記述する。すなわち、文書ファイル作成部16は、例えばページイメージの天方向の角度データが90°であった場合には、これを正立方向と一致させるように、回転描画コマンドとして「−90°回転」を設定する。
The document file creation unit 16 describes information related to the thumbnail image that has been rotationally rendered / compressed by the thumbnail processing unit 15 in the thumbnail image information area shown in FIG. Here, the thumbnail image is obtained by reducing the document data of the first page.
In addition, the document file creation unit 16 directly describes the document data for each page acquired by the document data acquisition unit 11 as document data in the document data area shown in FIG. Further, when the rotation drawing command is set in the attribute data of the document data as the drawing command information of the document data area, the document file creating unit 16 includes the drawing command including the rotation drawing command set in the attribute data. Describe information. On the other hand, when the rotation drawing command is not set in the attribute data of the document data, the rotation drawing command related to the document data of each page is set based on the angle data in the top direction of each page image analyzed by the document analysis unit 14. To do. Then, drawing command information including the set rotation drawing command is described. That is, for example, when the angle data in the top direction of the page image is 90 °, the document file creation unit 16 sets “−90 ° rotation” as the rotation drawing command so as to match the upright direction. Set.

図6の例を参照して説明すると、サムネイル画像情報領域には、サムネイル処理部15にてサムネイル画像の天方向が正立方向と一致するように回転描画/圧縮処理されたサムネイル画像に関する情報が記述される。また、例えば文書データ領域の1ページ目には、描画命令情報として「−90°回転」の回転描画コマンドを含む描画命令が記述される。また、文書データとして文書データ取得部11にて取得した1ページ目の文書データがそのまま記述される。他のページに関しても同様である。
そして、文書ファイル作成部16は、上記のように作成した文書ファイルを文書ファイル記憶部70に記憶する。
Referring to the example of FIG. 6, in the thumbnail image information area, information related to the thumbnail image that has been rotationally drawn / compressed by the thumbnail processing unit 15 so that the top direction of the thumbnail image coincides with the upright direction. Described. For example, on the first page of the document data area, a rendering command including a rotational rendering command of “−90 ° rotation” is described as rendering command information. Further, the document data of the first page acquired by the document data acquisition unit 11 as document data is described as it is. The same applies to other pages.
Then, the document file creation unit 16 stores the document file created as described above in the document file storage unit 70.

続いて、文書ファイル記憶部70に記憶された文書ファイルを表示部60に画面表示させる場合の処理や、画像形成部50にて印刷する場合の処理について述べる。
例えば、ユーザインターフェース(不図示)からのユーザの指示により、表示部60において文書ファイルを画面表示させる場合には、表示制御部17は、文書ファイル記憶部70に記憶されているすべての文書ファイルを読み出す。そして表示制御部17は、文書ファイルに記述されているサムネイル画像情報に基づき画面上に各文書ファイルのサムネイル画像をその文書ファイルのアイコンとして表示する。さらに表示制御部17は、サムネイル画像から構成されたアイコンがマウス等のポインティングデバイスによりクリックされることで、例えばAdobe Systems社のアクロバットリーダー(Acrobat Reader)等の閲覧ソフトウェア(ビューワ)を起動させて、文書ファイルの全体を表示する。
Next, processing for displaying a document file stored in the document file storage unit 70 on the screen of the display unit 60 and processing for printing by the image forming unit 50 will be described.
For example, when displaying a document file on the display unit 60 in accordance with a user instruction from a user interface (not shown), the display control unit 17 displays all the document files stored in the document file storage unit 70. read out. The display control unit 17 displays the thumbnail image of each document file as an icon of the document file on the screen based on the thumbnail image information described in the document file. Further, the display control unit 17 activates browsing software (viewer) such as Acrobat Reader of Adobe Systems, for example, by clicking an icon composed of thumbnail images with a pointing device such as a mouse, Displays the entire document file.

その際に、文書ファイルに記述されているサムネイル画像情報は、サムネイル画像の天方向が正立方向と一致するように回転描画処理された情報であるため、表示部60においては、アイコンを構成するサムネイル画像は正立した状態で表示される。一方、ビューワは、例えばPCからの予め回転描画コマンドが設定されている文書データを表示する際には、その回転描画コマンドに基づいて文書データを回転描画処理する。そのため、文書データも正立した状態で表示される。それにより、サムネイル画像と文書データとは天方向(=正立方向)が一致して表示される。
また、文書データの属性データに回転描画コマンドが設定されていない場合であって、文書ファイル作成部16において各ページイメージの天方向の角度データに基づき文書データが回転描画処理された場合にも、同様に、表示部60においては、サムネイル画像と文書データとは天方向(=正立方向)が一致して表示される。
At this time, the thumbnail image information described in the document file is information that has been rotationally drawn so that the top direction of the thumbnail image coincides with the upright direction. Therefore, the display unit 60 forms an icon. The thumbnail image is displayed in an upright state. On the other hand, for example, when displaying document data in which a rotation drawing command is set in advance from a PC, the viewer performs rotation drawing processing on the document data based on the rotation drawing command. Therefore, the document data is also displayed in an upright state. As a result, the thumbnail image and the document data are displayed with the top direction (= upright direction) coincident.
Further, even when the rotation drawing command is not set in the attribute data of the document data, and the document data is rotated and drawn based on the angle data in the top direction of each page image in the document file creation unit 16, Similarly, on the display unit 60, the thumbnail image and the document data are displayed with the top direction (= upright direction) matching.

それによって、複数の文書ファイルの中から所望する文書ファイルを選択する際に、正立したサムネイル画像からなるアイコンの一覧により文書ファイルが正確に識別されるので、ユーザにとって文書ファイルを選択する上での利便性が高まる。
また、文書ファイルに記述されているサムネイル画像情報に基づき各文書ファイルのサムネイル画像をアイコンとして一覧表示する際に、サムネイル画像情報はすでにサムネイル画像の天方向が正立方向と一致するように回転描画処理されている。そのため、表示制御部17は、サムネイル画像に対する回転描画処理を行う必要がないので、ユーザからの表示指示があった場合には、多数の文書ファイルについてのアイコンを短時間で表示処理する。
Accordingly, when selecting a desired document file from a plurality of document files, the document file is accurately identified by a list of icons composed of upright thumbnail images. Convenience increases.
In addition, when displaying thumbnail images of each document file as icons based on the thumbnail image information described in the document file, the thumbnail image information is already rotated and drawn so that the top direction of the thumbnail image matches the upright direction. Has been processed. Therefore, the display control unit 17 does not need to perform the rotation drawing process on the thumbnail image, and when there is a display instruction from the user, the display control unit 17 performs the display process for icons for a large number of document files in a short time.

図7は、表示部60における画面表示の一例を示した図である。図7(a)は、表示部60の画面上に文書ファイル記憶部70に記憶されている各文書ファイルのサムネイル画像をその文書ファイルのアイコンとして一覧表示した例を示している。アイコンとして表示されたサムネイル画像は、上記したように正立した状態で表示される。そして、例えば、左上のアイコンにカーソルが合わせられてクリックされると、クリックされたアイコンに対応した文書ファイルが選択されてビューワによって表示される。
図7(b)は、クリックされたアイコンに対応した文書ファイルの1ページ目が表示部60の画面上に表示された例を示している。図7(b)に示したように、文書ファイルの1ページ目がビューワによって表示される際に、文書データに予め設定された回転描画コマンドや文書解析部14にて解析された天方向の角度データに基づき設定された回転描画コマンドに応じて回転描画処理される。それにより、例えば図6のように文書ファイルの1ページ目のページイメージが90°傾いて構成されたものであっても、回転描画コマンドに基づいて正立されて表示される。そのため、サムネイル画像と文書データとは天方向(=正立方向)が一致して表示される。
FIG. 7 is a diagram illustrating an example of a screen display on the display unit 60. FIG. 7A shows an example in which thumbnail images of each document file stored in the document file storage unit 70 are displayed as a list of icons of the document file on the screen of the display unit 60. The thumbnail image displayed as an icon is displayed in an upright state as described above. For example, when the cursor is placed on the upper left icon and clicked, a document file corresponding to the clicked icon is selected and displayed by the viewer.
FIG. 7B shows an example in which the first page of the document file corresponding to the clicked icon is displayed on the screen of the display unit 60. As shown in FIG. 7B, when the first page of the document file is displayed by the viewer, the rotation drawing command preset in the document data or the angle in the sky direction analyzed by the document analysis unit 14 is displayed. Rotation drawing processing is performed in accordance with the rotation drawing command set based on the data. Thereby, for example, even if the page image of the first page of the document file is tilted by 90 ° as shown in FIG. 6, it is displayed upright based on the rotation drawing command. For this reason, the thumbnail image and the document data are displayed with the top direction (= upright direction) matching.

また、ビューワによって表示された文書ファイルを画像形成部50にて印刷する場合には、表示部60の画面上のツールバーからビューワに設けられた印刷指示コマンドを用いる。表示部60においてツールバーから印刷指示コマンドが指定されると、表示制御部17から出力部18に印刷指示が出力される。それにより、出力部18は、文書ファイル記憶部70から印刷指示された文書ファイルを読み出し、画像形成部50に送る。そして、画像形成部50により印刷指示された文書ファイルの印刷が行われる。   Further, when the document file displayed by the viewer is printed by the image forming unit 50, a print instruction command provided in the viewer is used from a toolbar on the screen of the display unit 60. When a print instruction command is specified from the toolbar on the display unit 60, a print instruction is output from the display control unit 17 to the output unit 18. Accordingly, the output unit 18 reads out the document file instructed to be printed from the document file storage unit 70 and sends it to the image forming unit 50. Then, the document file instructed to be printed by the image forming unit 50 is printed.

次に、例えば通信機能部40を介して文書データ取得部11に、例えばJPEG(Joint Photographic Experts Group)やJPEG2000等の形式で圧縮処理された文書データが送られた場合について述べる。
この場合には、サムネイル生成部12において1ページ目の文書データ(ページイメージ)を伸張した後に、所定の縮小率で縮小してサムネイル画像を生成する処理を行う。その際に、文書データが例えばJPEG形式により圧縮されている場合には、サムネイル生成部12は、1ページ目のページイメージに関して、文書データを構成する画素データの高周波成分を所定の割合(間引き率)で間引きし、画素データの低周波成分に対する伸張処理を行う。すなわち、画素データの高周波成分を例えば1/2,1/4,1/8等の間引き率で間引きながら低周波成分に対する伸張処理を行う。また、例えば文書データがJPEG2000形式により圧縮されている場合には、JPEG2000形式に対応した間引き処理と伸長処理とを行う。それにより、圧縮処理された文書データが高解像度の多値画像であっても、サムネイル画像の生成処理が高速に行われる。
Next, a case will be described in which document data compressed in a format such as JPEG (Joint Photographic Experts Group) or JPEG2000 is sent to the document data acquisition unit 11 via the communication function unit 40, for example.
In this case, after the first page of document data (page image) is expanded in the thumbnail generation unit 12, a process of generating a thumbnail image by reducing at a predetermined reduction rate is performed. At this time, when the document data is compressed in, for example, the JPEG format, the thumbnail generation unit 12 converts the high frequency component of the pixel data constituting the document data to a predetermined ratio (decimation rate) for the page image of the first page. ), And decompression processing is performed on the low-frequency component of the pixel data. That is, expansion processing is performed on the low frequency component while thinning out the high frequency component of the pixel data at a thinning rate of, for example, 1/2, 1/4, 1/8 or the like. For example, when document data is compressed in the JPEG2000 format, thinning processing and decompression processing corresponding to the JPEG2000 format are performed. Thereby, even if the compressed document data is a high-resolution multilevel image, the thumbnail image generation process is performed at high speed.

ただし、例えばJPEG形式により圧縮されている場合には、伸張時の画素データの高周波成分に関する間引き率は、圧縮処理されていない文書データが所定の縮小率で縮小されてサムネイル画像が生成される際のサムネイル画像のサイズよりも小さくならない範囲内で設定される。このように、所定のサムネイル画像のサイズよりも小さくならない範囲内で伸張することにより、その後の縮小化によってアイコンとして表示したサムネイル画像が判別し難い程度に小さくなることを抑制する。
その場合に、所定のサムネイル画像のサイズよりも小さくならない範囲内で、最も間引き率を大きく設定することが、サムネイル画像の生成処理の高速化を図る上で好ましい。
However, for example, when the image data is compressed in the JPEG format, the thinning rate regarding the high frequency component of the pixel data at the time of decompression is when the uncompressed document data is reduced at a predetermined reduction rate to generate a thumbnail image. It is set within a range that is not smaller than the size of the thumbnail image. In this way, by expanding within a range that does not become smaller than the size of the predetermined thumbnail image, it is possible to prevent the thumbnail image displayed as an icon from being reduced to a level that is difficult to discriminate due to subsequent reduction.
In that case, it is preferable to set the thinning rate as large as possible within a range that does not become smaller than the size of the predetermined thumbnail image in order to increase the speed of the thumbnail image generation process.

次に、図8は、文書処理部10のハードウェア構成を示した図である。
図8に示したように、文書処理部10は、文書処理を行うに際して予め定められた処理プログラムに従ってデジタル演算処理を実行するCPU101、CPU101により実行される処理プログラム等が格納されるRAM102、CPU101により実行される処理プログラム等にて用いられる設定値等のデータが格納されるROM103、書き換え可能で電源供給が途絶えた場合にもデータを保持できるEEPROMやフラッシュメモリ等の不揮発性メモリ104、文書処理部10に接続される各部との信号の入出力を制御するインターフェース部105を備えている。
また、外部記憶部106には、文書処理部10により実行される処理プログラムが格納されており、文書処理部10がこの処理プログラムを読み込むことによって、文書処理が実行される。
Next, FIG. 8 is a diagram illustrating a hardware configuration of the document processing unit 10.
As shown in FIG. 8, the document processing unit 10 includes a CPU 101 that executes digital arithmetic processing according to a predetermined processing program when performing document processing, a RAM 102 that stores a processing program executed by the CPU 101, and the like. ROM 103 for storing data such as setting values used in a processing program to be executed, nonvolatile memory 104 such as EEPROM or flash memory which can be rewritten and can retain data even when power supply is interrupted, document processing unit 10 includes an interface unit 105 that controls input / output of signals to / from each unit connected to the unit 10.
The external storage unit 106 stores a processing program executed by the document processing unit 10, and the document processing unit 10 reads the processing program to execute document processing.

すなわち、上記した文書データ取得部11、サムネイル生成部12、文書解析部14、サムネイル処理部15、文書ファイル作成部16、表示制御部17、および出力部18の各機能を実現する処理プログラムを外部記憶部106から文書処理部10内のRAM102に読み込む。そして、RAM102に読み込まれた処理プログラムに基づいて、CPU101が各種処理を行う。この処理プログラムに関するその他の提供形態として、予めROM103にインストールされた状態にて提供される形態がある。さらに、文書処理部10がアッセンブリされた後に、処理プログラムが不揮発性メモリ104にインストールされ、不揮発性メモリ104からRAM102にロードされる形態がある。また、インターネット等のネットワークを介して文書処理部10にプログラムが伝送され、RAM102にインストールされる形態がある。   That is, processing programs that realize the functions of the document data acquisition unit 11, the thumbnail generation unit 12, the document analysis unit 14, the thumbnail processing unit 15, the document file creation unit 16, the display control unit 17, and the output unit 18 are externally provided. The data is read from the storage unit 106 into the RAM 102 in the document processing unit 10. Then, based on the processing program read into the RAM 102, the CPU 101 performs various processes. As another providing form regarding this processing program, there is a form provided in a state installed in the ROM 103 in advance. Furthermore, after the document processing unit 10 is assembled, a processing program is installed in the nonvolatile memory 104 and loaded from the nonvolatile memory 104 to the RAM 102. Further, there is a form in which a program is transmitted to the document processing unit 10 via a network such as the Internet and installed in the RAM 102.

以上説明したように、本実施の形態の文書管理装置1の文書処理部10では、文書データの向きを解析し、文書データの向きに関する解析結果に応じた回転描画処理が施されたサムネイル画像情報を文書データとともに文書ファイルとして作成し、記憶する。具体的には、文書データに予め設定された回転描画コマンドに従った回転描画処理や、画像解析により決定されたページイメージの天方向の角度データに応じた回転描画処理が施されたサムネイル画像情報を文書ファイルに記憶する。それにより、文書ファイルを画面表示させる場合に、サムネイル画像と文書データとはともに天方向が正立方向に一致して表示される。
そのため、文書ファイルをサムネイル画像に基づき選択する際に、正立したサムネイル画像からなるアイコンにより文書ファイルが正確に識別されるので、ユーザにとって文書ファイルを選択する上での利便性が高まる。
また、文書ファイルの一覧を画面表示させる場合にサムネイル画像に対する回転描画処理を行う必要がないので、ユーザからの表示指示があった場合には、多数の文書ファイルをそれぞれ表すサムネイル画像からなるアイコンが短時間で表示処理される。
As described above, the document processing unit 10 of the document management apparatus 1 according to the present embodiment analyzes the orientation of the document data, and the thumbnail image information subjected to the rotation drawing process according to the analysis result relating to the orientation of the document data. Is created and stored as a document file together with the document data. Specifically, thumbnail image information that has been subjected to a rotation drawing process according to a rotation drawing command set in advance in the document data or a rotation drawing process according to the angle data in the top direction of the page image determined by image analysis Is stored in the document file. As a result, when the document file is displayed on the screen, both the thumbnail image and the document data are displayed with the top direction matching the upright direction.
For this reason, when selecting a document file based on a thumbnail image, the document file is accurately identified by an icon made up of an upright thumbnail image, which increases the convenience for the user in selecting the document file.
In addition, when a list of document files is displayed on the screen, it is not necessary to perform a rotation drawing process on thumbnail images. Therefore, when there is a display instruction from the user, icons composed of thumbnail images respectively representing a large number of document files are displayed. Display is processed in a short time.

本実施の形態の文書管理装置の全体構成を示した図である。It is the figure which showed the whole structure of the document management apparatus of this Embodiment. 文書処理部の構成を示したブロック図である。It is the block diagram which showed the structure of the document processing part. 文書解析部が行う解析処理の手順の一例を示したフローチャートである。It is the flowchart which showed an example of the procedure of the analysis process which a document analysis part performs. 文書解析部にて行うページイメージの向きの解析処理の手順の一例を示したフローチャートである。5 is a flowchart illustrating an example of a procedure of page image orientation analysis processing performed by a document analysis unit. サムネイル処理部での処理の一例を示した図である。It is the figure which showed an example of the process in a thumbnail process part. 文書フォーマットに従って作成された文書ファイルのデータ構造の一例を示した図である。It is the figure which showed an example of the data structure of the document file produced according to the document format. 表示部における画面表示の一例を示した図である。It is the figure which showed an example of the screen display in a display part. 文書処理部のハードウェア構成を示した図である。It is the figure which showed the hardware constitutions of the document processing part.

符号の説明Explanation of symbols

1…文書管理装置、10…文書処理部、11…文書データ取得部、12…サムネイル生成部、13…サムネイル記憶部、14…文書解析部、15…サムネイル処理部、16…文書ファイル作成部、17…表示制御部、18…出力部、20…スキャナ部、30…ファクシミリ(FAX)機能部、40…通信機能部、50…画像形成部50…表示部、70…文書ファイル記憶部 DESCRIPTION OF SYMBOLS 1 ... Document management apparatus, 10 ... Document processing part, 11 ... Document data acquisition part, 12 ... Thumbnail generation part, 13 ... Thumbnail storage part, 14 ... Document analysis part, 15 ... Thumbnail processing part, 16 ... Document file creation part, DESCRIPTION OF SYMBOLS 17 ... Display control part, 18 ... Output part, 20 ... Scanner part, 30 ... Facsimile (FAX) function part, 40 ... Communication function part, 50 ... Image formation part 50 ... Display part, 70 ... Document file storage part

Claims (14)

文書データの入力を受け付ける文書データ受付手段と、
前記文書データ受付手段にて受け付けた前記文書データの中の一の文書画像を縮小した縮小画像を生成する縮小画像生成手段と、
前記文書データ受付手段にて受け付けた前記文書データに含まれる文書画像の向きを解析する解析手段と、
前記解析手段にて解析された前記文書画像の向きに応じて前記縮小画像生成手段にて生成された前記縮小画像を回転処理する回転処理手段と、
前記回転処理手段にて回転処理された前記縮小画像と前記文書データ受付手段にて受け付けた前記文書データとを含む文書ファイルを作成する文書ファイル作成手段と
を備えたことを特徴とする文書処理装置。
Document data receiving means for receiving input of document data;
Reduced image generating means for generating a reduced image obtained by reducing one document image in the document data received by the document data receiving means;
Analyzing means for analyzing the orientation of the document image included in the document data received by the document data receiving means;
Rotation processing means for rotating the reduced image generated by the reduced image generating means in accordance with the orientation of the document image analyzed by the analyzing means;
A document processing apparatus comprising: a document file creating unit that creates a document file including the reduced image rotated by the rotation processing unit and the document data received by the document data receiving unit. .
前記解析手段は、前記文書データに前記文書画像に対する回転描画命令が設定されていない場合に、当該文書画像の向きを当該文書画像に対する画像解析を行うことにより決定することを特徴とする請求項1記載の文書処理装置。   The analysis means determines the orientation of the document image by performing image analysis on the document image when a rotation drawing command for the document image is not set in the document data. The document processing apparatus described. 前記解析手段は、前記文書データに前記文書画像に対する回転描画命令が設定されていない場合に、解析された前記文書画像の向きに関する情報を当該文書画像に対応付けて当該文書データに付加することを特徴とする請求項1記載の文書処理装置。   The analysis means adds information relating to the orientation of the analyzed document image to the document data in association with the document image when a rotation drawing command for the document image is not set in the document data. The document processing apparatus according to claim 1, wherein: 前記解析手段は、前記文書データに前記文書画像に対する回転描画命令が設定されている場合に、当該文書画像の向きを当該回転描画命令により解析することを特徴とする請求項1記載の文書処理装置。   2. The document processing apparatus according to claim 1, wherein when the rotation drawing command for the document image is set in the document data, the analysis unit analyzes the orientation of the document image by the rotation drawing command. . 前記解析手段は、前記文書データに前記文書画像に対する回転描画命令が設定されている場合に、当該文書画像に対する画像解析を行い、当該設定されている回転描画命令に優先して当該画像解析の結果を当該文書画像の向きとして決定することを特徴とする請求項1記載の文書処理装置。   The analysis unit performs an image analysis on the document image when a rotation drawing command for the document image is set in the document data, and gives a result of the image analysis in preference to the set rotation drawing command. The document processing apparatus according to claim 1, wherein the direction of the document image is determined. 前記縮小画像生成手段は、前記文書データが圧縮処理されている場合に、前記一の文書画像を構成する画素データの高周波成分を間引きするとともに当該画素データの低周波成分を伸長し、当該低周波成分が伸長された当該一の文書画像を縮小して前記縮小画像を生成することを特徴とする請求項1記載の文書処理装置。   The reduced image generating means thins out the high frequency component of the pixel data constituting the one document image and expands the low frequency component of the pixel data when the document data is compressed. The document processing apparatus according to claim 1, wherein the reduced image is generated by reducing the one document image in which the components are expanded. 前記縮小画像生成手段は、前記圧縮処理された前記一の文書画像を構成する前記画素データの高周波成分を間引きし、低周波成分を伸長する場合に、圧縮処理されていない当該一の文書画像に関する前記縮小画像の画像サイズよりも小さくならない範囲内で当該高周波成分の間引き率を設定することを特徴とする請求項6記載の文書処理装置。   The reduced image generation means relates to the one document image that is not compressed when the high frequency component of the pixel data constituting the one document image subjected to the compression process is thinned and the low frequency component is expanded. The document processing apparatus according to claim 6, wherein the thinning rate of the high-frequency component is set within a range that does not become smaller than an image size of the reduced image. コンピュータに、
文書データの入力を受け付ける機能と、
前記文書データの中の一の文書画像を縮小した縮小画像を生成する機能と、
前記文書データに含まれる文書画像の向きを解析する機能と、
解析された前記文書画像の向きに応じて前記縮小画像を回転処理する機能と、
回転処理された前記縮小画像と前記文書データとを含む文書ファイルを作成する機能と
を実現させることを特徴とするプログラム。
On the computer,
A function to accept input of document data;
A function of generating a reduced image obtained by reducing one document image in the document data;
A function of analyzing the orientation of a document image included in the document data;
A function of rotating the reduced image according to the orientation of the analyzed document image;
A program for realizing a function of creating a document file including the reduced image that has been subjected to the rotation processing and the document data.
前記文書画像の向きを解析する機能は、前記文書データに前記文書画像に対する回転描画命令が設定されていない場合に、当該文書画像の向きを当該文書画像に対する画像解析を行うことにより決定する機能を含むことを特徴とする請求項8記載のプログラム。   The function of analyzing the orientation of the document image is a function of determining the orientation of the document image by performing image analysis on the document image when a rotation drawing command for the document image is not set in the document data. The program according to claim 8, comprising: 前記文書データに前記文書画像に対する回転描画命令が設定されていない場合に、解析された前記文書画像の向きに関する情報を当該文書画像に対応付けて当該文書データに付加する機能をさらに備えたことを特徴とする請求項8記載のプログラム。   A function of adding information relating to the orientation of the analyzed document image to the document data in association with the document image when a rotation drawing command for the document image is not set in the document data; 9. The program according to claim 8, wherein 前記文書画像の向きを解析する機能は、前記文書データに前記文書画像に対する回転描画命令が設定されている場合に、当該文書画像の向きを当該回転描画命令により解析する機能を含むことを特徴とする請求項8記載のプログラム。   The function of analyzing the orientation of the document image includes a function of analyzing the orientation of the document image by the rotation drawing command when a rotation drawing command for the document image is set in the document data. The program according to claim 8. 前記文書画像の向きを解析する機能は、前記文書データに前記文書画像に対する回転描画命令が設定されている場合に、当該文書画像に対する画像解析を行い、当該設定されている回転描画命令に優先して当該画像解析の結果を当該文書画像の向きとして決定する機能を含むことを特徴とする請求項8記載のプログラム。   The function of analyzing the orientation of the document image performs image analysis on the document image when a rotation drawing command for the document image is set in the document data, and has priority over the set rotation drawing command. The program according to claim 8, further comprising a function for determining the result of the image analysis as the orientation of the document image. 前記縮小画像を生成する機能は、前記文書データが圧縮処理されている場合に、圧縮処理されていない前記一の文書画像に関する前記縮小画像の画像サイズよりも小さくならない範囲内の間引き率で当該一の文書画像を構成する画素データの高周波成分を間引きするとともに当該画素データの低周波成分を伸長し、当該低周波成分が伸長された当該一の文書画像を縮小して当該縮小画像を生成する機能を含むことを特徴とする請求項8記載のプログラム。   When the document data is compressed, the function of generating the reduced image has the thinning rate within a range that does not become smaller than the image size of the reduced image related to the one document image that has not been compressed. A function of thinning out the high-frequency component of the pixel data constituting the document image, expanding the low-frequency component of the pixel data, and reducing the one document image in which the low-frequency component is expanded to generate the reduced image The program according to claim 8, comprising: 文書データの入力を受け付ける文書データ受付手段と、
前記文書データ受付手段にて受け付けた前記文書データの中の一の文書画像を縮小した縮小画像を生成する縮小画像生成手段と、
前記文書データ受付手段にて受け付けた前記文書データに含まれる文書画像の向きを解析する解析手段と、
前記解析手段にて解析された前記文書画像の向きに応じて前記縮小画像生成手段にて生成された前記縮小画像を回転処理する回転処理手段と、
前記回転処理手段にて回転処理された前記縮小画像と前記文書データ受付手段にて受け付けた前記文書データとを含む文書ファイルを作成する文書ファイル作成手段と、
前記文書ファイル作成手段にて作成された前記文書ファイルを記憶する文書ファイル記憶手段と、
前記文書ファイル記憶手段に記憶された複数の前記文書ファイルを読み出し、当該複数の文書ファイル各々に記述された前記縮小画像からなる当該文書ファイルの一覧を表示する表示手段と
を備えたことを特徴とする文書管理装置。
Document data receiving means for receiving input of document data;
Reduced image generating means for generating a reduced image obtained by reducing one document image in the document data received by the document data receiving means;
Analyzing means for analyzing the orientation of the document image included in the document data received by the document data receiving means;
Rotation processing means for rotating the reduced image generated by the reduced image generating means in accordance with the orientation of the document image analyzed by the analyzing means;
A document file creating unit that creates a document file including the reduced image rotated by the rotation processing unit and the document data received by the document data receiving unit;
Document file storage means for storing the document file created by the document file creation means;
Display means for reading a plurality of the document files stored in the document file storage means and displaying a list of the document files composed of the reduced images described in each of the plurality of document files. Document management device.
JP2008117883A 2008-04-28 2008-04-28 Document processing apparatus, program, and document management apparatus Expired - Fee Related JP4725597B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008117883A JP4725597B2 (en) 2008-04-28 2008-04-28 Document processing apparatus, program, and document management apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008117883A JP4725597B2 (en) 2008-04-28 2008-04-28 Document processing apparatus, program, and document management apparatus

Publications (2)

Publication Number Publication Date
JP2009267991A JP2009267991A (en) 2009-11-12
JP4725597B2 true JP4725597B2 (en) 2011-07-13

Family

ID=41393231

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008117883A Expired - Fee Related JP4725597B2 (en) 2008-04-28 2008-04-28 Document processing apparatus, program, and document management apparatus

Country Status (1)

Country Link
JP (1) JP4725597B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7379879B2 (en) * 2019-06-21 2023-11-15 富士フイルムビジネスイノベーション株式会社 Information processing device and program

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001258032A (en) * 2000-03-13 2001-09-21 Kawasaki Steel Corp Image compressor/expander
JP2005305867A (en) * 2004-04-22 2005-11-04 Seiko Epson Corp Image processing system, image display device, printer, and method for printing
JP2006166331A (en) * 2004-12-10 2006-06-22 Canon Inc Image forming apparatus and program for implementing image forming method
JP2006253994A (en) * 2005-03-10 2006-09-21 Kyocera Mita Corp Image processing apparatus

Also Published As

Publication number Publication date
JP2009267991A (en) 2009-11-12

Similar Documents

Publication Publication Date Title
KR101383326B1 (en) Method for viewing thumbnail, and image forming apparatus
US7864199B2 (en) Image processing apparatus and control method thereof
JP5072739B2 (en) Image forming system, image forming apparatus, and image processing apparatus
JP2005228243A (en) Information processor and control method therefor and program
JP5554931B2 (en) Image processing system, image processing apparatus, image processing method, and program
JP2006014311A (en) Image processing system and image processing method
JP7262993B2 (en) Image processing system, image processing method, image processing apparatus
JP6855268B2 (en) Information processing device, control method and program of information processing device
EP2677467A2 (en) Control Device
US20090080000A1 (en) Information processing apparatus, information processing method, and program and storage medium therefor
JP4956319B2 (en) Image processing apparatus, control method thereof, program thereof, and storage medium
JP2010262584A (en) Apparatus, system, and method for processing information and program
US20090150359A1 (en) Document processing apparatus and search method
US8213037B2 (en) Multifunctional peripheral print container modification
EP2202631A2 (en) Method to change thumbnail and printing control apparatus
JP2008052496A (en) Image display device, method, program and recording medium
US9864750B2 (en) Objectification with deep searchability
JP6145414B2 (en) Document distribution server and document distribution server program
JP4725597B2 (en) Document processing apparatus, program, and document management apparatus
US20100165395A1 (en) Image processing apparatus, image processing system, and control method for image processing apparatus
US8804141B2 (en) Character output device, character output method and computer readable medium
US9430446B2 (en) Information processing apparatus, method and storage medium including a function for establishing exceptions applied to print settings when specified conditions are met
JP2017021395A (en) Print control device, print control program and print control method
US20110128298A1 (en) Display system, image processing apparatus, control method therefor, and storage medium
JP2010092141A (en) Image processing system, image reader, image processor, and image processing program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090825

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110228

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110328

R150 Certificate of patent or registration of utility model

Ref document number: 4725597

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20140422

Year of fee payment: 3

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees