JP6707903B2 - Output device and computer program - Google Patents

Output device and computer program Download PDF

Info

Publication number
JP6707903B2
JP6707903B2 JP2016037553A JP2016037553A JP6707903B2 JP 6707903 B2 JP6707903 B2 JP 6707903B2 JP 2016037553 A JP2016037553 A JP 2016037553A JP 2016037553 A JP2016037553 A JP 2016037553A JP 6707903 B2 JP6707903 B2 JP 6707903B2
Authority
JP
Japan
Prior art keywords
resolution
image data
reliability
character
attention
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2016037553A
Other languages
Japanese (ja)
Other versions
JP2017157940A (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.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2016037553A priority Critical patent/JP6707903B2/en
Publication of JP2017157940A publication Critical patent/JP2017157940A/en
Application granted granted Critical
Publication of JP6707903B2 publication Critical patent/JP6707903B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Editing Of Facsimile Originals (AREA)

Description

本明細書は、画像データを出力する技術に関する。 The present specification relates to a technique of outputting image data.

従来から、画像データを処理して生成された画像データを用いて、新たな画像データを出力する技術が用いられている。例えば、文字サイズを推定し、推定された文字サイズに応じて画像の解像度を調整した画像データを用いて新たな画像データを出力する技術が提案されている。 Conventionally, a technique of outputting new image data by using the image data generated by processing the image data has been used. For example, a technique has been proposed in which a character size is estimated and new image data is output using image data in which the image resolution is adjusted according to the estimated character size.

特開2010−56827号公報JP, 2010-56827, A

ところが、推定された文字サイズを用いて画像の解像度を調整する場合であっても、出力された新たな画像データを用いて文字画像を表す場合に不具合が生じる場合があった。 However, even when adjusting the resolution of an image using the estimated character size, a problem may occur when a character image is represented using new output image data.

本明細書は、出力された画像データを用いて文字画像を表す場合の不具合を抑制できる技術を開示する。 The present specification discloses a technique capable of suppressing a defect when a character image is represented using output image data.

本明細書は、例えば、以下の適用例を開示する。 This specification discloses the following application examples, for example.

[適用例1]
文字を含む文字画像を表す画像データを出力する出力装置であって、
前記文字画像を表す元画像データを用いて前記元画像データの解像度よりも低い注目解像度で前記文字画像を表す注目画像データを生成する生成部と、
前記注目画像データを用いて得られる前記文字画像の文字認識の信頼度である注目信頼度を取得する取得部と、
前記注目信頼度が基準信頼度以上であることを含む条件が満たされる場合に、前記注目解像度の前記注目画像データを用いて出力画像データを、データを受け付ける受付部に出力し、前記条件が満たされない場合に、前記注目解像度より大きい解像度の画像データを前記受付部に出力する、出力制御部と、
を備える、出力装置。
[Application example 1]
An output device for outputting image data representing a character image including characters,
A generation unit that generates, using the original image data representing the character image, the image data of interest representing the character image at a resolution of interest lower than the resolution of the original image data;
An acquisition unit that acquires the reliability of attention, which is the reliability of character recognition of the character image obtained using the target image data,
When a condition including that the attention reliability is equal to or higher than a reference reliability is satisfied, output image data is output to a reception unit that receives data by using the attention image data having the attention resolution, and the condition is satisfied. If not, an output control unit that outputs image data having a resolution larger than the resolution of interest to the reception unit,
And an output device.

この構成によれば、文字画像を表す出力画像データを出力する場合に、出力画像データのデータサイズを小さくしつつ、解像度が低すぎて文字が読めなくなることを抑制できる。
[適用例2]
適用例1に記載の出力装置であって、
前記基準信頼度は、特定信頼度と許容変化量を用いて表される信頼度であり、
前記特定信頼度は、前記元画像データを用いて生成される特定画像データであって、前記文字画像を表す特定解像度の前記特定画像データを用いて得られる前記文字画像の文字認識の信頼度であり、
前記特定解像度は、前記元画像データの解像度以下かつ前記注目解像度よりも大きい解像度である、
出力装置。
[適用例3]
適用例1または2に記載の出力装置であって、
前記生成部と前記取得部とは、
前記生成部による、前記注目解像度をより低い解像度に更新し、更新済の注目解像度で注目画像データを生成することと、
前記取得部による、前記更新済の前記注目解像度に対応する前記注目画像データの注目信頼度を取得することと、
を、前記更新済の前記注目解像度に対応する前記注目信頼度が前記条件を満たさなくなるまで繰り返し、
前記出力制御部は、前記条件を満たす注目解像度のうち最も低い注目解像度に対応する注目画像データを用いて前記出力画像データを出力する、
出力装置。
According to this configuration, when outputting the output image data representing the character image, it is possible to reduce the data size of the output image data and to prevent the character from becoming unreadable due to too low resolution.
[Application example 2]
The output device according to Application Example 1,
The reference reliability is a reliability represented by using a specific reliability and an allowable change amount,
The specific reliability is specific image data generated by using the original image data, and is a reliability of character recognition of the character image obtained by using the specific image data of a specific resolution representing the character image. Yes,
The specific resolution is a resolution equal to or lower than the resolution of the original image data and higher than the resolution of interest.
Output device.
[Application example 3]
The output device according to application example 1 or 2, wherein
The generation unit and the acquisition unit,
Updating the target resolution by the generation unit to a lower resolution, and generating the target image data with the updated target resolution,
Acquiring the attention reliability of the attention image data corresponding to the updated attention resolution by the acquisition unit;
Is repeated until the attention reliability corresponding to the updated attention resolution does not satisfy the condition,
The output control unit outputs the output image data using the attention image data corresponding to the lowest attention resolution among the attention resolutions satisfying the conditions.
Output device.

[適用例
文字を含む文字画像を表す画像データを出力する出力装置であって、
前記文字画像を表す元画像データを用いて前記元画像データの解像度よりも高い注目解像度で前記文字画像を表す注目画像データを生成する生成部と、
前記注目画像データを用いて得られる前記文字画像の文字認識の信頼度である注目信頼度を取得する取得部と、
前記注目信頼度が基準信頼度未満であることを含む条件が満たされる場合に、前記注目解像度の前記注目画像データを用いて出力画像データを、データを受け付ける受付部に出力し、前記条件が満たされない場合に、前記注目解像度未満の解像度の画像データを前記受付部に出力する、出力制御部と、
を備える、出力装置。
[Application example 4 ]
An output device for outputting image data representing a character image including characters,
A generation unit that generates, using the original image data representing the character image, the image data of interest representing the character image at a resolution of interest higher than the resolution of the original image data;
An acquisition unit that acquires the reliability of attention, which is the reliability of character recognition of the character image obtained using the target image data,
When a condition including that the attention reliability is less than the reference reliability is satisfied, output image data is output to a reception unit that receives data by using the attention image data having the attention resolution, and the condition is satisfied. If not, an output control unit that outputs image data having a resolution lower than the target resolution to the reception unit,
And an output device.

この構成によれば、文字画像を表す出力画像データを出力する場合に、文字を読みやすくすることができ、さらに、解像度が高すぎて出力画像データのデータサイズが過剰に大きくなることを抑制できる。
[適用例5]
適用例4に記載の出力装置であって、
前記基準信頼度は、特定信頼度と許容変化量とを用いて表される信頼度であり、
前記特定信頼度は、前記元画像データを用いて生成される特定画像データであって、前記文字画像を表す特定解像度の前記特定画像データを用いて得られる前記文字画像の文字認識の信頼度であり、
前記特定解像度は、前記元画像データの解像度以上かつ前記注目解像度よりも小さい解像度である、
出力装置。
[適用例6]
適用例4または5に記載の出力装置であって、
前記生成部と前記取得部とは、
前記生成部による、前記注目解像度をより高い解像度に更新し、更新済の注目解像度で注目画像データを生成することと、
前記取得部による、前記更新済の前記注目解像度に対応する前記注目画像データの注目信頼度を取得することと、
を、前記更新済の前記注目解像度に対応する前記注目信頼度が前記条件を満たさなくなるまで繰り返し、
前記出力制御部は、前記条件を満たす注目解像度のうち最も高い注目解像度に対応する注目画像データを用いて前記出力画像データを出力する、
出力装置。
[適用例7]
適用例2または5に記載の出力装置であって、
前記注目解像度は、1回以上更新されており、
前記特定解像度は、更新前の注目解像度のうち最も新しい注目解像度である、
出力装置。
[適用例8]
適用例2または5に記載の出力装置であって、
前記特定解像度は、前記元画像データの解像度と同じ解像度である出力装置。
[適用例9]
適用例1から8のいずれかに記載の出力装置であって、
前記取得部は、前記注目画像データを用いて得られる前記文字画像である注目文字画像であって、前記出力画像データの展開時の前記文字画像のサイズと同じサイズの前記注目文字画像の文字認識の信頼度を、前記注目信頼度として取得する、
出力装置。
[適用例10]
適用例1から9のいずれかに記載の出力装置であって、
前記出力画像データの展開時の前記文字画像のサイズは、前記元画像データの展開時の前記文字画像のサイズと同じである、
出力装置。
[適用例11]
適用例1から10のいずれかに記載の出力装置であって、
前記出力画像データは、前記注目解像度の前記注目画像データと、前記注目画像データによって表される前記文字画像を拡大または縮小するコマンドと、を含む、
出力装置。
[適用例12]
適用例1から11のいずれかに記載の出力装置であって、
前記取得部は、前記注目画像データを用いて得られる前記文字画像である注目文字画像であって、前記出力画像データによって表される前記文字画像の階調数と同じ階調数で表された前記注目文字画像の文字認識の信頼度を、前記注目信頼度として取得する、
出力装置。
[適用例13]
適用例1から12のいずれかに記載の出力装置であって、
前記出力画像データによって表される前記文字画像の階調数は、前記元画像データによって表される前記文字画像の階調数より小さい、
出力装置。
[適用例14]
適用例2または5に記載の出力装置であって、
前記出力制御部は、前記許容変化量を、前記注目解像度に応じて変化させる、
出力装置。
[適用例15]
適用例3または6に記載の出力装置であって、
前記条件を満たす注目解像度と、前記文字画像によって表される前記文字の特徴を表す特徴情報と、を対応付ける履歴情報を、記憶装置に格納する履歴管理部を備え、
前記生成部は、処理対象の前記元画像データの文字画像によって表される文字の特徴と所定の類似関係にある特徴情報に対応付けられた履歴情報である類似履歴情報が前記記憶装置に格納されている場合に、前記注目解像度の初期値を、前記類似履歴情報に対応付けられた解像度を用いて決定する、
出力装置。
[適用例16]
適用例15に記載の出力装置であって、
前記元画像データは、複数頁の文字画像を表し、
前記履歴管理部は、第1頁の文字画像を表す出力画像データの出力に用いられる注目画像データの解像度と、前記第1頁の文字画像の文字の特徴を表す特徴情報と、を対応付ける特定履歴情報を、前記記憶装置に格納し、
前記生成部は、前記特定履歴情報に対応付けられた前記特徴情報が、第2頁の文字画像によって表される文字の特徴と前記所定の類似関係にある場合に、前記第2頁の文字画像を表す注目画像データの注目解像度の初期値を、前記特定履歴情報に対応付けられた解像度を用いて決定する、
出力装置。
[適用例17]
適用例15に記載の出力装置であって、
前記元画像データは、複数頁の文字画像を表し、
前記履歴管理部は、第1頁の文字画像を表す出力画像データの出力に用いられる注目画像データの解像度と、前記第1頁の文字画像の文字の特徴を表す特徴情報と、を対応付ける特定履歴情報を、前記記憶装置に格納し、
前記生成部は、前記第2頁の文字画像を表す注目画像データの注目解像度の初期値を、前記特定履歴情報に対応付けられた解像度を用いて決定する、
出力装置。
[適用例18]
適用例1から17のいずれかに記載の出力装置であって、
前記生成部は、互いに異なる複数の注目解像度に対応する複数の注目画像データを生成し、
前記出力制御部は、前記複数の注目画像データのうちの最も高い注目解像度に対応する注目画像データを用いて得られる前記文字画像の文字認識の結果を表す文字データを含む前記出力画像データを、出力する、
出力装置。
[適用例19]
適用例1から18のいずれかに記載の出力装置であって、
前記条件を満たす注目解像度と、前記文字画像によって表される前記文字の特徴を表す特徴情報と、を対応付ける履歴情報を、記憶装置に格納する履歴管理部を備え、
前記生成部は、処理対象の前記元画像データの文字画像によって表される文字の特徴と所定の類似関係にある特徴情報に対応付けられた履歴情報である類似履歴情報が前記記憶装置に格納されている場合に、前記注目解像度を、前記類似履歴情報に対応付けられた解像度を用いて決定する動作モードを有し、
前記出力制御部は、前記条件が満たされるか否かに係わらず、前記注目解像度の前記注目画像データを用いて前記出力画像データを出力する動作モードを有する、
出力装置。
According to this configuration, when outputting the output image data representing the character image, it is possible to make the character easy to read, and it is possible to prevent the data size of the output image data from becoming excessively large due to too high resolution. ..
[Application example 5]
The output device according to Application Example 4,
The reference reliability is a reliability represented by using a specific reliability and an allowable change amount,
The specific reliability is specific image data generated by using the original image data, and is a reliability of character recognition of the character image obtained by using the specific image data of a specific resolution representing the character image. Yes,
The specific resolution is a resolution equal to or higher than the resolution of the original image data and smaller than the resolution of interest.
Output device.
[Application example 6]
The output device according to Application Example 4 or 5,
The generation unit and the acquisition unit,
Updating the target resolution by the generation unit to a higher resolution, and generating the target image data with the updated target resolution;
Acquiring the attention reliability of the attention image data corresponding to the updated attention resolution by the acquisition unit;
Is repeated until the attention reliability corresponding to the updated attention resolution does not satisfy the condition,
The output control unit outputs the output image data using the attention image data corresponding to the highest attention resolution among the attention resolutions satisfying the conditions.
Output device.
[Application example 7]
The output device according to application example 2 or 5, wherein
The resolution of interest has been updated at least once,
The specific resolution is the newest resolution of interest before the update,
Output device.
[Application example 8]
The output device according to application example 2 or 5, wherein
The output device in which the specific resolution is the same as the resolution of the original image data.
[Application example 9]
The output device according to any one of Application Examples 1 to 8,
The acquisition unit is a character image of interest that is the character image obtained using the image data of interest, and character recognition of the character image of interest having the same size as the size of the character image when the output image data is expanded. Is obtained as the attention reliability,
Output device.
[Application Example 10]
The output device according to any one of Application Examples 1 to 9,
The size of the character image when expanding the output image data is the same as the size of the character image when expanding the original image data,
Output device.
[Application example 11]
The output device according to any one of Application Examples 1 to 10,
The output image data includes the target image data of the target resolution and a command for enlarging or reducing the character image represented by the target image data.
Output device.
[Application Example 12]
The output device according to any one of Application Examples 1 to 11,
The acquisition unit is a target character image that is the character image obtained by using the target image data, and has the same gradation number as the gradation number of the character image represented by the output image data. The reliability of character recognition of the target character image is acquired as the target reliability.
Output device.
[Application example 13]
The output device according to any one of Application Examples 1 to 12,
The gradation number of the character image represented by the output image data is smaller than the gradation number of the character image represented by the original image data,
Output device.
[Application Example 14]
The output device according to application example 2 or 5, wherein
The output control unit changes the allowable change amount according to the resolution of interest.
Output device.
[Application example 15]
The output device according to Application Example 3 or 6,
A history management unit that stores history information in which a resolution of interest satisfying the condition and feature information representing a feature of the character represented by the character image are stored in a storage device;
The generation unit stores similarity history information, which is history information associated with feature information having a predetermined similarity relationship with a feature of a character represented by a character image of the original image data to be processed, in the storage device. In the case of, the initial value of the resolution of interest is determined using the resolution associated with the similar history information,
Output device.
[Application example 16]
The output device according to application example 15,
The original image data represents a character image of a plurality of pages,
The history management unit associates the resolution of the image data of interest used to output the output image data representing the character image of the first page with the feature information representing the feature of the character of the character image of the first page with a specific history. Storing information in the storage device,
When the characteristic information associated with the specific history information has the predetermined similar relationship with the characteristic of the character represented by the character image of the second page, the generation unit may generate the character image of the second page. The initial value of the resolution of interest of the image data of interest is determined using the resolution associated with the specific history information,
Output device.
[Application example 17]
The output device according to application example 15,
The original image data represents a character image of a plurality of pages,
The history management unit associates the resolution of the image data of interest used to output the output image data representing the character image of the first page with the feature information representing the feature of the character of the character image of the first page with a specific history. Storing information in the storage device,
The generation unit determines an initial value of a target resolution of target image data representing the character image of the second page by using a resolution associated with the specific history information.
Output device.
[Application Example 18]
The output device according to any one of Application Examples 1 to 17,
The generation unit generates a plurality of target image data corresponding to a plurality of different target resolutions,
The output control unit, the output image data including character data representing a result of character recognition of the character image obtained by using the attention image data corresponding to the highest attention resolution of the plurality of attention image data, Output,
Output device.
[Application example 19]
The output device according to any one of Application Examples 1 to 18,
A history management unit that stores history information in which a resolution of interest satisfying the condition and feature information representing the feature of the character represented by the character image are stored in a storage device;
The generation unit stores similarity history information, which is history information associated with feature information having a predetermined similarity relationship with a feature of a character represented by a character image of the original image data to be processed, in the storage device. In the case of, the target resolution has an operation mode for determining using the resolution associated with the similar history information,
The output control unit has an operation mode of outputting the output image data by using the attention image data of the attention resolution regardless of whether or not the condition is satisfied.
Output device.

なお、本明細書に開示の技術は、種々の態様で実現することが可能であり、例えば、画像データの出力方法および出力装置、それらの方法または装置の機能を実現するためのコンピュータプログラム、そのコンピュータプログラムを記録した記録媒体(例えば、一時的ではない記録媒体)、等の形態で実現することができる。 It should be noted that the technology disclosed in this specification can be realized in various modes, for example, an image data output method and an output device, a computer program for realizing the functions of those methods or devices, and It can be realized in the form of a recording medium (for example, a non-transitory recording medium) recording a computer program.

実施例のデータ処理装置を示す説明図である。It is explanatory drawing which shows the data processing apparatus of an Example. 高圧縮PDFデータを出力する出力処理の例を示す概略図である。It is a schematic diagram showing an example of output processing which outputs highly compressed PDF data. データ出力処理の例を示すフローチャートである。It is a flow chart which shows an example of data output processing. 二値画像データの生成処理の例のフローチャートである。7 is a flowchart of an example of a binary image data generation process. 解像度RSと信頼度RLとの関係を示すグラフである。It is a graph which shows the relationship between resolution RS and reliability RL. 二値画像データの生成処理の別の例のフローチャートである。7 is a flowchart of another example of a binary image data generation process. 解像度RSと信頼度RLとの関係を示すグラフである。It is a graph which shows the relationship between resolution RS and reliability RL. 二値画像データの生成処理の別の例のフローチャートである。7 is a flowchart of another example of a binary image data generation process. 解像度RSと信頼度RLとの関係を示すグラフである。It is a graph which shows the relationship between resolution RS and reliability RL. 二値画像データの生成処理の別の例のフローチャートである。7 is a flowchart of another example of a binary image data generation process. 解像度RSと信頼度RLとの関係を示すグラフである。It is a graph which shows the relationship between resolution RS and reliability RL. 二値画像データの生成処理の別の例のフローチャートである。7 is a flowchart of another example of a binary image data generation process. 解像度RSと信頼度RLとの関係を示すグラフである。It is a graph which shows the relationship between resolution RS and reliability RL. 二値画像データの生成処理の別の例のフローチャートである。7 is a flowchart of another example of a binary image data generation process. 解像度RSと信頼度RLとの関係を示すグラフである。It is a graph which shows the relationship between resolution RS and reliability RL. 許容変化量と注目解像度との関係を示すグラフである。7 is a graph showing a relationship between an allowable change amount and a resolution of interest. 二値画像データの生成処理の別の実施例のフローチャートの一部である。9 is a part of a flowchart of another embodiment of a process of generating binary image data.

A.第1実施例:
図1は、実施例のデータ処理装置を示す説明図である。データ処理装置200は、例えば、パーソナルコンピュータである。データ処理装置200は、プロセッサ210と、揮発性記憶装置220と、不揮発性記憶装置230と、画像を表示する表示部240と、ユーザによる操作を受け入れる操作部250と、通信インタフェース270と、を有している。これらの要素は、バスを介して互いに接続されている。
A. First embodiment:
FIG. 1 is an explanatory diagram illustrating a data processing device according to an embodiment. The data processing device 200 is, for example, a personal computer. The data processing device 200 includes a processor 210, a volatile storage device 220, a non-volatile storage device 230, a display unit 240 that displays an image, an operation unit 250 that receives a user operation, and a communication interface 270. is doing. These elements are connected to each other via a bus.

プロセッサ210は、データ処理を行う装置であり、例えば、CPUである。揮発性記憶装置220は、例えば、DRAMであり、不揮発性記憶装置230は、例えば、フラッシュメモリである。 The processor 210 is a device that performs data processing, and is, for example, a CPU. The volatile storage device 220 is, for example, a DRAM, and the non-volatile storage device 230 is, for example, a flash memory.

不揮発性記憶装置230は、プログラム232と履歴情報234とを格納している。プロセッサ210は、プログラム232を実行することによって、種々の機能を実現する(詳細は、後述)。プロセッサ210は、プログラム232の実行に利用される種々の中間データを、記憶装置(例えば、揮発性記憶装置220、不揮発性記憶装置230のいずれか)に、一時的に格納する。本実施例では、プログラム232は、ユーザによって、不揮発性記憶装置230に格納されている。履歴情報234の詳細については、後述する。 The non-volatile storage device 230 stores a program 232 and history information 234. The processor 210 implements various functions by executing the program 232 (details will be described later). The processor 210 temporarily stores various intermediate data used for executing the program 232 in a storage device (for example, either the volatile storage device 220 or the non-volatile storage device 230). In this embodiment, the program 232 is stored in the non-volatile storage device 230 by the user. Details of the history information 234 will be described later.

表示部240は、画像を表示する装置であり、例えば、液晶ディスプレイである。操作部250は、ユーザによる操作を受け取る装置であり、例えば、表示部240上に重ねて配置されたタッチパネルである。ユーザは、操作部250を操作することによって、種々の指示をデータ処理装置200に入力可能である。 The display unit 240 is a device that displays an image, and is, for example, a liquid crystal display. The operation unit 250 is a device that receives an operation by the user, and is, for example, a touch panel that is arranged on the display unit 240 in an overlapping manner. The user can input various instructions to the data processing device 200 by operating the operation unit 250.

通信インタフェース270は、他の装置と通信するためのインタフェースである(例えば、USBインタフェース、有線LANインタフェース、IEEE802.11の無線インタフェース)。 The communication interface 270 is an interface for communicating with another device (for example, a USB interface, a wired LAN interface, an IEEE802.11 wireless interface).

通信インタフェース270には、複合機300が接続されている。複合機300は、通信インタフェース370と、スキャナ部380と、印刷実行部390と、これらの要素を制御する制御部310と、を有している。 The multifunction peripheral 300 is connected to the communication interface 270. The multi-function device 300 includes a communication interface 370, a scanner unit 380, a print execution unit 390, and a control unit 310 that controls these elements.

通信インタフェース370は、他の装置と通信するためのインタフェースである。ここでは、複合機300の通信インタフェース370は、データ処理装置200の通信インタフェース270と通信可能である。スキャナ部380は、CCDやCMOSなどの光電変換素子を用いて光学的に文書等の対象物を読み取ることによって、読み取った画像(「スキャン画像」と呼ぶ)を表すスキャンデータを生成する。スキャンデータは、例えば、カラーのスキャン画像を表すRGBのビットマップデータである。RGBの各色成分の色値は、ゼロからM−1までのM階調(Mは3以上の整数。例えば、M=256)で表されている。以下、M階調(M≧3)の画像データを、多値データとも呼ぶ。印刷実行部390は、所定の方式(例えば、レーザ方式や、インクジェット方式)で、用紙(印刷媒体の一例)上に画像を印刷する装置である。制御部310は、例えば、プロセッサと記憶装置とを有するコンピュータである。制御部310の記憶装置には、複合機300の製造者によって、ファームウェアとしてのプログラムが格納されている。制御部310のプロセッサは、このファームウェアに従って、要素370、380、390を制御する。 The communication interface 370 is an interface for communicating with another device. Here, the communication interface 370 of the multifunction peripheral 300 can communicate with the communication interface 270 of the data processing device 200. The scanner unit 380 optically scans an object such as a document using a photoelectric conversion element such as a CCD or a CMOS to generate scan data representing a read image (referred to as a “scan image”). The scan data is, for example, RGB bitmap data representing a color scan image. The color value of each color component of RGB is represented by M gradations from 0 to M−1 (M is an integer of 3 or more. For example, M=256). Hereinafter, image data of M gradations (M≧3) is also referred to as multi-valued data. The print execution unit 390 is a device that prints an image on a sheet (an example of a print medium) by a predetermined method (for example, a laser method or an inkjet method). The control unit 310 is, for example, a computer including a processor and a storage device. A program as firmware is stored in the storage device of the control unit 310 by the manufacturer of the multi-function peripheral 300. The processor of the controller 310 controls the elements 370, 380, 390 according to this firmware.

データ処理装置200(具体的には、プロセッサ210)は、ユーザの指示に従って、複合機300と通信することによって、複合機300の印刷実行部390に画像を印刷させることができ、また、複合機300のスキャナ部380にスキャンデータを生成させることができる。本実施例では、データ処理装置200は、スキャンデータを用いて、対象物を表す文書データを生成する。文書データの形式としては、任意の形式を採用可能である。以下、PDF(Portable Document Format)形式の文書データが生成されることとする。また、本実施例では、データ処理装置200は、スキャンデータを圧縮することによって、データサイズが低減されたPDFデータを生成する(「高圧縮PDFデータ」とも呼ぶ)。 The data processing device 200 (specifically, the processor 210) can cause the print execution unit 390 of the multifunction peripheral 300 to print an image by communicating with the multifunction peripheral 300 according to a user's instruction. The scanner unit 380 of 300 can generate scan data. In the present embodiment, the data processing device 200 uses the scan data to generate the document data representing the object. Any format can be adopted as the format of the document data. Hereinafter, it is assumed that PDF (Portable Document Format) format document data is generated. In addition, in the present embodiment, the data processing device 200 generates PDF data with a reduced data size by compressing scan data (also referred to as “highly compressed PDF data”).

図2は、高圧縮PDFデータを出力する出力処理の例を示す概略図である。本実施例では、スキャンデータi1によって表される画像は、文字を表す文字画像である(「元文字画像」または「元画像」とも呼ぶ)。また、図2の例では、スキャンデータi1の解像度は、300dpi(dots per inch)である。図中には、スキャンデータi1を用いて生成され得る3種類の高圧縮PDFデータPDa、PDb、PDcが示されている。 FIG. 2 is a schematic diagram showing an example of output processing for outputting highly compressed PDF data. In this embodiment, the image represented by the scan data i1 is a character image representing a character (also referred to as “original character image” or “original image”). Further, in the example of FIG. 2, the resolution of the scan data i1 is 300 dpi (dots per inch). In the figure, three types of highly compressed PDF data PDa, PDb, PDc that can be generated using the scan data i1 are shown.

第1種PDFデータPDaは、以下のように生成される。プロセッサ210は、スキャンデータi1を高解像度化して高解像度データi2aを生成し、生成された高解像度データi2aを二値化して高解像度二値データi3aを生成する。図2の例では、高解像度データi2aと高解像度二値データi3aとのそれぞれの解像度は、600dpiである。 The first type PDF data PDa is generated as follows. The processor 210 increases the resolution of the scan data i1 to generate high resolution data i2a, and binarizes the generated high resolution data i2a to generate high resolution binary data i3a. In the example of FIG. 2, the resolution of each of the high resolution data i2a and the high resolution binary data i3a is 600 dpi.

解像度を変換する処理としては、公知の処理を採用可能である。例えば、解像度を変換した後の各画素位置の各色成分の色値は、補間によって算出される。また、二値化処理では、色成分の総数が1であり、階調数が2である画像データが生成される。二値化処理としては、公知の処理を採用可能である。例えば、複数の色成分のそれぞれの色値から輝度値が算出され、輝度値を所定の閾値で弁別することによって、二値化された色値が決定される。 A known process can be adopted as the process of converting the resolution. For example, the color value of each color component at each pixel position after resolution conversion is calculated by interpolation. Further, in the binarization process, image data in which the total number of color components is 1 and the number of gradations is 2 is generated. A well-known process can be adopted as the binarization process. For example, the brightness value is calculated from the color value of each of the plurality of color components, and the binarized color value is determined by discriminating the brightness value with a predetermined threshold value.

第1種PDFデータPDaは、高解像度二値データi3aと、縮小コマンドとを、含んでいる。縮小コマンドは、高解像度二値データi3aを用いて画像を出力(例えば、表示、または、印刷)する場合に、出力される画像のサイズを縮小する描画コマンドである。図中の出力画像i4aは、第1種PDFデータPDaを用いて画像を出力する場合に、出力される画像を表している。縮小コマンドは、出力画像i4aのサイズが、スキャンデータi1によって表される元画像をそのまま出力した場合のサイズ(「元サイズ」と呼ぶ)と同じになるように、構成されている。図2の例では、縮小コマンドは、例えば、サイズ(長さ)を半分に縮小するコマンドである。なお、二値データの背景色は白に設定され、文字の色は黒に設定される。ただし、プロセッサ210は、スキャンデータi1を解析して背景の色と文字の色とを特定し、二値データの背景と文字とが、特定されたそれぞれの色を表すように、第1種PDFデータPDaを構成してもよい。他のPDFデータPDb、PDcについても、同様である。 The first type PDF data PDa includes high-resolution binary data i3a and a reduction command. The reduction command is a drawing command for reducing the size of the output image when the image is output (for example, displayed or printed) using the high resolution binary data i3a. An output image i4a in the figure represents an image that is output when the image is output using the first type PDF data PDa. The reduction command is configured such that the size of the output image i4a is the same as the size (referred to as “original size”) when the original image represented by the scan data i1 is output as it is. In the example of FIG. 2, the reduction command is, for example, a command that reduces the size (length) in half. The background color of the binary data is set to white and the character color is set to black. However, the processor 210 analyzes the scan data i1 to specify the background color and the character color, and the background and the character of the binary data represent the specified colors so that the first type PDF is displayed. The data PDa may be configured. The same applies to the other PDF data PDb and PDc.

第3種PDFデータPDcは、以下のように生成される。プロセッサ210は、スキャンデータi1を低解像度化して低解像度データi2cを生成し、生成された低解像度データi2cを二値化して低解像度二値データi3cを生成する。図2の例では、低解像度データi2cと低解像度二値データi3cとのそれぞれの解像度は、150dpiである。第3種PDFデータPDcは、低解像度二値データi3cと、拡大コマンドとを、含んでいる。拡大コマンドは、低解像度二値データi3cを用いて画像を出力する場合に、出力される画像のサイズを拡大する描画コマンドである。図中の出力画像i4cは、第3種PDFデータPDcを用いて画像を出力する場合に、出力される画像を表している。拡大コマンドは、出力画像i4cのサイズが元サイズと同じになるように、構成されている。図2の例では、拡大コマンドは、例えば、サイズ(長さ)を2倍に拡大するコマンドである。 The third type PDF data PDc is generated as follows. The processor 210 reduces the resolution of the scan data i1 to generate low resolution data i2c, and binarizes the generated low resolution data i2c to generate low resolution binary data i3c. In the example of FIG. 2, the resolution of each of the low resolution data i2c and the low resolution binary data i3c is 150 dpi. The third type PDF data PDc includes low-resolution binary data i3c and an enlargement command. The enlargement command is a drawing command for enlarging the size of the output image when the image is output using the low-resolution binary data i3c. An output image i4c in the drawing represents an image that is output when the image is output using the third type PDF data PDc. The enlargement command is configured such that the size of the output image i4c is the same as the original size. In the example of FIG. 2, the enlargement command is, for example, a command that doubles the size (length).

第2種PDFデータPDbは、以下のように生成される。プロセッサ210は、スキャンデータi1の解像度を変えずに二値化して標準二値データi3bを生成する。第2種PDFデータPDbは、標準二値データi3bを含んでいる。第2種PDFデータPDbは、縮小コマンドと拡大コマンドとを含んでいない。図中の出力画像i4bは、第2種PDFデータPDbを用いて画像を出力する場合に、出力される画像を表している。標準二値データi3bの解像度は、スキャンデータi1の解像度と同じであるので、出力画像i4bのサイズは、元サイズと同じである。 The second type PDF data PDb is generated as follows. The processor 210 binarizes the scan data i1 without changing the resolution to generate standard binary data i3b. The second type PDF data PDb includes standard binary data i3b. The second type PDF data PDb does not include the reduction command and the enlargement command. An output image i4b in the figure represents an image that is output when the image is output using the second type PDF data PDb. Since the resolution of the standard binary data i3b is the same as the resolution of the scan data i1, the size of the output image i4b is the same as the original size.

3種類のPDFデータPDa、PDb、PDcのいずれも、元画像と同様の文字画像を、元サイズと同じサイズで、出力できる。また、3種類のPDFデータPDa、PDb、PDcのいずれにおいても、画像は、二値データi3a、i3b、i3cを用いて表されている。従って、3色成分(RGB)のM階調のスキャンデータi1を用いる場合と比べて、大幅にデータサイズを低減できる。なお、二値データの解像度が低い場合には、二値データによって表される文字がつぶれやすいものの、データサイズが小さい。一方、二値データの解像度が高い場合には、データサイズが大きいものの、文字がつぶれにくい。このように、高解像度の二値データを用いる出力処理と、低解像度の二値データを用いる出力処理とは、それぞれ、利点を有している。データ処理装置200には、高解像度の二値データを用いる出力処理と、低解像度の二値データを用いる出力処理との、少なくとも一方が実装されていることが好ましい。なお、いずれの出力処理においても、適切に文字を表現できる二値データの解像度は、スキャンデータに応じて異なり得る。本実施例では、データ処理装置200は、スキャンデータに応じて解像度を調整する。 For all three types of PDF data PDa, PDb, PDc, a character image similar to the original image can be output in the same size as the original size. Further, in any of the three types of PDF data PDa, PDb, PDc, an image is represented using binary data i3a, i3b, i3c. Therefore, the data size can be significantly reduced as compared with the case where the scan data i1 of M gradations of the three color components (RGB) is used. When the resolution of the binary data is low, the character represented by the binary data is easily crushed, but the data size is small. On the other hand, when the resolution of the binary data is high, the data size is large, but the characters are hard to be crushed. As described above, the output process using the high resolution binary data and the output process using the low resolution binary data respectively have advantages. It is preferable that the data processing device 200 be equipped with at least one of an output process using high-resolution binary data and an output process using low-resolution binary data. In any output process, the resolution of binary data that can appropriately represent a character may differ depending on the scan data. In this embodiment, the data processing device 200 adjusts the resolution according to the scan data.

図3は、データ出力処理の例を示すフローチャートである。このデータ出力処理は、ユーザがデータ処理装置200の操作部250(図1)にスキャンの指示を入力した場合に、開始される。S100では、プロセッサ210は、スキャンデータを取得する。具体的には、プロセッサ210は、複合機300に、スキャンの指示を送信する。複合機300の制御部310は、指示に応じて、スキャナ部380を駆動することによって、スキャンデータを生成する。制御部310は、生成したスキャンデータを、データ処理装置200に送信する。データ処理装置200のプロセッサ210は、複合機300からのスキャンデータを取得する。以下、スキャナ部380に読み取られた対象物が、文字を表す文書であることとする。文書がN頁(Nは1以上の整数)の用紙を含む場合、スキャンデータは、N頁の文字画像を表している。 FIG. 3 is a flowchart showing an example of the data output process. The data output process is started when the user inputs a scan instruction to the operation unit 250 (FIG. 1) of the data processing device 200. In S100, the processor 210 acquires scan data. Specifically, the processor 210 transmits a scan instruction to the multi-function peripheral 300. The control unit 310 of the multi-function peripheral 300 drives the scanner unit 380 in response to the instruction to generate scan data. The control unit 310 transmits the generated scan data to the data processing device 200. The processor 210 of the data processing device 200 acquires the scan data from the multifunction peripheral 300. Hereinafter, it is assumed that the object read by the scanner unit 380 is a document representing a character. When the document includes N pages (N is an integer of 1 or more) of paper, the scan data represents N pages of character images.

S105では、プロセッサ210は、スキャンデータから、未処理の1つの頁の文字画像を表す部分を取得する(ページデータとも呼ぶ)。S110では、プロセッサ210は、ページデータを用いて二値画像データを生成する。二値画像データの生成の詳細については、後述する。 In S105, the processor 210 acquires a portion representing a character image of one unprocessed page from the scan data (also referred to as page data). In S110, the processor 210 uses the page data to generate binary image data. Details of generation of the binary image data will be described later.

S115では、プロセッサ210は、全ての頁の処理が完了したか否かを判断する。未処理の頁が残っている場合(S115:No)、プロセッサ210は、S105に移行して、未処理の頁の処理を実行する。なお、図中のS117は、後述する別の実施例で実行されるステップである。 In S115, the processor 210 determines whether or not the processing of all pages has been completed. When the unprocessed page remains (S115: No), the processor 210 moves to S105 and executes the processing of the unprocessed page. Note that S117 in the figure is a step executed in another embodiment described later.

全ての頁の処理が完了した場合(S115:Yes)、S120で、プロセッサ210は、S110で生成された二値データを用いて高圧縮PDFデータを生成する。高圧縮PDFデータには、二値データの解像度に応じて描画コマンドも付加され得る。具体的には、二値データの解像度がスキャンデータの解像度よりも低い場合、拡大コマンドが付加される。二値データの解像度がスキャンデータの解像度よりも高い場合、縮小コマンドが付加される。高圧縮PDFデータを用いて文字画像を出力(例えば、表示、または、印刷)する場合、二値データは、拡大コマンドや縮小コマンドのような描画コマンドに従って展開される(例えば、解像度が変換される)。また、後述するように、S110では、文字認識の結果を表す文字データも生成される。プロセッサ210は、高圧縮PDFデータに、文字データを埋め込む。ただし、高圧縮PDFデータから文字データが省略されてもよい。 When the processing of all the pages is completed (S115: Yes), the processor 210 generates high compression PDF data using the binary data generated in S110 in S120. A drawing command may be added to the high compression PDF data according to the resolution of the binary data. Specifically, when the resolution of the binary data is lower than the resolution of the scan data, the enlargement command is added. When the resolution of the binary data is higher than the resolution of the scan data, the reduction command is added. When a character image is output (for example, displayed or printed) using highly compressed PDF data, the binary data is expanded according to a drawing command such as an enlargement command or a reduction command (for example, the resolution is converted). ). Further, as will be described later, in S110, character data representing the result of character recognition is also generated. The processor 210 embeds character data in the high compression PDF data. However, the character data may be omitted from the high compression PDF data.

S130では、プロセッサ210は、生成した高圧縮PDFデータを、出力する。そして、図3の処理が終了する。本実施例では、プロセッサ210は、高圧縮PDFデータを、不揮発性記憶装置230に出力する(具体的には、高圧縮PDFデータを不揮発性記憶装置230に格納する)。なお、高圧縮PDFデータの出力先は、不揮発性記憶装置230に代えて、他の任意の記憶装置であってよい。例えば、通信インタフェース270に接続された記憶装置(例えば、ネットワークアタッチトストレージ(Network Attached Storage))を採用してもよい。また、出力は、記憶装置にデータを格納することに代えて、表示装置に画像を表示させることや、印刷装置に画像を印刷させることや、データ処理装置200とは異なる外部装置にデータを送信することであってもよい。 In S130, the processor 210 outputs the generated high compression PDF data. Then, the processing of FIG. 3 ends. In the present embodiment, the processor 210 outputs the highly compressed PDF data to the nonvolatile storage device 230 (specifically, stores the highly compressed PDF data in the nonvolatile storage device 230). The output destination of the highly compressed PDF data may be any other storage device instead of the non-volatile storage device 230. For example, a storage device (for example, a network attached storage) connected to the communication interface 270 may be adopted. In addition, instead of storing the data in the storage device, the output causes the display device to display the image, causes the printing device to print the image, and transmits the data to an external device different from the data processing device 200. It may be done.

一般的には、画像データ(ここでは、高圧縮PDFデータ)の出力先の装置は、データを受け付ける任意の装置であってよい。データを受け付ける装置(受付部とも呼ぶ)としては、例えば、表示装置、印刷装置、データ記憶装置、他の装置と通信するための通信インタフェース、種々の外部装置、のいずれかを採用してもよい。このような受付部は、画像データを出力する出力装置(ここでは、データ処理装置200)に組み込まれていてもよく、代わりに、出力装置とは異なる外部装置であってもよい。また、画像データを受付部に出力することは、受付部の機能に対応付けられた処理を含み得る。受付部の機能に対応付けられた処理は、例えば、表示装置に画像を表示させる処理、印刷装置に画像を印刷させる処理、データ記憶装置に画像データを格納する処理、通信インタフェースに画像データを送信させる処理、などである。 In general, the device to which the image data (here, highly compressed PDF data) is output may be any device that receives the data. As a device that receives data (also referred to as a receiving unit), for example, any one of a display device, a printing device, a data storage device, a communication interface for communicating with other devices, and various external devices may be adopted. .. Such a reception unit may be incorporated in an output device (here, the data processing device 200) that outputs image data, or may be an external device different from the output device instead. Further, outputting the image data to the reception unit may include processing associated with the function of the reception unit. The processing associated with the function of the reception unit is, for example, processing of displaying an image on a display device, processing of printing an image on a printing device, processing of storing image data in a data storage device, transmission of image data to a communication interface. Processing, etc.

図4は、二値画像データの生成処理の例のフローチャートである。図5は、解像度RSと信頼度RLとの関係を示すグラフである。横軸の解像度RSは、二値画像データの解像度を示している。縦軸の信頼度RLは、二値画像データを用いて得られる文字画像の文字認識の信頼度を示している。高い信頼度は、文字が読みやすく、そして、誤認識の可能性が低いことを示している。一般的に、解像度RSが高いほど文字がつぶれにくいので、解像度RSが高いほど、信頼度RLは高い。 FIG. 4 is a flowchart of an example of a binary image data generation process. FIG. 5 is a graph showing the relationship between the resolution RS and the reliability RL. The resolution RS on the horizontal axis indicates the resolution of the binary image data. The reliability RL on the vertical axis indicates the reliability of character recognition of a character image obtained using binary image data. High reliability indicates that the characters are easy to read and there is a low possibility of misrecognition. Generally, the higher the resolution RS, the harder it is for characters to be crushed. Therefore, the higher the resolution RS, the higher the reliability RL.

信頼度RLの特定方法としては、公知の任意の方法を採用可能である。例えば、文字認識処理によって認識された文字を、文字の形状を表すフォントデータを参照して、二値画像データと同じ解像度でレンダリングする。このレンダリングによって得られた第1ビットマップを、二値画像データによって表されるビットマップのうちの対応する文字の部分(第2ビットマップと呼ぶ)に重ね合わせる。これにより、第2ビットマップの文字を表す文字画素の一部が、第1ビットマップの文字を表す文字画素に、重なる(重畳画素と呼ぶ)。ここで、第2ビットマップの文字を表す文字画素の総数に対する重畳画素の総数の割合を、信頼度RLとして用いることができる。文字画像が複数の文字を表す場合には、複数の文字のそれぞれの信頼度を用いて得られる代表値(例えば、平均値、最頻値、最大値、最小値、中央値のいずれか)を、信頼度RLとして用いればよい。 As a method of specifying the reliability RL, any known method can be adopted. For example, the character recognized by the character recognition process is rendered at the same resolution as the binary image data by referring to the font data representing the shape of the character. The first bitmap obtained by this rendering is superimposed on the corresponding character portion (called the second bitmap) of the bitmap represented by the binary image data. As a result, a part of the character pixel representing the character of the second bitmap overlaps the character pixel representing the character of the first bitmap (referred to as a superposition pixel). Here, the ratio of the total number of superimposed pixels to the total number of character pixels representing the characters of the second bitmap can be used as the reliability RL. When the character image represents multiple characters, the representative value (eg, average value, mode value, maximum value, minimum value, or median value) obtained using the reliability of each of the multiple characters is used. , May be used as the reliability RL.

なお、後述するように、本実施例では、図5のグラフの解像度RSは、二値化処理での解像度を示している。そして、二値化された文字画像の解像度が元解像度RS1に変換され、変換後の文字画像に対する文字認識処理によって、信頼度RLが特定される。このように文字認識処理での解像度は、元解像度RS1に固定されている。この場合も、二値化処理での解像度RSが高いほど、二値化処理による文字のつぶれが少なくなるので、信頼度RLは高くなる。 As will be described later, in this embodiment, the resolution RS in the graph of FIG. 5 indicates the resolution in the binarization process. Then, the resolution of the binarized character image is converted to the original resolution RS1, and the reliability RL is specified by the character recognition process on the converted character image. In this way, the resolution in the character recognition processing is fixed to the original resolution RS1. Also in this case, the higher the resolution RS in the binarization process, the less the characters are crushed by the binarization process, and the higher the reliability RL.

図4の処理では、解像度RSが、スキャンデータi1の解像度RS1から、より低い解像度に更新される(以下、スキャンデータi1の解像度RS1を、元解像度RS1とも呼ぶ)。解像度RSをより低い解像度に更新する処理は、信頼度RLが所定の基準信頼度Th未満となるまで繰り返される。図5の例では、解像度RSは、RS1、RSi1、RSi2、RSi3の順に更新されている。信頼度RLa、RLb1、RLb2、RLb3は、それぞれ、解像度RS1、RSi1、RSi2、RSi3に対応している。最後の解像度RSi3に対応する信頼度RLb3は、基準信頼度Th未満である。そして、信頼度RLが基準信頼度Th以上である解像度のうちの最も低い解像度が、最終的な解像度として選択される(図5の例では、解像度RSi2)。 In the process of FIG. 4, the resolution RS is updated from the resolution RS1 of the scan data i1 to a lower resolution (hereinafter, the resolution RS1 of the scan data i1 is also referred to as the original resolution RS1). The process of updating the resolution RS to a lower resolution is repeated until the reliability RL becomes less than the predetermined reference reliability Th. In the example of FIG. 5, the resolution RS is updated in the order of RS1, RSi1, RSi2, RSi3. The reliability levels RLa, RLb1, RLb2, and RLb3 correspond to the resolutions RS1, RSi1, RSi2, and RSi3, respectively. The reliability RLb3 corresponding to the final resolution RSi3 is less than the reference reliability Th. Then, the lowest resolution among the resolutions whose reliability RL is equal to or higher than the reference reliability Th is selected as the final resolution (resolution RSi2 in the example of FIG. 5).

以下、図4の詳細について説明する。図4のS200では、プロセッサ210は、スキャンデータi1を二値化して二値データiaを生成する。二値データiaの解像度は、スキャンデータi1の解像度RS1と同じである。 The details of FIG. 4 will be described below. In S200 of FIG. 4, the processor 210 binarizes the scan data i1 to generate binary data ia. The resolution of the binary data ia is the same as the resolution RS1 of the scan data i1.

S210では、プロセッサ210は、二値データiaの文字認識処理を実行して、認識された文字を表す文字データTaと、認識された文字の特徴を表す特徴情報Caと、を取得する。文字データTaは、例えば、文字を表す文字コードデータ(例えば、ユニコード(Unicode)のデータ)と、文字の位置を表す位置データと、を含んでいる。特徴情報Caは、例えば、言語と、文字のサイズと、文字のフォントとを表している。文字認識処理としては、公知の種々の処理を採用可能である。光学文字認識(Optical character recognition)と呼ばれる処理を採用してもよい。 In S210, the processor 210 executes character recognition processing of the binary data ia, and acquires the character data Ta representing the recognized character and the characteristic information Ca representing the characteristic of the recognized character. The character data Ta includes, for example, character code data representing a character (for example, Unicode data) and position data representing the position of the character. The characteristic information Ca represents, for example, a language, a character size, and a character font. Various known processes can be adopted as the character recognition process. A process called optical character recognition may be adopted.

S220では、プロセッサ210は、特徴情報Caが、学習済の特徴と類似するか否かを判断する。後述するように、履歴情報234(図1)は、二値画像データの生成に実際に用いられた特徴情報と解像度との対応関係を表している。プロセッサ210は、履歴情報234を参照して、特徴情報Caと所定の類似関係にある特徴情報を検索する。類似関係としては、2個の特徴情報が類似していることを示す任意の関係を採用可能である。例えば、言語と文字のサイズと文字のフォントとの3個の属性がそれぞれ類似或いは一致していることを採用してもよい。また、言語と文字のサイズと文字のフォントとの3個の属性のうちの少なくとも2つの属性が類似或いは一致していることを採用してもよい。一般的には、P個(Pは1以上の整数)の属性のうちQ個(Qは1以上P以下)の属性が類似或いは一致していることを類似関係として採用してよい。ここで、属性が類似しているとは、2個の特徴情報の間の属性の差が許容範囲内であることを意味している。例えば、2個のフォントが一致していない場合であっても、2個のフォントのそれぞれが、共通のデザインの一種(例えば、サンセリフの一種)である場合には、2個のフォントが類似していると判断してよい。また、2個の文字サイズの間の差が所定範囲内(例えば、2ポイント以下)であれば、文字サイズが類似していると判断してもよい。なお、許容範囲は、属性毎に決定される。また、許容範囲は、予め決められていてもよく、ユーザによって決定されてもよい。 In S220, the processor 210 determines whether the characteristic information Ca is similar to the learned characteristic. As will be described later, the history information 234 (FIG. 1) represents the correspondence between the feature information actually used for generating the binary image data and the resolution. The processor 210 refers to the history information 234 and searches for characteristic information having a predetermined similar relationship with the characteristic information Ca. As the similarity relationship, an arbitrary relationship indicating that the two pieces of feature information are similar can be adopted. For example, it may be adopted that the three attributes of language, character size, and character font are similar or identical. Further, it may be adopted that at least two attributes out of the three attributes of language, character size, and character font are similar or identical. In general, the fact that Q attributes (P is an integer of 1 or more) and Q attributes (Q is 1 or more and P or less) are similar or identical may be adopted as the similarity relationship. Here, the attributes being similar to each other means that the attribute difference between the two pieces of feature information is within the allowable range. For example, even if two fonts do not match, if each of the two fonts has a common design type (for example, a sans-serif type), the two fonts are similar. You can judge that If the difference between the two character sizes is within a predetermined range (for example, 2 points or less), it may be determined that the character sizes are similar. The allowable range is determined for each attribute. Further, the allowable range may be determined in advance or may be determined by the user.

履歴情報234の中から、特徴情報Caと類似関係にある類似特徴情報が検出された場合(S220:Yes)、S230で、プロセッサ210は、注目解像度RSiを、履歴情報234によって類似特徴情報に対応付けられた学習済解像度RSpに設定する。また、プロセッサ210は、候補解像度RSsを、スキャンデータi1の解像度RS1に設定する。そして、プロセッサ210は、S250に移行する。 When similar feature information having a similar relationship to the feature information Ca is detected from the history information 234 (S220: Yes), the processor 210 corresponds the attention resolution RSi to the similar feature information by the history information 234 in S230. It is set to the attached learned resolution RSp. Further, the processor 210 sets the candidate resolution RSs to the resolution RS1 of the scan data i1. Then, the processor 210 moves to S250.

履歴情報234の中から類似特徴情報が検出されなかった場合(S220:No)、S240で、プロセッサ210は、注目解像度RSiを、スキャンデータi1の解像度RS1から所定の変化量dLを引いた解像度に設定する。また、プロセッサ210は、候補解像度RSsを、スキャンデータi1の解像度RS1に設定する。そして、プロセッサ210は、S250に移行する。 If similar feature information is not detected from the history information 234 (S220: No), the processor 210 sets the resolution of interest RSi to the resolution obtained by subtracting a predetermined change amount dL from the resolution RS1 of the scan data i1 in S240. Set. Further, the processor 210 sets the candidate resolution RSs to the resolution RS1 of the scan data i1. Then, the processor 210 moves to S250.

S250では、プロセッサ210は、候補データicを、解像度RS1の二値データiaに設定する。S260では、プロセッサ210は、スキャンデータi1の解像度変換を行って、注目解像度RSiの多値データib1を生成する。S270では、プロセッサ210は、多値データib1を二値化することによって、注目二値データib2を生成する。S280では、プロセッサ210は、注目二値データib2を拡大することによって、元解像度RS1の二値データib3を生成する。拡大処理としては、解像度を高くする解像度変換処理が実行される。S290では、プロセッサ210は、二値データib3の文字認識処理を実行して、信頼度RLbを特定する。図5の解像度RSi1と信頼度RLb1とは、注目解像度RSiと信頼度RLbとの例である。 In S250, the processor 210 sets the candidate data ic to the binary data ia of the resolution RS1. In S260, the processor 210 performs resolution conversion of the scan data i1 and generates multi-valued data ib1 of the target resolution RSi. In S270, the processor 210 binarizes the multi-valued data ib1 to generate the target binary data ib2. In S280, the processor 210 generates the binary data ib3 of the original resolution RS1 by enlarging the binary data of interest ib2. As the enlargement processing, resolution conversion processing for increasing the resolution is executed. In S290, the processor 210 executes the character recognition process of the binary data ib3 to specify the reliability RLb. The resolution RSi1 and the reliability RLb1 in FIG. 5 are examples of the resolution RSi of interest and the reliability RLb.

S300では、プロセッサ210は、信頼度RLbが基準信頼度Th以上であるか否かを判断する。以下、「信頼度RLbが基準信頼度Th以上である」という条件を、第1信頼度条件とも呼ぶ。RLb≧Thである場合(S300:Yes)、S310で、プロセッサ210は、注目解像度RSiを、より低い解像度に更新する。具体的には、更新後の注目解像度RSiは、更新前の注目解像度RSiから変化量dLを引いた解像度である。また、プロセッサ210は、候補データicを、注目二値データib2に設定し、候補解像度RSsを、更新前の注目解像度RSiに設定する。そして、プロセッサ210は、S260に移行して、更新された注目解像度RSiの処理を実行する。 In S300, the processor 210 determines whether the reliability RLb is equal to or higher than the reference reliability Th. Hereinafter, the condition that the reliability RLb is equal to or higher than the reference reliability Th is also referred to as a first reliability condition. When RLb≧Th (S300: Yes), the processor 210 updates the resolution of interest RSi to a lower resolution in S310. Specifically, the updated resolution of interest RSi is the resolution obtained by subtracting the change amount dL from the updated resolution of interest RSi. Further, the processor 210 sets the candidate data ic to the binary value data ib2 of interest and sets the candidate resolution RSs to the resolution of interest RSi before updating. Then, the processor 210 moves to S260 and executes the processing of the remarked resolution RSi.

信頼度RLbが基準信頼度Th未満である場合(S300:NO)、プロセッサ210は、注目解像度RSiの更新の繰り返しをやめて、S320に移行する。この段階で、候補解像度RSsは、1つ前の注目解像度RSiに設定されており、候補データicは、1つ前の注目二値データib2に設定されている。この候補解像度RSsは、第1信頼度条件を満たす注目解像度RSiのうちの最も低い解像度である。 When the reliability RLb is less than the reference reliability Th (S300: NO), the processor 210 stops repeating the update of the resolution of interest RSi and moves to S320. At this stage, the candidate resolution RSs is set to the previous resolution of interest RSi, and the candidate data ic is set to the previous binary data of interest ib2. This candidate resolution RSs is the lowest resolution among the resolutions of interest RSi that satisfy the first reliability condition.

図5の例では、注目解像度RSiがRSi3である段階で、信頼度RLb3が基準信頼度Th未満であり、注目解像度RSiの更新が止まる。そして、候補解像度RSsは、1つ前の解像度RSi2に設定されており、候補データicは、候補解像度RSs(ここでは、解像度RSi2)に対応する注目二値データib2に設定されている。 In the example of FIG. 5, when the resolution of interest RSi is RSi3, the reliability RLb3 is less than the reference reliability Th, and the update of the resolution of interest RSi stops. The candidate resolution RSs is set to the immediately preceding resolution RSi2, and the candidate data ic is set to the target binary data ib2 corresponding to the candidate resolution RSs (here, the resolution RSi2).

図4のS320では、プロセッサ210は、特徴情報Caと候補解像度RSsとの対応関係を表すデータを、履歴情報234の一部として、不揮発性記憶装置230に格納する。S330では、プロセッサ210は、候補データicを、最終的に生成される二値データとして、記憶装置(例えば、揮発性記憶装置220または不揮発性記憶装置230)に出力する。また、プロセッサ210は、文字データTa(S210)を、文字認識結果を表す情報として、出力する。そして、図4の処理が終了する。なお、プロセッサ210は、S300の判断結果がNoである場合に(例えば、S330で)、改めて候補解像度RSsの画像データを生成し、生成した画像データを出力してもよい。 In S320 of FIG. 4, the processor 210 stores data representing the correspondence between the characteristic information Ca and the candidate resolutions RSs in the non-volatile storage device 230 as a part of the history information 234. In S330, the processor 210 outputs the candidate data ic to the storage device (for example, the volatile storage device 220 or the non-volatile storage device 230) as the finally generated binary data. Further, the processor 210 outputs the character data Ta (S210) as information indicating the character recognition result. Then, the process of FIG. 4 ends. If the determination result in S300 is No (for example, in S330), the processor 210 may generate image data of the candidate resolution RSs again and output the generated image data.

以上のように、本実施例は、以下に説明する構成、そして、利点を有している。
(1−1)信頼度RLbが基準信頼度Th以上であるという第1信頼度条件を満たす注目解像度RSiの注目二値データib2を用いて高圧縮PDFデータが出力される。そして、注目解像度RSiが第1信頼度条件を満たさない場合には、その注目解像度RSiの注目二値データib2を用いる高圧縮PDFデータは出力されない。従って、高圧縮PDFデータのデータサイズを小さくしつつ、解像度が低すぎて文字が読めなくなることを抑制できる。
As described above, the present embodiment has the configuration and advantages described below.
(1-1) Highly compressed PDF data is output using the target binary data ib2 of the target resolution RSi that satisfies the first reliability condition that the reliability RLb is equal to or higher than the reference reliability Th. Then, when the resolution of interest RSi does not satisfy the first reliability condition, the high compression PDF data using the binary data of interest ib2 of the resolution of interest RSi is not output. Therefore, it is possible to reduce the data size of the high compression PDF data and to prevent the characters from being unreadable due to too low resolution.

(1−2)プロセッサ210は、注目解像度RSiをより低い解像度に更新し(S310)、更新済の注目解像度RSiでの二値化によって注目二値データib2を生成し(S260、S270)、注目二値データib2を用いて信頼度RLbを取得する(S280、S290)ことを、更新済の注目解像度RSiに対応する信頼度RLbが第1信頼度条件を満たさなくなるまで繰り返す。そして、プロセッサ210は、第1信頼度条件を満たす注目解像度RSiのうちの最も低い解像度に対応する注目二値データib2を用いて、高圧縮PDFデータを出力する。従って、高圧縮PDFデータのデータサイズを適切に小さくできる。 (1-2) The processor 210 updates the resolution of interest RSi to a lower resolution (S310), and binarizes the updated resolution of interest RSi to generate binary data of interest ib2 (S260, S270). Obtaining the reliability RLb using the binary data ib2 (S280, S290) is repeated until the reliability RLb corresponding to the updated target resolution RSi does not satisfy the first reliability condition. Then, the processor 210 outputs the high compression PDF data by using the binary data of interest ib2 corresponding to the lowest resolution of the resolutions of interest RSi satisfying the first reliability condition. Therefore, the data size of the high compression PDF data can be appropriately reduced.

(1−3)図4のS280、S290に示すように、プロセッサ210は、注目二値データib2の解像度を元解像度RS1に変換して得られる二値データib3に文字認識処理を実行することによって、注目解像度RSiに対応する信頼度RLbを取得している。この場合も、二値化を行う際の解像度が高いほど、二値化による文字のつぶれが少なくなるので、信頼度RLbは高くなる。また、図3のS120で説明したように、高圧縮PDFデータを用いて文字画像を表示または印刷する場合、高圧縮PDFデータに含まれる二値データは、描画コマンドに従って展開される。ここで、画像データを展開するとは、表示または印刷のために、表示または印刷に用いられる複数の画素のそれぞれの色値を表すデータを、画像データを用いて決定(例えば、算出、特定)することを意味している。画像データの展開によって、例えば、複数の画素のそれぞれの色値を表すデータが、メモリ上に配置される。この展開後のデータによって表される文字画像のサイズは、元解像度RS1のスキャンデータi1によって表される元画像のサイズと同じである。ここで、同じ対象物を表す2枚の画像のそれぞれの解像度が同じである場合には、2枚の画像のサイズが同じである。このように、文字認識処理の対象の文字画像は、注目二値データib2を用いて得られる文字画像であって、高圧縮PDFデータの展開時の文字画像のサイズと同じサイズの文字画像である。従って、高圧縮PDFデータの展開時の文字画像のサイズに適した信頼度RLbを用いることができる。この結果、高圧縮PDFデータを用いて表される文字が読みにくくなることを抑制できる。 (1-3) As shown in S280 and S290 of FIG. 4, the processor 210 performs character recognition processing on the binary data ib3 obtained by converting the resolution of the binary data of interest ib2 into the original resolution RS1. , The reliability RLb corresponding to the target resolution RSi is acquired. In this case as well, the higher the resolution when performing binarization, the less the characters are crushed due to binarization, and the higher the reliability RLb. Further, as described in S120 of FIG. 3, when a character image is displayed or printed using the high compression PDF data, the binary data included in the high compression PDF data is expanded according to the drawing command. Here, to develop image data means to determine (for example, calculate, specify) data representing the color value of each of a plurality of pixels used for display or printing for display or printing using the image data. It means that. By developing the image data, for example, data representing the color values of each of the plurality of pixels is arranged in the memory. The size of the character image represented by the expanded data is the same as the size of the original image represented by the scan data i1 having the original resolution RS1. Here, when two images representing the same object have the same resolution, the two images have the same size. As described above, the character image to be subjected to the character recognition process is a character image obtained by using the binary data ib2 of interest, and is a character image having the same size as the character image when the high compression PDF data is expanded. .. Therefore, it is possible to use the reliability RLb suitable for the size of the character image when the highly compressed PDF data is expanded. As a result, it is possible to prevent the characters represented by using the high compression PDF data from becoming difficult to read.

(1−4)高圧縮PDFデータの展開時の文字画像のサイズは、スキャンデータi1を用いて文字画像を表示または印刷する場合の文字画像のサイズと同じである。従って、高圧縮PDFデータは、スキャンデータi1と同じサイズの文字画像を表現できる。ここで、高圧縮PDFデータは、二値データによって表される文字画像を拡大するコマンドを含んでいる。従って、高圧縮PDFデータは、適切なサイズの文字画像を表現できる。 (1-4) The size of the character image at the time of expanding the high compression PDF data is the same as the size of the character image when displaying or printing the character image using the scan data i1. Therefore, the high compression PDF data can represent a character image having the same size as the scan data i1. Here, the high compression PDF data includes a command for enlarging the character image represented by the binary data. Therefore, the high compression PDF data can represent a character image of an appropriate size.

(1−5)S290で説明したように、信頼度RLbの取得のための文字認識処理の対象の文字画像(画像データib3)の階調数は、高圧縮PDFデータによって表される文字画像の階調数(ここでは、二値)と同じである。従って、高圧縮PDFデータによって表される文字画像の階調数に適した信頼度RLbを用いることができる。 (1-5) As described in S290, the gradation number of the character image (image data ib3) that is the target of the character recognition process for acquiring the reliability RLb is the same as that of the character image represented by the high compression PDF data. It is the same as the number of gradations (here, binary). Therefore, the reliability RLb suitable for the number of gradations of the character image represented by the high compression PDF data can be used.

(1−6)スキャンデータi1によって表される文字画像の階調数は、M(M≧3)であり、高圧縮PDFデータによって表される文字画像の階調数は、2である。このように、高圧縮PDFデータの階調数がスキャンデータi1の階調数よりも少ないので、高圧縮PDFデータのデータサイズを適切に小さくできる。 (1-6) The gradation number of the character image represented by the scan data i1 is M (M≧3), and the gradation number of the character image represented by the high compression PDF data is 2. In this way, since the number of gray levels of the high compression PDF data is smaller than the number of gray levels of the scan data i1, the data size of the high compression PDF data can be appropriately reduced.

(1−7)図4のS320で説明したように、プロセッサ210は、第1信頼度条件を満たす解像度と特徴情報Caとの対応関係を表す履歴情報234を、不揮発性記憶装置230に格納する。そして、S220、S230で説明したように、プロセッサ210は、特徴情報Caと所定の類似関係にある類似特徴情報に対応付けられた履歴情報である類似履歴情報が不揮発性記憶装置230に格納されている場合に、注目解像度RSiの初期値を、類似履歴情報に対応付けられた解像度に決定する。従って、プロセッサ210は、文字の特徴に適した解像度を用いることができる。なお、注目解像度RSiの初期値は、注目解像度RSiの更新を継続するか否かの判断(例えば、図4のS300の信頼度条件に基づく判断)の対象となる最初の注目解像度RSiであり、例えば、元解像度RS1とは異なる解像度に注目解像度RSiを設定する場合の最初の解像度である。なお、元解像度RS1も、高圧縮PDFデータの出力に用いられ得るので、元解像度RS1も、注目解像度の1つである。 (1-7) As described in S320 of FIG. 4, the processor 210 stores the history information 234 indicating the correspondence relationship between the resolution satisfying the first reliability condition and the characteristic information Ca in the nonvolatile storage device 230. .. Then, as described in S220 and S230, the processor 210 stores similar history information, which is history information associated with similar feature information having a predetermined similarity relationship with the feature information Ca, in the non-volatile storage device 230. If there is, the initial value of the resolution of interest RSi is determined as the resolution associated with the similar history information. Therefore, the processor 210 can use a resolution suitable for the character features. The initial value of the resolution of interest RSi is the first resolution of interest RSi that is the target of the determination of whether or not to continue updating the resolution of interest RSi (for example, the determination based on the reliability condition of S300 in FIG. 4), For example, it is the first resolution when the target resolution RSi is set to a resolution different from the original resolution RS1. Since the original resolution RS1 can also be used for outputting the high compression PDF data, the original resolution RS1 is also one of the resolutions of interest.

(1−8)図3で説明したように、スキャンデータが複数頁の文字画像を表す場合、S110の処理は、頁毎に繰り返される。従って、第1頁の処理では、解像度と特徴情報との対応関係を表す特定履歴情報が履歴情報234に追加される。第2頁の処理では、文字の特徴が、特定履歴情報に対応付けられた特徴と類似関係にある場合には、第2頁のための注目解像度RSiの初期値が、特定履歴情報の解像度を用いて決定される。従って、複数頁の文字画像を表すスキャンデータi1を用いて出力画像データを出力する処理の負担を軽減できる。 (1-8) As described in FIG. 3, when the scan data represents a plurality of pages of character images, the process of S110 is repeated for each page. Therefore, in the process of the first page, the specific history information indicating the correspondence between the resolution and the feature information is added to the history information 234. In the process of the second page, when the character feature is similar to the feature associated with the specific history information, the initial value of the resolution of interest RSi for the second page is the resolution of the specific history information. It is decided using. Therefore, it is possible to reduce the load of the process of outputting the output image data by using the scan data i1 representing the character images of a plurality of pages.

(1−9)図4のS210、S260−S290に示すように、プロセッサ210は、元解像度RS1を含む複数の注目解像度に対応する二値データia、ib2を生成する。そして、S330(図4)、S120(図3)で説明したように、プロセッサ210は、複数の二値データのうちの最も高い解像度RS1に対応する二値データiaを用いて得られる文字画像の文字認識の結果を表す文字データTaを含む高圧縮PDFデータを出力する。従って、高圧縮PDFデータは、適切な文字データTaを含むことができる。 (1-9) As shown in S210 and S260 to S290 of FIG. 4, the processor 210 generates binary data ia and ib2 corresponding to a plurality of target resolutions including the original resolution RS1. Then, as described in S330 (FIG. 4) and S120 (FIG. 3), the processor 210 performs the processing of the character image obtained using the binary data ia corresponding to the highest resolution RS1 of the plurality of binary data. Highly compressed PDF data including character data Ta representing the result of character recognition is output. Therefore, the high compression PDF data can include the appropriate character data Ta.

B.第2実施例:
図6は、二値画像データの生成処理の別の例のフローチャートである。図7は、解像度RSと信頼度RLとの関係を示すグラフである。図7には、図5と同様に、注目解像度RSiと信頼度RLbとの変化が示されている。図4、図5の実施例との差異は、S210、S300が、S210a、S300aに置換されている点だけである。図6の処理の他の部分は、図4の処理と同じである。図6のステップのうち、図4のステップと同じステップには、同じ符号を付して、説明を省略する。
B. Second embodiment:
FIG. 6 is a flowchart of another example of the binary image data generation process. FIG. 7 is a graph showing the relationship between the resolution RS and the reliability RL. Similar to FIG. 5, FIG. 7 shows changes in the resolution of interest RSi and the reliability RLb. The only difference from the embodiments of FIGS. 4 and 5 is that S210 and S300 are replaced by S210a and S300a. The other part of the process of FIG. 6 is the same as the process of FIG. Of the steps in FIG. 6, the same steps as those in FIG. 4 are designated by the same reference numerals, and the description thereof will be omitted.

S210aでは、プロセッサ210は、文字認識処理を実行して、文字データTaと特徴情報Caとに加えて、信頼度RLaを取得する(元信頼度RLaとも呼ぶ)。S300aでは、プロセッサ210は、予め決められた基準信頼度Thの代わりに、元信頼度RLaを用いて表される基準信頼度Thaを用いる。本実施例では、基準信頼度Thaは、元信頼度RLaから許容変化量Rtaを引いた信頼度である。許容変化量Rtaは、予め決められている。以下、「信頼度RLbが基準信頼度Tha以上である」という条件を、第2信頼度条件とも呼ぶ。注目解像度RSiをより低い解像度に更新する処理は、この第2信頼度条件が満たされなくなるまで、繰り返される。 In S210a, the processor 210 executes a character recognition process to acquire the reliability RLa in addition to the character data Ta and the characteristic information Ca (also referred to as the original reliability RLa). In S300a, the processor 210 uses the reference reliability Tha represented by using the original reliability RLa instead of the predetermined reference reliability Th. In this embodiment, the reference reliability Tha is the reliability obtained by subtracting the allowable change amount Rta from the original reliability RLa. The allowable change amount Rta is predetermined. Hereinafter, the condition that the reliability RLb is equal to or higher than the reference reliability Tha is also referred to as a second reliability condition. The process of updating the resolution of interest RSi to a lower resolution is repeated until the second reliability condition is no longer satisfied.

図7の例では、図5の例と同様に、解像度RSは、RS1、RSi1、RSi2、RSi3の順に更新されている。信頼度RLa、RLb1、RLb2、RLb3は、それぞれ、解像度RS1、RSi1、RSi2、RSi3に対応している。最後の解像度RSi3に対応する信頼度RLb3は、基準信頼度Tha未満である。そして、信頼度RLが基準信頼度Tha以上である解像度のうちの最も低い解像度が、最終的な解像度として選択される(図7の例では、解像度RSi2)。 In the example of FIG. 7, the resolution RS is updated in the order of RS1, RSi1, RSi2, and RSi3, as in the example of FIG. The reliability levels RLa, RLb1, RLb2, and RLb3 correspond to the resolutions RS1, RSi1, RSi2, and RSi3, respectively. The reliability RLb3 corresponding to the final resolution RSi3 is less than the reference reliability Tha. Then, the lowest resolution among the resolutions whose reliability RL is equal to or higher than the reference reliability Tha is selected as the final resolution (resolution RSi2 in the example of FIG. 7).

このように、信頼度RLbと比較される基準信頼度Thaの決定には、スキャンデータi1の解像度と同じ元解像度RS1の二値データiaを用いて得られる元信頼度RLaが用いられる。従って、スキャンデータi1に適した解像度の二値データを含む高圧縮PDFデータを出力できる。 In this way, the original reliability RLa obtained by using the binary data ia having the same original resolution RS1 as the resolution of the scan data i1 is used to determine the reference reliability Tha to be compared with the reliability RLb. Therefore, it is possible to output highly compressed PDF data including binary data having a resolution suitable for the scan data i1.

なお、第2実施例の処理は、基準信頼度Thaが用いられる点を除いて、第1実施例の処理と同じである。従って、第2実施例は、第1実施例と同じ種々の利点を有する(例えば、(1−1)〜(1−9)で説明した利点)。 The process of the second embodiment is the same as the process of the first embodiment except that the reference reliability Tha is used. Therefore, the second embodiment has the same various advantages as the first embodiment (for example, the advantages described in (1-1) to (1-9)).

C.第3実施例:
図8は、二値画像データの生成処理の別の例のフローチャートである。図9は、解像度RSと信頼度RLとの関係を示すグラフである。図9には、図5と同様に、注目解像度RSiと信頼度RLbとの変化が示されている。図6、図7の実施例との差異は、S250、S300a、S310が、S250b、S300b、S310bに置換されている点だけである。図8の処理の他の部分は、図6の処理と同じである。図8のステップのうち、図6のステップと同じステップには、同じ符号を付して、説明を省略する。
C. Third embodiment:
FIG. 8 is a flowchart of another example of the binary image data generation process. FIG. 9 is a graph showing the relationship between the resolution RS and the reliability RL. Similar to FIG. 5, FIG. 9 shows changes in the resolution of interest RSi and the reliability RLb. The only difference from the embodiments of FIGS. 6 and 7 is that S250, S300a and S310 are replaced with S250b, S300b and S310b. The other part of the process of FIG. 8 is the same as the process of FIG. Of the steps in FIG. 8, the same steps as those in FIG. 6 are designated by the same reference numerals, and the description thereof will be omitted.

S250bでは、プロセッサ210は、図6のS250の処理に加えて、前信頼度RLcを元信頼度RLaに設定する。前信頼度RLcは、現行の注目解像度RSiの1つ前の注目解像度の信頼度を示すために用いられる。すなわち、注目解像度RSiが1回以上更新された場合に、前信頼度RLcは、最後の更新よりも前の注目解像度RSiのうちの最も新しい注目解像度RSiである。 In S250b, the processor 210 sets the previous reliability RLc to the original reliability RLa in addition to the process of S250 of FIG. The previous reliability level RLc is used to indicate the reliability level of the resolution of interest immediately preceding the current resolution of interest RSi. That is, when the resolution of interest RSi is updated one or more times, the previous reliability RLc is the latest resolution of interest RSi of the resolutions of interest RSi before the last update.

S300bでは、プロセッサ210は、基準信頼度Thaの代わりに、前信頼度RLcを用いて表される判断用信頼度Thbを用いる。本実施例では、判断用信頼度Thbは、前信頼度RLcから許容変化量Rtbを引いた信頼度である。許容変化量Rtbは、予め決められている。以下、「信頼度RLbが判断用信頼度Thb以上である」という条件を、第3信頼度条件とも呼ぶ。 In S300b, the processor 210 uses the reliability for judgment Thb represented by using the previous reliability RLc instead of the reference reliability Tha. In the present embodiment, the determination reliability Thb is the reliability obtained by subtracting the allowable change amount Rtb from the previous reliability RLc. The allowable change amount Rtb is predetermined. Hereinafter, the condition that the reliability RLb is equal to or higher than the determination reliability Thb is also referred to as a third reliability condition.

S310bでは、プロセッサ210は、図6のS310の処理に加えて、前信頼度RLcを信頼度RLbに更新する。これにより、更新済の注目解像度RSiのためのS260−S300bでは、前信頼度RLcは、1つ前(すなわち、更新前)の注目解像度RSiに対応する信頼度RLbを表している。 In S310b, the processor 210 updates the previous reliability RLc to the reliability RLb in addition to the process of S310 of FIG. Accordingly, in S260-S300b for the updated resolution of interest RSi, the previous reliability RLc represents the reliability RLb corresponding to the previous (that is, before the update) resolution of interest RSi.

判断用信頼度Thbは、注目解像度RSiを更新する毎に更新される。図9の例では、解像度RSは、RS1、RSi1、RSi2、RSi3の順に更新される。信頼度RLa、RLb1、RLb2、RLb3は、それぞれ、解像度RS1、RSi1、RSi2、RSi3に対応している。ここで、信頼度RLb1と対比される判断用信頼度Thb1は、元信頼度RLa−許容変化量Rtbである。次の信頼度RLb2と対比される判断用信頼度Thb2は、信頼度RLb1−許容変化量Rtbである。次の信頼度RLb3と対比される判断用信頼度Thb3は、信頼度RLb2−許容変化量Rtbである。そして、最後の解像度RSi3に対応する信頼度RLb3は、判断用信頼度Thb3未満である。信頼度RLが判断用信頼度Thb以上である解像度のうちの最も低い解像度が、最終的な解像度として選択される(図9の例では、解像度RSi2)。 The determination reliability Thb is updated every time the target resolution RSi is updated. In the example of FIG. 9, the resolution RS is updated in the order of RS1, RSi1, RSi2, RSi3. The reliability levels RLa, RLb1, RLb2, and RLb3 correspond to the resolutions RS1, RSi1, RSi2, and RSi3, respectively. Here, the determination reliability Thb1 that is compared with the reliability RLb1 is the original reliability RLa−the allowable change amount Rtb. The determination reliability Thb2 to be compared with the next reliability RLb2 is reliability RLb1−allowable change amount Rtb. The determination reliability Thb3 to be compared with the next reliability RLb3 is reliability RLb2-allowable change amount Rtb. The reliability RLb3 corresponding to the final resolution RSi3 is less than the determination reliability Thb3. The lowest resolution among the resolutions whose reliability RL is equal to or higher than the determination reliability Thb is selected as the final resolution (resolution RSi2 in the example of FIG. 9).

このように、注目解像度RSiが低減すると、信頼度RLbが低減する。そして、信頼度RLbが低減することによって、図8のS300bの判断結果が変化し(ここでは、「Yes」から「No」)、最終的に利用される解像度が決定される(S330)。このような処理は、見方を変えると、以下のように説明できる。図9にも示すように、解像度RSの変化に対する信頼度RLの変化の割合(すなわち、傾き)は、解像度RSが小さいほど、大きい。従って、注目解像度RSiが変化量dLだけ低減した場合の信頼度RLbの低減量は、注目解像度RSiが小さいほど、大きい。ここで、解像度RSが変化量dLだけ低減した場合の信頼度RLの低減量が許容変化量Rtbと同じとなるような解像度RSを、第1解像度RSxと呼ぶ。この第1解像度RSxに対応する信頼度Thxを第1信頼度Thxと呼ぶ。この場合、解像度RSが「RSx+dL」から「RSx」に低減した場合に、信頼度RLは「Thx+Rtb」から「Thx」に低減する。 As described above, when the resolution of attention RSi is reduced, the reliability RLb is reduced. Then, as the reliability RLb decreases, the determination result of S300b in FIG. 8 changes (here, “Yes” to “No”), and the resolution finally used is determined (S330). From a different point of view, such processing can be explained as follows. As shown in FIG. 9, the rate of change in the reliability RL with respect to the change in the resolution RS (that is, the slope) is larger as the resolution RS is smaller. Therefore, the reduction amount of the reliability RLb when the target resolution RSi is reduced by the change amount dL is larger as the target resolution RSi is smaller. Here, the resolution RS in which the reduction amount of the reliability RL when the resolution RS is reduced by the change amount dL is the same as the allowable change amount Rtb is referred to as a first resolution RSx. The reliability Thx corresponding to the first resolution RSx is called the first reliability Thx. In this case, when the resolution RS is reduced from “RSx+dL” to “RSx”, the reliability RL is reduced from “Thx+Rtb” to “Thx”.

注目解像度RSiが第1解像度RSx以上である場合、すなわち、信頼度RLbが第1信頼度Thx以上である場合、解像度RSが変化量dLだけ低減した場合の信頼度RLの低減量が許容変化量Rtb以下である。従って、図8のS300bで、信頼度RLbは判断用信頼度Thb以上である(S300b:Yes)。一方、注目解像度RSiが第1解像度RSx未満である場合、すなわち、信頼度RLbが第1信頼度Thx未満である場合、解像度RSが変化量dLだけ低減した場合の信頼度RLの低減量が許容変化量Rtbよりも大きい。従って、図8のS300bで、信頼度RLbは、判断用信頼度Thb未満である(S300b:No)。 When the resolution of interest RSi is equal to or higher than the first resolution RSx, that is, when the reliability RLb is equal to or higher than the first reliability Thx, the reduction amount of the reliability RL when the resolution RS is reduced by the variation amount dL is the allowable variation amount. It is less than or equal to Rtb. Therefore, in S300b of FIG. 8, the reliability RLb is equal to or higher than the determination reliability Thb (S300b: Yes). On the other hand, when the resolution of interest RSi is less than the first resolution RSx, that is, when the reliability RLb is less than the first reliability Thx, the reduction amount of the reliability RL when the resolution RS is reduced by the change amount dL is allowable. The change amount is larger than Rtb. Therefore, in S300b of FIG. 8, the reliability RLb is less than the determination reliability Thb (S300b: No).

このように、S300bからS310bへ移行して注目解像度RSiを更新するための条件は、「信頼度RLbが第1信頼度Thx以上である」という条件である。このように、S300bの第3信頼度条件は、「信頼度RLbが第1信頼度Thx以上である」という条件と同等である。同様に、S300bからS320へ移行するための条件は、「信頼度RLbが第1信頼度Thx未満である」という条件と同等である。このように、第1信頼度Thxは、信頼度RLbの基準を示す基準信頼度である、ということができる。 In this way, the condition for shifting from S300b to S310b and updating the resolution of interest RSi is that "the reliability RLb is equal to or higher than the first reliability Thx". As described above, the third reliability condition of S300b is equivalent to the condition that "the reliability RLb is equal to or higher than the first reliability Thx". Similarly, the condition for shifting from S300b to S320 is equivalent to the condition that "the reliability RLb is less than the first reliability Thx". Thus, it can be said that the first reliability Thx is the reference reliability indicating the reference of the reliability RLb.

なお、第1信頼度Thxは、上述したように、解像度RSと信頼度RLとの2組のペアによって特定される。これらの2組のペアは、解像度RSの差が変化量dLであり、かつ、信頼度RLの差が許容変化量Rtbであるような2個のペアである。このような2組のペアは、解像度「RSx+dL」と信頼度「Thx+Rtb」とのペアと、解像度「RSx」と信頼度「Thx」とのペアと、である。ここで、図9に示すように、大きい方の解像度「RSx+dL」は、元解像度RS1以下である。また、最終的に採用される注目解像度(例えば、図9の解像度RSi2)から見ると、大きい方の解像度「RSx+dL」は、注目解像度RSi2よりも大きい。第1信頼度Thxは、このような特定の解像度「RSx+dL」に対応する特定の信頼度「Thx+Rtb」から許容変化量Rtbを引いて得られる信頼度である。従って、第1信頼度Thxは、特定の解像度「RSx+dL」に対応する特定の信頼度「Thx+Rtb」と、許容変化量Rtbと、を用いて表されている、ということができる。 The first reliability Thx is specified by two pairs of the resolution RS and the reliability RL, as described above. These two pairs are two pairs in which the difference in resolution RS is the change amount dL and the difference in reliability RL is the allowable change amount Rtb. Such two pairs are a pair of resolution “RSx+dL” and reliability “Thx+Rtb” and a pair of resolution “RSx” and reliability “Thx”. Here, as shown in FIG. 9, the larger resolution “RSx+dL” is equal to or lower than the original resolution RS1. Also, when viewed from the resolution of interest finally adopted (for example, the resolution RSi2 of FIG. 9), the larger resolution “RSx+dL” is larger than the resolution of interest RSi2. The first reliability Thx is a reliability obtained by subtracting the allowable change amount Rtb from the specific reliability “Thx+Rtb” corresponding to the specific resolution “RSx+dL”. Therefore, it can be said that the first reliability Thx is expressed using the specific reliability “Thx+Rtb” corresponding to the specific resolution “RSx+dL” and the allowable change amount Rtb.

また、本実施例では、判断用信頼度Thbは、更新前の注目解像度RSiに対応付けられた前信頼度RLcから許容変化量Rtbを引いた信頼度である。更新前の注目解像度RSiは、スキャンデータi1の元解像度RS1以下、かつ、現行の注目解像度RSiよりも大きい。このような更新前の注目解像度RSiに対応する前信頼度RLcを用いて現行の判断用信頼度Thbが決定されるので、種々の解像度での文字画像の特徴に適した解像度の決定が可能である。この結果、適切な高圧縮PDFデータを出力できる。 Further, in this embodiment, the determination reliability Thb is a reliability obtained by subtracting the allowable change amount Rtb from the previous reliability RLc associated with the pre-update target resolution RSi. The resolution of interest RSi before the update is equal to or lower than the original resolution RS1 of the scan data i1 and larger than the current resolution of interest RSi. Since the current determination reliability Thb is determined using the pre-reliability RLc corresponding to the remarked resolution RSi before updating, it is possible to determine the resolution suitable for the characteristics of the character image at various resolutions. is there. As a result, appropriate highly compressed PDF data can be output.

なお、第3実施例の処理は、判断用信頼度Thbが用いられる点を除いて、第1実施例および第2実施例の処理と同じである。従って、第3実施例は、第1実施例および第2実施例と同じ種々の利点を有する(例えば、(1−1)〜(1−9)で説明した利点)。 The processing of the third embodiment is the same as the processing of the first and second embodiments, except that the determination reliability Thb is used. Therefore, the third embodiment has the same various advantages as the first and second embodiments (for example, the advantages described in (1-1) to (1-9)).

D.第4実施例:
図10は、二値画像データの生成処理の別の例のフローチャートである。図11は、解像度RSと信頼度RLとの関係を示すグラフである。図11には、図5と同様に、注目解像度RSiと信頼度RLbとの変化が示されている。図4、図5の実施例とは異なり、本実施例では、注目解像度RSiは、元解像度RS1から、より高い解像度に更新される(S240c、S310c)。そして、注目解像度RSiをより高い解像度に更新する処理は、「信頼度RLbが基準信頼度Thc未満である」という第4信頼度条件が満たされなくなるまで繰り返される(S300c)。ここで、基準信頼度Thcは、予め決められた信頼度である。
D. Fourth embodiment:
FIG. 10 is a flowchart of another example of the binary image data generation process. FIG. 11 is a graph showing the relationship between the resolution RS and the reliability RL. Similar to FIG. 5, FIG. 11 shows changes in the resolution of interest RSi and the reliability RLb. Unlike the embodiments of FIGS. 4 and 5, in the present embodiment, the resolution of interest RSi is updated from the original resolution RS1 to a higher resolution (S240c, S310c). Then, the process of updating the resolution of interest RSi to a higher resolution is repeated until the fourth reliability condition "the reliability RLb is less than the reference reliability Thc" is not satisfied (S300c). Here, the reference reliability Thc is a predetermined reliability.

具体的には、図4、図5の実施例との差異は、S240、S280、S290、S300、S310、S330が、S240c、S280c、S290c、S300c、S310c、S330cに置換されている点だけである。図10の処理の他の部分は、図4の処理と同じである。図10のステップのうち、図4のステップと同じステップには、同じ符号を付して、説明を省略する。 Specifically, the difference from the embodiment of FIGS. 4 and 5 is that S240, S280, S290, S300, S310, S330 are replaced by S240c, S280c, S290c, S300c, S310c, S330c. is there. The other part of the process of FIG. 10 is the same as the process of FIG. Of the steps in FIG. 10, steps that are the same as the steps in FIG. 4 are given the same reference numerals, and descriptions thereof are omitted.

S240cでは、プロセッサ210は、注目解像度RSiを、元解像度RS1に所定の変化量dHを加算した解像度に設定する。S280cでは、プロセッサ210は、注目二値データib2を縮小することによって、元解像度RS1の二値データib3を生成する。縮小処理としては、解像度を低くする解像度変換処理が実行される。S290cでは、プロセッサ210は、二値データib3の文字認識処理を実行して、信頼度RLbと文字データTbとを特定する。 In S240c, the processor 210 sets the resolution of interest RSi to the resolution obtained by adding a predetermined change amount dH to the original resolution RS1. In S280c, the processor 210 reduces the binary data ib2 of interest to generate the binary data ib3 of the original resolution RS1. As the reduction processing, resolution conversion processing for lowering the resolution is executed. In S290c, the processor 210 executes character recognition processing of the binary data ib3, and specifies the reliability RLb and the character data Tb.

S300cでは、プロセッサ210は、第4信頼度条件が満たされるか否かを判断する。第4信頼度条件が満たされる場合(S300c:Yes)、プロセッサ210は、S310cに移行する。S310cでは、プロセッサ210は、注目解像度RSiを、注目解像度RSiに変化量dHを足した解像度に更新する。候補データicと候補解像度RSsとの更新は、図4のS310での更新と同じである。S310cの後、プロセッサ210は、S260に移行して、更新された注目解像度RSiの処理を実行する。 In S300c, the processor 210 determines whether or not the fourth reliability condition is satisfied. When the fourth reliability condition is satisfied (S300c: Yes), the processor 210 moves to S310c. In S310c, the processor 210 updates the resolution of interest RSi to a resolution obtained by adding the change amount dH to the resolution of interest RSi. The updating of the candidate data ic and the candidate resolution RSs is the same as the updating in S310 of FIG. After S310c, the processor 210 moves to S260 and executes the processing of the remarked resolution RSi.

信頼度RLbが基準信頼度Thc以上である場合(S300cNo)、プロセッサ210は、注目解像度RSiの更新の繰り返しをやめて、S320に移行する。S320は、図4のS320と同じである。S330cでは、プロセッサ210は、候補データicを、最終的に生成される二値データとして、記憶装置(例えば、揮発性記憶装置220または不揮発性記憶装置230)に出力する。また、プロセッサ210は、文字データTb(S290c)を、文字認識結果を表す情報として、出力する。そして、図10の処理が終了する。 When the reliability RLb is equal to or higher than the reference reliability Thc (S300cNo), the processor 210 stops repeating the update of the resolution of interest RSi and moves to S320. S320 is the same as S320 of FIG. In S330c, the processor 210 outputs the candidate data ic to the storage device (for example, the volatile storage device 220 or the non-volatile storage device 230) as the finally generated binary data. Further, the processor 210 outputs the character data Tb (S290c) as information indicating the character recognition result. Then, the processing of FIG. 10 ends.

図11の例では、解像度RSは、RS1、RSi1、RSi2、RSi3の順に更新されている。信頼度RLa、RLb1、RLb2、RLb3は、それぞれ、解像度RS1、RSi1、RSi2、RSi3に対応している。最後の解像度RSi3に対応する信頼度RLb3は、基準信頼度Thc以上である。そして、信頼度RLが基準信頼度Th未満である解像度のうちの最も高い解像度が、最終的な解像度として選択される(図11の例では、解像度RSi2)。 In the example of FIG. 11, the resolution RS is updated in the order of RS1, RSi1, RSi2, RSi3. The reliability levels RLa, RLb1, RLb2, and RLb3 correspond to the resolutions RS1, RSi1, RSi2, and RSi3, respectively. The reliability RLb3 corresponding to the final resolution RSi3 is greater than or equal to the reference reliability Thc. Then, the highest resolution among the resolutions whose reliability RL is lower than the reference reliability Th is selected as the final resolution (resolution RSi2 in the example of FIG. 11).

以上のように、本実施例では、以下に説明する構成、そして、利点を有している。
(4−1)信頼度RLbが基準信頼度Thc未満であるという第4信頼度条件を満たす注目解像度RSiの注目二値データib2を用いて高圧縮PDFが出力される。そして、注目解像度RSiが第4信頼度条件を満たさない場合には、その注目解像度RSiの注目二値データib2を用いる高圧縮PDFデータは出力されない。従って、高圧縮PDFデータを出力する場合に、解像度が高すぎて高圧縮PDFデータのデータサイズが過剰に大きくなることを抑制できる。
As described above, the present embodiment has the configuration and advantages described below.
(4-1) The high compression PDF is output using the target binary data ib2 of the target resolution RSi that satisfies the fourth reliability condition that the reliability RLb is less than the reference reliability Thc. Then, if the resolution of interest RSi does not satisfy the fourth reliability condition, the high compression PDF data using the binary data of interest ib2 of the resolution of interest RSi is not output. Therefore, when outputting the highly compressed PDF data, it is possible to prevent the resolution from becoming too high and the data size of the highly compressed PDF data becoming excessively large.

(4−2)プロセッサ210は、注目解像度RSiをより高い解像度に更新し(S310c)、更新済の注目解像度RSiでの二値化によって注目二値データib2を生成し(S260、S270)、注目二値データib2を用いて信頼度RLbを取得する(S280c、S290c)ことを、更新済の注目解像度RSiに対応する信頼度RLbが第4信頼度条件を満たさなくなるまで繰り返す。そして、プロセッサ210は、第4信頼度条件を満たす注目解像度RSiのうちの最も高い注目解像度RSiに対応する注目二値データib2を用いて、高圧縮PDFデータを出力する。従って、高圧縮PDFデータによって表される文字を適切に読みやすくできる。 (4-2) The processor 210 updates the resolution of interest RSi to a higher resolution (S310c), and binarizes the updated resolution of interest RSi to generate binary data of interest ib2 (S260, S270). Obtaining the reliability RLb using the binary data ib2 (S280c, S290c) is repeated until the reliability RLb corresponding to the updated target resolution RSi does not satisfy the fourth reliability condition. Then, the processor 210 outputs the high compression PDF data using the binary data of interest ib2 corresponding to the highest resolution of attention RSi among the resolutions of attention RSi satisfying the fourth reliability condition. Therefore, it is possible to properly read the characters represented by the high compression PDF data.

(4−3)高圧縮PDFデータは、二値データによって表される文字画像を縮小するコマンドを含んでいる。従って、高圧縮PDFデータは、適切なサイズの文字画像を表現できる。 (4-3) Highly compressed PDF data includes a command for reducing the character image represented by the binary data. Therefore, the high compression PDF data can represent a character image of an appropriate size.

(4−4)S330cで出力される文字データTbは、繰り返され得るS290cのうちの最後のS290cで生成された文字データTbである。すなわち、文字データTbは、注目二値データib2が生成された複数の解像度RSのうちの最も高い解像度RSiに対応付けられている。図11の例では、文字データTbは、解像度RSi3に対応付けられている。従って、高圧縮PDFデータは、適切な文字データTbを含むことができる。 (4-4) The character data Tb output in S330c is the character data Tb generated in the last S290c of the repeatable S290c. That is, the character data Tb is associated with the highest resolution RSi of the plurality of resolutions RS for which the binary data ib2 of interest has been generated. In the example of FIG. 11, the character data Tb is associated with the resolution RSi3. Therefore, the highly compressed PDF data can include the appropriate character data Tb.

なお、第4実施例の処理は、上記の差異を除いて、第1実施例の処理と同じである。従って、第4実施例は、第1実施例と同じ種々の利点を有する(例えば、(1−3)〜(1−9)で説明した利点)。 The processing of the fourth embodiment is the same as the processing of the first embodiment except for the above differences. Therefore, the fourth embodiment has the same various advantages as the first embodiment (for example, the advantages described in (1-3) to (1-9)).

E.第5実施例:
図12は、二値画像データの生成処理の別の例のフローチャートである。図13は、解像度RSと信頼度RLとの関係を示すグラフである。図13には、図11と同様に、注目解像度RSiと信頼度RLbとの変化が示されている。図10、図11の実施例との差異は、S210、S300cがS210a、S300dに置換されている点だけである。図12の処理の他の部分は、図10の処理と同じである。図12のステップのうち、図10のステップと同じステップには、同じ符号を付して、説明を省略する。
E. Fifth embodiment:
FIG. 12 is a flowchart of another example of the binary image data generation process. FIG. 13 is a graph showing the relationship between the resolution RS and the reliability RL. Similar to FIG. 11, FIG. 13 shows changes in the resolution of interest RSi and the reliability RLb. The only difference from the embodiments of FIGS. 10 and 11 is that S210 and S300c are replaced by S210a and S300d. The other part of the process of FIG. 12 is the same as the process of FIG. Of the steps in FIG. 12, the same steps as those in FIG. 10 are designated by the same reference numerals, and the description thereof will be omitted.

S210aは、図6のS210aと同じである(文字データTaと特徴情報Caとに加えて、元信頼度RLaが特定される)。S300dでは、プロセッサ210は、予め決められた基準信頼度Thcの代わりに、元信頼度RLaを用いて表される基準信頼度Thdを用いる。本実施例では、基準信頼度Thdは、元信頼度RLaに許容変化量Rtdを足した信頼度である。許容変化量Rtdは、予め決められている。以下、「信頼度RLbが基準信頼度Thd未満である」という条件を、第5信頼度条件とも呼ぶ。注目解像度RSiをより高い解像度に更新する処理は、この第5信頼度条件が満たされなくなるまで、繰り返される。 S210a is the same as S210a in FIG. 6 (the original reliability RLa is specified in addition to the character data Ta and the characteristic information Ca). In S300d, the processor 210 uses the reference reliability Thd represented by using the original reliability RLa instead of the predetermined reference reliability Thc. In this embodiment, the reference reliability Thd is the reliability obtained by adding the allowable change amount Rtd to the original reliability RLa. The allowable change amount Rtd is predetermined. Hereinafter, the condition that the reliability RLb is less than the reference reliability Thd is also referred to as a fifth reliability condition. The process of updating the resolution of interest RSi to a higher resolution is repeated until the fifth reliability condition is no longer satisfied.

図13の例では、図11の例と同様に、解像度RSは、RS1、RSi1、RSi2、RSi3の順に更新されている。信頼度RLa、RLb1、RLb2、RLb3は、それぞれ、解像度RS1、RSi1、RSi2、RSi3に対応している。最後の解像度RSi3に対応する信頼度RLb3は、基準信頼度Thdよりも大きい。そして、信頼度RLが基準信頼度Thd未満である解像度のうちの最も高い解像度が、最終的な解像度として選択される(図13の例では、解像度RSi2)。 In the example of FIG. 13, similarly to the example of FIG. 11, the resolution RS is updated in the order of RS1, RSi1, RSi2, RSi3. The reliability levels RLa, RLb1, RLb2, and RLb3 correspond to the resolutions RS1, RSi1, RSi2, and RSi3, respectively. The reliability RLb3 corresponding to the final resolution RSi3 is larger than the reference reliability Thd. Then, the highest resolution among the resolutions whose reliability RL is less than the reference reliability Thd is selected as the final resolution (resolution RSi2 in the example of FIG. 13).

このように、信頼度RLbと比較される基準信頼度Thdの決定には、スキャンデータi1の解像度と同じ元解像度RS1の二値データiaを用いて得られる元信頼度RLaが用いられる。従って、スキャンデータi1に適した解像度の二値データを含む高圧縮PDFデータを出力できる。 As described above, the original reliability RLa obtained by using the binary data ia having the same original resolution RS1 as the resolution of the scan data i1 is used to determine the reference reliability Thd to be compared with the reliability RLb. Therefore, it is possible to output highly compressed PDF data including binary data having a resolution suitable for the scan data i1.

なお、第5実施例の処理は、基準信頼度Thdが用いられる点を除いて、第4実施例の処理と同じである。従って、第5実施例は、第4実施例と同じ種々の利点を有する(例えば、(1−3)−(1−9)、(4−1)−(4−4)で説明した利点)。 The process of the fifth embodiment is the same as the process of the fourth embodiment except that the reference reliability Thd is used. Therefore, the fifth embodiment has the same various advantages as the fourth embodiment (for example, the advantages described in (1-3)-(1-9) and (4-1)-(4-4)). .

F.第6実施例:
図14は、二値画像データの生成処理の別の例のフローチャートである。図15は、解像度RSと信頼度RLとの関係を示すグラフである。図15には、図13と同様に、注目解像度RSiと信頼度RLbとの変化が示されている。図12、図13の実施例との差異は、S250、S300d、S310cが、S250b、S300f、S310fに置換されている点だけである。S250bは、図8のS250bと同じである。図14の処理の他の部分は、図12の処理と同じである。図14のステップのうち、図12のステップと同じステップには、同じ符号を付して、説明を省略する。
F. Sixth embodiment:
FIG. 14 is a flowchart of another example of the binary image data generation process. FIG. 15 is a graph showing the relationship between the resolution RS and the reliability RL. Similar to FIG. 13, FIG. 15 shows changes in the resolution of interest RSi and the reliability RLb. The only difference from the embodiments of FIGS. 12 and 13 is that S250, S300d and S310c are replaced with S250b, S300f and S310f. S250b is the same as S250b in FIG. The other part of the process of FIG. 14 is the same as the process of FIG. Of the steps in FIG. 14, the same steps as those in FIG. 12 are designated by the same reference numerals, and the description thereof will be omitted.

S300fでは、プロセッサ210は、基準信頼度Thdの代わりに、前信頼度RLcを用いて表される判断用信頼度Thfを用いる。本実施例では、判断用信頼度Thfは、前信頼度RLcに許容変化量Rtfを足した信頼度である。許容変化量Rtfは、予め決められている。また、S300fの判断結果がYesとなるための条件は「信頼度RLb≧判断用信頼度Thf」である。以下、「信頼度RLbが判断用信頼度Thf以上である」という条件を、第6信頼度条件とも呼ぶ。 In S300f, the processor 210 uses the reliability for judgment Thf represented by using the previous reliability RLc instead of the reference reliability Thd. In the present embodiment, the determination reliability Thf is the reliability obtained by adding the allowable change amount Rtf to the previous reliability RLc. The allowable change amount Rtf is predetermined. The condition for the determination result of S300f to be Yes is “reliability RLb≧reliability for determination Thf”. Hereinafter, the condition that the reliability RLb is equal to or higher than the determination reliability Thf is also referred to as a sixth reliability condition.

S310fでは、プロセッサ210は、図12のS310cの処理に加えて、前信頼度RLcを信頼度RLbに更新する。これにより、更新済の注目解像度RSiのためのS260−S300fでは、前信頼度RLcは、1つ前(すなわち、更新前)の注目解像度RSiに対応する信頼度RLbを表している。 In S310f, the processor 210 updates the previous reliability RLc to the reliability RLb in addition to the process of S310c in FIG. As a result, in S260-S300f for the updated resolution of interest RSi, the previous reliability RLc represents the reliability RLb corresponding to the previous (that is, before the update) resolution of interest RSi.

判断用信頼度Thfは、注目解像度RSiを更新する毎に更新される。図15の例では、解像度RSは、RS1、RSi1、RSi2、RSi3の順に更新される。信頼度RLa、RLb1、RLb2、RLb3は、それぞれ、解像度RS1、RSi1、RSi2、RSi3に対応している。ここで、信頼度RLb1と対比される判断用信頼度Thf1は、元信頼度RLa+許容変化量Rtfである。次の信頼度RLb2と対比される判断用信頼度Thf2は、信頼度RLb1+許容変化量Rtfである。次の信頼度RLb3と対比される判断用信頼度Thf3は、信頼度RLb2+許容変化量Rtfである。そして、最後の解像度RSi3に対応する信頼度RLb3は、判断用信頼度Thf3未満である。信頼度RLが基準信頼度Thf以上である解像度のうちの最も高い解像度が、最終的な解像度として選択される(図15の例では、解像度RSi2)。 The determination reliability Thf is updated each time the target resolution RSi is updated. In the example of FIG. 15, the resolution RS is updated in the order of RS1, RSi1, RSi2, RSi3. The reliability levels RLa, RLb1, RLb2, and RLb3 correspond to the resolutions RS1, RSi1, RSi2, and RSi3, respectively. Here, the determination reliability Thf1 compared with the reliability RLb1 is the original reliability RLa+the allowable change amount Rtf. The determination reliability Thf2, which is compared with the next reliability RLb2, is the reliability RLb1+the allowable change amount Rtf. The determination reliability Thf3 to be compared with the next reliability RLb3 is the reliability RLb2+the allowable change amount Rtf. The reliability RLb3 corresponding to the final resolution RSi3 is less than the determination reliability Thf3. The highest resolution among the resolutions whose reliability RL is equal to or higher than the reference reliability Thf is selected as the final resolution (resolution RSi2 in the example of FIG. 15).

このように、注目解像度RSiが増大すると、信頼度RLbも増大する。そして、信頼度RLbが増大することによって、図14のS300fの判断結果が変化し(ここでは、「Yes」から「No」)、最終的に利用される解像度が決定される(S330c)。このような処理は、見方を変えると、以下のように説明できる。図15にも示すように、解像度RSの変化に対する信頼度RLの変化の割合(すなわち、傾き)は、解像度RSが大きいほど、小さい。従って、注目解像度RSiが変化量dHだけ増大した場合の信頼度RLbの増大量は、注目解像度RSiが大きいほど、小さい。ここで、解像度RSが変化量dHだけ増大した場合の信頼度RLの増大量が許容変化量Rtfと同じとなるような解像度RSを、第2解像度RSyと呼ぶ。この第2解像度RSyに対応する信頼度Thyを第2信頼度Thyと呼ぶ。この場合、解像度RSが「RSy−dH」から「RSy」に増大した場合に、信頼度RLは、「Thy−Rtf」から「Thy」に増大する。 In this way, as the resolution of attention RSi increases, the reliability RLb also increases. Then, as the reliability RLb increases, the determination result of S300f in FIG. 14 changes (here, “Yes” to “No”), and the resolution finally used is determined (S330c). From a different point of view, such processing can be explained as follows. As shown in FIG. 15, the rate of change in reliability RL with respect to change in resolution RS (that is, the slope) is smaller as the resolution RS is larger. Therefore, the increase amount of the reliability RLb when the target resolution RSi is increased by the change amount dH is smaller as the target resolution RSi is larger. Here, the resolution RS at which the increase amount of the reliability RL when the resolution RS increases by the change amount dH is the same as the allowable change amount Rtf is referred to as the second resolution RSy. The reliability Thy corresponding to the second resolution RSy is called the second reliability Thy. In this case, when the resolution RS increases from "RSy-dH" to "RSy", the reliability RL increases from "Thy-Rtf" to "Thy".

注目解像度RSiが第2解像度RSy以下である場合、すなわち、信頼度RLbが第2信頼度Thy未満である場合、解像度RSが変化量dHだけ増大した場合の信頼度RLの増大量は許容変化量Rtf以上である。従って、図14のS300fで、信頼度RLbは判断用信頼度Thf以上である(S300f:Yes)。一方、注目解像度RSiが第2解像度RSyよりも大きい場合、すなわち、信頼度RLbが第2信頼度Thyより大きい場合、解像度RSが変化量dHだけ増大した場合の信頼度RLの増大量が許容変化量Rtfより小さい。従って、図14のS300fで、信頼度RLbは、判断用信頼度Thf未満である(S300f:No)。 When the resolution of interest RSi is less than or equal to the second resolution RSy, that is, when the reliability RLb is less than the second reliability Thy, the increase amount of the reliability RL when the resolution RS increases by the change amount dH is the allowable change amount. It is Rtf or more. Therefore, in S300f of FIG. 14, the reliability RLb is equal to or higher than the determination reliability Thf (S300f: Yes). On the other hand, when the resolution of interest RSi is larger than the second resolution RSy, that is, when the reliability RLb is larger than the second reliability Thy, the increase amount of the reliability RL when the resolution RS increases by the change amount dH is an allowable change. It is smaller than the amount Rtf. Therefore, in S300f of FIG. 14, the reliability RLb is less than the determination reliability Thf (S300f: No).

このように、S300fからS310fへ移行して注目解像度RSiを更新するための条件は、「信頼度RLbが第2信頼度Thy未満である」という条件である。このように、S300fの第6信頼度条件は、「信頼度RLbが第2信頼度Thy未満である」という条件と同等である。同様に、S300fからS320へ移行するための条件は、「信頼度RLbが第2信頼度Thy以上である」という条件と同等である。このように、第2信頼度Thyは、信頼度RLbの基準を示す基準信頼度である、ということができる。 In this way, the condition for shifting from S300f to S310f and updating the resolution of interest RSi is the condition that “the reliability RLb is less than the second reliability Thy”. Thus, the sixth reliability condition of S300f is equivalent to the condition that "the reliability RLb is less than the second reliability Thy". Similarly, the condition for shifting from S300f to S320 is equivalent to the condition that “the reliability RLb is equal to or higher than the second reliability Thy”. In this way, it can be said that the second reliability Thy is the reference reliability indicating the reference of the reliability RLb.

なお、第2信頼度Thyは、上述したように、解像度RSと信頼度RLとの2組のペアによって特定される。これらの2組のペアは、解像度RSの差が変化量dHであり、かつ、信頼度RLの差が許容変化量Rtfであるような2個のペアである。このような2組のペアは、解像度「RSy−dH」と信頼度「Thy−Rtf」とのペアと、解像度「RSy」と信頼度「Thy」とのペアと、である。ここで、図15に示すように、小さい方の解像度「RSy−dH」は、元解像度RS1以上である。また、最終的に採用される注目解像度(例えば、図15の解像度RSi2)から見ると、小さい方の解像度「RSy−dH」は、注目解像度RSi2よりも小さい。第2信頼度Thyは、このような特定の解像度「RSy−dH」に対応する特定の信頼度「Thy−Rtf」に許容変化量Rtfを足して得られる信頼度である。従って、第2信頼度Thyは、特定の解像度「RSy−dH」に対応する特定の信頼度「Thy−Rtf」と、許容変化量Rtfと、を用いて表されている、ということができる。 The second reliability Thy is specified by two pairs of the resolution RS and the reliability RL, as described above. These two pairs are two pairs in which the difference in resolution RS is the change amount dH and the difference in reliability RL is the allowable change amount Rtf. Such two pairs are a pair of resolution “RSy-dH” and reliability “Thy-Rtf”, and a pair of resolution “RSy” and reliability “Thy”. Here, as shown in FIG. 15, the smaller resolution "RSy-dH" is the original resolution RS1 or more. Further, when viewed from the resolution of attention finally adopted (for example, the resolution RSi2 of FIG. 15), the smaller resolution “RSy-dH” is smaller than the resolution of attention RSi2. The second reliability Thy is a reliability obtained by adding the allowable change amount Rtf to the specific reliability “Thy-Rtf” corresponding to the specific resolution “RSy-dH”. Therefore, it can be said that the second reliability Thy is expressed using the specific reliability “Thy-Rtf” corresponding to the specific resolution “RSy-dH” and the allowable change amount Rtf.

このように、本実施例では、プロセッサ210は、注目解像度RSiをより高い解像度に更新し(S310f)、更新済の注目解像度RSiでの二値化によって注目二値データib2を生成し(S260、S270)、注目二値データib2を用いて信頼度RLbを取得する(S280c、S290c)ことを、更新済の注目解像度RSiに対応する信頼度RLbが第6信頼度条件を満たさなくなるまで繰り返す。そして、プロセッサ210は、第6信頼度条件(換言すれば、信頼度RLb<第2信頼度Thy)を満たす注目解像度RSiのうちの最も高い注目解像度RSiに対応する注目二値データib2を用いて、高圧縮PDFデータを出力する。従って、高圧縮PDFデータによって表される文字を適切に読みやすくできる。 Thus, in this embodiment, the processor 210 updates the resolution of interest RSi to a higher resolution (S310f), and generates the binary data of interest ib2 by binarization at the updated resolution of interest RSi (S260, (S270), the reliability RLb is acquired using the binary data of interest ib2 (S280c, S290c) is repeated until the reliability RLb corresponding to the updated resolution of interest RSi does not satisfy the sixth reliability condition. Then, the processor 210 uses the target binary data ib2 corresponding to the highest target resolution RSi of the target resolutions RSi satisfying the sixth reliability condition (in other words, the reliability RLb<the second reliability Thy). , Highly compressed PDF data is output. Therefore, it is possible to properly read the characters represented by the high compression PDF data.

また、判断用信頼度Thfは、更新前の注目解像度RSiに対応付けられた前信頼度RLcに許容変化量Rtfを足した信頼度である。更新前の注目解像度RSiは、スキャンデータi1の元解像度RS1以上、かつ、現行の注目解像度RSiよりも小さい。このような更新前の注目解像度RSiに対応する前信頼度RLcを用いて現行の判断用信頼度Thfが決定されるので、種々の解像度での文字画像の特徴に適した解像度の決定が可能である。この結果、適切な高圧縮PDFデータを出力できる。 The determination reliability Thf is a reliability obtained by adding the allowable change amount Rtf to the previous reliability RLc associated with the pre-update target resolution RSi. The resolution of interest RSi before update is equal to or higher than the original resolution RS1 of the scan data i1 and smaller than the current resolution of interest RSi. Since the current determination reliability Thf is determined using the pre-reliability RLc corresponding to the target resolution RSi before updating, it is possible to determine the resolution suitable for the characteristics of the character image at various resolutions. is there. As a result, appropriate highly compressed PDF data can be output.

なお、第6実施例の処理は、上記の差異を除いて、第5実施例の処理と同じである。従って、第6実施例は、第5実施例と同じ種々の利点を有する(例えば、(1−3)−(1−9)、(4−1)−(4−4)で説明した利点)。 The processing of the sixth embodiment is the same as the processing of the fifth embodiment except for the above differences. Therefore, the sixth embodiment has the same various advantages as the fifth embodiment (for example, the advantages described in (1-3)-(1-9) and (4-1)-(4-4)). .

G.第7実施例:
図16(A)は、許容変化量Rta(図6)、Rtb(図8)の別の実施例を示すグラフであり、図16(B)は、許容変化量Rtd(図12)、Rtf(図14)の別の実施例を示すグラフである。図16(A)では、横軸は、注目解像度RSiを示し、縦軸は、許容変化量Rta、Rtbを示している。図16(B)では、横軸は、注目解像度RSiを示し、縦軸は、許容変化量Rtd、Rtfを示している。本実施例では、これらの許容変化量Rta、Rtb、Rtd、Rtfは、注目解像度RSiに応じて変化する。
G. Seventh embodiment:
FIG. 16A is a graph showing another example of the allowable change amounts Rta (FIG. 6) and Rtb (FIG. 8), and FIG. 16B is the graph showing the allowable change amounts Rtd (FIG. 12) and Rtf( 15 is a graph showing another example of (FIG. 14). In FIG. 16A, the horizontal axis indicates the resolution of interest RSi, and the vertical axis indicates the allowable change amounts Rta and Rtb. In FIG. 16B, the horizontal axis represents the resolution of interest RSi, and the vertical axis represents the allowable change amounts Rtd and Rtf. In the present embodiment, these allowable change amounts Rta, Rtb, Rtd, Rtf change according to the resolution RSi of interest.

図16(A)に示す実施例では、許容変化量Rta、Rtbは、注目解像度RSiが小さいほど(すなわち、元解像度RS1と注目解像度RSiとの差が大きいほど)、小さい。従って、図7の例では、注目解像度RSiが小さいほど基準信頼度Thaが大きくなる。図9の例では、注目解像度RSiが小さいほど更新前の信頼度RLbに対する判断用信頼度Thbが大きくなる。換言すれば、図9の例では、注目解像度RSiが小さいほど、第1信頼度Thxが大きくなる。従って、注目解像度RSiが過剰に小さくなって文字が読みにくくなることを抑制できる。 In the embodiment shown in FIG. 16A, the allowable change amounts Rta and Rtb are smaller as the target resolution RSi is smaller (that is, the difference between the original resolution RS1 and the target resolution RSi is larger). Therefore, in the example of FIG. 7, the reference reliability Tha increases as the target resolution RSi decreases. In the example of FIG. 9, the smaller the target resolution RSi, the greater the determination reliability Thb with respect to the reliability RLb before updating. In other words, in the example of FIG. 9, the smaller the resolution of interest RSi, the larger the first reliability Thx. Therefore, it is possible to prevent the noticeable resolution RSi from becoming too small and making it difficult to read characters.

図16(B)に示す実施例では、許容変化量Rtd、Rtfは、注目解像度RSiが大きいほど(すなわち、元解像度RS1と注目解像度RSiとの差が大きいほど)、小さい。従って、図13の例では、注目解像度RSiが大きいほど基準信頼度Thdが小さくなる。図15の例では、注目解像度RSiが大きいほど更新前の信頼度RLbに対する基準信頼度Thfが小さくなる。換言すれば、図15の例では、注目解像度RSiが大きいほど、第2信頼度Thyが小さくなる。従って、注目解像度RSiが過剰に大きくなってデータサイズが大きくなることを抑制できる。 In the embodiment shown in FIG. 16B, the allowable change amounts Rtd and Rtf are smaller as the target resolution RSi is larger (that is, the difference between the original resolution RS1 and the target resolution RSi is larger). Therefore, in the example of FIG. 13, the reference reliability Thd decreases as the resolution of attention RSi increases. In the example of FIG. 15, the reference reliability Thf with respect to the reliability RLb before updating decreases as the resolution of attention RSi increases. In other words, in the example of FIG. 15, the second reliability Thy becomes smaller as the resolution of interest RSi is larger. Therefore, it is possible to prevent the resolution of attention RSi from becoming excessively large and the data size from becoming large.

なお、注目解像度RSiと許容変化量Rta、Rtb、Rtd、Rtfとの対応関係は、図16(A)、図16(B)に示す対応関係に代えて、他の種々の対応関係を採用可能である。例えば、注目解像度RSiの変化に対して、許容変化量Rta、Rtb、Rtd、Rtfがステップ状に変化してもよい。 Note that the correspondence relationship between the resolution of interest RSi and the allowable change amounts Rta, Rtb, Rtd, and Rtf can be replaced with the correspondence relationships shown in FIGS. 16A and 16B, and various other correspondence relationships can be adopted. Is. For example, the permissible change amounts Rta, Rtb, Rtd, and Rtf may change stepwise with respect to the change in the resolution of interest RSi.

H.第8実施例:
第8実施例では、図3のS117が有効である。すなわち、S115の判断結果がNoである場合、S117で、プロセッサ210は、2頁以降の注目解像度RSiの初期値を、1頁の処理で最終的に用いられた注目解像度RSiに固定する。例えば、S110として図4の処理が実行される場合、プロセッサ210は、図4のS220の判断結果に拘わらずに、S230、S240で、注目解像度RSiの初期値を、1頁の処理で高圧縮PDFデータの出力に用いられた注目解像度RSiと同じ解像度に設定する。なお、図3のS110の処理としては、上記の他の実施例の処理を採用してもよい。いずれの場合も、第2頁以降の注目解像度RSiの初期値が、第1頁の高圧縮PDFデータの出力に用いられた注目解像度RSiを用いて決定される。
H. Eighth Example:
In the eighth embodiment, S117 of FIG. 3 is effective. That is, if the determination result in S115 is No, in S117, the processor 210 fixes the initial value of the resolution of attention RSi on the second and subsequent pages to the resolution of attention RSi finally used in the processing of page 1. For example, when the processing of FIG. 4 is executed as S110, the processor 210 highly compresses the initial value of the resolution of interest RSi by the processing of one page in S230 and S240 regardless of the determination result of S220 of FIG. The resolution is set to be the same as the resolution of interest RSi used for outputting the PDF data. The process of S110 of FIG. 3 may be the process of the other embodiment described above. In any case, the initial value of the resolution of attention RSi on the second and subsequent pages is determined by using the resolution of attention RSi used for outputting the highly compressed PDF data of the first page.

通常は、1つの文書の複数頁の文字画像は、それぞれ、同じ特徴を有する文字を表している。従って、第1頁に適した注目解像度RSiは、第2頁以降にも適している場合が多い。従って、第1頁の注目解像度RSiを初期値として用いる場合には、注目解像度RSiの更新の頻度を低減できる。この結果、スキャンデータが複数頁の文字画像を表す場合に、処理の負担を軽減できる。 Usually, the character images of a plurality of pages of one document represent characters having the same characteristics. Therefore, the attention resolution RSi suitable for the first page is often suitable for the second page and thereafter. Therefore, when the attention resolution RSi of the first page is used as the initial value, the frequency of updating the attention resolution RSi can be reduced. As a result, the processing load can be reduced when the scan data represents a plurality of pages of character images.

I.第9実施例:
図17は、二値画像データの生成処理の別の実施例のフローチャートの一部である。図4、図6、図8、図10、図12、図14のフローチャートとの差異は、S220の判断結果がYesである場合処理が、S430−S490に変更されている点だけである。S220の判断結果がNoである場合の処理は、上記各実施例の処理と同じであり、処理はS220からS240またはS240cに移行する。
I. Ninth embodiment:
FIG. 17 is a part of a flowchart of another embodiment of the binary image data generation processing. The difference from the flowcharts of FIGS. 4, 6, 8, 10, 12, and 14 is only that the processing is changed to S430-S490 when the determination result of S220 is Yes. The process when the determination result of S220 is No is the same as the process of each of the above-described embodiments, and the process proceeds from S220 to S240 or S240c.

S430では、プロセッサ210は、上記各実施例のS230と同様に、注目解像度RSiを学習済解像度RSpに設定する。S460、S470は、上記各実施例のS260、S270とそれぞれ同じである。これらのS460、S470によって、プロセッサ210は、注目解像度RSiの注目二値データib2を生成する。S490では、プロセッサ210は、上記各実施例のS330、S330cと同様に、注目二値データib2を出力する。なお、S490では、S280、S280cで生成された、拡大、または、縮小された二値データib3(すなわち、元解像度RS1の二値データib3)が出力されてもよい。 In S430, the processor 210 sets the noted resolution RSi to the learned resolution RSp, as in S230 of each of the above-described embodiments. S460 and S470 are the same as S260 and S270 of the above-described embodiments, respectively. By these S460 and S470, the processor 210 generates the target binary data ib2 of the target resolution RSi. In S490, the processor 210 outputs the binary data of interest ib2, as in S330 and S330c of the above-described embodiments. Note that in S490, the expanded or reduced binary data ib3 (that is, the binary data ib3 of the original resolution RS1) generated in S280 and S280c may be output.

このように、プロセッサ210は、特徴情報Caと所定の類似関係にある類似特徴情報に対応付けられた履歴情報である類似履歴情報が不揮発性記憶装置230に格納されている場合には、注目解像度RSiを、類似履歴情報に対応付けられた学習済解像度RSpに決定する。特徴情報が類似する場合、適切な解像度もおおよそ同じと推定される。従って、プロセッサ210は、学習済解像度RSpを用いることによって、文字に適した解像度で高圧縮PDFデータを出力できる。 As described above, the processor 210, when the similar history information, which is the history information associated with the similar feature information having a predetermined similarity relationship with the feature information Ca, is stored in the nonvolatile storage device 230, the resolution of interest. RSi is determined as the learned resolution RSp associated with the similar history information. When the feature information is similar, the appropriate resolution is also estimated to be approximately the same. Therefore, the processor 210 can output the high compression PDF data with the resolution suitable for the character by using the learned resolution RSp.

J.変形例:
(1)二値画像データの生成処理の手順としては、上記の手順に代えて、他の種々の手順を採用可能である。例えば、図8のS300bでは、プロセッサ210は、「前信頼度RLc−元信頼度RLa」から「信頼度RLb−元信頼度RLa」を引いた差分が、許容変化量Rtbよりも大きいか否かを判断してもよい。また、図14のS300fでは、プロセッサ210は、「信頼度RLb−元信頼度RLa」から「前信頼度RLc−元信頼度RLa」を引いた差分が、許容変化量Rtf未満であるか否かを判断してもよい。また、図4、図6、図8の変化量dLと、図10、図12、図14の変化量dHとは、固定値ではなく可変値であってもよい。例えば、変化量dL、dHは、注目解像度RSiの更新回数の増大に応じて、低減してもよい。
J. Modification:
(1) As the procedure of the binary image data generation processing, various other procedures can be adopted instead of the above procedure. For example, in S300b of FIG. 8, the processor 210 determines whether or not the difference obtained by subtracting the "reliability RLb-original reliability RLa" from the "previous reliability RLc-original reliability RLa" is larger than the allowable change amount Rtb. May be judged. Further, in S300f of FIG. 14, the processor 210 determines whether or not the difference obtained by subtracting the “previous reliability RLc-original reliability RLa” from the “reliability RLb-original reliability RLa” is less than the allowable change amount Rtf. May be judged. Also, the change amount dL in FIGS. 4, 6, and 8 and the change amount dH in FIGS. 10, 12, and 14 may be variable values instead of fixed values. For example, the change amounts dL and dH may be reduced as the number of updates of the resolution of interest RSi is increased.

また、図4、図6、図8、図10、図12、図14のS300、S300a、S300b、S300c、S300d、S300fで用いられる注目解像度RSiに対応する信頼度RLbは、高圧縮PDFデータの展開時の文字画像のサイズとは異なるサイズの文字画像の文字認識の信頼度であってもよい。例えば、図4、図6、図8のS300、S300a、S300bで用いられる信頼度RLbとして、S270の注目二値データib2によって表される小さな文字画像の文字認識の信頼度を採用してもよい。また、図10、図12、図14のS300c、S300d、S300fで用いられる信頼度RLbとして、S270の注目二値データib2によって表される大きな文字画像の文字認識の信頼度を採用してもよい。 Further, the reliability RLb corresponding to the resolution of interest RSi used in S300, S300a, S300b, S300c, S300d, and S300f of FIGS. 4, 6, 8, 10, 12, and 14 is the high compression PDF data. The reliability of character recognition of a character image having a size different from the size of the character image at the time of expansion may be used. For example, as the reliability RLb used in S300, S300a, and S300b of FIGS. 4, 6, and 8, the reliability of character recognition of a small character image represented by the target binary data ib2 of S270 may be adopted. .. Further, as the reliability RLb used in S300c, S300d, and S300f of FIGS. 10, 12, and 14, the reliability of character recognition of a large character image represented by the noted binary data ib2 of S270 may be adopted. ..

また、注目解像度RSiに対応する信頼度RLbが信頼度条件を満たすか否かの判断(例えば、図4、図6、図8、図10、図12、図14のS300、S300a、S300b、S300c、S300d、S300f)の回数が、1回だけであってもよい。例えば、プロセッサ210は、信頼度RLbが信頼度条件を満たす場合には、注目二値データib2を出力し、信頼度RLbが信頼度条件を満たさない場合には、注目解像度RSiを更新せずに、他の画像データ(代替データとも呼ぶ)を出力してもよい。一般的には、判断回数の最大値Uが予め決められていてもよい(Uは、1以上の整数)。この場合、プロセッサ210は、注目解像度RSi更新し、そして、更新済の注目解像度RSiに対応する信頼度RLbが信頼度条件を満たすか否か判断する、という一連の処理を、最大でU回繰り返す。プロセッサ210は、一連の処理をU回繰り返したにも拘わらず、信頼度条件が満たされない場合には、代替データを出力してもよい。 Further, it is determined whether the reliability RLb corresponding to the resolution of interest RSi satisfies the reliability condition (for example, S300, S300a, S300b, and S300c in FIGS. 4, 6, 8, 10, 12, and 300). , S300d, S300f) may be only once. For example, the processor 210 outputs the target binary data ib2 when the reliability RLb satisfies the reliability condition, and updates the target resolution RSi without updating when the reliability RLb does not satisfy the reliability condition. Other image data (also referred to as alternative data) may be output. Generally, the maximum value U of the number of determinations may be predetermined (U is an integer of 1 or more). In this case, the processor 210 updates the target resolution RSi, and determines whether or not the reliability RLb corresponding to the updated target resolution RSi satisfies the reliability condition, repeating a series of processes up to U times. .. The processor 210 may output the alternative data when the reliability condition is not satisfied despite the series of processes being repeated U times.

信頼度条件が満たされない場合に出力される代替データとしては、注目解像度RSiの注目二値データib2とは異なる種々のデータを採用可能である。例えば、解像度が元解像度RS1と同じである画像データ(例えば、二値データia、または、スキャンデータi1)が出力されてもよい。また、図4、図6、図8の実施例のように注目解像度RSiが元解像度RS1よりも低い場合には、注目解像度RSiよりも大きい解像度の画像データが出力されてもよい。例えば、元解像度RS1よりも高い解像度の画像データが出力されてもよく、注目解像度RSiより高く元解像度RS1よりも低い解像度の画像データが出力されてもよい。例として、注目解像度RSiと元解像度RS1との中間値の解像度の画像データが出力されることが挙げられる。また、図10、図12、図14の実施例のように注目解像度RSiが元解像度RS1よりも高い場合には、注目解像度RSi未満の解像度の画像データが出力されてもよい。例えば、元解像度RS1よりも低い解像度の画像データが出力されてもよく、元解像度RS1よりも高く注目解像度RSiより低い解像度の画像データが出力されてもよい。ここで、判断回数の最大値Uが2以上である場合には、最後に用いた注目解像度RSiと代替データの解像度とを比較すればよい。いずれの場合も、信頼度RLbが信頼度条件を満たさない場合に出力される代替データは、二値データであってもよく、多値データであってもよく、1つの色成分で画像を表すデータであってもよく、複数の色成分で画像を表すデータであってもよい。そして、最終的に出力される出力画像データは、代替データを含む種々の形式のデータであってよい(例えば、PDFデータ)。 As alternative data that is output when the reliability condition is not satisfied, various data different from the target binary data ib2 of the target resolution RSi can be adopted. For example, image data having the same resolution as the original resolution RS1 (for example, binary data ia or scan data i1) may be output. When the resolution of interest RSi is lower than the original resolution RS1 as in the embodiments of FIGS. 4, 6 and 8, image data of a resolution higher than the resolution of interest RSi may be output. For example, image data having a resolution higher than the original resolution RS1 may be output, or image data having a resolution higher than the target resolution RSi and lower than the original resolution RS1 may be output. As an example, it is possible to output image data having a resolution that is an intermediate value between the resolution of interest RSi and the original resolution RS1. When the resolution of interest RSi is higher than the original resolution RS1 as in the embodiments of FIGS. 10, 12, and 14, image data of a resolution lower than the resolution of interest RSi may be output. For example, image data having a resolution lower than the original resolution RS1 may be output, or image data having a resolution higher than the original resolution RS1 and lower than the target resolution RSi may be output. Here, when the maximum value U of the number of determinations is 2 or more, the resolution of attention RSi used last may be compared with the resolution of the alternative data. In any case, the alternative data output when the reliability RLb does not satisfy the reliability condition may be binary data or multivalued data, and an image is represented by one color component. It may be data or data representing an image with a plurality of color components. Then, the finally output output image data may be data in various formats including alternative data (for example, PDF data).

(2)履歴情報234が特徴情報Caと所定の類似関係にある類似特徴情報に対応付けられた類似履歴情報を含む場合の注目解像度RSiの初期値は、学習済解像度RSpと同じ解像度に代えて、学習済解像度RSpを用いて決定される他の種々の値を採用可能である。例えば、変化量dL、dHに従って注目解像度RSiが更新される場合には、学習済解像度RSpよりも1段階前の解像度(例えば、RSp+dL、または、RSp−dH)を採用してもよい。例えば、図4、図6、図8、図10、図12、図14のS230等において、注目解像度RSiの初期値は、学習済解像度RSpよりも1段階前の解像度に設定されてもよい。また、学習済解像度RSpを用いて決定された初期値が元解像度RS1と同じである場合、初期値が1段階後の解像度に変更されてもよい。 (2) The initial value of the resolution of interest RSi in the case where the history information 234 includes similar history information associated with similar feature information having a predetermined similarity relationship with the feature information Ca, instead of the same resolution as the learned resolution RSp. , Various other values determined by using the learned resolution RSp can be adopted. For example, when the noted resolution RSi is updated according to the change amounts dL and dH, the resolution one step before the learned resolution RSp (for example, RSp+dL or RSp-dH) may be adopted. For example, in S230 of FIG. 4, FIG. 6, FIG. 8, FIG. 10, FIG. 12, and FIG. 14, the initial value of the resolution of interest RSi may be set to the resolution one step before the learned resolution RSp. Further, when the initial value determined using the learned resolution RSp is the same as the original resolution RS1, the initial value may be changed to the resolution after one step.

(3)データ出力処理によって出力される出力画像データの構成は、上記の高圧縮PDFデータの構成に代えて、他の種々の構成を採用可能である。例えば、高圧縮PDFデータは、描画コマンドを含まずに、解像度が元解像度RS1に変換済の二値画像データを含んでもよい。また、高圧縮PDFデータによって表される文字画像のサイズは、スキャンデータによって表される文字画像のサイズと異なっていてもよい。例えば、高圧縮PDFデータに含まれる二値画像データの解像度がスキャンデータの解像度と異なる場合であっても、拡大または縮小の描画コマンドが省略されてもよい。また、高圧縮PDFデータによって表される文字画像の階調数は、2とは異なっていてもよく、例えば、スキャンデータの階調数と同じであってもよい。この場合も、例えば色成分の総数を低減することによって、データサイズを小さくできる。例えば、高圧縮PDFデータは、モノクロ化されたM階調の画像データを含んでもよい。また、高圧縮PDFデータに付加される文字データは、信頼度RLbの算出に利用された複数の注目解像度のうちの最も高い注目解像度とは異なる注目解像度に対応する画像データの文字認識処理によって特定されてもよい。例えば、スキャンデータを解像度変換せずに二値化して得られる二値データiaの文字認識処理で特定された文字データTaを採用してもよい。ただし、文字データが省略されてもよい。また、出力画像データのデータ形式は、PDF形式に代えて、他の任意の形式を採用可能である(例えば、JPG形式やPNG形式、XPS形式)。いずれの場合も、出力画像データによって表される文字画像の階調数は、2階調に代えて、他の階調数であってもよい。また、元の画像データ(例えば、スキャンデータ)によって表される文字画像の階調数は、256階調に代えて、他の階調数であってもよい。なお、出力画像データのデータサイズを小さくするためには、出力画像データの階調数は、元の画像データの階調数よりも少ないことが好ましい。 (3) As the configuration of the output image data output by the data output process, various other configurations can be adopted instead of the configuration of the high compression PDF data described above. For example, the high compression PDF data may include the binary image data whose resolution has been converted to the original resolution RS1 without including the drawing command. Further, the size of the character image represented by the high compression PDF data may be different from the size of the character image represented by the scan data. For example, even if the resolution of the binary image data included in the high compression PDF data is different from the resolution of the scan data, the drawing command for enlarging or reducing may be omitted. Further, the gradation number of the character image represented by the high compression PDF data may be different from 2, and may be the same as the gradation number of the scan data, for example. In this case as well, the data size can be reduced by reducing the total number of color components, for example. For example, the high compression PDF data may include monochrome M-gradation image data. Further, the character data added to the high compression PDF data is specified by the character recognition processing of the image data corresponding to the attention resolution different from the highest attention resolution among the plurality of attention resolutions used to calculate the reliability RLb. May be done. For example, the character data Ta specified by the character recognition process of the binary data ia obtained by binarizing the scan data without converting the resolution may be adopted. However, the character data may be omitted. Further, as the data format of the output image data, any other format can be adopted instead of the PDF format (for example, JPG format, PNG format, XPS format). In any case, the gradation number of the character image represented by the output image data may be another gradation number instead of two gradations. Further, the number of gradations of the character image represented by the original image data (for example, scan data) may be another gradation number instead of 256 gradations. In order to reduce the data size of the output image data, the number of gradations of the output image data is preferably smaller than the number of gradations of the original image data.

(4)履歴情報234を格納する記憶装置は、データ処理装置200に内蔵された記憶装置に代えて、他の任意の記憶装置であってよい。例えば、通信インタフェース270に接続された外付けの記憶装置を採用してもよい。 (4) The storage device that stores the history information 234 may be any other storage device instead of the storage device built in the data processing device 200. For example, an external storage device connected to the communication interface 270 may be adopted.

(5)データ処理装置200には、解像度を低減する出力処理(例えば、図4、図6、図8の少なくとも1つ)と、解像度を高める出力処理(例えば、図10、図12、図14の少なくとも1つ)と、の少なくとも一方が実装されていることが好ましい。また、複数の出力処理が実装されている場合、プロセッサ210は、ユーザによって選択された出力処理を実行することが好ましい。 (5) In the data processing device 200, output processing for reducing the resolution (for example, at least one of FIGS. 4, 6, and 8) and output processing for increasing the resolution (for example, FIGS. 10, 12, and 14). It is preferable that at least one of (1) and (3) is mounted. Further, when a plurality of output processes are implemented, the processor 210 preferably executes the output process selected by the user.

(6)画像データを出力する出力装置は、図1のデータ処理装置200のようなパーソナルコンピュータとは異なる種類の装置(例えば、デジタルカメラ、スキャナ、スマートフォン)であってもよい。また、出力装置が、印刷装置やディスプレイ装置の一部であってもよい。また、ネットワークを介して互いに通信可能な複数の装置(例えば、コンピュータ)が、生成装置による生成処理の機能を一部ずつ分担して、全体として、生成処理の機能を提供してもよい(これらの装置を備えるシステムが生成装置に対応する)。 (6) The output device that outputs image data may be a device (for example, a digital camera, a scanner, a smartphone) of a type different from the personal computer such as the data processing device 200 of FIG. 1. Further, the output device may be a part of the printing device or the display device. In addition, a plurality of devices (for example, computers) that can communicate with each other via a network may share the function of the generation process by the generation device, and provide the function of the generation process as a whole (these). The system including the device corresponds to the generation device).

上記各実施例において、ハードウェアによって実現されていた構成の一部をソフトウェアに置き換えるようにしてもよく、逆に、ソフトウェアによって実現されていた構成の一部あるいは全部をハードウェアに置き換えるようにしてもよい。例えば、図3のS110の生成処理の機能を、専用のハードウェア回路によって実現してもよい。 In each of the above embodiments, part of the configuration realized by hardware may be replaced with software, and conversely, part or all of the configuration realized by software may be replaced with hardware. Good. For example, the function of the generation process of S110 of FIG. 3 may be realized by a dedicated hardware circuit.

また、本発明の機能の一部または全部がコンピュータプログラムで実現される場合には、そのプログラムは、コンピュータ読み取り可能な記録媒体(例えば、一時的ではない記録媒体)に格納された形で提供することができる。プログラムは、提供時と同一または異なる記録媒体(コンピュータ読み取り可能な記録媒体)に格納された状態で、使用され得る。「コンピュータ読み取り可能な記録媒体」は、メモリーカードやCD−ROMのような携帯型の記録媒体に限らず、各種ROM等のコンピュータ内の内部記憶装置や、ハードディスクドライブ等のコンピュータに接続されている外部記憶装置も含み得る。 When some or all of the functions of the present invention are realized by a computer program, the program is provided in a form stored in a computer-readable recording medium (for example, a non-transitory recording medium). be able to. The program can be used while being stored in the same recording medium (computer-readable recording medium) as that provided or provided. The "computer-readable recording medium" is not limited to a portable recording medium such as a memory card or a CD-ROM, but is connected to an internal storage device in the computer such as various ROMs or a computer such as a hard disk drive. External storage may also be included.

以上、実施例、変形例に基づき本発明について説明してきたが、上記した発明の実施の形態は、本発明の理解を容易にするためのものであり、本発明を限定するものではない。本発明は、その趣旨並びに特許請求の範囲を逸脱することなく、変更、改良され得ると共に、本発明にはその等価物が含まれる。 Although the present invention has been described above based on the examples and modifications, the above-described embodiments of the present invention are intended to facilitate understanding of the present invention and do not limit the present invention. The present invention can be modified and improved without departing from the spirit and scope of the claims, and the present invention includes equivalents thereof.

200...データ処理装置、210...プロセッサ、220...揮発性記憶装置、230...不揮発性記憶装置、232...プログラム、234...履歴情報、240...表示部、250...操作部、270...通信インタフェース、300...複合機、310...制御部、370...通信インタフェース、380...スキャナ部、390...印刷実行部 200... Data processing device, 210... Processor, 220... Volatile storage device, 230... Nonvolatile storage device, 232... Program, 234... History information, 240... Display Section, 250...operation section, 270...communication interface, 300...multifunction machine, 310...control section, 370...communication interface, 380...scanner section, 390...print execution Department

Claims (27)

文字を含む文字画像を表す画像データを出力する出力装置であって、
前記文字画像を表す元画像データを用いて前記元画像データの解像度よりも低い注目解像度で前記文字画像を表す注目画像データを生成する生成部と、
前記注目画像データを用いて得られる前記文字画像の文字認識の信頼度である注目信頼度を取得する取得部と、
前記注目信頼度が基準信頼度以上であることを含む条件が満たされる場合に、前記注目解像度の前記注目画像データを用いて出力画像データを、データを受け付ける受付部に出力し、前記条件が満たされない場合に、前記注目解像度より大きい解像度の画像データを前記受付部に出力する、出力制御部と、
を備え
前記出力画像データは、前記注目解像度の前記注目画像データと、前記注目画像データによって表される前記文字画像を拡大または縮小するコマンドと、を含む、
出力装置。
An output device for outputting image data representing a character image including characters,
A generation unit that generates, using the original image data representing the character image, the image data of interest representing the character image at a resolution of interest lower than the resolution of the original image data;
An acquisition unit that acquires the reliability of attention, which is the reliability of character recognition of the character image obtained using the target image data,
When a condition including that the attention reliability is equal to or higher than a reference reliability is satisfied, output image data is output to a reception unit that receives data by using the attention image data having the attention resolution, and the condition is satisfied. If not, an output control unit that outputs image data having a resolution larger than the resolution of interest to the reception unit,
Equipped with
The output image data includes the target image data of the target resolution and a command for enlarging or reducing the character image represented by the target image data.
Output device.
請求項1に記載の出力装置であって、
前記基準信頼度は、特定信頼度と許容変化量を用いて表される信頼度であり、
前記特定信頼度は、前記元画像データを用いて生成される特定画像データであって、前記文字画像を表す特定解像度の前記特定画像データを用いて得られる前記文字画像の文字認識の信頼度であり、
前記特定解像度は、前記元画像データの解像度と同じ解像度である
出力装置。
The output device according to claim 1, wherein
The reference reliability is a reliability represented by using a specific reliability and an allowable change amount,
The specific reliability is specific image data generated by using the original image data, and is a reliability of character recognition of the character image obtained by using the specific image data of a specific resolution representing the character image. Yes,
The specific resolution is the same as the resolution of the original image data,
Output device.
請求項に記載の出力装置であって、
前記生成部と前記取得部とは、
前記生成部による、前記注目解像度をより低い解像度に更新し、更新済の注目解像度で注目画像データを生成することと、
前記取得部による、前記更新済の前記注目解像度に対応する前記注目画像データの注目信頼度を取得することと、
を、前記更新済の前記注目解像度に対応する前記注目信頼度が前記条件を満たさなくなるまで繰り返し、
前記出力制御部は、前記条件を満たす注目解像度のうち最も低い注目解像度に対応する注目画像データを用いて前記出力画像データを出力する、
出力装置。
The output device according to claim 1 , wherein
The generation unit and the acquisition unit,
Updating the target resolution by the generation unit to a lower resolution, and generating the target image data with the updated target resolution,
Acquiring the attention reliability of the attention image data corresponding to the updated attention resolution by the acquisition unit;
Is repeated until the attention reliability corresponding to the updated attention resolution does not satisfy the condition,
The output control unit outputs the output image data using the attention image data corresponding to the lowest attention resolution among the attention resolutions satisfying the conditions.
Output device.
請求項に記載の出力装置であって、
前記基準信頼度は、特定信頼度と許容変化量を用いて表される信頼度であり、
前記特定信頼度は、前記元画像データを用いて生成される特定画像データであって、前記文字画像を表す特定解像度の前記特定画像データを用いて得られる前記文字画像の文字認識の信頼度であり、
前記注目解像度が1回以上更新された場合に、前記特定解像度は、前記元画像データの解像度以下かつ前記注目解像度よりも大きい解像度であって最後の更新よりも前の更新での更新済の注目解像度のうち最も新しい注目解像度である、
出力装置。
The output device according to claim 3 , wherein
The reference reliability is a reliability represented by using a specific reliability and an allowable change amount,
The specific reliability is specific image data generated by using the original image data, and is a reliability of character recognition of the character image obtained by using the specific image data of a specific resolution representing the character image. Yes,
When the target resolution is updated at least once, said specific resolution, the I resolution greater der than a resolution less and the target resolution of the original image data, already updated at the end than the pre-update update Is the newest attention resolution among
Output device.
文字を含む文字画像を表す画像データを出力する出力装置であって、
前記文字画像を表す元画像データを用いて前記元画像データの解像度よりも高い注目解像度で前記文字画像を表す注目画像データを生成する生成部と、
前記注目画像データを用いて得られる前記文字画像の文字認識の信頼度である注目信頼度を取得する取得部と、
前記注目信頼度が基準信頼度未満であることを含む条件が満たされる場合に、前記注目解像度の前記注目画像データを用いて出力画像データを、データを受け付ける受付部に出力し、前記条件が満たされない場合に、前記注目解像度未満の解像度の画像データを前記受付部に出力する、出力制御部と、
を備え
前記出力画像データは、前記注目解像度の前記注目画像データと、前記注目画像データによって表される前記文字画像を拡大または縮小するコマンドと、を含む、
出力装置。
An output device for outputting image data representing a character image including characters,
A generation unit that generates, using the original image data representing the character image, the image data of interest representing the character image at a resolution of interest higher than the resolution of the original image data;
An acquisition unit that acquires the reliability of attention, which is the reliability of character recognition of the character image obtained using the target image data,
When a condition including that the attention reliability is less than the reference reliability is satisfied, output image data is output to a reception unit that receives data by using the attention image data having the attention resolution, and the condition is satisfied. If not, an output control unit that outputs image data having a resolution lower than the target resolution to the reception unit,
Equipped with
The output image data includes the target image data of the target resolution and a command for enlarging or reducing the character image represented by the target image data.
Output device.
請求項に記載の出力装置であって、
前記基準信頼度は、特定信頼度と許容変化量とを用いて表される信頼度であり、
前記特定信頼度は、前記元画像データを用いて生成される特定画像データであって、前記文字画像を表す特定解像度の前記特定画像データを用いて得られる前記文字画像の文字認識の信頼度であり、
前記特定解像度は、前記元画像データの解像度と同じ解像度である、
出力装置。
The output device according to claim 5 , wherein
The reference reliability is a reliability represented by using a specific reliability and an allowable change amount,
The specific reliability is specific image data generated by using the original image data, and is a reliability of character recognition of the character image obtained by using the specific image data of a specific resolution representing the character image. Yes,
The specific resolution is the same as the resolution of the original image data ,
Output device.
請求項に記載の出力装置であって、
前記生成部と前記取得部とは、
前記生成部による、前記注目解像度をより高い解像度に更新し、更新済の注目解像度で注目画像データを生成することと、
前記取得部による、前記更新済の前記注目解像度に対応する前記注目画像データの注目信頼度を取得することと、
を、前記更新済の前記注目解像度に対応する前記注目信頼度が前記条件を満たさなくなるまで繰り返し、
前記出力制御部は、前記条件を満たす注目解像度のうち最も高い注目解像度に対応する注目画像データを用いて前記出力画像データを出力する、
出力装置。
The output device according to claim 5 , wherein
The generation unit and the acquisition unit,
Updating the target resolution by the generation unit to a higher resolution, and generating the target image data with the updated target resolution;
Acquiring the attention reliability of the attention image data corresponding to the updated attention resolution by the acquisition unit;
Is repeated until the attention reliability corresponding to the updated attention resolution does not satisfy the condition,
The output control unit outputs the output image data using the attention image data corresponding to the highest attention resolution among the attention resolutions satisfying the conditions.
Output device.
請求項に記載の出力装置であって、
前記基準信頼度は、特定信頼度と許容変化量とを用いて表される信頼度であり、
前記特定信頼度は、前記元画像データを用いて生成される特定画像データであって、前記文字画像を表す特定解像度の前記特定画像データを用いて得られる前記文字画像の文字認識の信頼度であり、
前記注目解像度が1回以上更新された場合に、前記特定解像度は、前記元画像データの解像度以上かつ前記注目解像度よりも小さい解像度であって最後の更新よりも前の更新での更新済の注目解像度のうち最も新しい注目解像度である、
出力装置。
The output device according to claim 7 , wherein
The reference reliability is a reliability represented by using a specific reliability and an allowable change amount,
The specific reliability is specific image data generated by using the original image data, and is a reliability of character recognition of the character image obtained by using the specific image data of a specific resolution representing the character image. Yes,
When the target resolution is updated at least once, said specific resolution, the I smaller resolution der than resolution or more and the target resolution of the original image data, already updated at the end than the pre-update update Is the newest attention resolution among
Output device.
請求項1から8のいずれかに記載の出力装置であって、
前記取得部は、前記注目画像データを用いて得られる前記文字画像である注目文字画像であって、前記出力画像データの展開時の前記文字画像のサイズと同じサイズの前記注目文字画像の文字認識の信頼度を、前記注目信頼度として取得する、
出力装置。
The output device according to any one of claims 1 to 8,
The acquisition unit is a character image of interest that is the character image obtained by using the image data of interest, the character recognition of the character image of interest having the same size as the size of the character image when the output image data is expanded. Is obtained as the attention reliability,
Output device.
請求項1から9のいずれかに記載の出力装置であって、
前記出力画像データの展開時の前記文字画像のサイズは、前記元画像データの展開時の前記文字画像のサイズと同じである、
出力装置。
The output device according to any one of claims 1 to 9,
The size of the character image at the time of expanding the output image data is the same as the size of the character image at the time of expanding the original image data,
Output device.
請求項1から10のいずれかに記載の出力装置であって、
前記出力画像データは、前記注目解像度の前記注目画像データと、前記注目画像データによって表される前記文字画像を拡大または縮小するコマンドと、を含む、
出力装置。
It is an output device in any one of Claim 1 to 10, Comprising:
The output image data includes the target image data of the target resolution and a command for enlarging or reducing the character image represented by the target image data.
Output device.
請求項1から11のいずれかに記載の出力装置であって、
前記取得部は、前記注目画像データを用いて得られる前記文字画像である注目文字画像であって、前記出力画像データによって表される前記文字画像の階調数と同じ階調数で表された前記注目文字画像の文字認識の信頼度を、前記注目信頼度として取得する、
出力装置。
The output device according to any one of claims 1 to 11,
The acquisition unit is a target character image that is the character image obtained by using the target image data, and has the same number of gradations as the number of gradations of the character image represented by the output image data. The reliability of character recognition of the target character image is acquired as the target reliability.
Output device.
請求項1から12のいずれかに記載の出力装置であって、
前記出力画像データによって表される前記文字画像の階調数は、前記元画像データによって表される前記文字画像の階調数より小さい、
出力装置。
The output device according to any one of claims 1 to 12,
The gradation number of the character image represented by the output image data is smaller than the gradation number of the character image represented by the original image data,
Output device.
請求項2、4、6、8のいずれかに記載の出力装置であって、
前記出力制御部は、前記許容変化量を、前記注目解像度に応じて変化させる、
出力装置。
The output device according to any one of claims 2 , 4, 6, and 8 ,
The output control unit changes the allowable change amount according to the resolution of interest.
Output device.
請求項3、4、7、8のいずれかに記載の出力装置であって、
前記条件を満たす注目解像度と、前記文字画像によって表される前記文字の特徴を表す特徴情報と、を対応付ける履歴情報を、記憶装置に格納する履歴管理部を備え、
前記生成部は、処理対象の前記元画像データの文字画像によって表される文字の特徴と所定の類似関係にある特徴情報に対応付けられた履歴情報である類似履歴情報が前記記憶装置に格納されている場合に、前記注目解像度の初期値を、前記類似履歴情報に対応付けられた解像度を用いて決定する、
出力装置。
The output device according to any one of claims 3 , 4, 7, and 8 ,
A history management unit that stores history information in which a resolution of interest satisfying the condition and feature information representing a feature of the character represented by the character image are stored in a storage device;
The generation unit stores similarity history information, which is history information associated with feature information having a predetermined similarity relationship with a feature of a character represented by a character image of the original image data to be processed, in the storage device. In the case of, the initial value of the resolution of interest is determined using the resolution associated with the similar history information,
Output device.
請求項15に記載の出力装置であって、
前記元画像データは、複数頁の文字画像を表し、
前記履歴管理部は、第1頁の文字画像を表す出力画像データの出力に用いられる注目画像データの解像度と、前記第1頁の文字画像の文字の特徴を表す特徴情報と、を対応付ける特定履歴情報を、前記記憶装置に格納し、
前記生成部は、前記特定履歴情報に対応付けられた前記特徴情報が、第2頁の文字画像によって表される文字の特徴と前記所定の類似関係にある場合に、前記第2頁の文字画像を表す注目画像データの注目解像度の初期値を、前記特定履歴情報に対応付けられた解像度を用いて決定する、
出力装置。
The output device according to claim 15, wherein
The original image data represents a character image of a plurality of pages,
The history management unit associates the resolution of the image data of interest used to output the output image data representing the character image of the first page with the feature information representing the feature of the character of the character image of the first page with a specific history. Storing information in the storage device,
When the characteristic information associated with the specific history information has the predetermined similar relationship with the characteristic of the character represented by the character image of the second page, the generation unit may generate the character image of the second page. The initial value of the resolution of interest of the image data of interest is determined using the resolution associated with the specific history information,
Output device.
請求項15に記載の出力装置であって、
前記元画像データは、複数頁の文字画像を表し、
前記履歴管理部は、第1頁の文字画像を表す出力画像データの出力に用いられる注目画像データの解像度と、前記第1頁の文字画像の文字の特徴を表す特徴情報と、を対応付ける特定履歴情報を、前記記憶装置に格納し、
前記生成部は、2頁の文字画像を表す注目画像データの注目解像度の初期値を、前記特定履歴情報に対応付けられた解像度を用いて決定する、
出力装置。
The output device according to claim 15, wherein
The original image data represents a character image of a plurality of pages,
The history management unit associates the resolution of the image data of interest used to output the output image data representing the character image of the first page with the feature information representing the feature of the character of the character image of the first page with a specific history. Storing information in the storage device,
The generation unit determines an initial value of a noticed resolution of noticed image data representing a character image of the second page by using a resolution associated with the specific history information.
Output device.
請求項1から17のいずれかに記載の出力装置であって、
前記生成部は、互いに異なる複数の注目解像度に対応する複数の注目画像データを生成し、
前記出力制御部は、前記複数の注目画像データのうちの最も高い注目解像度に対応する注目画像データを用いて得られる前記文字画像の文字認識の結果を表す文字データを含む前記出力画像データを、出力する、
出力装置。
The output device according to any one of claims 1 to 17,
The generation unit generates a plurality of target image data corresponding to a plurality of different target resolutions,
The output control unit, the output image data including character data representing a result of character recognition of the character image obtained by using the attention image data corresponding to the highest attention resolution of the plurality of attention image data, Output,
Output device.
請求項1から18のいずれかに記載の出力装置であって、
前記条件を満たす注目解像度と、前記文字画像によって表される前記文字の特徴を表す特徴情報と、を対応付ける履歴情報を、記憶装置に格納する履歴管理部を備え、
前記生成部は、処理対象の前記元画像データの文字画像によって表される文字の特徴と所定の類似関係にある特徴情報に対応付けられた履歴情報である類似履歴情報が前記記憶装置に格納されている場合に、前記注目解像度を、前記類似履歴情報に対応付けられた解像度を用いて決定する動作モードを有し、
前記出力制御部は、前記条件が満たされるか否かに係わらず、前記注目解像度の前記注目画像データを用いて前記出力画像データを出力する動作モードを有する、
出力装置。
The output device according to any one of claims 1 to 18,
A history management unit that stores history information in which a resolution of interest satisfying the condition and feature information representing a feature of the character represented by the character image are stored in a storage device;
The generation unit stores similarity history information, which is history information associated with feature information having a predetermined similarity relationship with a feature of a character represented by a character image of the original image data to be processed, in the storage device. In the case of, the target resolution has an operation mode for determining using the resolution associated with the similar history information,
The output control unit has an operation mode of outputting the output image data by using the attention image data of the attention resolution regardless of whether or not the condition is satisfied.
Output device.
文字を含む文字画像を表す画像データを出力する出力装置であって、
前記文字画像を表す元画像データを用いて前記元画像データの解像度よりも低い注目解像度で前記文字画像を表す注目画像データを生成する生成部と、
前記注目画像データを用いて得られる前記文字画像の文字認識の信頼度である注目信頼度を取得する取得部と、
前記注目信頼度が基準信頼度以上であることを含む条件が満たされる場合に、前記注目解像度の前記注目画像データを用いて出力画像データを、データを受け付ける受付部に出力し、前記条件が満たされない場合に、前記注目解像度より大きい解像度の画像データを前記受付部に出力する、出力制御部と、
を備え
前記取得部は、前記注目画像データを用いて得られる前記文字画像である注目文字画像であって、前記出力画像データの展開時の前記文字画像のサイズと同じサイズの前記注目文字画像の文字認識の信頼度を、前記注目信頼度として取得する、
出力装置。
An output device for outputting image data representing a character image including characters,
A generation unit that generates, using the original image data representing the character image, the image data of interest representing the character image at a resolution of interest lower than the resolution of the original image data;
An acquisition unit that acquires the reliability of attention, which is the reliability of character recognition of the character image obtained using the target image data,
When a condition including that the attention reliability is equal to or higher than a reference reliability is satisfied, output image data is output to a reception unit that receives data by using the attention image data having the attention resolution, and the condition is satisfied. If not, an output control unit that outputs image data having a resolution larger than the resolution of interest to the reception unit,
Equipped with
The acquisition unit is a character image of interest that is the character image obtained by using the image data of interest, the character recognition of the character image of interest having the same size as the size of the character image when the output image data is expanded. Is obtained as the attention reliability,
Output device.
文字を含む文字画像を表す画像データを出力する出力装置であって、
前記文字画像を表す元画像データを用いて前記元画像データの解像度よりも高い注目解像度で前記文字画像を表す注目画像データを生成する生成部と、
前記注目画像データを用いて得られる前記文字画像の文字認識の信頼度である注目信頼度を取得する取得部と、
前記注目信頼度が基準信頼度未満であることを含む条件が満たされる場合に、前記注目解像度の前記注目画像データを用いて出力画像データを、データを受け付ける受付部に出力し、前記条件が満たされない場合に、前記注目解像度未満の解像度の画像データを前記受付部に出力する、出力制御部と、
を備え
前記取得部は、前記注目画像データを用いて得られる前記文字画像である注目文字画像であって、前記出力画像データの展開時の前記文字画像のサイズと同じサイズの前記注目文字画像の文字認識の信頼度を、前記注目信頼度として取得する、
出力装置。
An output device for outputting image data representing a character image including characters,
A generation unit that generates, using the original image data representing the character image, the image data of interest representing the character image at a resolution of interest higher than the resolution of the original image data;
An acquisition unit that acquires the reliability of attention, which is the reliability of character recognition of the character image obtained using the target image data,
When a condition including that the attention reliability is less than the reference reliability is satisfied, output image data is output to a reception unit that receives data by using the attention image data having the attention resolution, and the condition is satisfied. If not, an output control unit that outputs image data having a resolution lower than the target resolution to the reception unit,
Equipped with
The acquisition unit is a character image of interest that is the character image obtained by using the image data of interest, the character recognition of the character image of interest having the same size as the size of the character image when the output image data is expanded. Is obtained as the attention reliability,
Output device.
文字を含む文字画像を表す画像データを出力する出力装置であって、
前記文字画像を表す元画像データを用いて前記元画像データの解像度よりも低い注目解像度で前記文字画像を表す注目画像データを生成する生成部と、
前記注目画像データを用いて得られる前記文字画像の文字認識の信頼度である注目信頼度を取得する取得部と、
前記注目信頼度が基準信頼度以上であることを含む条件が満たされる場合に、前記注目解像度の前記注目画像データを用いて出力画像データを、データを受け付ける受付部に出力し、前記条件が満たされない場合に、前記注目解像度より大きい解像度の画像データを前記受付部に出力する、出力制御部と、
を備え
前記生成部と前記取得部とは、
前記生成部による、前記注目解像度をより低い解像度に更新し、更新済の注目解像度で注目画像データを生成することと、
前記取得部による、前記更新済の前記注目解像度に対応する前記注目画像データの注目信頼度を取得することと、
を、前記更新済の前記注目解像度に対応する前記注目信頼度が前記条件を満たさなくなるまで繰り返し、
前記出力制御部は、前記条件を満たす注目解像度のうち最も低い注目解像度に対応する注目画像データを用いて前記出力画像データを出力し、
前記条件を満たす注目解像度と、前記文字画像によって表される前記文字の特徴を表す特徴情報と、を対応付ける履歴情報を、記憶装置に格納する履歴管理部を備え、
前記生成部は、処理対象の前記元画像データの文字画像によって表される文字の特徴と所定の類似関係にある特徴情報に対応付けられた履歴情報である類似履歴情報が前記記憶装置に格納されている場合に、前記注目解像度の初期値を、前記類似履歴情報に対応付けられた解像度を用いて決定する、
出力装置。
An output device for outputting image data representing a character image including characters,
A generation unit that generates, using the original image data representing the character image, the image data of interest representing the character image at a resolution of interest lower than the resolution of the original image data;
An acquisition unit that acquires the reliability of attention, which is the reliability of character recognition of the character image obtained using the target image data,
When a condition including that the attention reliability is equal to or higher than a reference reliability is satisfied, output image data is output to a reception unit that receives data by using the attention image data having the attention resolution, and the condition is satisfied. If not, an output control unit that outputs image data having a resolution larger than the resolution of interest to the reception unit,
Equipped with
The generation unit and the acquisition unit,
Updating the target resolution by the generation unit to a lower resolution, and generating the target image data with the updated target resolution,
Acquiring the attention reliability of the attention image data corresponding to the updated attention resolution by the acquisition unit;
Is repeated until the attention reliability corresponding to the updated attention resolution does not satisfy the condition,
The output control unit outputs the output image data by using the attention image data corresponding to the lowest attention resolution among the attention resolutions satisfying the conditions,
A history management unit that stores history information in which a resolution of interest satisfying the condition and feature information representing a feature of the character represented by the character image are stored in a storage device;
The generation unit stores similarity history information, which is history information associated with feature information having a predetermined similarity relationship with a feature of a character represented by a character image of the original image data to be processed, in the storage device. In the case of, the initial value of the resolution of interest is determined using the resolution associated with the similar history information,
Output device.
文字を含む文字画像を表す画像データを出力する出力装置であって、
前記文字画像を表す元画像データを用いて前記元画像データの解像度よりも高い注目解像度で前記文字画像を表す注目画像データを生成する生成部と、
前記注目画像データを用いて得られる前記文字画像の文字認識の信頼度である注目信頼度を取得する取得部と、
前記注目信頼度が基準信頼度未満であることを含む条件が満たされる場合に、前記注目解像度の前記注目画像データを用いて出力画像データを、データを受け付ける受付部に出力し、前記条件が満たされない場合に、前記注目解像度未満の解像度の画像データを前記受付部に出力する、出力制御部と、
を備え
前記生成部と前記取得部とは、
前記生成部による、前記注目解像度をより高い解像度に更新し、更新済の注目解像度で注目画像データを生成することと、
前記取得部による、前記更新済の前記注目解像度に対応する前記注目画像データの注目信頼度を取得することと、
を、前記更新済の前記注目解像度に対応する前記注目信頼度が前記条件を満たさなくなるまで繰り返し、
前記出力制御部は、前記条件を満たす注目解像度のうち最も高い注目解像度に対応する注目画像データを用いて前記出力画像データを出力し、
前記条件を満たす注目解像度と、前記文字画像によって表される前記文字の特徴を表す特徴情報と、を対応付ける履歴情報を、記憶装置に格納する履歴管理部を備え、
前記生成部は、処理対象の前記元画像データの文字画像によって表される文字の特徴と所定の類似関係にある特徴情報に対応付けられた履歴情報である類似履歴情報が前記記憶装置に格納されている場合に、前記注目解像度の初期値を、前記類似履歴情報に対応付けられた解像度を用いて決定する、
出力装置。
An output device for outputting image data representing a character image including characters,
A generation unit that generates, using the original image data representing the character image, the image data of interest representing the character image at a resolution of interest higher than the resolution of the original image data;
An acquisition unit that acquires the reliability of attention, which is the reliability of character recognition of the character image obtained using the target image data,
When a condition including that the attention reliability is less than the reference reliability is satisfied, output image data is output to a reception unit that receives data by using the attention image data having the attention resolution, and the condition is satisfied. If not, an output control unit that outputs image data having a resolution lower than the target resolution to the reception unit,
Equipped with
The generation unit and the acquisition unit,
Updating the target resolution by the generation unit to a higher resolution, and generating the target image data with the updated target resolution;
Acquiring the attention reliability of the attention image data corresponding to the updated attention resolution by the acquisition unit;
Is repeated until the attention reliability corresponding to the updated attention resolution does not satisfy the condition,
The output control unit outputs the output image data by using attention image data corresponding to the highest attention resolution among the attention resolutions satisfying the conditions,
A history management unit that stores history information in which a resolution of interest satisfying the condition and feature information representing a feature of the character represented by the character image are stored in a storage device;
The generation unit stores similarity history information, which is history information associated with feature information having a predetermined similarity relationship with a feature of a character represented by a character image of the original image data to be processed, in the storage device. In the case of, the initial value of the resolution of interest is determined using the resolution associated with the similar history information,
Output device.
文字を含む文字画像を表す画像データを出力する出力装置であって、
前記文字画像を表す元画像データを用いて前記元画像データの解像度よりも低い注目解像度で前記文字画像を表す注目画像データを生成する生成部と、
前記注目画像データを用いて得られる前記文字画像の文字認識の信頼度である注目信頼度を取得する取得部と、
前記注目信頼度が基準信頼度以上であることを含む条件が満たされる場合に、前記注目解像度の前記注目画像データを用いて出力画像データを、データを受け付ける受付部に出力し、前記条件が満たされない場合に、前記注目解像度より大きい解像度の画像データを前記受付部に出力する、出力制御部と、
前記条件を満たす注目解像度と、前記文字画像によって表される前記文字の特徴を表す特徴情報と、を対応付ける履歴情報を、記憶装置に格納する履歴管理部と、
を備え
前記生成部は、処理対象の前記元画像データの文字画像によって表される文字の特徴と所定の類似関係にある特徴情報に対応付けられた履歴情報である類似履歴情報が前記記憶装置に格納されている場合に、前記注目解像度を、前記類似履歴情報に対応付けられた解像度を用いて決定する動作モードを有し、
前記出力制御部は、前記条件が満たされるか否かに係わらず、前記注目解像度の前記注目画像データを用いて前記出力画像データを出力する動作モードを有する、
出力装置。
An output device for outputting image data representing a character image including characters,
A generation unit that generates, using the original image data representing the character image, the image data of interest representing the character image at a resolution of interest lower than the resolution of the original image data;
An acquisition unit that acquires the reliability of attention, which is the reliability of character recognition of the character image obtained using the target image data,
When a condition including that the attention reliability is equal to or higher than a reference reliability is satisfied, output image data is output to a reception unit that receives data by using the attention image data having the attention resolution, and the condition is satisfied. If not, an output control unit that outputs image data having a resolution larger than the resolution of interest to the reception unit,
A history management unit that stores history information that associates a resolution of interest satisfying the condition and feature information that represents the feature of the character represented by the character image in a storage device;
Equipped with
The generation unit stores similarity history information, which is history information associated with feature information having a predetermined similarity relationship with a feature of a character represented by a character image of the original image data to be processed, in the storage device. In the case of, the target resolution has an operation mode for determining using the resolution associated with the similar history information,
The output control unit has an operation mode of outputting the output image data by using the attention image data of the attention resolution regardless of whether or not the condition is satisfied.
Output device.
文字を含む文字画像を表す画像データを出力する出力装置であって、
前記文字画像を表す元画像データを用いて前記元画像データの解像度よりも高い注目解像度で前記文字画像を表す注目画像データを生成する生成部と、
前記注目画像データを用いて得られる前記文字画像の文字認識の信頼度である注目信頼度を取得する取得部と、
前記注目信頼度が基準信頼度未満であることを含む条件が満たされる場合に、前記注目解像度の前記注目画像データを用いて出力画像データを、データを受け付ける受付部に出力し、前記条件が満たされない場合に、前記注目解像度未満の解像度の画像データを前記受付部に出力する、出力制御部と、
前記条件を満たす注目解像度と、前記文字画像によって表される前記文字の特徴を表す特徴情報と、を対応付ける履歴情報を、記憶装置に格納する履歴管理部と、
を備え
前記生成部は、処理対象の前記元画像データの文字画像によって表される文字の特徴と所定の類似関係にある特徴情報に対応付けられた履歴情報である類似履歴情報が前記記憶装置に格納されている場合に、前記注目解像度を、前記類似履歴情報に対応付けられた解像度を用いて決定する動作モードを有し、
前記出力制御部は、前記条件が満たされるか否かに係わらず、前記注目解像度の前記注目画像データを用いて前記出力画像データを出力する動作モードを有する、
出力装置。
An output device for outputting image data representing a character image including characters,
A generation unit that generates, using the original image data representing the character image, the image data of interest representing the character image at a resolution of interest higher than the resolution of the original image data;
An acquisition unit that acquires the reliability of attention, which is the reliability of character recognition of the character image obtained using the target image data,
When a condition including that the attention reliability is less than the reference reliability is satisfied, output image data is output to a reception unit that receives data by using the attention image data having the attention resolution, and the condition is satisfied. If not, an output control unit that outputs image data having a resolution lower than the target resolution to the reception unit,
A history management unit that stores history information that associates a resolution of interest satisfying the condition and feature information that represents the feature of the character represented by the character image in a storage device;
Equipped with
The generation unit stores similarity history information, which is history information associated with feature information having a predetermined similarity relationship with a feature of a character represented by a character image of the original image data to be processed, in the storage device. In the case of, the target resolution has an operation mode for determining using the resolution associated with the similar history information,
The output control unit has an operation mode of outputting the output image data by using the attention image data of the attention resolution regardless of whether or not the condition is satisfied.
Output device.
文字を含む文字画像を表す画像データをコンピュータに出力させるためのコンピュータプログラムであって、
前記文字画像を表す元画像データを用いて前記元画像データの解像度よりも低い注目解像度で前記文字画像を表す注目画像データを生成する生成機能と、
前記注目画像データを用いて得られる前記文字画像の文字認識の信頼度である注目信頼度を取得する取得機能と、
前記注目信頼度が基準信頼度以上であることを含む条件が満たされる場合に、前記注目解像度の前記注目画像データを用いて出力画像データを、データを受け付ける受付部に出力し、前記条件が満たされない場合に、前記注目解像度より大きい解像度の画像データを前記受付部に出力する、出力制御機能と、
を、コンピュータに実行させ
前記出力画像データは、前記注目解像度の前記注目画像データと、前記注目画像データによって表される前記文字画像を拡大または縮小するコマンドと、を含む、
コンピュータプログラム。
A computer program for causing a computer to output image data representing a character image including characters,
A generation function of generating, using the original image data representing the character image, the image data of interest representing the character image at a resolution of interest lower than the resolution of the original image data;
An acquisition function for acquiring attention reliability, which is reliability of character recognition of the character image obtained using the attention image data,
When a condition including that the attention reliability is equal to or higher than a reference reliability is satisfied, output image data is output to a reception unit that receives data by using the attention image data having the attention resolution, and the condition is satisfied. If not, an output control function of outputting image data having a resolution higher than the target resolution to the reception unit,
To the computer ,
The output image data includes the target image data of the target resolution and a command for enlarging or reducing the character image represented by the target image data.
Computer program.
文字を含む文字画像を表す画像データをコンピュータに出力させるためのコンピュータプログラムであって、
前記文字画像を表す元画像データを用いて前記元画像データの解像度よりも高い注目解像度で前記文字画像を表す注目画像データを生成する生成機能と、
前記注目画像データを用いて得られる前記文字画像の文字認識の信頼度である注目信頼度を取得する取得機能と、
前記注目信頼度が基準信頼度未満であることを含む条件が満たされる場合に、前記注目解像度の前記注目画像データを用いて出力画像データを、データを受け付ける受付部に出力し、前記条件が満たされない場合に、前記注目解像度未満の解像度の画像データを前記受付部に出力する、出力制御機能と、
を、コンピュータに実行させ
前記出力画像データは、前記注目解像度の前記注目画像データと、前記注目画像データによって表される前記文字画像を拡大または縮小するコマンドと、を含む、
コンピュータプログラム。
A computer program for causing a computer to output image data representing a character image including characters,
A generation function for generating, using the original image data representing the character image, the image data of interest representing the character image at a resolution of interest higher than the resolution of the original image data;
An acquisition function for acquiring attention reliability, which is reliability of character recognition of the character image obtained using the attention image data,
When a condition including that the attention reliability is less than the reference reliability is satisfied, output image data is output to a reception unit that receives data by using the attention image data having the attention resolution, and the condition is satisfied. If not, an output control function of outputting image data having a resolution lower than the target resolution to the reception unit,
To the computer ,
The output image data includes the target image data of the target resolution and a command for enlarging or reducing the character image represented by the target image data.
Computer program.
JP2016037553A 2016-02-29 2016-02-29 Output device and computer program Active JP6707903B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016037553A JP6707903B2 (en) 2016-02-29 2016-02-29 Output device and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016037553A JP6707903B2 (en) 2016-02-29 2016-02-29 Output device and computer program

Publications (2)

Publication Number Publication Date
JP2017157940A JP2017157940A (en) 2017-09-07
JP6707903B2 true JP6707903B2 (en) 2020-06-10

Family

ID=59810386

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016037553A Active JP6707903B2 (en) 2016-02-29 2016-02-29 Output device and computer program

Country Status (1)

Country Link
JP (1) JP6707903B2 (en)

Also Published As

Publication number Publication date
JP2017157940A (en) 2017-09-07

Similar Documents

Publication Publication Date Title
JP5875637B2 (en) Image processing apparatus and image processing method
US10706340B2 (en) Image processing apparatus and method for controlling the same with character attribute indicating that pixel is pixel of a character
JP6840884B2 (en) Image processing system and image processing method
US10592766B2 (en) Image processing apparatus and medium storing program executable by image processing apparatus
JP6747224B2 (en) Image processing device and computer program
JP6362632B2 (en) Image processing apparatus and image processing method
US9894244B2 (en) Image processing system and image processing method that perform correction of shifting bitmap data in a sub-scanning direction to cancel bending of and electro-photographic laser scanning line
JP6707903B2 (en) Output device and computer program
JP6882043B2 (en) Image processing equipment, programs and image processing methods
US10521707B2 (en) Printing apparatus for adjusting width of object and printing method
US11288536B2 (en) Image processing apparatus, image processing method, and non-transitory computer-readable storage medium
JP6262102B2 (en) Image processing apparatus, image processing system, computer program, and recording medium
US9082161B2 (en) Image processing apparatus, image processing method, and non-transitory computer readable medium
US10477066B2 (en) Image processing apparatus to extract luminance data from image data, method for controlling the same, and storage medium
US11405525B2 (en) Image processing apparatus, control method, and product capable of improving compression efficiency by converting close color to background color in a low light reading mode
JP6079720B2 (en) Image processing apparatus, image processing method, and program
US11283963B2 (en) Image processing apparatus and image processing method and storage medium
JP6188651B2 (en) Image processing apparatus and image processing program
JP6311409B2 (en) Image processing apparatus and computer program
JP2023111408A (en) Image processing apparatus and control method thereof and program
US7612916B2 (en) Image processing device, image processing method, and computer program
JP2020167483A (en) Image processing apparatus, program, image forming apparatus, and control method
JP2018056874A (en) Image processing device and computer program
JP2016178516A (en) Image processing apparatus, image processing method and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190117

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20191011

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20191112

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200109

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200504

R150 Certificate of patent or registration of utility model

Ref document number: 6707903

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150