JP2003348326A - Document image conversion method, document image conversion program and document image converting apparatus - Google Patents

Document image conversion method, document image conversion program and document image converting apparatus

Info

Publication number
JP2003348326A
JP2003348326A JP2002156331A JP2002156331A JP2003348326A JP 2003348326 A JP2003348326 A JP 2003348326A JP 2002156331 A JP2002156331 A JP 2002156331A JP 2002156331 A JP2002156331 A JP 2002156331A JP 2003348326 A JP2003348326 A JP 2003348326A
Authority
JP
Japan
Prior art keywords
image
line
height
document
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2002156331A
Other languages
Japanese (ja)
Other versions
JP3993025B2 (en
Inventor
Hideaki Yamagata
秀明 山形
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2002156331A priority Critical patent/JP3993025B2/en
Publication of JP2003348326A publication Critical patent/JP2003348326A/en
Application granted granted Critical
Publication of JP3993025B2 publication Critical patent/JP3993025B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Character Input (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a document image conversion method, a document, image conversion program and a document image converting apparatus for displaying a document image on a miniaturized display part with excellent decoding property. <P>SOLUTION: When aligning and outputting an input document image inputted from an image input part 21, in a document image converting apparatus 1, line segmenting processing is applied to the input document image by a line segmenting part 24 to create a line image, and the created line images are connected to create an output image. Thus, a conversion wherein a change is added to contents like a case using an OCR is avoided and while sensing information such as background attached to a document, and the document image is efficiently displayed on a device such as a PDA with a limited display area, so that the number of output images is increased and visibility is improved as well. <P>COPYRIGHT: (C)2004,JPO

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、文書画像変換方
法、文書画像変換プログラム及び文書画像変換装置に関
し、詳細には、小型表示部への文書画像を解読性良好な
状態で表示するための文書画像変換方法、文書画像変換
プログラム及び文書画像変換装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document image conversion method, a document image conversion program, and a document image conversion device. More specifically, the present invention relates to a document for displaying a document image on a small-sized display section with good readability. The present invention relates to an image conversion method, a document image conversion program, and a document image conversion device.

【0002】[0002]

【従来の技術】近年、PDA(携帯情報端末)やi−m
ode(登録商標)等の小型の携帯端末が広く普及して
きている。
2. Description of the Related Art Recently, personal digital assistants (PDAs) and im-
Small portable terminals such as ode (registered trademark) have become widespread.

【0003】ところが、このような携帯端末において、
紙に印刷されている文書(原稿)を参照する場合、原稿
を携帯端末の表示解像度に合わせてスキャンした画像を
そのまま携帯端末の表示部に表示させたのでは、多くの
場合、文字が小さくなり、判読することができない。
However, in such a portable terminal,
When referring to a document (original) printed on paper, if the scanned image of the original is displayed on the display of the mobile terminal as it is in accordance with the display resolution of the mobile terminal, the characters often become smaller. , Can not read.

【0004】一方、文字が読める程度の解像度で画像を
スキャンすると、画像が大きくなり、そのまま携帯端末
の表示部に表示することができない。この場合、大きな
画像を分割して表示すると、文書を理解するために、画
面の切り替え等が頻繁に発生し、ユーザに対する負担が
大きくなり、可読性が大きく低下する。
On the other hand, if an image is scanned at a resolution that allows characters to be read, the image becomes large and cannot be displayed on the display unit of the portable terminal as it is. In this case, if a large image is divided and displayed, switching of screens or the like frequently occurs in order to understand the document, which increases the burden on the user and greatly reduces readability.

【0005】これらの問題を解決する手法の1つとして
は、例えば、OCR(文字認識装置/ソフトウエア)を
利用して、スキャンした画像を認識し、テキストデータ
として携帯端末に読み込み、表示する方法がある。
[0005] One of the methods for solving these problems is, for example, a method of recognizing a scanned image using OCR (character recognition device / software), reading the image as text data on a portable terminal, and displaying it. There is.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、OCR
を用いてスキャンした画像を認識する場合、今日、な
お、OCRの性能は必ずしも完全ではなく、ある程度の
誤認識が発生することとなり、利用性が悪いという問題
がある。
SUMMARY OF THE INVENTION However, OCR
In the case of recognizing an image scanned by using OCR, the performance of OCR is not always perfect today, a certain degree of erroneous recognition occurs, and there is a problem that the usability is poor.

【0007】そして、従来、手書き文字原稿を対象とし
て、行内の文字列を整形して出力する種々の提案が行わ
れており、本出願人においても先に種々の提案を行って
いる。例えば、特許第2948840号公報、特許第3
001950号公報では、画像内の黒画素の連結成分及
びその外接矩形を求める方法が提案されており、また、
特許第2895122号公報、特許第2991761号
公報では、行画像を切り出す方法が提案されている。さ
らに、特開平9−106437号公報では、文字画像を
切り出す方法が提案されており、特開平8−14741
0号公報では、行に読み順を付与する方法が提案されて
いる。
Conventionally, various proposals for shaping and outputting a character string in a line for a handwritten character document have been made, and the present applicant has also made various proposals. For example, Japanese Patent No. 2948840, Patent No. 3
[0019] Japanese Patent Publication No. 001950 proposes a method for obtaining a connected component of a black pixel in an image and a circumscribed rectangle thereof.
Japanese Patent No. 2895122 and Japanese Patent No. 2991761 propose a method of cutting out a row image. Further, Japanese Patent Application Laid-Open No. Hei 9-104637 proposes a method of cutting out a character image.
No. 0 proposes a method of giving a reading order to a line.

【0008】ところが、これらの従来技術では、行内の
各文字についての整形方法が提案されているが、行画像
の取り扱いについては触れられておらず、これらをその
まま用いて、携帯端末等の小型表示部への表示処理に用
いることはできない。
However, in these prior arts, a shaping method for each character in a line has been proposed, but the handling of line images is not mentioned. It cannot be used for display processing to a section.

【0009】そこで、本発明は、OCRを用いることな
く、画像レベルでの変換処理を行って、携帯端末等の小
型の表示部上に表示可能な可読性の高い画像を生成する
文書画像変換方法、文書画像変換プログラム及び文書画
像変換装置を提供することを目的としている。
Accordingly, the present invention provides a document image conversion method for performing conversion processing at an image level without using an OCR to generate a highly readable image that can be displayed on a small display unit such as a portable terminal. It is an object to provide a document image conversion program and a document image conversion device.

【0010】具体的には、請求項1記載の発明は、入力
文書画像を整列させて出力するに際して、入力文書画像
に対して行切り出し処理を施して行画像を生成し、当該
生成した行画像をつなぎ合わせて出力画像を生成するこ
とにより、OCRを用いた場合のようにコンテンツに変
更が加わるような変換を避けるとともに、背景等の文書
に付随する情報も知覚できるようにしつつ、PDA等の
表示領域の限られたデバイス上に文書画像を効率よく表
示し、出力画像の数を向上させるとともに、視認性を向
上させることのできる文書画像変換方法を提供すること
を目的としている。
More specifically, according to the first aspect of the invention, when the input document images are aligned and output, the input document image is subjected to line cutout processing to generate a line image, and the generated line image is generated. To generate an output image by connecting the PDA and the like, while avoiding a conversion that changes the content as in the case of using the OCR, and allowing information accompanying the document such as the background to be perceived. An object of the present invention is to provide a document image conversion method capable of efficiently displaying a document image on a device having a limited display area, increasing the number of output images, and improving visibility.

【0011】請求項2記載の発明は、出力画像の各行の
高さを、入力画像内の矩形の最大高さに基づいて決定す
ることにより、出力画像上で各行の高さを揃え、視認性
をより一層向上させることのできる文書画像変換方法を
提供することを目的としている。
According to a second aspect of the present invention, the height of each line of the output image is determined based on the maximum height of the rectangle in the input image, so that the heights of each line are aligned on the output image, and the visibility is improved. It is an object of the present invention to provide a document image conversion method capable of further improving.

【0012】請求項3記載の発明は、出力画像の各行の
高さを、入力画像内の文字の最大高さに基づいて決定す
ることにより、出力画像上で各行の高さをより一層高精
度に揃え、視認性をより一層向上させることのできる文
書画像変換方法を提供することを目的としている。
According to a third aspect of the present invention, the height of each line in the output image is determined based on the maximum height of characters in the input image, so that the height of each line in the output image can be further improved. It is an object of the present invention to provide a document image conversion method capable of further improving the visibility.

【0013】請求項4記載の発明は、出力画像の各行の
高さを、当該出力画像の各行に配置される入力画像の高
さに基づいて決定することにより、出力画像上で各行の
高さ入力画像の高さに応じてを揃え、視認性をより一層
向上させることのできる文書画像変換方法を提供するこ
とを目的としている。
According to a fourth aspect of the present invention, the height of each line of the output image is determined based on the height of the input image arranged on each line of the output image, so that the height of each line on the output image is determined. It is an object of the present invention to provide a document image conversion method capable of adjusting the height according to the height of an input image and further improving the visibility.

【0014】請求項5記載の発明は、出力画像の各行の
高さを、入力画像内の行の最大高さとすることにより、
出力画像上での各行の高さを入力画像の行の最大高さに
揃え、視認性をより一層向上させることのできる文書画
像変換方法を提供することを目的としている。
According to a fifth aspect of the present invention, by setting the height of each line of the output image to the maximum height of the line in the input image,
It is an object of the present invention to provide a document image conversion method capable of adjusting the height of each line on an output image to the maximum height of a line of an input image and further improving visibility.

【0015】請求項6記載の発明は、出力画像の各行の
高さを、当該出力画像の各行に配置される入力画像の行
に含まれる矩形の最大高さに基づいて決定することによ
り、出力画像上での各行の高さを入力画像の行に含まれ
る矩形の最大高さに揃え、視認性をより一層向上させる
ことのできる文書画像変換方法を提供することを目的と
している。
According to a sixth aspect of the present invention, the height of each line of the output image is determined based on the maximum height of a rectangle included in the line of the input image arranged on each line of the output image. It is an object of the present invention to provide a document image conversion method capable of adjusting the height of each line on an image to the maximum height of a rectangle included in the line of an input image and further improving visibility.

【0016】請求項7記載の発明は、出力画像の各行の
高さを、当該出力画像の各行に配置される入力画像の行
に含まれる文字の最大高さに基づいて決定することによ
り、出力画像上での各行の高さを出力画像に配置される
入力画像の行に含まれる文字の最大高さに揃え、視認性
をより一層向上させることのできる文書画像変換方法を
提供することを目的としている。
According to the present invention, the height of each line of the output image is determined based on the maximum height of characters included in the line of the input image arranged on each line of the output image. An object of the present invention is to provide a document image conversion method capable of adjusting the height of each line on an image to the maximum height of a character included in a line of an input image arranged in an output image and further improving visibility. And

【0017】請求項8記載の発明は、出力画像の各行の
高さを、当該出力画像の各行に配置される入力画像の行
の高さと当該入力画像の行内の矩形高さの最大値との比
が1に近い場合には、当該出力画像の各行に配置される
入力画像の行に含まれる矩形の最大高さに基づいて決定
し、それ以外の場合には、当該出力画像の各行に配置さ
れる入力画像の高さに基づいて決定し、または、入力画
像内の行の最大高さとすることにより、出力画像の文字
が小さくなったり、文字の位置が変わって、入力画像の
コンテンツが見づらくなったり、内容が変わったりする
ことを防止し、視認性をより一層向上させることのでき
る文書画像変換方法を提供することを目的としている。
According to the present invention, the height of each row of the output image is determined by calculating the height of the row of the input image arranged on each row of the output image and the maximum value of the rectangular height within the row of the input image. If the ratio is close to 1, it is determined based on the maximum height of the rectangle included in the row of the input image arranged in each row of the output image. Otherwise, it is arranged in each row of the output image. Determined based on the height of the input image to be performed, or by setting the maximum height of the line in the input image, the size of the characters in the output image is reduced, or the position of the characters is changed, making it difficult to see the contents of the input image. It is an object of the present invention to provide a document image conversion method that can prevent the contents from changing or changing the contents, and can further improve the visibility.

【0018】請求項9記載の発明は、出力画像の各行の
高さを、当該出力画像の各行に配置される入力画像の行
の高さと当該入力画像の行内の矩形高さの最大値との差
が所定値よりも小さい場合には、当該出力画像の各行に
配置される入力画像の行に含まれる矩形の最大高さに基
づいて決定し、それ以外の場合には、当該出力画像の各
行に配置される入力画像の高さに基づいて決定し、また
は、入力画像内の行の最大高さとすることにより、出力
画像の文字が小さくなったり、文字の位置が変わって、
入力画像のコンテンツが見づらくなったり、内容が変わ
ったりすることを防止し、視認性をより一層向上させる
ことのできる文書画像変換方法を提供することを目的と
している。
According to a ninth aspect of the present invention, the height of each row of the output image is determined by calculating the height of the row of the input image arranged on each row of the output image and the maximum value of the rectangular height within the row of the input image. If the difference is smaller than a predetermined value, it is determined based on the maximum height of the rectangle included in the row of the input image arranged in each row of the output image. Otherwise, each row of the output image is determined. Determined based on the height of the input image placed in the, or by setting the maximum height of the line in the input image, the characters of the output image becomes smaller, the position of the character changes,
It is an object of the present invention to provide a document image conversion method capable of preventing the contents of an input image from being difficult to see or changing, and further improving the visibility.

【0019】請求項10記載の発明は、出力画像の各行
の高さを、当該出力画像の各行に配置される入力画像の
行の高さと当該入力画像の行内の矩形高さの最大値との
比が1に近い場合には、当該出力画像の各行に配置され
る入力画像の行に含まれる文字の最大高さに基づいて決
定し、それ以外の場合には、当該出力画像の各行に配置
される入力画像の高さに基づいて決定し、または、入力
画像内の行の最大高さとすることにより、出力画像の文
字が小さくなったり、文字の位置が変わって、入力画像
のコンテンツが見づらくなったり、内容が変わったりす
ることを防止し、視認性をより一層向上させることので
きる文書画像変換方法を提供することを目的としてい
る。
According to a tenth aspect of the present invention, the height of each row of the output image is determined by calculating the height of the row of the input image arranged on each row of the output image and the maximum value of the rectangular height within the row of the input image. If the ratio is close to 1, it is determined based on the maximum height of the characters included in the line of the input image arranged on each line of the output image. Otherwise, it is arranged on each line of the output image. Determined based on the height of the input image to be performed, or by setting the maximum height of the line in the input image, the size of the characters in the output image is reduced, or the position of the characters is changed, making it difficult to see the contents of the input image. It is an object of the present invention to provide a document image conversion method that can prevent the contents from changing or changing the contents, and can further improve the visibility.

【0020】請求項11記載の発明は、出力画像の各行
の高さを、当該出力画像の各行に配置される入力画像の
行の高さと当該入力画像の行内の矩形高さの最大値との
差が所定値よりも小さい場合には、当該出力画像の各行
に配置される入力画像の行に含まれる文字の最大高さに
基づいて決定し、それ以外の場合には、当該出力画像の
各行に配置される入力画像の高さに基づいて決定し、ま
たは、入力画像内の行の最大高さとすることにより、出
力画像の文字が小さくなったり、文字の位置が変わっ
て、入力画像のコンテンツが見づらくなったり、内容が
変わったりすることを防止し、視認性をより一層向上さ
せることのできる文書画像変換方法を提供することを目
的としている。
[0020] According to an eleventh aspect of the present invention, the height of each line of the output image is determined by calculating the height of the line of the input image arranged in each line of the output image and the maximum value of the rectangular height within the line of the input image. If the difference is smaller than a predetermined value, it is determined based on the maximum height of the characters included in the line of the input image arranged on each line of the output image. Otherwise, each line of the output image is determined. Determined based on the height of the input image placed in the input image, or by setting the maximum height of the line in the input image, the size of the characters in the output image may change, or the position of the characters may change. It is an object of the present invention to provide a document image conversion method capable of preventing the content from being difficult to see or changing the content, and further improving the visibility.

【0021】請求項12記載の発明は、入力画像の行画
像を、出力画像の行の高さに合わせて縮小することによ
り、出力画像上で入力画像の欠けが発生するのを防止
し、精度をより一層向上させるとともに、視認性をより
一層向上させることのできる文書画像変換方法を提供す
ることを目的としている。
According to a twelfth aspect of the present invention, a line image of an input image is reduced in accordance with the height of a line of an output image, thereby preventing the input image from being chipped on the output image. It is an object of the present invention to provide a document image conversion method capable of further improving the visibility and further improving the visibility.

【0022】請求項13記載の発明は、入力画像の行画
像を、出力画像の行の高さを超える矩形を出力画像の行
内に移動することにより、出力画像上で入力画像の欠け
が発生するのを防止し、精度をより一層向上させるとと
もに、視認性をより一層向上させることのできる文書画
像変換方法を提供することを目的としている。
According to a thirteenth aspect of the present invention, a lack of the input image occurs on the output image by moving the line image of the input image from a rectangle exceeding the height of the line of the output image into the line of the output image. It is an object of the present invention to provide a document image conversion method capable of preventing the occurrence of an image, further improving the accuracy, and further improving the visibility.

【0023】請求項14記載の発明は、入力画像の行画
像を、出力画像の行の範囲を超える文字画素のあるライ
ンについて、出力画像の行の範囲に収まる大きさに縮小
することにより、出力画像上で入力画像が縮小されるこ
とを抑制しつつ、出力画像上で入力画像の欠けが発生す
るのを防止し、精度をより一層向上させるとともに、視
認性をより一層向上させることのできる文書画像変換方
法を提供することを目的としている。
According to a fourteenth aspect of the present invention, the output image is reduced by reducing the line image of the input image to a line having character pixels exceeding the line range of the output image so as to be within the line range of the output image. A document capable of preventing the input image from being reduced on the image, preventing the input image from being chipped on the output image, further improving the accuracy, and further improving the visibility. It is intended to provide an image conversion method.

【0024】請求項15記載の発明は、出力画像の行の
範囲を超える文字画素のあるラインについて、当該出力
画像の背景画素を削除して出力画像の行の範囲に収まる
大きさに縮小することにより、出力画像上で入力画像が
縮小されることを抑制しつつ、出力画像上で入力画像の
欠けが発生するのを防止し、精度をより一層向上させる
とともに、視認性をより一層向上させることのできる文
書画像変換方法を提供することを目的としている。
According to a fifteenth aspect of the present invention, for a line having character pixels exceeding the range of the line of the output image, the background pixel of the output image is deleted to reduce the line to a size that can be accommodated in the line of the output image. Thereby, while suppressing the input image from being reduced on the output image, it is possible to prevent occurrence of chipping of the input image on the output image, to further improve accuracy, and to further improve visibility. It is an object of the present invention to provide a document image conversion method capable of performing the following.

【0025】請求項16記載の発明は、出力画像の行の
範囲を超える文字画素のあるラインについて、当該出力
画像の前景と背景のエッジの数を保った状態で出力画像
の行の範囲に収まる大きさに縮小することにより、出力
画像上で入力画像が縮小されることを抑制しつつ、出力
画像上で入力画像の欠けが発生するのを防止し、精度を
より一層向上させるとともに、視認性をより一層向上さ
せることのできる文書画像変換方法を提供することを目
的としている。
According to a sixteenth aspect of the present invention, a line having a character pixel exceeding the range of the line of the output image falls within the range of the line of the output image while keeping the number of edges of the foreground and the background of the output image. By reducing the size, the input image is prevented from being reduced on the output image, while preventing the input image from being chipped on the output image, the accuracy is further improved, and the visibility is improved. It is an object of the present invention to provide a document image conversion method capable of further improving.

【0026】請求項17記載の発明は、出力画像の各行
の高さを、当該出力画像の高さに基づいて設定すること
により、出力画像上で入力画像が縮小されることを抑制
しつつ、出力画像上で入力画像の欠けが発生するのを防
止し、精度をより一層向上させるとともに、視認性をよ
り一層向上させることのできる文書画像変換方法を提供
することを目的としている。
According to the present invention, by setting the height of each line of the output image based on the height of the output image, it is possible to suppress the reduction of the input image on the output image, An object of the present invention is to provide a document image conversion method capable of preventing occurrence of chipping of an input image on an output image, further improving accuracy, and further improving visibility.

【0027】請求項18記載の発明は、入力画像の各行
を、出力画像の行の高さに応じて拡大または縮小するこ
とにより、出力画像上で入力画像が縮小されることを抑
制しつつ、出力画像上で入力画像の欠けが発生するのを
防止し、精度をより一層向上させるとともに、視認性を
より一層向上させることのできる文書画像変換方法を提
供することを目的としている。
According to the eighteenth aspect of the present invention, each line of the input image is enlarged or reduced in accordance with the height of the line of the output image, thereby suppressing reduction of the input image on the output image. An object of the present invention is to provide a document image conversion method capable of preventing occurrence of chipping of an input image on an output image, further improving accuracy, and further improving visibility.

【0028】請求項19記載の発明は、出力画像の各行
の高さを、当該出力画像を表示する機器の標準の値に基
づいて設定することにより、出力画像上で入力画像が縮
小されることを抑制しつつ、出力画像上で入力画像の欠
けが発生するのを防止し、精度をより一層向上させると
ともに、視認性をより一層向上させることのできる文書
画像変換方法を提供することを目的としている。
According to a nineteenth aspect of the present invention, the input image is reduced on the output image by setting the height of each line of the output image based on a standard value of a device that displays the output image. It is an object of the present invention to provide a document image conversion method capable of preventing occurrence of chipping of an input image on an output image while suppressing the occurrence of an image, further improving accuracy, and further improving visibility. I have.

【0029】請求項20記載の発明は、入力画像の各行
を、出力画像の行の高さに応じて拡大または縮小するこ
とにより、出力画像上で入力画像が縮小されることを抑
制しつつ、出力画像上で入力画像の欠けが発生するのを
防止し、精度をより一層向上させるとともに、視認性を
より一層向上させることのできる文書画像変換方法を提
供することを目的としている。
According to a twentieth aspect of the present invention, each line of the input image is enlarged or reduced in accordance with the height of the line of the output image, thereby suppressing reduction of the input image on the output image. An object of the present invention is to provide a document image conversion method capable of preventing occurrence of chipping of an input image on an output image, further improving accuracy, and further improving visibility.

【0030】請求項21記載の発明は、入力画像の各行
を、出力画像の行末で分割する際に、当該分割位置の前
後に行画像を重複させて出力することにより、出力画像
で文字の途中で行が切れることによる視認性の低下を防
止し、視認性をより一層向上させることのできる文書画
像変換方法を提供することを目的としている。
According to a twenty-first aspect of the present invention, when each line of the input image is divided at the end of the line of the output image, the line image is output before and after the division position so as to overlap the middle of the character in the output image. It is an object of the present invention to provide a document image conversion method capable of preventing a decrease in visibility due to line breaks and further improving the visibility.

【0031】請求項22記載の発明は、重複させる行画
像の幅を、入力画像の行画像の高さに基づいて設定する
ことにより、出力画像で文字の途中で行が切れることを
より適切に防止し、視認性をより一層向上させることの
できる文書画像変換方法を提供することを目的としてい
る。
According to the twenty-second aspect of the present invention, by setting the width of the line image to be overlapped based on the height of the line image of the input image, it is possible to more appropriately prevent line breaks in the middle of characters in the output image. It is an object of the present invention to provide a document image conversion method capable of preventing such a problem and further improving the visibility.

【0032】請求項23記載の発明は、重複させる行画
像の幅を、出力画像の行の高さに基づいて設定すること
により、出力画像で文字の途中で行が切れることをより
適切に防止し、視認性をより一層向上させることのでき
る文書画像変換方法を提供することを目的としている。
According to the twenty-third aspect, by setting the width of the line image to be overlapped based on the line height of the output image, it is possible to more appropriately prevent the line from being cut off in the middle of a character in the output image. It is another object of the present invention to provide a document image conversion method capable of further improving the visibility.

【0033】請求項24記載の発明は、重複させる行画
像の幅を、入力画像の画像内の矩形サイズに基づいて設
定することにより、出力画像で文字の途中で行が切れる
ことをより適切にかつ効率的に防止し、視認性をより一
層向上させることのできる文書画像変換方法を提供する
ことを目的としている。
According to a twenty-fourth aspect of the present invention, the width of a line image to be overlapped is set based on the rectangular size in the image of the input image, so that a line is cut off in the middle of a character in the output image. It is another object of the present invention to provide a document image conversion method capable of efficiently preventing the image and further improving the visibility.

【0034】請求項25記載の発明は、重複させる行画
像の幅を、入力画像の画像内の矩形の高さに基づいて設
定することにより、出力画像で文字の途中で行が切れる
ことをより適切にかつ効率的に防止し、視認性をより一
層向上させることのできる文書画像変換方法を提供する
ことを目的としている。
According to a twenty-fifth aspect of the present invention, by setting the width of a line image to be overlapped based on the height of a rectangle in an image of an input image, it is possible to prevent lines from being cut off in the middle of characters in an output image. It is an object of the present invention to provide a document image conversion method capable of appropriately and efficiently preventing the occurrence of a document image and further improving visibility.

【0035】請求項26記載の発明は、重複させる行画
像の幅を、入力画像の画像内の矩形の幅に基づいて設定
することにより、出力画像で文字の途中で行が切れるこ
とをより適切にかつ効率的に防止し、視認性をより一層
向上させることのできる文書画像変換方法を提供するこ
とを目的としている。
According to a twenty-sixth aspect of the present invention, by setting the width of a line image to be overlapped based on the width of a rectangle in an image of an input image, it is more appropriate to set a line break in the middle of a character in an output image. It is an object of the present invention to provide a document image conversion method capable of preventing a document image efficiently and efficiently and further improving the visibility.

【0036】請求項27記載の発明は、重複させる行画
像の幅を、入力画像の画像内の文字サイズに基づいて設
定することにより、出力画像で文字の途中で行が切れる
ことをより適切にかつ効率的に防止し、視認性をより一
層向上させることのできる文書画像変換方法を提供する
ことを目的としている。
According to the twenty-seventh aspect, by setting the width of the line image to be overlapped based on the character size in the image of the input image, it is possible to more appropriately prevent line breaks in the middle of characters in the output image. It is another object of the present invention to provide a document image conversion method capable of efficiently preventing the image and further improving the visibility.

【0037】請求項28記載の発明は、重複させる行画
像の幅を、入力画像の画像内の文字の高さに基づいて設
定することにより、出力画像で文字の途中で行が切れる
ことをより適切にかつ効率的に防止し、視認性をより一
層向上させることのできる文書画像変換方法を提供する
ことを目的としている。
According to the twenty-eighth aspect of the present invention, by setting the width of the line image to be overlapped based on the height of the character in the image of the input image, it is possible to prevent the line from being cut in the middle of the character in the output image. It is an object of the present invention to provide a document image conversion method capable of appropriately and efficiently preventing the occurrence of a document image and further improving visibility.

【0038】請求項29記載の発明は、重複させる行画
像の幅を、入力画像の画像内の文字の幅に基づいて設定
することにより、出力画像で文字の途中で行が切れるこ
とをより適切にかつ効率的に防止し、視認性をより一層
向上させることのできる文書画像変換方法を提供するこ
とを目的としている。
According to a twenty-ninth aspect of the present invention, the width of a line image to be overlapped is set based on the width of a character in an image of an input image, so that a line is cut off in the middle of a character in an output image. It is an object of the present invention to provide a document image conversion method capable of preventing a document image efficiently and efficiently and further improving the visibility.

【0039】請求項30記載の発明は、重複させる行画
像の幅を、入力画像の行画像の幅と出力画像の幅に基づ
いて設定することにより、無駄なくかつできるだけ多く
の部分を重複させて、出力画像で文字の途中で行が切れ
ることをより適切に防止し、視認性をより一層向上させ
ることのできる文書画像変換方法を提供することを目的
としている。
According to a thirtieth aspect of the present invention, the width of the line image to be overlapped is set based on the width of the line image of the input image and the width of the output image so that as much of the part as possible can be overlapped without waste. It is another object of the present invention to provide a document image conversion method capable of more appropriately preventing a line from being cut off in the middle of a character in an output image and further improving visibility.

【0040】請求項31記載の発明は、入力画像の行画
像の幅をA、出力画像の幅をBとし、BをN(整数)倍
したときに初めてAより大きくなる場合に、重複させる
行画像の幅Vを、V=(NB−A)/Nとすることによ
り、無駄なくかつできるだけ多くの部分を重複させて、
出力画像で文字の途中で行が切れることをより適切に防
止し、視認性をより一層向上させることのできる文書画
像変換方法を提供することを目的としている。
According to a thirty-first aspect of the present invention, the width of the line image of the input image is A, and the width of the output image is B. By setting the width V of the image to V = (NB-A) / N, as much as possible and overlapping as much as possible,
It is an object of the present invention to provide a document image conversion method capable of appropriately preventing a line from being cut off in the middle of a character in an output image and further improving visibility.

【0041】請求項32記載の発明は、入力文書画像を
整列させて出力するに際して、ネットワークを介して接
続された文書画像入力装置、文書画像出力装置及び文書
画像変換装置が、請求項1から請求項31のいずれかに
記載の文書画像変換処理を実行することにより、OCR
を用いた場合のようにコンテンツに変更が加わるような
変換を避けるとともに、背景等の文書に付随する情報も
知覚できるようにしつつ、PDA等の表示領域の限られ
たデバイス上に文書画像を効率よく表示し、出力画像の
数を向上させるとともに、視認性を向上させることので
きる文書画像変換方法を提供することを目的としてい
る。
According to a thirty-second aspect of the present invention, when the input document images are arranged and output, the document image input device, the document image output device, and the document image conversion device connected via a network include the first to the third embodiments. By executing the document image conversion processing described in any one of the paragraphs 31, the OCR
In addition to avoiding the conversion that changes the content as in the case of using, the document image can be efficiently displayed on a device with a limited display area such as a PDA while allowing information accompanying the document such as the background to be perceived. An object of the present invention is to provide a document image conversion method that can display images well, increase the number of output images, and improve visibility.

【0042】請求項33記載の発明は、入力文書画像を
整列させて出力するに際して、請求項1から請求項32
に記載の文書画像変換方法を実行することにより、OC
Rを用いた場合のようにコンテンツに変更が加わるよう
な変換を避けるとともに、背景等の文書に付随する情報
も知覚できるようにしつつ、PDA等の表示領域の限ら
れたデバイス上に文書画像を効率よく表示し、出力画像
の数を向上させるとともに、視認性を向上させることの
できる文書画像変換プログラムを提供することを目的と
している。
According to the thirty-third aspect, when the input document images are arranged and output, the first to thirty-second aspects are provided.
By executing the document image conversion method described in
In addition to avoiding the conversion that changes the content as in the case of using R, the document image can be displayed on a device with a limited display area such as a PDA while allowing information accompanying the document such as the background to be perceived. It is an object of the present invention to provide a document image conversion program capable of efficiently displaying, improving the number of output images, and improving visibility.

【0043】請求項34記載の発明は、入力文書画像を
整列させて出力するに際して、請求項1から請求項31
に記載の文書画像変換方法を用いることにより、OCR
を用いた場合のようにコンテンツに変更が加わるような
変換を避けるとともに、背景等の文書に付随する情報も
知覚できるようにしつつ、PDA等の表示領域の限られ
たデバイス上に文書画像を効率よく表示し、出力画像の
数を向上させるとともに、視認性を向上させることので
きる文書画像変換装置を提供することを目的としてい
る。
According to the thirty-fourth aspect, when the input document images are arranged and output, the first to thirty-first aspects are provided.
By using the document image conversion method described in
In addition to avoiding the conversion that changes the content as in the case of using, the document image can be efficiently displayed on a device with a limited display area such as a PDA while allowing information accompanying the document such as the background to be perceived. It is an object of the present invention to provide a document image conversion device that can display images well, increase the number of output images, and improve visibility.

【0044】[0044]

【課題を解決するための手段】請求項1記載の発明の文
字画像変換方法は、入力文書画像を整列させて出力する
文書画像変換方法において、前記入力文書画像に対して
行切り出し処理を施して行画像を生成し、当該生成した
行画像をつなぎ合わせて出力画像を生成することによ
り、上記目的を達成している。
According to a first aspect of the present invention, there is provided a character image converting method for aligning and outputting an input document image, wherein the input document image is subjected to line segmentation processing. The above object is achieved by generating a row image and connecting the generated row images to generate an output image.

【0045】上記構成によれば、入力文書画像を整列さ
せて出力するに際して、入力文書画像に対して行切り出
し処理を施して行画像を生成し、当該生成した行画像を
つなぎ合わせて出力画像を生成するので、OCRを用い
た場合のようにコンテンツに変更が加わるような変換を
避けるとともに、背景等の文書に付随する情報も知覚で
きるようにしつつ、PDA等の表示領域の限られたデバ
イス上に文書画像を効率よく表示することができ、出力
画像の数を向上させることができるとともに、視認性を
向上させることができる。
According to the above arrangement, when the input document images are arranged and output, the input document images are subjected to line segmentation processing to generate line images, and the generated line images are connected to form an output image. Because it is generated, it avoids the conversion that changes the content as in the case of using OCR, and also allows the user to perceive information accompanying the document such as the background while using a device with a limited display area such as a PDA. Thus, the document image can be efficiently displayed, the number of output images can be improved, and the visibility can be improved.

【0046】この場合、例えば、請求項2に記載するよ
うに、前記文書画像変換方法は、前記出力画像の各行の
高さを、前記入力画像内の矩形の最大高さに基づいて決
定してもよい。
In this case, for example, the document image conversion method determines the height of each line of the output image based on the maximum height of a rectangle in the input image. Is also good.

【0047】上記構成によれば、出力画像の各行の高さ
を、入力画像内の矩形の最大高さに基づいて決定するの
で、出力画像上で各行の高さを揃えることができ、視認
性をより一層向上させることができる。
According to the above configuration, since the height of each line of the output image is determined based on the maximum height of the rectangle in the input image, the height of each line can be made uniform on the output image, and visibility can be improved. Can be further improved.

【0048】また、例えば、請求項3に記載するよう
に、前記文書画像変換方法は、前記出力画像の各行の高
さを、前記入力画像内の文字の最大高さに基づいて決定
してもよい。
Further, for example, in the document image conversion method, the height of each line of the output image may be determined based on a maximum height of a character in the input image. Good.

【0049】上記構成によれば、出力画像の各行の高さ
を、入力画像内の文字の最大高さに基づいて決定するの
で、出力画像上で各行の高さをより一層高精度に揃える
ことができ、視認性をより一層向上させることができ
る。
According to the above configuration, the height of each line of the output image is determined based on the maximum height of the character in the input image, so that the heights of each line on the output image are more precisely aligned. And visibility can be further improved.

【0050】さらに、例えば、請求項4に記載するよう
に、前記文書画像変換方法は、前記出力画像の各行の高
さを、当該出力画像の各行に配置される入力画像の高さ
に基づいて決定してもよい。
Further, for example, in the document image conversion method, the height of each line of the output image is determined based on the height of an input image arranged in each line of the output image. You may decide.

【0051】上記構成によれば、出力画像の各行の高さ
を、当該出力画像の各行に配置される入力画像の高さに
基づいて決定するので、出力画像上で各行の高さ入力画
像の高さに応じてを揃えることができ、視認性をより一
層向上させることができる。
According to the above arrangement, the height of each line of the output image is determined based on the height of the input image arranged in each line of the output image. The height can be adjusted according to the height, and the visibility can be further improved.

【0052】また、例えば、請求項5に記載するよう
に、前記文書画像変換方法は、前記出力画像の各行の高
さを、前記入力画像内の行の最大高さとしてもよい。
Further, for example, in the document image conversion method, the height of each line of the output image may be a maximum height of a line in the input image.

【0053】上記構成によれば、出力画像の各行の高さ
を、入力画像内の行の最大高さとしているので、出力画
像上での各行の高さを入力画像の行の最大高さに揃える
ことができ、視認性をより一層向上させることができ
る。
According to the above configuration, since the height of each line of the output image is set to the maximum height of the line in the input image, the height of each line on the output image is set to the maximum height of the line of the input image. They can be aligned, and the visibility can be further improved.

【0054】さらに、例えば、請求項6に記載するよう
に、前記文書画像変換方法は、前記出力画像の各行の高
さを、当該出力画像の各行に配置される入力画像の行に
含まれる矩形の最大高さに基づいて決定してもよい。
Further, for example, in the document image conversion method, the height of each line of the output image may be determined by changing the height of each line of the output image to a rectangle included in the line of the input image arranged on each line of the output image. May be determined based on the maximum height.

【0055】上記構成によれば、出力画像の各行の高さ
を、当該出力画像の各行に配置される入力画像の行に含
まれる矩形の最大高さに基づいて決定しているので、出
力画像上での各行の高さを入力画像の行に含まれる矩形
の最大高さに揃えることができ、視認性をより一層向上
させることができる。
According to the above configuration, the height of each line of the output image is determined based on the maximum height of the rectangle included in the line of the input image arranged in each line of the output image. The height of each row above can be made equal to the maximum height of the rectangle included in the row of the input image, and the visibility can be further improved.

【0056】また、例えば、請求項7に記載するよう
に、前記文書画像変換方法は、前記出力画像の各行の高
さを、当該出力画像の各行に配置される入力画像の行に
含まれる文字の最大高さに基づいて決定してもよい。
Further, for example, in the document image conversion method, the height of each line of the output image may be determined by changing the height of each line of the output image to a character included in a line of the input image arranged on each line of the output image. May be determined based on the maximum height.

【0057】上記構成によれば、出力画像の各行の高さ
を、当該出力画像の各行に配置される入力画像の行に含
まれる文字の最大高さに基づいて決定しているので、出
力画像上での各行の高さを出力画像に配置される入力画
像の行に含まれる文字の最大高さに揃えることができ、
視認性をより一層向上させることができる。
According to the above arrangement, the height of each line of the output image is determined based on the maximum height of characters included in the line of the input image arranged on each line of the output image. The height of each line above can be aligned with the maximum height of characters included in the line of the input image placed in the output image,
The visibility can be further improved.

【0058】さらに、例えば、請求項8に記載するよう
に、前記文書画像変換方法は、前記出力画像の各行の高
さを、当該出力画像の各行に配置される入力画像の行の
高さと当該入力画像の行内の矩形高さの最大値との比が
1に近い場合には、当該出力画像の各行に配置される入
力画像の行に含まれる矩形の最大高さに基づいて決定
し、それ以外の場合には、当該出力画像の各行に配置さ
れる入力画像の高さに基づいて決定し、または、前記入
力画像内の行の最大高さとしてもよい。
Further, for example, as set forth in claim 8, in the document image conversion method, the height of each line of the output image is set to the height of the line of the input image arranged on each line of the output image. When the ratio with the maximum value of the height of the rectangle in the line of the input image is close to 1, it is determined based on the maximum height of the rectangle included in the line of the input image arranged in each line of the output image. In other cases, the height may be determined based on the height of the input image arranged in each row of the output image, or may be the maximum height of a row in the input image.

【0059】上記構成によれば、出力画像の各行の高さ
を、当該出力画像の各行に配置される入力画像の行の高
さと当該入力画像の行内の矩形高さの最大値との比が1
に近い場合には、当該出力画像の各行に配置される入力
画像の行に含まれる矩形の最大高さに基づいて決定し、
それ以外の場合には、当該出力画像の各行に配置される
入力画像の高さに基づいて決定し、または、入力画像内
の行の最大高さとしているので、出力画像の文字が小さ
くなったり、文字の位置が変わって、入力画像のコンテ
ンツが見づらくなったり、内容が変わったりすることを
防止することができ、視認性をより一層向上させること
ができる。
According to the above arrangement, the height of each line of the output image is determined by the ratio of the height of the line of the input image arranged in each line of the output image to the maximum value of the rectangular height within the line of the input image. 1
Is determined based on the maximum height of the rectangle included in the row of the input image arranged in each row of the output image,
In other cases, it is determined based on the height of the input image arranged in each line of the output image, or the maximum height of the line in the input image, so that the characters of the output image become smaller. In addition, it is possible to prevent the content of the input image from being difficult to see or change due to a change in the position of the character, and the visibility can be further improved.

【0060】また、例えば、請求項9に記載するよう
に、前記文書画像変換方法は、前記出力画像の各行の高
さを、当該出力画像の各行に配置される入力画像の行の
高さと当該入力画像の行内の矩形高さの最大値との差が
所定値よりも小さい場合には、当該出力画像の各行に配
置される入力画像の行に含まれる矩形の最大高さに基づ
いて決定し、それ以外の場合には、当該出力画像の各行
に配置される入力画像の高さに基づいて決定し、また
は、前記入力画像内の行の最大高さとしてもよい。
Further, for example, according to the ninth aspect, in the document image conversion method, the height of each line of the output image is set to the height of the line of the input image arranged on each line of the output image. If the difference from the maximum value of the rectangle height in the line of the input image is smaller than a predetermined value, the difference is determined based on the maximum height of the rectangle included in the line of the input image arranged in each line of the output image. Otherwise, the height may be determined based on the height of the input image arranged in each row of the output image, or may be the maximum height of a row in the input image.

【0061】上記構成によれば、出力画像の各行の高さ
を、当該出力画像の各行に配置される入力画像の行の高
さと当該入力画像の行内の矩形高さの最大値との差が所
定値よりも小さい場合には、当該出力画像の各行に配置
される入力画像の行に含まれる矩形の最大高さに基づい
て決定し、それ以外の場合には、当該出力画像の各行に
配置される入力画像の高さに基づいて決定し、または、
入力画像内の行の最大高さとしているので、出力画像の
文字が小さくなったり、文字の位置が変わって、入力画
像のコンテンツが見づらくなったり、内容が変わったり
することを防止することができ、視認性をより一層向上
させることができる。
According to the above arrangement, the height of each line of the output image is determined by the difference between the height of the line of the input image arranged in each line of the output image and the maximum value of the rectangular height within the line of the input image. If it is smaller than the predetermined value, it is determined based on the maximum height of the rectangle included in the line of the input image arranged in each line of the output image, otherwise, it is arranged in each line of the output image. Determined based on the height of the input image to be processed, or
Because the maximum height of the line in the input image is used, it is possible to prevent the size of the characters in the output image from becoming smaller or changing the position of the characters, making it difficult to see or change the contents of the input image. The visibility can be further improved.

【0062】さらに、例えば、請求項10に記載するよ
うに、前記文書画像変換方法は、前記出力画像の各行の
高さを、当該出力画像の各行に配置される入力画像の行
の高さと当該入力画像の行内の矩形高さの最大値との比
が1に近い場合には、当該出力画像の各行に配置される
入力画像の行に含まれる文字の最大高さに基づいて決定
し、それ以外の場合には、当該出力画像の各行に配置さ
れる入力画像の高さに基づいて決定し、または、前記入
力画像内の行の最大高さとしてもよい。
Further, for example, as described in claim 10, in the document image conversion method, the height of each line of the output image is determined by the height of the line of the input image arranged on each line of the output image. When the ratio with the maximum value of the rectangular height in the line of the input image is close to 1, it is determined based on the maximum height of the characters included in the line of the input image arranged in each line of the output image, and In other cases, the height may be determined based on the height of the input image arranged in each row of the output image, or may be the maximum height of a row in the input image.

【0063】上記構成によれば、出力画像の各行の高さ
を、当該出力画像の各行に配置される入力画像の行の高
さと当該入力画像の行内の矩形高さの最大値との比が1
に近い場合には、当該出力画像の各行に配置される入力
画像の行に含まれる文字の最大高さに基づいて決定し、
それ以外の場合には、当該出力画像の各行に配置される
入力画像の高さに基づいて決定し、または、入力画像内
の行の最大高さとしているので、出力画像の文字が小さ
くなったり、文字の位置が変わって、入力画像のコンテ
ンツが見づらくなったり、内容が変わったりすることを
防止することができ、視認性をより一層向上させること
ができる。
According to the above configuration, the height of each line of the output image is determined by the ratio between the height of the line of the input image arranged in each line of the output image and the maximum value of the rectangular height within the line of the input image. 1
Is determined based on the maximum height of characters included in a line of the input image arranged on each line of the output image,
In other cases, it is determined based on the height of the input image arranged in each line of the output image, or the maximum height of the line in the input image, so that the characters of the output image become smaller. In addition, it is possible to prevent the content of the input image from being difficult to see or change due to a change in the position of the character, and the visibility can be further improved.

【0064】また、例えば、請求項11に記載するよう
に、前記文書画像変換方法は、前記出力画像の各行の高
さを、当該出力画像の各行に配置される入力画像の行の
高さと当該入力画像の行内の矩形高さの最大値との差が
所定値よりも小さい場合には、当該出力画像の各行に配
置される入力画像の行に含まれる文字の最大高さに基づ
いて決定し、それ以外の場合には、当該出力画像の各行
に配置される入力画像の高さに基づいて決定し、また
は、前記入力画像内の行の最大高さとしてもよい。
For example, as described in claim 11, in the document image conversion method, the height of each line of the output image is set to the height of the line of the input image arranged on each line of the output image. If the difference from the maximum value of the rectangular height in the line of the input image is smaller than a predetermined value, the determination is made based on the maximum height of the characters included in the line of the input image arranged in each line of the output image. Otherwise, the height may be determined based on the height of the input image arranged in each row of the output image, or may be the maximum height of a row in the input image.

【0065】上記構成によれば、出力画像の各行の高さ
を、当該出力画像の各行に配置される入力画像の行の高
さと当該入力画像の行内の矩形高さの最大値との差が所
定値よりも小さい場合には、当該出力画像の各行に配置
される入力画像の行に含まれる文字の最大高さに基づい
て決定し、それ以外の場合には、当該出力画像の各行に
配置される入力画像の高さに基づいて決定し、または、
入力画像内の行の最大高さとしているので、出力画像の
文字が小さくなったり、文字の位置が変わって、入力画
像のコンテンツが見づらくなったり、内容が変わったり
することを防止することができ、視認性をより一層向上
させることができる。
According to the above configuration, the height of each line of the output image is determined by the difference between the height of the line of the input image arranged in each line of the output image and the maximum value of the rectangular height within the line of the input image. If it is smaller than the predetermined value, it is determined based on the maximum height of the characters included in the line of the input image arranged on each line of the output image, otherwise, it is arranged on each line of the output image. Determined based on the height of the input image to be processed, or
Because the maximum height of the line in the input image is used, it is possible to prevent the size of the characters in the output image from becoming smaller or changing the position of the characters, making it difficult to see or change the contents of the input image. The visibility can be further improved.

【0066】さらに、例えば、請求項12に記載するよ
うに、前記文書画像変換方法は、前記入力画像の行画像
を、前記出力画像の行の高さに合わせて縮小してもよ
い。
Further, for example, in the document image conversion method, the line image of the input image may be reduced in accordance with a line height of the output image.

【0067】上記構成によれば、入力画像の行画像を、
出力画像の行の高さに合わせて縮小しているので、出力
画像上で入力画像の欠けが発生するのを防止することが
でき、精度をより一層向上させることができるととも
に、視認性をより一層向上させることができる。
According to the above arrangement, the line image of the input image is
Since the size of the output image is reduced according to the height of the line, it is possible to prevent the input image from being chipped on the output image, to further improve the accuracy, and to improve the visibility. It can be further improved.

【0068】また、例えば、請求項13に記載するよう
に、前記文書画像変換方法は、前記入力画像の行画像
を、前記出力画像の行の高さを超える矩形を出力画像の
行内に移動してもよい。
Further, for example, in the document image conversion method, the document image conversion method may include moving a line image of the input image to a rectangle exceeding a line height of the output image into a line of the output image. You may.

【0069】上記構成によれば、入力画像の行画像を、
出力画像の行の高さを超える矩形を出力画像の行内に移
動しているので、出力画像上で入力画像の欠けが発生す
るのを防止することができ、精度をより一層向上させる
ことができるとともに、視認性をより一層向上させるこ
とができる。
According to the above arrangement, the line image of the input image is
Since the rectangle exceeding the height of the line of the output image is moved into the line of the output image, it is possible to prevent the input image from being chipped on the output image, and to further improve the accuracy. At the same time, the visibility can be further improved.

【0070】さらに、例えば、請求項14に記載するよ
うに、前記文書画像変換方法は、前記入力画像の行画像
を、前記出力画像の行の範囲を超える文字画素のあるラ
インについて、出力画像の行の範囲に収まる大きさに縮
小してもよい。
Further, for example, in the document image conversion method, the document image conversion method may include converting a line image of the input image into a line having a character pixel exceeding a range of the line of the output image. The size may be reduced to be within the range of the line.

【0071】上記構成によれば、入力画像の行画像を、
出力画像の行の範囲を超える文字画素のあるラインにつ
いて、出力画像の行の範囲に収まる大きさに縮小してい
るので、出力画像上で入力画像が縮小されることを抑制
しつつ、出力画像上で入力画像の欠けが発生するのを防
止することができ、精度をより一層向上させることがで
きとともに、視認性をより一層向上させることができ
る。
According to the above arrangement, the line image of the input image is
Since a line having character pixels exceeding the range of the line of the output image is reduced to a size that fits within the range of the line of the output image, the output image is suppressed while the input image is not reduced on the output image. The occurrence of chipping of the input image can be prevented, and the accuracy can be further improved, and the visibility can be further improved.

【0072】また、例えば、請求項15に記載するよう
に、前記文書画像変換方法は、前記出力画像の行の範囲
を超える文字画素のあるラインについて、当該出力画像
の背景画素を削除して前記出力画像の行の範囲に収まる
大きさに縮小してもよい。
Further, for example, in the above-mentioned document image conversion method, for a line having a character pixel exceeding a line range of the output image, a background pixel of the output image is deleted. The size may be reduced to a size that fits within the range of the line of the output image.

【0073】上記構成によれば、出力画像の行の範囲を
超える文字画素のあるラインについて、当該出力画像の
背景画素を削除して出力画像の行の範囲に収まる大きさ
に縮小しているので、出力画像上で入力画像が縮小され
ることを抑制しつつ、出力画像上で入力画像の欠けが発
生するのを防止することができ、精度をより一層向上さ
せることができるとともに、視認性をより一層向上させ
ることができる。
According to the above arrangement, for a line having a character pixel exceeding the range of the line of the output image, the background pixel of the output image is deleted and reduced to a size within the range of the line of the output image. In addition, it is possible to prevent the input image from being chipped on the output image while suppressing the input image from being reduced on the output image, thereby further improving the accuracy and improving the visibility. It can be further improved.

【0074】さらに、例えば、請求項16に記載するよ
うに、前記文書画像変換方法は、前記出力画像の行の範
囲を超える文字画素のあるラインについて、当該出力画
像の前景と背景のエッジの数を保った状態で前記出力画
像の行の範囲に収まる大きさに縮小してもよい。
Further, for example, in the above-mentioned document image conversion method, for a line having a character pixel exceeding a line range of the output image, the number of edges of the foreground and the background of the output image is determined. May be reduced to a size that fits within the range of the line of the output image.

【0075】上記構成によれば、出力画像の行の範囲を
超える文字画素のあるラインについて、当該出力画像の
前景と背景のエッジの数を保った状態で出力画像の行の
範囲に収まる大きさに縮小しているので、出力画像上で
入力画像が縮小されることを抑制しつつ、出力画像上で
入力画像の欠けが発生するのを防止することができ、精
度をより一層向上させることができるとともに、視認性
をより一層向上させることができる。
According to the above configuration, for a line having a character pixel exceeding the range of the line of the output image, the size of the line that fits within the range of the line of the output image while maintaining the number of edges of the foreground and background of the output image Since it is possible to reduce the size of the input image on the output image, it is possible to prevent the input image from being chipped on the output image, thereby further improving the accuracy. The visibility can be further improved.

【0076】また、例えば、請求項17に記載するよう
に、前記文書画像変換方法は、前記出力画像の各行の高
さを、当該出力画像の高さに基づいて設定してもよい。
For example, in the document image conversion method, the height of each line of the output image may be set based on the height of the output image.

【0077】上記構成によれば、出力画像の各行の高さ
を、当該出力画像の高さに基づいて設定しているので、
出力画像上で入力画像が縮小されることを抑制しつつ、
出力画像上で入力画像の欠けが発生するのを防止するこ
とができ、精度をより一層向上させることができるとと
もに、視認性をより一層向上させることができる。
According to the above configuration, the height of each line of the output image is set based on the height of the output image.
While suppressing the reduction of the input image on the output image,
The occurrence of chipping of the input image on the output image can be prevented, the accuracy can be further improved, and the visibility can be further improved.

【0078】さらに、例えば、請求項18に記載するよ
うに、前記文書画像変換方法は、前記入力画像の各行
を、前記出力画像の行の高さに応じて拡大または縮小し
てもよい。
Further, for example, in the document image conversion method, each line of the input image may be enlarged or reduced according to the height of the line of the output image.

【0079】上記構成によれば、入力画像の各行を、出
力画像の行の高さに応じて拡大または縮小しているの
で、出力画像上で入力画像が縮小されることを抑制しつ
つ、出力画像上で入力画像の欠けが発生するのを防止す
ることができ、精度をより一層向上させることができる
とともに、視認性をより一層向上させることができる。
According to the above arrangement, each line of the input image is enlarged or reduced in accordance with the height of the line of the output image. Therefore, the output image is suppressed while the input image is not reduced on the output image. The occurrence of chipping of the input image on the image can be prevented, the accuracy can be further improved, and the visibility can be further improved.

【0080】また、例えば、請求項19に記載するよう
に、前記文書画像変換方法は、前記出力画像の各行の高
さを、当該出力画像を表示する機器の標準の値に基づい
て設定してもよい。
For example, as set forth in claim 19, in the document image conversion method, the height of each line of the output image is set based on a standard value of a device that displays the output image. Is also good.

【0081】上記構成によれば、出力画像の各行の高さ
を、当該出力画像を表示する機器の標準の値に基づいて
設定しているので、出力画像上で入力画像が縮小される
ことを抑制しつつ、出力画像上で入力画像の欠けが発生
するのを防止することができ、精度をより一層向上させ
ることができるとともに、視認性をより一層向上させる
ことができる。
According to the above configuration, since the height of each line of the output image is set based on the standard value of the device that displays the output image, it is possible to reduce the size of the input image on the output image. While suppressing, it is possible to prevent occurrence of chipping of the input image on the output image, so that accuracy can be further improved and visibility can be further improved.

【0082】さらに、例えば、請求項20に記載するよ
うに、前記文書画像変換方法は、前記入力画像の各行
を、前記出力画像の行の高さに応じて拡大または縮小し
てもよい。
Further, for example, in the document image conversion method, each line of the input image may be enlarged or reduced according to the height of the line of the output image.

【0083】上記構成によれば、入力画像の各行を、出
力画像の行の高さに応じて拡大または縮小しているの
で、出力画像上で入力画像が縮小されることを抑制しつ
つ、出力画像上で入力画像の欠けが発生するのを防止す
ることができ、精度をより一層向上させることができる
とともに、視認性をより一層向上させることができる。
According to the above configuration, each line of the input image is enlarged or reduced in accordance with the height of the line of the output image. Therefore, the output image is suppressed while the input image is not reduced on the output image. The occurrence of chipping of the input image on the image can be prevented, the accuracy can be further improved, and the visibility can be further improved.

【0084】また、例えば、請求項21に記載するよう
に、前記文書画像変換方法は、前記入力画像の各行を、
前記出力画像の行末で分割する際に、当該分割位置の前
後に行画像を重複させて出力してもよい。
Further, for example, as described in claim 21, in the document image conversion method, each line of the input image
When dividing at the end of the line of the output image, the line image may be overlapped before and after the division position and output.

【0085】上記構成によれば、入力画像の各行を、出
力画像の行末で分割する際に、当該分割位置の前後に行
画像を重複させて出力しているので、出力画像で文字の
途中で行が切れることによる視認性の低下を防止するこ
とができ、視認性をより一層向上させることができる。
According to the above configuration, when each line of the input image is divided at the end of the line of the output image, the line images are output before and after the division position in an overlapping manner. It is possible to prevent a decrease in visibility due to a line break, and to further improve visibility.

【0086】さらに、例えば、請求項22に記載するよ
うに、前記文書画像変換方法は、前記重複させる行画像
の幅を、前記入力画像の行画像の高さに基づいて設定し
てもよい。
Further, for example, in the document image conversion method, the width of the line image to be overlapped may be set based on the height of the line image of the input image.

【0087】上記構成によれば、重複させる行画像の幅
を、入力画像の行画像の高さに基づいて設定しているの
で、出力画像で文字の途中で行が切れることをより適切
に防止することができ、視認性をより一層向上させるこ
とができる。
According to the above configuration, since the width of the line image to be overlapped is set based on the height of the line image of the input image, the line is more appropriately prevented from being cut off in the middle of the character in the output image. And visibility can be further improved.

【0088】また、例えば、請求項23に記載するよう
に、前記文書画像変換方法は、前記重複させる行画像の
幅を、前記出力画像の行の高さに基づいて設定してもよ
い。
Further, for example, in the document image conversion method, the width of the line image to be overlapped may be set based on the height of the line of the output image.

【0089】上記構成によれば、重複させる行画像の幅
を、出力画像の行の高さに基づいて設定しているので、
出力画像で文字の途中で行が切れることをより適切に防
止することができ、視認性をより一層向上させることが
できる。
According to the above configuration, the width of the line image to be overlapped is set based on the line height of the output image.
Line breaks in the middle of characters in an output image can be more appropriately prevented, and visibility can be further improved.

【0090】さらに、例えば、請求項24に記載するよ
うに、前記文書画像変換方法は、前記重複させる行画像
の幅を、前記入力画像の画像内の矩形サイズに基づいて
設定してもよい。
Further, for example, in the document image conversion method, the width of the line image to be overlapped may be set based on a rectangular size in the image of the input image.

【0091】上記構成によれば、重複させる行画像の幅
を、入力画像の画像内の矩形サイズに基づいて設定して
いるので、出力画像で文字の途中で行が切れることをよ
り適切にかつ効率的に防止することができ、視認性をよ
り一層向上させることができる。
According to the above configuration, the width of the line image to be overlapped is set based on the rectangular size in the image of the input image. This can be efficiently prevented, and the visibility can be further improved.

【0092】また、例えば、請求項25に記載するよう
に、前記文書画像変換方法は、前記重複させる行画像の
幅を、前記入力画像の画像内の矩形の高さに基づいて設
定してもよい。
Further, for example, in the document image conversion method, the width of the line image to be overlapped may be set based on the height of a rectangle in the image of the input image. Good.

【0093】上記構成によれば、重複させる行画像の幅
を、入力画像の画像内の矩形の高さに基づいて設定して
いるので、出力画像で文字の途中で行が切れることをよ
り適切にかつ効率的に防止することができ、視認性をよ
り一層向上させることができる。
According to the above configuration, the width of the line image to be overlapped is set based on the height of the rectangle in the image of the input image. , And the visibility can be further improved.

【0094】さらに、例えば、請求項26に記載するよ
うに、前記文書画像変換方法は、前記重複させる行画像
の幅を、前記入力画像の画像内の矩形の幅に基づいて設
定してもよい。
Further, for example, in the document image conversion method, the width of the line image to be overlapped may be set based on the width of a rectangle in the image of the input image. .

【0095】上記構成によれば、重複させる行画像の幅
を、入力画像の画像内の矩形の幅に基づいて設定してい
るので、出力画像で文字の途中で行が切れることをより
適切にかつ効率的に防止することができ、視認性をより
一層向上させることができる。
According to the above configuration, the width of the line image to be overlapped is set based on the width of the rectangle in the image of the input image. And it can prevent it efficiently and can further improve visibility.

【0096】また、例えば、請求項27に記載するよう
に、前記文書画像変換方法は、前記重複させる行画像の
幅を、前記入力画像の画像内の文字サイズに基づいて設
定してもよい。
Further, for example, in the document image conversion method, the width of the line image to be overlapped may be set based on a character size in the image of the input image.

【0097】上記構成によれば、重複させる行画像の幅
を、入力画像の画像内の文字サイズに基づいて設定して
いるので、出力画像で文字の途中で行が切れることをよ
り適切にかつ効率的に防止することができ、視認性をよ
り一層向上させることができる。
According to the above configuration, the width of the line image to be overlapped is set based on the character size in the image of the input image. This can be efficiently prevented, and the visibility can be further improved.

【0098】さらに、例えば、請求項28に記載するよ
うに、前記文書画像変換方法は、前記重複させる行画像
の幅を、前記入力画像の画像内の文字の高さに基づいて
設定してもよい。
Further, for example, in the document image converting method, the width of the line image to be overlapped may be set based on the height of a character in the image of the input image. Good.

【0099】上記構成によれば、重複させる行画像の幅
を、入力画像の画像内の文字の高さに基づいて設定して
いるので、出力画像で文字の途中で行が切れることをよ
り適切にかつ効率的に防止することができ、視認性をよ
り一層向上させることができる。
According to the above configuration, the width of the line image to be overlapped is set based on the height of the character in the image of the input image. , And the visibility can be further improved.

【0100】また、例えば、請求項29に記載するよう
に、前記文書画像変換方法は、前記重複させる行画像の
幅を、前記入力画像の画像内の文字の幅に基づいて設定
してもよい。
Further, for example, in the document image conversion method, the width of the line image to be overlapped may be set based on the width of a character in the image of the input image. .

【0101】上記構成によれば、重複させる行画像の幅
を、入力画像の画像内の文字の幅に基づいて設定してい
るので、出力画像で文字の途中で行が切れることをより
適切にかつ効率的に防止することができ、視認性をより
一層向上させることができる。
According to the above configuration, since the width of the line image to be overlapped is set based on the width of the character in the image of the input image, it is possible to more appropriately prevent the line break in the middle of the character in the output image. And it can prevent it efficiently and can further improve visibility.

【0102】さらに、例えば、請求項30に記載するよ
うに、前記文書画像変換方法は、前記重複させる行画像
の幅を、前記入力画像の行画像の幅と前記出力画像の幅
に基づいて設定してもよい。
Further, for example, in the document image converting method, the width of the line image to be overlapped is set based on the width of the line image of the input image and the width of the output image. May be.

【0103】上記構成によれば、重複させる行画像の幅
を、入力画像の行画像の幅と出力画像の幅に基づいて設
定しているので、無駄なくかつできるだけ多くの部分を
重複させて、出力画像で文字の途中で行が切れることを
より適切に防止することができ、視認性をより一層向上
させることができる。
According to the above configuration, the width of the line image to be overlapped is set based on the width of the line image of the input image and the width of the output image. Line breaks in the middle of characters in an output image can be more appropriately prevented, and visibility can be further improved.

【0104】また、例えば、請求項31に記載するよう
に、前記文書画像変換方法は、前記入力画像の行画像の
幅をA、前記出力画像の幅をBとし、BをN(整数)倍
したときに初めてAより大きくなる場合に、前記重複さ
せる行画像の幅Vを、V=(NB−A)/Nとしてもよ
い。
Also, for example, in the document image conversion method, the width of the line image of the input image is A, the width of the output image is B, and B is N (integer) times. When it becomes larger than A for the first time, the width V of the line image to be overlapped may be set to V = (NB−A) / N.

【0105】上記構成によれば、入力画像の行画像の幅
をA、出力画像の幅をBとし、BをN(整数)倍したと
きに初めてAより大きくなる場合に、重複させる行画像
の幅Vを、V=(NB−A)/Nとしているので、無駄
なくかつできるだけ多くの部分を重複させて、出力画像
で文字の途中で行が切れることをより適切に防止するこ
とができ、視認性をより一層向上させることができる。
According to the above configuration, the width of the line image of the input image is A, and the width of the output image is B. When B becomes larger than A for the first time when B is multiplied by N (integer), the overlapped line image Since the width V is set to V = (NB−A) / N, it is possible to more effectively prevent a line from being cut off in the middle of a character in an output image by overlapping as much as possible without waste. The visibility can be further improved.

【0106】さらに、例えば、請求項32に記載するよ
うに、入力文書画像を整列させて出力する文書画像変換
方法において、ネットワークを介して接続された文書画
像入力装置、文書画像出力装置及び文書画像変換装置
が、前記請求項1から請求項31のいずれかに記載の文
書画像変換処理を実行してもよい。
Furthermore, for example, in a document image conversion method for arranging and outputting input document images, a document image input device, a document image output device, and a document image connected via a network A conversion device may execute the document image conversion processing according to any one of claims 1 to 31.

【0107】上記構成によれば、入力文書画像を整列さ
せて出力するに際して、ネットワークを介して接続され
た文書画像入力装置、文書画像出力装置及び文書画像変
換装置が、請求項1から請求項31のいずれかに記載の
文書画像変換処理を実行しているので、OCRを用いた
場合のようにコンテンツに変更が加わるような変換を避
けるとともに、背景等の文書に付随する情報も知覚でき
るようにしつつ、PDA等の表示領域の限られたデバイ
ス上に文書画像を効率よく表示することができ、出力画
像の数を向上させることができるとともに、視認性を向
上させることができる。
According to the above arrangement, when the input document images are arranged and output, the document image input device, the document image output device, and the document image conversion device connected via a network are provided. Since the document image conversion process described in any of (1) to (3) above is performed, it is possible to avoid the conversion that changes the content as in the case of using the OCR and to also be able to perceive information accompanying the document such as the background. In addition, a document image can be efficiently displayed on a device having a limited display area such as a PDA, the number of output images can be increased, and visibility can be improved.

【0108】また、請求項33記載の発明の文書画像変
換プログラムは、入力文書画像を整列させて出力する文
書画像変換プログラムにおいて、前記請求項1から請求
項32に記載の文書画像変換方法を実行することによ
り、上記目的を達成している。
A document image conversion program according to a thirty-third aspect of the present invention executes the document image conversion method according to the first to thirty-two in a document image conversion program for aligning and outputting input document images. By doing so, the above object is achieved.

【0109】上記構成によれば、入力文書画像を整列さ
せて出力するに際して、請求項1から請求項32に記載
の文書画像変換方法を実行しているので、OCRを用い
た場合のようにコンテンツに変更が加わるような変換を
避けるとともに、背景等の文書に付随する情報も知覚で
きるようにしつつ、PDA等の表示領域の限られたデバ
イス上に文書画像を効率よく表示することができ、出力
画像の数を向上させることができるとともに、視認性を
向上させることができる。
According to the above configuration, when the input document images are arranged and output, the document image conversion method according to any one of claims 1 to 32 is executed, so that the contents are converted as in the case of using OCR. Can efficiently display a document image on a device having a limited display area, such as a PDA, while avoiding conversion that would change the document, and allowing the user to perceive information accompanying the document, such as the background. The number of images can be improved, and the visibility can be improved.

【0110】さらに、請求項34記載の発明の文書画像
変換装置は、入力文書画像を整列させて出力する文書画
像変換装置において、前記請求項1から請求項31に記
載の文書画像変換方法を用いることにより、上記目的を
達成している。
A document image conversion apparatus according to a thirty-fourth aspect of the present invention uses the document image conversion method according to any one of the first to thirty-first aspects in a document image conversion apparatus for aligning and outputting input document images. Thereby, the above object is achieved.

【0111】上記構成によれば、入力文書画像を整列さ
せて出力するに際して、請求項1から請求項31に記載
の文書画像変換方法を用いているので、OCRを用いた
場合のようにコンテンツに変更が加わるような変換を避
けるとともに、背景等の文書に付随する情報も知覚でき
るようにしつつ、PDA等の表示領域の限られたデバイ
ス上に文書画像を効率よく表示することができ、出力画
像の数を向上させることができるとともに、視認性を向
上させることができる。
According to the above arrangement, when the input document images are arranged and output, the document image conversion method according to any one of claims 1 to 31 is used. A document image can be efficiently displayed on a device having a limited display area, such as a PDA, while avoiding a conversion that adds a change and allowing information accompanying the document such as a background to be perceived. And the visibility can be improved.

【0112】[0112]

【発明の実施の形態】以下、本発明の好適な実施の形態
を添付図面に基づいて詳細に説明する。なお、以下に述
べる実施の形態は、本発明の好適な実施の形態であるか
ら、技術的に好ましい種々の限定が付されているが、本
発明の範囲は、以下の説明において特に本発明を限定す
る旨の記載がない限り、これらの態様に限られるもので
はない。
Preferred embodiments of the present invention will be described below in detail with reference to the accompanying drawings. It should be noted that the embodiments described below are preferred embodiments of the present invention, and therefore, various technically preferable limitations are added. However, the scope of the present invention is not limited to the following description. The embodiments are not limited to these embodiments unless otherwise specified.

【0113】図1〜図7は、本発明の文書画像変換方
法、文書画像変換プログラム及び文書画像変換装置の第
1の実施の形態を示す図であり、本実施の形態は、請求
項1、請求項33及び請求項34に対応するものであ
る。
FIGS. 1 to 7 are diagrams showing a first embodiment of a document image conversion method, a document image conversion program and a document image conversion apparatus according to the present invention. This corresponds to Claims 33 and 34.

【0114】図1は、本発明の文書画像変換方法、文書
画像変換プログラム及び文書画像変換装置の第1の実施
の形態を適用した文書画像変換装置1の概略ブロック構
成図である。
FIG. 1 is a schematic block diagram of a document image conversion apparatus 1 to which a first embodiment of a document image conversion method, a document image conversion program and a document image conversion apparatus according to the present invention is applied.

【0115】図1において、文書画像変換装置1は、コ
ンピュータ等の情報処理装置で構成され、プログラム実
行装置2、入力装置3、出力装置4及び読取装置5等を
備えている。
In FIG. 1, a document image conversion apparatus 1 is composed of an information processing apparatus such as a computer, and includes a program execution device 2, an input device 3, an output device 4, a reading device 5, and the like.

【0116】読取装置5は、例えば、図2に示すよう
に、CD−ROM(Compact Disc Read Only Memory )
ドライブ等であり、プログラム実行装置2の制御下で、
CD−ROM等の記録媒体6に記録されている情報の読
み取りを行って、読み取った情報をプログラム実行装置
2に出力する。
As shown in FIG. 2, for example, the reading device 5 is a CD-ROM (Compact Disc Read Only Memory).
Drive, etc., under the control of the program execution device 2,
It reads information recorded on a recording medium 6 such as a CD-ROM, and outputs the read information to the program execution device 2.

【0117】入力装置3は、キーボード、マウス等であ
り、各種情報や命令をプログラム実行装置2に入力する
のに使用される。
The input device 3 is a keyboard, a mouse, and the like, and is used to input various information and instructions to the program execution device 2.

【0118】出力装置4は、ディスプレイ等であり、プ
ログラム実行装置2の処理結果や入力装置3から入力さ
れた情報や命令等を出力する。
The output device 4 is a display or the like, and outputs a processing result of the program execution device 2, information or a command input from the input device 3, and the like.

【0119】文書画像変換装置1は、読取装置5に文書
画像変換プログラムと必要なデータの記録された記録媒
体、例えば、CD−ROMを読み取らせて、これらの文
書画像変換プログラム及び必要なデータをプログラム実
行装置2に導入することで、構築される。
The document image conversion device 1 causes the reading device 5 to read a recording medium on which a document image conversion program and necessary data are recorded, for example, a CD-ROM, and reads the document image conversion program and necessary data. It is constructed by introducing it to the program execution device 2.

【0120】この文書画像変換装置1は、図2に示すよ
うに、回路ブロック構成されており、上記プログラム実
行装置2として、CPU(Central Processing Unit )
11、ROM(Read Only Memory)12、RAM(Rand
om Access Memory)13及びハードディスク14等を備
えているとともに、入力装置3として、キーボード3a
が、出力装置4として、ディスプレイ4aが、また、読
取装置5として、CD−ROMドライブ5aを備えてい
て、主要各部は、バス15で接続されている。
As shown in FIG. 2, the document image conversion apparatus 1 has a circuit block configuration. As the program execution apparatus 2, a CPU (Central Processing Unit) is used.
11, ROM (Read Only Memory) 12, RAM (Rand
om Access Memory) 13 and a hard disk 14 and the like.
However, a display 4 a is provided as the output device 4, and a CD-ROM drive 5 a is provided as the reading device 5, and main parts are connected by a bus 15.

【0121】ROM12には、基本プログラムや必要な
システムデータが格納されており、ハードディスク14
には、OS(Operating System)や文書画像変換プログ
ラムと必要なデータの記録されたCD−ROM6aをC
D−ROMドライブ5aで読み取らせて導入した文書画
像変換プログラム及び必要なデータ等が格納される。こ
の文書画像変換プログラムは、ハードディスク14に搭
載されているOS上で動作する。
The ROM 12 stores basic programs and necessary system data.
Stores a CD-ROM 6a in which an OS (Operating System) and a document image conversion program and necessary data are recorded.
A document image conversion program read and introduced by the D-ROM drive 5a and necessary data are stored. This document image conversion program operates on an OS mounted on the hard disk 14.

【0122】CPU11は、RAM13をワークメモリ
として利用しつつ、ハードディスク14のOS上で文書
画像変換プログラムを実行して、図3に示す機能ブロッ
クを構築して、文書画像変換処理を実行する。
While using the RAM 13 as a work memory, the CPU 11 executes a document image conversion program on the OS of the hard disk 14, constructs the functional blocks shown in FIG. 3, and executes a document image conversion process.

【0123】すなわち、文書画像変換装置1は、文書画
像変換プログラムを実行することで、図3に示すよう
に、画像入力部21、画像出力部22、矩形抽出部2
3、行切り出し部24、文字切り出し部25及び行画像
配置部26等の各機能部を構築する。
That is, the document image conversion apparatus 1 executes the document image conversion program, and as shown in FIG. 3, the image input unit 21, the image output unit 22, the rectangle extraction unit 2
3. Construct each functional unit such as the line cutout unit 24, the character cutout unit 25, and the line image arrangement unit 26

【0124】画像入力部21は、スキャナやデジタルカ
メラ等の画像入力機器を用いて、画像を取り込む。な
お、以下の説明では、簡単のために、白黒の原稿を2値
画像として取り込むものとして、説明するが、カラー画
像等に対しても、同様に適用することができる。
The image input section 21 takes in an image using an image input device such as a scanner or a digital camera. In the following description, for simplicity, a description will be given assuming that a black-and-white document is captured as a binary image.

【0125】画像出力部22は、変換処理した分割画像
をPDA等の外部装置に出力する。この外部装置は、小
型の表示部を備えており、入力される分割画像を当該小
型の表示部に表示出力する。
The image output section 22 outputs the converted divided image to an external device such as a PDA. The external device includes a small display unit, and displays the input divided image on the small display unit.

【0126】矩形抽出部23は、画像入力部21から入
力された画像から黒画素連結成分の外接矩形を抽出す
る。この連結成分を抽出する方法は、従来から数多く提
案されており、例えば、本出願人が先に提案した特許第
3001950号公報記載の方法や特許第294884
0号公報記載の方法を用いることができる。
The rectangle extracting unit 23 extracts a circumscribed rectangle of the black pixel connected component from the image input from the image input unit 21. Many methods for extracting this connected component have been proposed in the past, for example, the method described in Japanese Patent No. 3001005 previously proposed by the present applicant and the method described in Japanese Patent No. 294884.
No. 0 publication can be used.

【0127】行切り出し部24は、画像入力部21から
入力された画像から行画像を切り出す。この行画像の切
り出し方法は、従来から種々の方法が提案されており、
例えば、例えば、特許第2895122号公報記載の方
法や特許第2991761号公報記載の方法を用いるこ
とができる。
The line cutout section 24 cuts out a line image from the image input from the image input section 21. Various methods have been conventionally proposed as a method for extracting the line image.
For example, the method described in Japanese Patent No. 2895122 or the method described in Japanese Patent No. 2991761 can be used.

【0128】文字切り出し部25は、画像入力部21か
ら入力された画像から文字画像を切り出す。この文字画
像の切り出し方法は、従来から種々の方法が提案されて
おり、例えば、例えば、特開平9−106437号公報
記載の方法を用いることができる。
The character extracting section 25 extracts a character image from the image input from the image input section 21. Various methods have been conventionally proposed for extracting the character image. For example, a method described in Japanese Patent Application Laid-Open No. 9-106437 can be used.

【0129】行画像配置部26は、行画像の整形と配置
を行い、分割画像を生成する。この行画像配置部26の
詳細については、後述する。
The row image arranging section 26 shapes and arranges the row images to generate divided images. Details of the row image arrangement unit 26 will be described later.

【0130】次に、本実施の形態の作用を説明する。本
実施の形態の文書画像変換装置1は、入力画像を行分割
して、小さい画面で視認性の良好な画像を生成する。
Next, the operation of the present embodiment will be described. The document image conversion device 1 according to the present embodiment divides an input image into lines to generate an image with good visibility on a small screen.

【0131】すなわち、文書画像変換装置1は、図4に
示すように、画像入力部21から画像が入力されると、
行切り出し部24が行画像に分割する(ステップS10
1)。
That is, when an image is input from the image input unit 21 as shown in FIG.
The line cutout unit 24 divides the image into line images (step S10).
1).

【0132】この行画像への分割では、例えば、図5の
左側に示す入力画像に対して、この入力画像の点線で囲
まれている部分を行画像として、行分割を行っており、
図5の右側に示すように、入力画像が行単位で分割され
る。なお、図5の左下に示されている四角は、PDA等
の小型表示画面の表示サイズ(画面の大きさ)を示して
いる。
In the division into line images, for example, the input image shown on the left side of FIG. 5 is divided into lines by using a portion surrounded by a dotted line of the input image as a line image.
As shown on the right side of FIG. 5, the input image is divided into rows. The square shown at the lower left of FIG. 5 indicates the display size (screen size) of a small display screen such as a PDA.

【0133】これに対して、行分割を行わないで、図6
に示すように、同じ入力画像を単純に分割すると、図6
の右側に示すように、分割数が増える。なお、図6の左
下に示されている四角は、PDA等の小型表示画面の表
示サイズ(画面の大きさ)を示している。
On the other hand, FIG.
When the same input image is simply divided as shown in FIG.
, The number of divisions increases. The square shown at the lower left of FIG. 6 indicates the display size (screen size) of a small display screen such as a PDA.

【0134】なお、文書画像変換装置1は、上記行切り
出し画像に対して、リーディングオーダーを付与してお
り、その上位の行から順に処理を行う。このリーディン
グオーダーの付け方については、種々の方法を用いるこ
とができ、例えば、特開平8−147410号公報に記
載の方法を用いることができる。
Note that the document image conversion apparatus 1 assigns a leading order to the line cutout image, and performs processing in order from the higher order line. Various methods can be used for assigning the reading order. For example, a method described in Japanese Patent Application Laid-Open No. 8-147410 can be used.

【0135】そして、上記入力画像の行分割が完了する
と、行画像配置部26が、行画像上における行方向の先
頭位置Xs(出力画像にまだ貼り付けられていない画像
の左端位置)と、出力画像上における行と垂直な方向の
先頭位置Ys(入力行がまだ貼り付けられていない領域
の上端位置)を初期化し(ステップS102)、まず、
行画像が全て出力画像に貼り付けられているか否か、す
なわち、PDA等の表示対象の小型表示画面の行画像幅
が行方向の先頭位置Xsよりも小さいか(Xs>行画像
幅)を確認する(ステップS103)。
When the line division of the input image is completed, the line image arranging unit 26 sets the head position Xs in the line direction on the line image (the left end position of the image not yet pasted on the output image) and the output The head position Ys (the upper end position of the area where the input line is not pasted yet) in the direction perpendicular to the line on the image is initialized (step S102).
Check whether all line images are pasted on the output image, that is, whether the line image width of the small display screen to be displayed such as a PDA is smaller than the head position Xs in the line direction (Xs> line image width) (Step S103).

【0136】ステップS103で、行画像幅が行方向の
先頭位置Xsよりも小さくない(Xs≦行画像幅)とき
には、行画像配置部26は、表示対象の小型表示画面の
列画像幅が列方向の先頭位置Ys+Hよりも小さいか
(Ys+H>出力画像高さ)を確認する(ステップS1
04)。
In step S103, when the row image width is not smaller than the head position Xs in the row direction (Xs ≦ row image width), the row image arranging unit 26 sets the column image width of the small display screen to be displayed to the column direction. (Ys + H> output image height) is checked (step S1).
04).

【0137】ステップS104で、表示対象の小型表示
画面の列画像幅が列方向の先頭位置Ys+Hよりも大き
い(Ys+H≦出力画像高さ)ときには、行画像配置部
26は、行画像及び出力画像のそれぞれの画像の左上を
原点(0,0)として、(Xs,0)(Xs+W,H)
の行画像(XsからH幅の行画像)を出力画像の(0,
Ys)(W,Ys+H)に貼り付け(ステップS10
5)、Xs=Xs+W、Ys=Ys+Hとして(ステッ
プS106)、ステップS103に戻って、上記同様に
処理する。
In step S104, when the column image width of the small display screen to be displayed is larger than the head position Ys + H in the column direction (Ys + H ≦ output image height), the line image arrangement unit 26 sets the line image and the output image (Xs, 0) (Xs + W, H), with the upper left of each image as the origin (0, 0)
Of the output image (the row image of H width from Xs)
Ys) (W, Ys + H) (Step S10)
5) Assuming that Xs = Xs + W and Ys = Ys + H (step S106), the process returns to step S103 and performs the same processing as described above.

【0138】ステップS103で、行画像幅が行方向の
先頭位置Xsよりも小さい(Xs>行画像幅)ときに
は、行画像配置部26は、全ての行について処理が終了
したかチェックし(ステップS107)、全ての行につ
いて処理が完了していないときには、次の行画像の処理
に移行(Xs=0にセット)して(ステップS10
8)、表示対象の小型表示画面の列画像幅が列方向の先
頭位置Ys+Hよりも小さいか(Ys+H>出力画像高
さ)を確認する(ステップS104)。
If the row image width is smaller than the head position Xs in the row direction (Xs> row image width) in step S103, the row image arrangement unit 26 checks whether the processing has been completed for all rows (step S107). If the processing has not been completed for all the rows, the processing shifts to the processing for the next row image (set to Xs = 0) (step S10).
8) It is checked whether the column image width of the small display screen to be displayed is smaller than the head position Ys + H in the column direction (Ys + H> output image height) (step S104).

【0139】ステップS104で、表示対象の小型表示
画面の列画像幅が列方向の先頭位置Ys+Hよりも小さ
い(Ys+H>出力画像高さ)ときには、行画像配置部
26は、次の出力画像の処理に移行(Ys=0にセッ
ト)し(ステップS109)、ステップS105に移行
して、上記同様に出力画像の貼り付けを行って(ステッ
プS105)、Xs=Xs+W、Ys=Ys+Hとして
(ステップS106)、ステップS103に戻って、上
記同様に処理する。
In step S104, when the column image width of the small display screen to be displayed is smaller than the head position Ys + H in the column direction (Ys + H> output image height), the row image arrangement section 26 processes the next output image. (Set to Ys = 0) (step S109), the process proceeds to step S105, and the output image is pasted in the same manner as above (step S105), and Xs = Xs + W and Ys = Ys + H are set (step S106). , And returns to step S103 to perform the same processing as described above.

【0140】すなわち、図7に示すように、行画像、出
力画像のそれぞれの画像の左上を原点(0,0)とし
て、(Xs,0)(Xs+W,H)の行画像(Xsから
H幅の行画像)を出力画像の(0,Ys)(W,Ys+
H)に貼り付ける。
That is, as shown in FIG. 7, the upper left of each of the row image and the output image is defined as the origin (0, 0), and the row image (Xs to H width) of (Xs, 0) (Xs + W, H) is set. Of the output image (W, Ys +
H).

【0141】ステップS103で、行画像幅が行方向の
先頭位置Xsよりも小さい(Xs>行画像幅)ときに
は、行画像配置部26は、全ての行について処理が終了
したかチェックし(ステップS107)、全ての行につ
いて処理が完了していると、出力画像を画像出力部22
に渡して、画像出力部22が、PDA等の表示部に出力
して、処理を終了する。
If the row image width is smaller than the head position Xs in the row direction (Xs> row image width) in step S103, the row image arrangement unit 26 checks whether the processing has been completed for all rows (step S107). If the processing has been completed for all rows, the output image is output to the image output unit 22.
And the image output unit 22 outputs the image to a display unit such as a PDA, and the process ends.

【0142】上記行画像配置処理では、出力画像の大き
さ(幅と高さ)をPDA等の表示部の大きさに合わせ
て、処理し、また、出力画像に行画像を貼り付けるだけ
の余裕が残っているか否かの確認も行う。そして、先の
処理とこの処理は並列に行ってもよい。
In the line image arrangement processing, the size (width and height) of the output image is processed according to the size of the display unit such as a PDA, and there is enough room for pasting the line image to the output image. Confirmation of whether or not remains. The above process and this process may be performed in parallel.

【0143】そして、上記処理を行うことで、図5に示
した複数枚の行画像として切り出された出力画像が生成
されて、PDA等の表示部に表示出力される。したがっ
て、図6に示した単純に入力画像を分割して表示出力す
る場合に比較して、出力画像の数を少なくすることがで
きるとともに、出力画像の視認性を大きく向上させるこ
とができる。
By performing the above processing, an output image cut out as a plurality of line images shown in FIG. 5 is generated and displayed on a display unit such as a PDA. Therefore, the number of output images can be reduced and the visibility of the output image can be greatly improved as compared with the case where the input image is simply divided and displayed and output as shown in FIG.

【0144】このように、本実施の形態の文書画像変換
装置1は、入力文書画像を整列させて出力するに際し
て、入力文書画像に対して行切り出し処理を施して行画
像を生成し、当該生成した行画像をつなぎ合わせて出力
画像を生成している。
As described above, when aligning and outputting an input document image, the document image conversion apparatus 1 of the present embodiment performs a line cutout process on the input document image to generate a line image, and generates the line image. The output image is generated by connecting the line images thus obtained.

【0145】したがって、OCRを用いた場合のように
コンテンツに変更が加わるような変換を避けるととも
に、背景等の文書に付随する情報も知覚できるようにし
つつ、PDA等の表示領域の限られたデバイス上に文書
画像を効率よく表示することができ、出力画像の数を向
上させることができるとともに、視認性を向上させるこ
とができる。
Therefore, a device such as a PDA or the like having a limited display area while avoiding conversion that changes the content as in the case of using the OCR and allowing information accompanying the document such as the background to be perceived. A document image can be efficiently displayed thereon, the number of output images can be improved, and the visibility can be improved.

【0146】図8は、本発明の文書画像変換方法、文書
画像変換プログラム及び文書画像変換装置の第2の実施
の形態を示す図であり、本実施の形態は、請求項2及び
請求項3に対応するものである。
FIG. 8 is a diagram showing a second embodiment of a document image conversion method, a document image conversion program, and a document image conversion apparatus according to the present invention. It corresponds to.

【0147】なお、本実施の形態は、上記第1の実施の
形態の文書画像変換装置1と同様の文書画像変換装置に
適用したものであり、本実施の形態の説明においては、
必要に応じて、上記第1の実施の形態の説明で用いた符
号をそのまま用いて説明する。
This embodiment is applied to a document image conversion device similar to the document image conversion device 1 of the first embodiment. In the description of this embodiment,
The description will be made using the reference numerals used in the description of the first embodiment as needed, as necessary.

【0148】本実施の形態の文書画像変換装置1は、入
力画像を行分割するとともに、出力画像の各行の高さを
揃える。
The document image conversion apparatus 1 according to the present embodiment divides an input image into lines and aligns the height of each line of an output image.

【0149】すなわち、文書画像変換装置1は、図8に
示すように、画像入力部21から画像が入力されると、
まず、入力画像を矩形抽出部23で矩形抽出を行い(ス
テップS201)、抽出した矩形の高さの中から最大の
値M(最大矩形サイズM)を求める(ステップS20
2)。
That is, as shown in FIG. 8, when the document image conversion apparatus 1 receives an image from the image input section 21,
First, the input image is subjected to rectangle extraction by the rectangle extraction unit 23 (step S201), and the maximum value M (maximum rectangle size M) is obtained from the heights of the extracted rectangles (step S20).
2).

【0150】次に、行切り出し部24が、上記第1の実
施の形態の場合と同様に、行画像に分割して行の切り出
しを行い(ステップS203)、行分割した行画像上に
おける行方向の先頭位置Xs(出力画像にまだ貼り付け
られていない画像の左端位置)と、出力画像上における
行と垂直な方向の先頭位置Ys(入力行がまだ貼り付け
られていない領域の上端位置)を初期化する(ステップ
S204)。
Next, as in the case of the first embodiment, the line cutout section 24 divides the image into line images and cuts out the lines (step S203). (The left end position of the image not yet pasted on the output image) and the start position Ys (the upper end position of the area where the input line is not pasted yet) on the output image in the direction perpendicular to the line. Initialization is performed (step S204).

【0151】なお、入力画像を矩形抽出する代わりに、
特開平9−106437号公報に記載されている文字画
像抽出を行い、その高さの最大値を用いてもよい。ただ
し、この方法では、処理が複雑となるが、日本語文書に
は上下に分離する文字等があるため、精度は向上する。
Note that, instead of extracting a rectangle from the input image,
The character image extraction described in JP-A-9-106437 may be performed, and the maximum value of the height may be used. However, in this method, although the processing is complicated, the accuracy is improved because the Japanese document includes characters and the like separated vertically.

【0152】次に、行画像配置部26が、行画像が全て
出力画像に貼り付けられているか否か、すなわち、PD
A等の表示対象の小型表示画面の行画像幅が行方向の先
頭位置Xsよりも小さいか(Xs>行画像幅)を確認し
(ステップS205)、行画像幅が行方向の先頭位置X
sよりも小さくない(Xs≦行画像幅)ときには、表示
対象の小型表示画面の列画像幅が列方向の先頭位置Ys
+Hよりも小さいか(Ys+H>出力画像高さ)を確認
する(ステップS206)。
Next, the line image arranging section 26 determines whether or not all the line images have been pasted on the output image,
It is checked whether the row image width of the small display screen to be displayed such as A is smaller than the head position Xs in the row direction (Xs> row image width) (step S205), and the row image width is set to the head position X in the row direction.
If it is not smaller than s (Xs ≦ row image width), the column image width of the small display screen to be displayed is the head position Ys in the column direction.
It is checked whether it is smaller than + H (Ys + H> output image height) (step S206).

【0153】ステップS206で、表示対象の小型表示
画面の列画像幅が列方向の先頭位置Ys+Hよりも大き
い(Ys+H≦出力画像高さ)ときには、行画像配置部
26は、行画像及び出力画像のそれぞれの画像の左上を
原点(0,0)として、(Xs,0)(Xs+W,H)
の行画像(XsからH幅の行画像)を出力画像の(0,
Ys)(W,Ys+H)に貼り付け(ステップS20
7)、Xs=Xs+W、Ys=Ys+Hとして(ステッ
プS208)、ステップS205に戻って、上記同様に
処理する。
In step S206, when the column image width of the small display screen to be displayed is larger than the head position Ys + H in the column direction (Ys + H ≦ output image height), the row image arrangement unit 26 sets the row image and the output image (Xs, 0) (Xs + W, H), with the upper left of each image as the origin (0, 0)
Of the output image (the row image of H width from Xs)
Ys) (W, Ys + H) (Step S20)
7) Assuming that Xs = Xs + W and Ys = Ys + H (step S208), the process returns to step S205 and performs the same processing as described above.

【0154】ステップS205で、行画像幅が行方向の
先頭位置Xsよりも小さい(Xs>行画像幅)ときに
は、行画像配置部26は、全ての行について処理が終了
したかチェックし(ステップS209)、全ての行につ
いて処理が完了していないときには、次の行画像の処理
に移行(Xs=0にセット)して(ステップS21
0)、表示対象の小型表示画面の列画像幅が列方向の先
頭位置Ys+Hよりも小さいか(Ys+H>出力画像高
さ)を確認する(ステップS206)。
If the row image width is smaller than the head position Xs in the row direction (Xs> row image width) in step S205, the row image arrangement unit 26 checks whether the processing has been completed for all rows (step S209). If the processing has not been completed for all the rows, the processing shifts to the processing for the next row image (set to Xs = 0) (step S21).
0), it is confirmed whether the column image width of the small display screen to be displayed is smaller than the head position Ys + H in the column direction (Ys + H> output image height) (step S206).

【0155】ステップS206で、表示対象の小型表示
画面の列画像幅が列方向の先頭位置Ys+Hよりも小さ
い(Ys+H>出力画像高さ)ときには、行画像配置部
26は、次の出力画像の処理に移行(Ys=0にセッ
ト)し(ステップS211)、ステップS207に移行
して、上記同様に出力画像の貼り付けを行って(ステッ
プS207)、Xs=Xs+W、Ys=Ys+Hとして
(ステップS207)、ステップS205に戻って、上
記同様に処理する。
In step S206, when the column image width of the small display screen to be displayed is smaller than the head position Ys + H in the column direction (Ys + H> output image height), the row image arrangement section 26 processes the next output image. (Set to Ys = 0) (step S211), and then proceeds to step S207, where the output image is pasted in the same manner as above (step S207), and Xs = Xs + W and Ys = Ys + H are set (step S207). , And returns to step S205 to perform the same processing as described above.

【0156】ステップS205で、行画像幅が行方向の
先頭位置Xsよりも小さい(Xs>行画像幅)ときに
は、行画像配置部26は、全ての行について処理が終了
したかチェックし(ステップS209)、全ての行につ
いて処理が完了していると、出力画像を画像出力部22
に渡して、画像出力部22が、PDA等の表示部に出力
して、処理を終了する。
If the row image width is smaller than the head position Xs in the row direction (Xs> row image width) in step S205, the row image arrangement unit 26 checks whether the processing has been completed for all rows (step S209). If the processing has been completed for all rows, the output image is output to the image output unit 22.
And the image output unit 22 outputs the image to a display unit such as a PDA, and the process ends.

【0157】このように、本実施の形態の文字画像変換
装置1は、出力画像の各行の高さを、入力画像内の矩形
の最大高さに基づいて決定している。
As described above, the character image conversion apparatus 1 according to the present embodiment determines the height of each line of the output image based on the maximum height of the rectangle in the input image.

【0158】したがって、出力画像上で各行の高さを揃
えることができ、視認性をより一層向上させることがで
きる。
Accordingly, the height of each row can be made uniform on the output image, and the visibility can be further improved.

【0159】また、本実施の形態の文字画像変換装置1
は、出力画像の各行の高さを、入力画像内の文字の最大
高さに基づいて決定している。
Further, character image conversion apparatus 1 of the present embodiment
Determines the height of each line of the output image based on the maximum height of characters in the input image.

【0160】したがって、出力画像上で各行の高さをよ
り一層高精度に揃えることができ、視認性をより一層向
上させることができる。
Therefore, the height of each line on the output image can be more precisely aligned, and the visibility can be further improved.

【0161】図9及び図10は、本発明の文書画像変換
方法、文書画像変換プログラム及び文書画像変換装置の
第3の実施の形態を示す図であり、本実施の形態は、請
求項4及び請求項5に対応するものである。
FIGS. 9 and 10 are diagrams showing a third embodiment of a document image conversion method, a document image conversion program and a document image conversion apparatus according to the present invention. This corresponds to claim 5.

【0162】なお、本実施の形態は、上記第1の実施の
形態の文書画像変換装置1と同様の文書画像変換装置に
適用したものであり、本実施の形態の説明においては、
必要に応じて、上記第1の実施の形態の説明で用いた符
号をそのまま用いて説明する。
Note that this embodiment is applied to a document image conversion device similar to the document image conversion device 1 of the first embodiment, and in the description of this embodiment,
The description will be made using the reference numerals used in the description of the first embodiment as needed, as necessary.

【0163】本実施の形態の文書画像変換装置1は、出
力画像の同一行上に入力画像の異なる行を配置して、少
ない領域により多くの文字を配置する。
The document image conversion apparatus 1 of the present embodiment arranges different lines of the input image on the same line of the output image, and arranges more characters in a small area.

【0164】すなわち、文書画像変換装置1は、図9に
示すように、画像入力部21から画像が入力されると、
まず、行切り出し部24が、上記第1の実施の形態の場
合と同様に、行画像に分割して行の切り出しを行い(ス
テップS301)、行分割した行画像上における行方向
の先頭位置Xs(出力画像にまだ貼り付けられていない
画像の左端位置)と、出力画像上における行と垂直な方
向の先頭位置Ys(入力行がまだ貼り付けられていない
領域の上端位置)を初期化する(ステップS302)。
That is, as shown in FIG. 9, when the document image conversion apparatus 1 receives an image from the image input section 21,
First, as in the case of the first embodiment, the line cutout unit 24 divides the image into line images and cuts out the lines (step S301), and the head position Xs in the line direction on the line image obtained by line division. (The left end position of the image not yet pasted on the output image) and the head position Ys in the direction perpendicular to the line on the output image (the upper end position of the area where the input line is not pasted yet) are initialized ( Step S302).

【0165】次に、行画像配置部26が、PDA等の表
示対象の小型表示画面の行画像幅Lwが行方向の先頭位
置Xsよりも小さいか(Xs>Lw)を確認し(ステッ
プS303)、行画像幅が行方向の先頭位置Xsよりも
小さくない(Xs≦Lw)ときには、F=Xsとして
(ステップS304)、表示対象の小型表示画面の列画
像幅である出力画像高さIhが列方向の先頭位置Ys+
Hよりも小さいか(Ys+H>Ih)を確認する(ステ
ップS305)。
Next, the row image arrangement unit 26 checks whether the row image width Lw of the small display screen to be displayed such as a PDA is smaller than the head position Xs in the row direction (Xs> Lw) (step S303). If the row image width is not smaller than the head position Xs in the row direction (Xs ≦ Lw), F = Xs (step S304), and the output image height Ih, which is the column image width of the small display screen to be displayed, is Direction head position Ys +
It is checked whether it is smaller than H (Ys + H> Ih) (step S305).

【0166】ステップS305で、出力画像高さIhが
列方向の先頭位置Ys+Hよりも大きい(Ys+H≦I
h)ときには、行画像配置部26は、行画像及び出力画
像のそれぞれの画像の左上を原点(0,0)として、
(F,0)(F+W,H)の行画像(FからH幅の行画
像)を出力画像の(0,Ys)(W,Ys+H)に貼り
付け(ステップS306)、Xs=Xs+W、Ys=Y
s+Hとして(ステップS307)、ステップS303
に戻って、上記同様に処理する。
In step S305, the output image height Ih is larger than the head position Ys + H in the column direction (Ys + H ≦ I
h) At this time, the row image arrangement unit 26 sets the origin (0, 0) at the upper left of each of the row image and the output image,
A row image of (F, 0) (F + W, H) (a row image having a width from F to H) is pasted on (0, Ys) (W, Ys + H) of the output image (step S306), and Xs = Xs + W, Ys = Y
As s + H (step S307), step S303
And the same processing as above is performed.

【0167】ステップS303で、行画像幅Lwが行方
向の先頭位置Xsよりも小さい(Xs>Lw)ときに
は、行画像配置部26は、全ての行について処理が終了
したかチェックし(ステップS308)、全ての行につ
いて処理が完了していないときには、次の行画像の処理
に移行して、F=Lw−Xs、Xs=0、Ys=Ys−
H、H=max(H,Hn)として(ステップS30
9)、出力画像高さIhが列方向の先頭位置Ys+Hよ
りも小さいか(Ys+H>Ih)を確認する(ステップ
S305)。
In step S303, when the line image width Lw is smaller than the head position Xs in the line direction (Xs> Lw), the line image arrangement unit 26 checks whether the processing has been completed for all the lines (step S308). If the processing has not been completed for all the rows, the processing shifts to the processing for the next row image, where F = Lw−Xs, Xs = 0, and Ys = Ys−.
H, H = max (H, Hn) (Step S30)
9) Check whether the output image height Ih is smaller than the head position Ys + H in the column direction (Ys + H> Ih) (step S305).

【0168】ステップS305で、出力画像高さIhが
列方向の先頭位置Ys+Hよりも小さい(Ys+H>I
h)ときには、行画像配置部26は、次の出力画像の処
理に移行(Ys=0にセット)し(ステップS31
0)、ステップS306に移行して、上記同様に出力画
像の貼り付けを行って(ステップS306)、Xs=X
s+W、Ys=Ys+Hとして(ステップS307)、
ステップS303に戻って、上記同様に処理する。
In step S305, the output image height Ih is smaller than the head position Ys + H in the column direction (Ys + H> I).
h) At this time, the line image arrangement unit 26 shifts to the processing of the next output image (sets to Ys = 0) (step S31).
0), the process proceeds to step S306, and the output image is pasted in the same manner as described above (step S306), and Xs = X
s + W, Ys = Ys + H (step S307),
Returning to step S303, the same processing is performed as described above.

【0169】ステップS303で、行画像幅が行方向の
先頭位置Xsよりも小さい(Xs>Lw)ときには、行
画像配置部26は、全ての行について処理が終了したか
チェックし(ステップS308)、全ての行について処
理が完了していると、出力画像を画像出力部22に渡し
て、画像出力部22が、PDA等の表示部に出力して、
処理を終了する。
If the row image width is smaller than the head position Xs in the row direction (Xs> Lw) in step S303, the row image arranging unit 26 checks whether the processing has been completed for all rows (step S308). When the processing has been completed for all the rows, the output image is passed to the image output unit 22, and the image output unit 22 outputs the image to a display unit such as a PDA.
The process ends.

【0170】すなわち、本実施の形態の文字画像変換装
置1は、1行の行画像の貼り付けが終わった際に、出力
画像上で次の行の処理に移らず、現在行の残りの部分に
入力画像の次の行を張り合わせる。具体的には、図10
に示すように、出力画像上の同じ行に入力画像の複数の
行が配置されるため、出力画像の行の高さは、その最大
値にすることで、全ての画像が収まり、また、視認性を
高めるために、最大行高さの1.1倍等にすることで、
行間をはっきりさせてることができる。
That is, when the pasting of one line image is completed, the character image conversion apparatus 1 of the present embodiment does not proceed to the processing of the next line on the output image, but executes the remaining part of the current line. To the next line of the input image. Specifically, FIG.
As shown in the figure, since multiple lines of the input image are arranged on the same line on the output image, by setting the height of the line of the output image to its maximum value, all the images can be accommodated and By increasing the maximum line height to 1.1 times, etc.
Line spacing can be clarified.

【0171】なお、図9に示した処理では、画像を貼り
付ける範囲が行画像からはみ出す場合があるが、その場
合には、はみ出した部分は無視するものとする。また、
出力画像の同一行に複数の行画像をつなぐ場合であっ
て、後の行高さの方が大きく、後の行を貼り付けた際
に、出力画像の範囲を超える場合には、同一行内への貼
り付けをあきらめ、次の出力画像の処理を行っている。
In the process shown in FIG. 9, the range where the image is to be pasted may protrude from the row image. In this case, the protruding portion is ignored. Also,
When connecting multiple line images to the same line of the output image, if the later line height is larger and pasting the latter line, if it exceeds the range of the output image, put it in the same line Give up and process the next output image.

【0172】この場合、予め同一行内に含まれる行画像
を求め、その最大値を用いて次の出力画像への移動を判
断するようにしてもよいが、上述した処理の方が簡単で
ある。
In this case, a line image included in the same line may be obtained in advance, and the movement to the next output image may be determined using the maximum value. However, the above-described processing is simpler.

【0173】このように、本実施の形態の文字画像変換
装置1は、出力画像の各行の高さを、当該出力画像の各
行に配置される入力画像の高さに基づいて決定してい
る。
As described above, the character image conversion apparatus 1 of the present embodiment determines the height of each line of the output image based on the height of the input image arranged on each line of the output image.

【0174】したがって、出力画像上で各行の高さ入力
画像の高さに応じてを揃えることができ、視認性をより
一層向上させることができる。
Therefore, the height of each row on the output image can be made uniform according to the height of the input image, and the visibility can be further improved.

【0175】また、本実施の形態の文字画像変換装置1
は、出力画像の各行の高さを、入力画像内の行の最大高
さとしている。
The character image conversion device 1 of the present embodiment
Defines the height of each row in the output image as the maximum height of a row in the input image.

【0176】したがって、出力画像上での各行の高さを
入力画像の行の最大高さに揃えることができ、視認性を
より一層向上させることができる。
Therefore, the height of each line on the output image can be made equal to the maximum height of the line of the input image, and the visibility can be further improved.

【0177】図11は、本発明の文書画像変換方法、文
書画像変換プログラム及び文書画像変換装置の第4の実
施の形態を示す図であり、本実施の形態は、請求項6及
び請求項7に対応するものである。
FIG. 11 is a diagram showing a fourth embodiment of a document image conversion method, a document image conversion program, and a document image conversion apparatus according to the present invention. It corresponds to.

【0178】なお、本実施の形態は、上記第1の実施の
形態の文書画像変換装置1と同様の文書画像変換装置に
適用したものであり、本実施の形態の説明においては、
必要に応じて、上記第1の実施の形態の説明で用いた符
号をそのまま用いて説明する。
This embodiment is applied to a document image conversion device similar to the document image conversion device 1 of the first embodiment. In the description of this embodiment,
The description will be made using the reference numerals used in the description of the first embodiment as needed, as necessary.

【0179】本実施の形態の文書画像変換装置1は、出
力画像の同一行上に入力画像の異なる行を配置して、少
ない領域により多くの文字を配置するが、行幅Hの更新
の際に、行の高さを用いる代わりに、行内の最大矩形高
さの最大値を用いる。
The document image conversion apparatus 1 according to the present embodiment arranges different lines of the input image on the same line of the output image and arranges more characters in a smaller area. Instead of using the row height, use the maximum value of the maximum rectangle height in the row.

【0180】すなわち、文書画像変換装置1は、図11
に示すように、画像入力部21から画像が入力される
と、まず、行切り出し部24が、上記第1の実施の形態
の場合と同様に、行画像に分割して行の切り出しを行い
(ステップS401)、行分割した行画像上における行
方向の先頭位置Xs(出力画像にまだ貼り付けられてい
ない画像の左端位置)と、出力画像上における行と垂直
な方向の先頭位置Ys(入力行がまだ貼り付けられてい
ない領域の上端位置)を初期化するとともに、行高さH
を次の行内の最大矩形高さHnとする(ステップS40
2)。
That is, the document image conversion apparatus 1 is configured as shown in FIG.
As shown in (1), when an image is input from the image input unit 21, the line cutout unit 24 first divides the image into line images and cuts out the lines as in the case of the first embodiment (FIG. Step S401), a head position Xs in the row direction on the line image obtained by dividing the line (the left end position of an image that has not been pasted on the output image), and a head position Ys (input line position) perpendicular to the line on the output image. Is initialized at the top of the area that has not been pasted yet, and the row height H
Is the maximum rectangular height Hn in the next line (step S40).
2).

【0181】次に、行画像配置部26が、行画像が全て
出力画像に貼り付けられているか否か、すなわち、PD
A等の表示対象の小型表示画面の行画像幅Lwが行方向
の先頭位置Xsよりも小さいか(Xs>Lw)を確認し
(ステップS403)、行画像幅Lwが行方向の先頭位
置Xsよりも小さくない(Xs≦Lw)ときには、F=
Xsとして(ステップS404)、表示対象の小型表示
画面の列画像幅である出力画像高さIhが列方向の先頭
位置Ys+Hよりも小さいか(Ys+H>Ih)を確認
する(ステップS405)。
Next, the line image arranging section 26 determines whether or not all the line images have been pasted on the output image,
It is checked whether the row image width Lw of the small display screen to be displayed such as A is smaller than the top position Xs in the row direction (Xs> Lw) (step S403), and the row image width Lw is smaller than the top position Xs in the row direction. Is not small (Xs ≦ Lw), F =
As Xs (step S404), it is checked whether the output image height Ih, which is the column image width of the small display screen to be displayed, is smaller than the head position Ys + H in the column direction (Ys + H> Ih) (step S405).

【0182】ステップS405で、出力画像高さIhが
列方向の先頭位置Ys+Hよりも大きい(Ys+H≦I
h)ときには、行画像配置部26は、行画像及び出力画
像のそれぞれの画像の左上を原点(0,0)として、
(F,0)(F+W,H)の行画像(FからH幅の行画
像)を出力画像の(0,Ys)(W,Ys+H)に貼り
付け(ステップS406)、Xs=Xs+W、Ys=Y
s+Hとして(ステップS407)、ステップS403
に戻って、上記同様に処理する。
In step S405, the output image height Ih is larger than the head position Ys + H in the column direction (Ys + H ≦ I
h) At this time, the row image arrangement unit 26 sets the origin (0, 0) at the upper left of each of the row image and the output image,
A row image of (F, 0) (F + W, H) (a row image having a width from F to H) is pasted on (0, Ys) (W, Ys + H) of the output image (step S406), and Xs = Xs + W, Ys = Y
As s + H (step S407), step S403
And the same processing as above is performed.

【0183】ステップS403で、行画像幅Lwが行方
向の先頭位置Xsよりも小さい(Xs>Lw)ときに
は、行画像配置部26は、全ての行について処理が終了
したかチェックし(ステップS408)、全ての行につ
いて処理が完了していないときには、次の行画像の処理
に移行して、F=Lw−Xs、Xs=0、Ys=Ys−
H、H=max(H,Hn)として(ステップS40
9)、出力画像高さIhが列方向の先頭位置Ys+Hよ
りも小さいか(Ys+H>Ih)を確認する(ステップ
S405)。
If the line image width Lw is smaller than the head position Xs in the line direction (Xs> Lw) in step S403, the line image arrangement unit 26 checks whether the processing has been completed for all the lines (step S408). If the processing has not been completed for all the rows, the processing shifts to the processing for the next row image, where F = Lw−Xs, Xs = 0, and Ys = Ys−.
H, H = max (H, Hn) (Step S40)
9) It is checked whether the output image height Ih is smaller than the head position Ys + H in the column direction (Ys + H> Ih) (step S405).

【0184】ステップS405で、出力画像高さIhが
列方向の先頭位置Ys+Hよりも小さい(Ys+H>I
h)ときには、行画像配置部26は、次の出力画像の処
理に移行(Ys=0にセット)し(ステップS41
0)、ステップS406に移行して、上記同様に出力画
像の貼り付けを行って(ステップS406)、Xs=X
s+W、Ys=Ys+Hとして(ステップS407)、
ステップS403に戻って、上記同様に処理する。
In step S405, the output image height Ih is smaller than the head position Ys + H in the column direction (Ys + H> I).
h) At this time, the line image arrangement unit 26 shifts to the processing of the next output image (sets to Ys = 0) (step S41).
0), the process proceeds to step S406, and the output image is pasted in the same manner as described above (step S406), and Xs = X
s + W, Ys = Ys + H (step S407)
Returning to step S403, the same processing is performed as described above.

【0185】ステップS403で、行画像幅が行方向の
先頭位置Xsよりも小さい(Xs>Lw)ときには、行
画像配置部26は、全ての行について処理が終了したか
チェックし(ステップS408)、全ての行について処
理が完了していると、出力画像を画像出力部22に渡し
て、画像出力部22が、PDA等の表示部に出力して、
処理を終了する。
If the row image width is smaller than the head position Xs in the row direction (Xs> Lw) in step S403, the row image arrangement unit 26 checks whether the processing has been completed for all rows (step S408). When the processing has been completed for all the rows, the output image is passed to the image output unit 22, and the image output unit 22 outputs the image to a display unit such as a PDA.
The process ends.

【0186】すなわち、出力画像の行の高さが、出力画
像の行の中にある矩形の最大高さになるとは限らない。
そこで、本実施の形態の文字画像変換装置1は、入力画
像の状態把握の観点からは、入力画像上で同じ行画像は
出力画像上でも同じ行高さで表示されることが好ましい
と思われるが、少ない領域により多くの文字画像を配置
するという観点からは、多少処理は複雑になるが、出力
画像の行の中に含まれる矩形のみを再抽出して、その中
で最大の矩形高さを抽出してそれを行画像の幅Hとして
いる。
That is, the height of the line of the output image is not always the maximum height of the rectangle in the line of the output image.
Therefore, from the viewpoint of grasping the state of the input image, it is preferable that character image conversion apparatus 1 of the present embodiment displays the same line image on the input image at the same line height on the output image. However, from the viewpoint of arranging more character images in a smaller area, the processing is somewhat complicated, but only the rectangles included in the lines of the output image are re-extracted, and the maximum rectangle height among them is extracted. Is extracted and is set as the width H of the row image.

【0187】なお、この場合、次の行内の最大矩形高さ
Hnを行内文字最大高さとしてもよい。
In this case, the maximum rectangular height Hn in the next line may be set as the maximum character height in the line.

【0188】また、文字の切り出し方法としては、特開
平9−106437号公報に記載されている文字画像抽
出を行い、その高さの最大値を用いてもよい。
As a method of extracting characters, a character image extraction described in Japanese Patent Application Laid-Open No. 9-106437 may be performed, and the maximum value of the height may be used.

【0189】このように、本実施の形態の文字画像変換
装置1は、出力画像の各行の高さを、当該出力画像の各
行に配置される入力画像の行に含まれる矩形の最大高さ
に基づいて決定している。
As described above, character image conversion apparatus 1 of the present embodiment sets the height of each line of the output image to the maximum height of the rectangle included in the line of the input image arranged on each line of the output image. It is decided based on.

【0190】したがって、出力画像上での各行の高さを
入力画像の行に含まれる矩形の最大高さに揃えることが
でき、視認性をより一層向上させることができる。
Therefore, the height of each line on the output image can be made equal to the maximum height of the rectangle included in the line of the input image, and the visibility can be further improved.

【0191】また、本実施の形態の文字画像変換装置1
は、出力画像の各行の高さを、当該出力画像の各行に配
置される入力画像の行に含まれる文字の最大高さに基づ
いて決定している。
Further, character image conversion apparatus 1 of the present embodiment
Determines the height of each line of the output image based on the maximum height of characters included in the line of the input image arranged on each line of the output image.

【0192】したがって、出力画像上での各行の高さを
出力画像に配置される入力画像の行に含まれる文字の最
大高さに揃えることができ、視認性をより一層向上させ
ることができる。
Therefore, the height of each line on the output image can be made equal to the maximum height of the characters included in the line of the input image arranged in the output image, and the visibility can be further improved.

【0193】図12及び図13は、本発明の文書画像変
換方法、文書画像変換プログラム及び文書画像変換装置
の第5の実施の形態を示す図であり、本実施の形態は、
請求項8〜請求項11に対応するものである。
FIGS. 12 and 13 show a fifth embodiment of the document image conversion method, the document image conversion program and the document image conversion apparatus of the present invention.
This corresponds to claims 8 to 11.

【0194】なお、本実施の形態は、上記第1の実施の
形態の文書画像変換装置1と同様の文書画像変換装置に
適用したものであり、本実施の形態の説明においては、
必要に応じて、上記第1の実施の形態の説明で用いた符
号をそのまま用いて説明する。
This embodiment is applied to a document image conversion device similar to the document image conversion device 1 of the first embodiment, and in the description of this embodiment,
The description will be made using the reference numerals used in the description of the first embodiment as needed, as necessary.

【0195】本実施の形態の文書画像変換装置1は、行
内矩形の高さと文字の比または差に応じて、出力画像の
行の高さを算出する基準を切り換えるものである。
The document image conversion apparatus 1 according to the present embodiment switches the reference for calculating the line height of the output image according to the ratio or difference between the height of the in-line rectangle and the character.

【0196】すなわち、文書画像変換装置1は、図12
に示すように、画像入力部21から画像が入力される
と、まず、行切り出し部24が、上記第1の実施の形態
の場合と同様に、行画像に分割して行の切り出しを行い
(ステップS501)、出力画像上における行と垂直な
方向の先頭位置Ys(入力行がまだ貼り付けられていな
い領域の上端位置)と、行画像の幅Hを初期化(Ys=
0,H=0)する(ステップS502)。
That is, the document image conversion device 1 is configured as shown in FIG.
As shown in (1), when an image is input from the image input unit 21, the line cutout unit 24 first divides the image into line images and cuts out the lines as in the case of the first embodiment (FIG. Step S501), the head position Ys in the direction perpendicular to the line on the output image (the upper end position of the area where the input line is not pasted) and the width H of the line image are initialized (Ys =
0, H = 0) (step S502).

【0197】次に、行画像配置部26が、行画像が全て
出力画像に貼り付けられているか否か、すなわち、PD
A等の表示対象の小型表示画面の行画像幅Lwが行方向
の先頭位置Xsよりも小さいか(Xs>Lw)を確認し
(ステップS503)、行画像幅Lwが行方向の先頭位
置Xsよりも小さくない(Xs≦Lw)ときには、F=
Xsとして(ステップS504)、表示対象の小型表示
画面の列画像幅である出力画像高さIhが列方向の先頭
位置Ys+Hよりも小さいか(Ys+H>Ih)を確認
する(ステップS505)。
Next, the row image arranging section 26 determines whether or not all the row images have been pasted on the output image,
It is checked whether the row image width Lw of the small display screen to be displayed such as A is smaller than the head position Xs in the row direction (Xs> Lw) (step S503), and the row image width Lw is smaller than the head position Xs in the row direction. Is not small (Xs ≦ Lw), F =
As Xs (step S504), it is checked whether the output image height Ih, which is the column image width of the small display screen to be displayed, is smaller than the head position Ys + H in the column direction (Ys + H> Ih) (step S505).

【0198】ステップS505で、出力画像高さIhが
列方向の先頭位置Ys+Hよりも大きい(Ys+H≦I
h)ときには、行画像配置部26は、行画像及び出力画
像のそれぞれの画像の左上を原点(0,0)として、
(F,0)(F+W,H)の行画像(FからH幅の行画
像)を出力画像の(0,Ys)(W,Ys+H)に貼り
付け(ステップS506)、Xs=Xs+W、Ys=Y
s+H、H=Hnとして(ステップS507)、ステッ
プS503に戻って、上記同様に処理する。
In step S505, the output image height Ih is larger than the head position Ys + H in the column direction (Ys + H ≦ I
h) At this time, the row image arrangement unit 26 sets the origin (0, 0) at the upper left of each of the row image and the output image,
A row image of (F, 0) (F + W, H) (a row image having a width from F to H) is pasted on (0, Ys) (W, Ys + H) of the output image (step S506), and Xs = Xs + W, Ys = Y
Assuming that s + H and H = Hn (step S507), the process returns to step S503 and performs the same processing as above.

【0199】ステップS503で、行画像幅Lwが行方
向の先頭位置Xsよりも小さい(Xs>Lw)ときに
は、行画像配置部26は、全ての行について処理が終了
したかチェックし(ステップS508)、全ての行につ
いて処理が完了していないときには、次の行内の最大矩
形高さHR と次の行の高さHL の比が0.8より小さい
(HR /HL <0.8)かどうかチェックする(ステッ
プS509)。
If the line image width Lw is smaller than the head position Xs in the line direction (Xs> Lw) in step S503, the line image arrangement unit 26 checks whether the processing has been completed for all lines (step S508). If the processing has not been completed for all rows, it is checked whether the ratio of the maximum rectangular height HR in the next row to the height HL of the next row is smaller than 0.8 (HR / HL <0.8). (Step S509).

【0200】ステップS509で、次の行内の最大矩形
高さHR と次の行の高さHL の比が0.8より小さい
(HR /HL <0.8)ときには、次の行の高さHL を
次の行内の最大矩形高さHnとし(ステップS51
0)、次の行画像(Hn)の処理に移行して、F=Lw
−Xs、Xs=0、Ys=Ys−H、H=max(H,
Hn)として(ステップS511)、出力画像高さIh
が列方向の先頭位置Ys+Hよりも小さいか(Ys+H
>Ih)を確認する(ステップS505)。
In step S509, when the ratio of the maximum rectangular height HR in the next row to the height HL of the next row is smaller than 0.8 (HR / HL <0.8), the height HL of the next row is obtained. Is the maximum rectangular height Hn in the next line (step S51).
0), the process proceeds to the next row image (Hn), and F = Lw
−Xs, Xs = 0, Ys = Ys−H, H = max (H,
Hn) (step S511), the output image height Ih
Is smaller than the head position Ys + H in the column direction (Ys + H
> Ih) is confirmed (step S505).

【0201】ステップS509で、次の行内の最大矩形
高さHR と次の行の高さHL の比が0.8より大きい
(HR /HL ≧0.8)ときには、次の行内の最大矩形
高さHR を次の行内の最大矩形高さHnとし(ステップ
S512)、次の行画像(Hn)の処理に移行して、F
=Lw−Xs、Xs=0、Ys=Ys−H、H=max
(H,Hn)として(ステップS511)、出力画像高
さIhが列方向の先頭位置Ys+Hよりも小さいか(Y
s+H>Ih)を確認する(ステップS505)。
In step S509, when the ratio of the maximum rectangle height HR in the next row to the height HL of the next row is larger than 0.8 (HR / HL ≧ 0.8), the maximum rectangle height in the next row is determined. HR is set to the maximum rectangular height Hn in the next line (step S512), and the processing shifts to the processing of the next line image (Hn).
= Lw-Xs, Xs = 0, Ys = Ys-H, H = max
(H, Hn) (step S511), it is determined whether the output image height Ih is smaller than the head position Ys + H in the column direction (Y
s + H> Ih) is confirmed (step S505).

【0202】ステップS505で、出力画像高さIhが
列方向の先頭位置Ys+Hよりも小さい(Ys+H>I
h)ときには、行画像配置部26は、次の出力画像の処
理に移行(Ys=0にセット)し(ステップS51
3)、ステップS506に移行して、上記同様に出力画
像の貼り付けを行って(ステップS506)、Xs=X
s+W、Ys=Ys+Hとして(ステップS507)、
ステップS503に戻って、上記同様に処理する。
At step S505, the output image height Ih is smaller than the head position Ys + H in the column direction (Ys + H> I).
h) At this time, the line image arrangement unit 26 shifts to the processing of the next output image (sets to Ys = 0) (step S51).
3) Then, the process proceeds to step S506, where the output image is pasted in the same manner as described above (step S506), and Xs = X
s + W, Ys = Ys + H (step S507),
Returning to step S503, the same processing is performed as described above.

【0203】ステップS503で、行画像幅が行方向の
先頭位置Xsよりも小さい(Xs>Lw)ときには、行
画像配置部26は、全ての行について処理が終了したか
チェックし(ステップS508)、全ての行について処
理が完了していると、出力画像を画像出力部22に渡し
て、画像出力部22が、PDA等の表示部に出力して、
処理を終了する。
If the row image width is smaller than the head position Xs in the row direction (Xs> Lw) in step S503, the row image arrangement unit 26 checks whether the processing has been completed for all rows (step S508). When the processing has been completed for all the rows, the output image is passed to the image output unit 22, and the image output unit 22 outputs the image to a display unit such as a PDA.
The process ends.

【0204】すなわち、図13に示すように、2通りの
方法で出力画像の割り当てられた領域(最大矩形高さか
ら求めた出力行高さ)に入力画像の行を納めている。例
えば、図13の左側に示す入力画像に対して、右側に示
す3通りの出力画像を考慮する場合、1番上の出力画像
の場合、入力画像の行を出力画像の行に収まるように画
像を変倍(縮小)しており、真ん中の出力画像の場合、
入力画像の上付文字を移動しており、また、一番下の出
力画像の場合、入力画像の行高さとしている。このよう
に、行内の最大矩形サイズで出力画像の行高さを定めた
場合、その範囲内に文字画像を納めたときに、一番上の
出力画像のように文字が小さくなったり、真ん中の出力
画像のように文字の位置が変わったりすることで、入力
画像のコンテンツが見づらくなったり、内容が変わった
りしてしまう恐れがある。一方、この縮小や文字位置の
移動を、コンテンツに対する影響を及ぼさない範囲で、
適宜行うと、出力画像上により多くのコンテンツを表示
することができる。
That is, as shown in FIG. 13, the lines of the input image are stored in the area to which the output image is allocated (the output line height obtained from the maximum rectangular height) by two methods. For example, when considering three types of output images shown on the right side with respect to the input image shown on the left side of FIG. 13, in the case of the top output image, the image of the input image is made to fit into the line of the output image. Is scaled (reduced), and in the case of the output image in the middle,
The superscript character of the input image is moved, and in the case of the output image at the bottom, the line height of the input image is set. In this way, when the line height of the output image is determined by the maximum rectangle size in the line, when the character image is placed within that range, the character becomes smaller like the top output image, When the position of the character changes as in the output image, the contents of the input image may be difficult to see or the contents may change. On the other hand, this reduction and movement of the character position can be performed within the range that does not affect the content.
If done appropriately, more content can be displayed on the output image.

【0205】そこで、本実施の形態の文書画像変換装置
1においては、次の行内の最大矩形高さHR と次の行の
高さHL の比(HR /HL )を求め、その比(HR /H
L )が0.8未満の場合には、次の行の高さHL をHと
し、それ以外の場合には、次の行内の最大矩形高さHR
をHとしている。
Therefore, in the document image conversion apparatus 1 of the present embodiment, the ratio (HR / HL) between the maximum rectangular height HR in the next line and the height HL in the next line is obtained, and the ratio (HR / HL) is obtained. H
L) is less than 0.8, the height HL of the next row is set to H; otherwise, the maximum rectangle height HR in the next row.
Is H.

【0206】なお、この場合、矩形の代わりに、特開平
9−106437号公報に記載されている文字画像抽出
を行って求めた文字矩形を用いてもよく、また、次の行
内の最大矩形高さHR と次の行の高さHL 比ではなく、
その差を用いても、同様に行うことができる。
In this case, instead of the rectangle, a character rectangle obtained by extracting a character image described in Japanese Patent Application Laid-Open No. 9-104637 may be used, and the maximum rectangle height in the next line may be used. Not the ratio of the height HR to the height HL of the next row,
The same operation can be performed using the difference.

【0207】そして、上記処理を施した場合は、図13
の上の例の場合、次の行内の最大矩形高さHR と次の行
の高さHL との比が0.8未満であるので、Hとして
は、行高さが用いられることになる。一方、図13の下
の例の場合、比が0.8以上であるので、Hとしては最
大矩形高さが用いられることになる。
In the case where the above processing is performed, FIG.
In the above example, since the ratio of the maximum rectangular height HR in the next row to the height HL of the next row is less than 0.8, the row height is used as H. On the other hand, in the case of the example shown in the lower part of FIG.

【0208】このように、本実施の形態の文字画像変換
装置1は、出力画像の各行の高さを、当該出力画像の各
行に配置される入力画像の行の高さと当該入力画像の行
内の矩形高さの最大値との比が1に近い場合には、当該
出力画像の各行に配置される入力画像の行に含まれる矩
形の最大高さに基づいて決定し、それ以外の場合には、
当該出力画像の各行に配置される入力画像の高さに基づ
いて決定し、または、入力画像内の行の最大高さとして
いる。
As described above, the character image conversion apparatus 1 according to the present embodiment determines the height of each line of the output image by the height of the line of the input image arranged on each line of the output image and the height of each line of the input image. If the ratio to the maximum value of the rectangle height is close to 1, it is determined based on the maximum height of the rectangle included in the line of the input image arranged in each line of the output image, otherwise, ,
It is determined based on the height of the input image arranged in each row of the output image, or is set as the maximum height of the row in the input image.

【0209】したがって、出力画像の文字が小さくなっ
たり、文字の位置が変わって、入力画像のコンテンツが
見づらくなったり、内容が変わったりすることを防止す
ることができ、視認性をより一層向上させることができ
る。
[0209] Therefore, it is possible to prevent the characters of the output image from becoming smaller or the positions of the characters being changed, thereby making it difficult to view the contents of the input image or changing the contents, thereby further improving the visibility. be able to.

【0210】また、本実施の形態の文字画像変換装置1
は、出力画像の各行の高さを、当該出力画像の各行に配
置される入力画像の行の高さと当該入力画像の行内の矩
形高さの最大値との差が所定値よりも小さい場合には、
当該出力画像の各行に配置される入力画像の行に含まれ
る矩形の最大高さに基づいて決定し、それ以外の場合に
は、当該出力画像の各行に配置される入力画像の高さに
基づいて決定し、または、入力画像内の行の最大高さと
している。
The character image conversion device 1 of the present embodiment
The height of each row of the output image, if the difference between the height of the row of the input image arranged in each row of the output image and the maximum rectangular height in the row of the input image is smaller than a predetermined value Is
Determined based on the maximum height of the rectangle included in the line of the input image arranged in each line of the output image, otherwise, based on the height of the input image arranged in each line of the output image Or the maximum height of the line in the input image.

【0211】したがって、出力画像の文字が小さくなっ
たり、文字の位置が変わって、入力画像のコンテンツが
見づらくなったり、内容が変わったりすることを防止す
ることができ、視認性をより一層向上させることができ
る。
[0211] Therefore, it is possible to prevent the characters of the output image from becoming smaller or the positions of the characters being changed, thereby making it difficult to view the contents of the input image or changing the contents, thereby further improving the visibility. be able to.

【0212】さらに、本実施の形態の文字画像変換装置
1は、出力画像の各行の高さを、当該出力画像の各行に
配置される入力画像の行の高さと当該入力画像の行内の
矩形高さの最大値との比が1に近い場合には、当該出力
画像の各行に配置される入力画像の行に含まれる文字の
最大高さに基づいて決定し、それ以外の場合には、当該
出力画像の各行に配置される入力画像の高さに基づいて
決定し、または、入力画像内の行の最大高さとしてい
る。
Further, character image conversion apparatus 1 of the present embodiment determines the height of each line of the output image by the height of the line of the input image arranged on each line of the output image and the rectangular height within the line of the input image. If the ratio to the maximum value of the input image is close to 1, it is determined based on the maximum height of the characters included in the line of the input image arranged on each line of the output image. It is determined based on the height of the input image arranged in each row of the output image, or is set as the maximum height of the row in the input image.

【0213】したがって、出力画像の文字が小さくなっ
たり、文字の位置が変わって、入力画像のコンテンツが
見づらくなったり、内容が変わったりすることを防止す
ることができ、視認性をより一層向上させることができ
る。
[0213] Therefore, it is possible to prevent the characters of the output image from becoming smaller or the positions of the characters being changed, thereby making it difficult to view the contents of the input image or changing the contents, thereby further improving the visibility. be able to.

【0214】また、本実施の形態の文字画像変換装置1
は、出力画像の各行の高さを、当該出力画像の各行に配
置される入力画像の行の高さと当該入力画像の行内の矩
形高さの最大値との差が所定値よりも小さい場合には、
当該出力画像の各行に配置される入力画像の行に含まれ
る文字の最大高さに基づいて決定し、それ以外の場合に
は、当該出力画像の各行に配置される入力画像の高さに
基づいて決定し、または、入力画像内の行の最大高さと
している。
Further, character image conversion apparatus 1 of the present embodiment
The height of each row of the output image, if the difference between the height of the row of the input image arranged in each row of the output image and the maximum rectangular height in the row of the input image is smaller than a predetermined value Is
Determined based on the maximum height of the characters included in the line of the input image arranged in each line of the output image, otherwise, based on the height of the input image arranged in each line of the output image Or the maximum height of the line in the input image.

【0215】したがって、出力画像の文字が小さくなっ
たり、文字の位置が変わって、入力画像のコンテンツが
見づらくなったり、内容が変わったりすることを防止す
ることができ、視認性をより一層向上させることができ
る。
Therefore, it is possible to prevent the characters of the output image from becoming smaller or the positions of the characters being changed, thereby making it difficult to view the contents of the input image or changing the contents, thereby further improving the visibility. be able to.

【0216】図14は、本発明の文書画像変換方法、文
書画像変換プログラム及び文書画像変換装置の第6の実
施の形態を示す図であり、本実施の形態は、請求項12
及び請求項13に対応するものである。
FIG. 14 is a diagram showing a sixth embodiment of a document image conversion method, a document image conversion program, and a document image conversion device according to the present invention.
And claim 13.

【0217】なお、本実施の形態は、上記第1の実施の
形態の文書画像変換装置1と同様の文書画像変換装置に
適用したものであり、本実施の形態の説明においては、
必要に応じて、上記第1の実施の形態の説明で用いた符
号をそのまま用いて説明する。
This embodiment is applied to a document image conversion device similar to the document image conversion device 1 of the first embodiment. In the description of this embodiment,
The description will be made using the reference numerals used in the description of the first embodiment as needed, as necessary.

【0218】本実施の形態の文書画像変換装置1は、入
力画像の行画像のうち、出力画像の行高さに収まらない
部分のみを縮小するものである。
The document image conversion apparatus 1 according to the present embodiment reduces only the portion of the line image of the input image which does not fit in the line height of the output image.

【0219】すなわち、文書画像変換装置1は、図14
に示すように、画像入力部21から画像が入力される
と、まず、行切り出し部24が、上記第1の実施の形態
の場合と同様に、行画像に分割して行の切り出しを行い
(ステップS601)、出力画像上における行と垂直な
方向の先頭位置Ys(入力行がまだ貼り付けられていな
い領域の上端位置)と、行画像の幅Hを初期化(Ys=
0,H=0)する(ステップS602)。
That is, the document image conversion device 1 is configured as shown in FIG.
As shown in (1), when an image is input from the image input unit 21, the line cutout unit 24 first divides the image into line images and cuts out the lines as in the case of the first embodiment (FIG. Step S601), the head position Ys in the direction perpendicular to the line on the output image (the upper end position of the area where the input line is not pasted) and the width H of the line image are initialized (Ys =
0, H = 0) (step S602).

【0220】次に、行画像配置部26が、行画像が全て
出力画像に貼り付けられているか否か、すなわち、PD
A等の表示対象の小型表示画面の行画像幅Lwが行方向
の先頭位置Xsよりも小さいか(Xs>Lw)を確認し
(ステップS603)、行画像幅Lwが行方向の先頭位
置Xsよりも小さくない(Xs≦Lw)ときには、F=
Xsとして(ステップS604)、表示対象の小型表示
画面の列画像幅である出力画像高さIhが列方向の先頭
位置Ys+Hよりも小さいか(Ys+H>Ih)を確認
する(ステップS605)。
Next, the row image arranging section 26 determines whether or not all the row images have been pasted on the output image,
It is checked whether the row image width Lw of the small display screen to be displayed such as A is smaller than the head position Xs in the row direction (Xs> Lw) (step S603), and the row image width Lw is smaller than the head position Xs in the row direction. Is not small (Xs ≦ Lw), F =
As Xs (step S604), it is checked whether the output image height Ih, which is the column image width of the small display screen to be displayed, is smaller than the head position Ys + H in the column direction (Ys + H> Ih) (step S605).

【0221】ステップS605で、出力画像高さIhが
列方向の先頭位置Ys+Hよりも大きい(Ys+H≦I
h)ときには、行画像配置部26は、行画像及び出力画
像のそれぞれの画像の左上を原点(0,0)として、
(F,0)(F+W,H)の行画像(FからH幅の行画
像)を出力画像の(0,Ys)(W,Ys+H)に貼り
付け(ステップS606)、Xs=Xs+W、Ys=Y
s+H、H=Hnとして(ステップS607)、ステッ
プS603に戻って、上記同様に処理する。
In step S605, the output image height Ih is larger than the head position Ys + H in the column direction (Ys + H ≦ I
h) At this time, the row image arrangement unit 26 sets the origin (0, 0) at the upper left of each of the row image and the output image,
A row image of (F, 0) (F + W, H) (a row image having a width from F to H) is pasted on (0, Ys) (W, Ys + H) of the output image (step S606), and Xs = Xs + W, Ys = Y
Assuming that s + H and H = Hn (step S607), the process returns to step S603 and performs the same processing as above.

【0222】ステップS603で、行画像幅Lwが行方
向の先頭位置Xsよりも小さい(Xs>Lw)ときに
は、行画像配置部26は、全ての行について処理が終了
したかチェックし(ステップS608)、全ての行につ
いて処理が完了していないときには、次の行内の最大矩
形高さHR と次の行の高さHL の比が0.8より小さい
(HR /HL <0.8)かどうかチェックする(ステッ
プS609)。
If the line image width Lw is smaller than the head position Xs in the line direction (Xs> Lw) in step S603, the line image arrangement unit 26 checks whether the processing has been completed for all lines (step S608). If the processing has not been completed for all rows, it is checked whether the ratio of the maximum rectangular height HR in the next row to the height HL of the next row is smaller than 0.8 (HR / HL <0.8). (Step S609).

【0223】ステップS609で、次の行内の最大矩形
高さHR と次の行の高さHL の比が0.8より小さい
(HR /HL <0.8)ときには、次の行内の最大矩形
高さHR を次の行内の最大矩形高さHnとして、行画像
変換処理を行い(ステップS610)、次の行画像(H
n)の処理に移行して、F=Lw−Xs、Xs=0、Y
s=Ys−H、H=max(H,Hn)として(ステッ
プS611)、出力画像高さIhが列方向の先頭位置Y
s+Hよりも小さいか(Ys+H>Ih)を確認する
(ステップS605)。
In step S609, when the ratio of the maximum rectangle height HR in the next line to the next line height HL is smaller than 0.8 (HR / HL <0.8), the maximum rectangle height in the next line is determined. Is set as the maximum rectangular height Hn in the next row, and a row image conversion process is performed (step S610), and the next row image (H
The processing shifts to the processing of n), and F = Lw−Xs, Xs = 0, Y
Assuming that s = Ys-H and H = max (H, Hn) (step S611), the output image height Ih is the top position Y in the column direction.
It is checked whether it is smaller than s + H (Ys + H> Ih) (step S605).

【0224】ステップS6609で、次の行内の最大矩
形高さHR と次の行の高さHL の比が0.8より大きい
(HR /HL ≧0.8)ときには、次の行の高さHL を
次の行内の最大矩形高さHnとし(ステップS61
2)、次の行画像(Hn)の処理に移行して、F=Lw
−Xs、Xs=0、Ys=Ys−H、H=max(H,
Hn)として(ステップS611)、出力画像高さIh
が列方向の先頭位置Ys+Hよりも小さいか(Ys+H
>Ih)を確認する(ステップS605)。
In step S6609, when the ratio of the maximum rectangular height HR in the next row to the height HL of the next row is larger than 0.8 (HR / HL ≧ 0.8), the height HL of the next row is obtained. Is the maximum rectangular height Hn in the next line (step S61).
2) The processing shifts to the processing of the next row image (Hn), and F = Lw
−Xs, Xs = 0, Ys = Ys−H, H = max (H,
Hn) (step S611), the output image height Ih
Is smaller than the head position Ys + H in the column direction (Ys + H
> Ih) is confirmed (step S605).

【0225】ステップS605で、出力画像高さIhが
列方向の先頭位置Ys+Hよりも小さい(Ys+H>I
h)ときには、行画像配置部26は、次の出力画像の処
理に移行(Ys=0にセット)し(ステップS61
3)、ステップS606に移行して、上記同様に出力画
像の貼り付けを行って(ステップS606)、Xs=X
s+W、Ys=Ys+Hとして(ステップS607)、
ステップS603に戻って、上記同様に処理する。
In step S605, the output image height Ih is smaller than the head position Ys + H in the column direction (Ys + H> I).
h) At this time, the line image arrangement unit 26 shifts to the processing of the next output image (sets to Ys = 0) (step S61).
3) Then, the process proceeds to step S606, where the output image is pasted in the same manner as described above (step S606), and Xs = X
s + W, Ys = Ys + H (step S607),
Returning to step S603, the same processing is performed as described above.

【0226】ステップS603で、行画像幅が行方向の
先頭位置Xsよりも小さい(Xs>Lw)ときには、行
画像配置部26は、全ての行について処理が終了したか
チェックし(ステップS608)、全ての行について処
理が完了していると、出力画像を画像出力部22に渡し
て、画像出力部22が、PDA等の表示部に出力して、
処理を終了する。
If the row image width is smaller than the head position Xs in the row direction (Xs> Lw) in step S603, the row image arrangement unit 26 checks whether the processing has been completed for all rows (step S608). When the processing has been completed for all the rows, the output image is passed to the image output unit 22, and the image output unit 22 outputs the image to a display unit such as a PDA.
The process ends.

【0227】このように、次の行内の最大矩形高さHR
と次の行の高さHL の比が大きい場合に、上記第4の実
施の形態と同様に処理すると、出力行高さよりも入力行
高さの方が大きいと、出力画像上で画像に欠けの生じる
可能性がある。したがって、次の行内の最大矩形高さを
用いて出力画像の行高さを求める場合には、入力画像の
行画像に対して、何らかの処理を施す必要がある。
Thus, the maximum rectangular height HR in the next line
When the ratio between the height of the next line and the height HL of the next line is large, processing similar to that of the fourth embodiment described above results in that if the input line height is larger than the output line height, the image lacks in the output image. May occur. Therefore, when obtaining the row height of the output image using the maximum rectangular height in the next row, it is necessary to perform some processing on the row image of the input image.

【0228】そこで、本実施の形態の文書画像変換装置
1は、上述のように、入力画像の行画像のうち、出力画
像の行高さに収まらない部分のみを縮小している。
Accordingly, as described above, the document image conversion apparatus 1 of the present embodiment reduces only the portion of the line image of the input image that does not fit in the line height of the output image.

【0229】すなわち、図13に示したように、次の行
内の最大矩形高さHR と次の行の高さHL の比が小さい
場合と大きい場合に分け、出力画像の割り当てられた領
域(最大矩形高さから求めた出力行高さ)に入力画像の
行を収めている。図13では、それぞれ3つづつ示した
出力画像の例のうち、一番上の例では、入力画像の行を
出力画像の行に収まるように画像を変倍しており、2番
目に示す例では、入力画像の行と、出力画像の行の下端
を揃え、出力画像の行高さに収まらない画像について
は、矩形内の画像を移動している。一番上の例の場合に
は、コンテンツが変わる恐れは無いが、いずれの場合に
も出力画像への行画像の貼り付け処理の前段に画像の変
換処理を施している。
That is, as shown in FIG. 13, the ratio of the maximum rectangular height HR in the next row to the height HL of the next row is divided into a small case and a large case. The line of the input image is stored in (output line height obtained from the rectangular height). In FIG. 13, among the examples of the output image shown in three each, in the top example, the image is scaled so that the line of the input image fits in the line of the output image. Here, the lower end of the line of the input image is aligned with the lower end of the line of the output image, and the image within the rectangle is moved for an image that does not fit in the line height of the output image. In the case of the uppermost example, there is no possibility that the content will change, but in any case, the image conversion processing is performed before the paste processing of the row image to the output image.

【0230】このように、本実施の形態の文字画像変換
装置1は、入力画像の行画像を、出力画像の行の高さに
合わせて縮小している。
As described above, character image conversion apparatus 1 of the present embodiment reduces the line image of the input image according to the line height of the output image.

【0231】したがって、出力画像上で入力画像の欠け
が発生するのを防止することができ、精度をより一層向
上させることができるとともに、視認性をより一層向上
させることができる。
Therefore, it is possible to prevent the occurrence of chipping of the input image on the output image, so that the accuracy can be further improved and the visibility can be further improved.

【0232】また、本実施の形態の文字画像変換装置1
は、入力画像の行画像を、出力画像の行の高さを超える
矩形を出力画像の行内に移動している。
In addition, character image conversion device 1 of the present embodiment
Moves a line image of an input image, and a rectangle exceeding the height of a line of an output image, into a line of an output image.

【0233】したがって、出力画像上で入力画像の欠け
が発生するのを防止することができ、精度をより一層向
上させることができるとともに、視認性をより一層向上
させることができる。
[0233] Therefore, it is possible to prevent the occurrence of chipping of the input image on the output image, so that the accuracy can be further improved and the visibility can be further improved.

【0234】図15は、本発明の文書画像変換方法、文
書画像変換プログラム及び文書画像変換装置の第7の実
施の形態を示す図であり、本実施の形態は、請求項14
〜請求項16に対応するものである。
FIG. 15 is a diagram showing a seventh embodiment of a document image conversion method, a document image conversion program, and a document image conversion device according to the present invention.
To claim 16.

【0235】なお、本実施の形態は、上記第1の実施の
形態の文書画像変換装置1と同様の文書画像変換装置に
適用したものであり、本実施の形態の説明においては、
必要に応じて、上記第1の実施の形態の説明で用いた符
号をそのまま用いて説明する。
This embodiment is applied to a document image conversion device similar to the document image conversion device 1 of the first embodiment. In the description of this embodiment,
The description will be made using the reference numerals used in the description of the first embodiment as needed, as necessary.

【0236】本実施の形態の文書画像変換装置1は、上
記第6の実施の形態の文書画像変換装置1と同様に、入
力画像の行画像のうち、出力画像の行高さに収まらない
部分のみを縮小するが、行画像の変換処理を第6の実施
の形態の場合とは、異なる方法で行っている。
The document image conversion apparatus 1 according to the present embodiment is similar to the document image conversion apparatus 1 according to the sixth embodiment, except that a portion of the line image of the input image which does not fit in the line height of the output image is used. Only the line image is reduced, but the conversion processing of the line image is performed by a method different from that of the sixth embodiment.

【0237】すなわち、上記第6の実施の形態において
は、次の行内の最大矩形高さHR と次の行の高さHL の
比が小さい場合と大きい場合に分け、出力画像の割り当
てられた領域(最大矩形高さから求めた出力行高さ)に
入力画像の行が収まるように、行画像全体を縮小してい
るが、この場合、文字画像が小さくなり、視認性が低下
する恐れがある。
That is, in the sixth embodiment, the ratio of the maximum rectangular height HR in the next row to the height HL of the next row is divided into a small case and a large case. The entire line image is reduced so that the line of the input image fits in (the output line height obtained from the maximum rectangular height). In this case, however, the character image becomes smaller, and the visibility may be reduced. .

【0238】そこで、本実施の形態の文書画像変換装置
1は、図15に示すように、入力画像の行画像のうち、
出力画像の行高さに収まらない部分のみを縮小する。
Therefore, as shown in FIG. 15, the document image conversion apparatus 1 of the present embodiment
Reduce only the part of the output image that does not fit in the line height.

【0239】すなわち、文書画像変換装置1は、まず、
入力行画像の下端を基準として、出力行画像の高さを超
える位置に矩形の存在する部分を抽出する。
That is, the document image conversion apparatus 1 first
With reference to the lower end of the input line image, a portion where a rectangle exists at a position exceeding the height of the output line image is extracted.

【0240】図15では、「n」の矩形の部分が出力画
像の行高さに収まらない部分である。
In FIG. 15, the rectangular portion “n” is a portion that does not fit in the line height of the output image.

【0241】次に、文書画像変換装置1は、上記求めた
領域について、入力行下端から矩形上端までの高さが出
力行画像の高さとなるように縮小する。この縮小処理で
は、行方向/行に垂直な方向の両方を縮小してもよい
し、行に垂直な方向(行高さの方向)のみを縮小しても
よい。このようにすると、ある程度入力行上での位置情
報を保存した状態で、出力行の高さを低くすることがで
きる。結果として、多くの情報を少ない出力画像上に表
示することができる。
Next, the document image conversion apparatus 1 reduces the obtained area so that the height from the lower end of the input line to the upper end of the rectangle becomes the height of the output line image. In this reduction process, both the row direction and the direction perpendicular to the row may be reduced, or only the direction perpendicular to the row (the direction of the row height) may be reduced. In this way, it is possible to reduce the height of the output line while keeping the position information on the input line to some extent. As a result, more information can be displayed on fewer output images.

【0242】なお、上記説明では、高さが収まらない部
分について、単純に縮小処理を施しているが、単純な縮
小ではなく、背景の画素を削ることで縮小してもよい
し、また、エッジの数を保存しながら縮小してもよい。
In the above description, the reduction processing is simply performed on the portion where the height does not fit. However, instead of the simple reduction, the reduction may be performed by removing the pixels of the background. May be reduced while saving the number.

【0243】このように、本実施の形態の文書画像変換
装置1は、入力画像の行画像を、出力画像の行の範囲を
超える文字画素のあるラインについて、出力画像の行の
範囲に収まる大きさに縮小している。
As described above, the document image conversion apparatus 1 according to the present embodiment converts the line image of the input image to a line having character pixels exceeding the line range of the output image so as to be within the line range of the output image. It is shrinking.

【0244】したがって、出力画像上で入力画像が縮小
されることを抑制しつつ、出力画像上で入力画像の欠け
が発生するのを防止することができ、精度をより一層向
上させることができとともに、視認性をより一層向上さ
せることができる。
Therefore, it is possible to prevent the input image from being chipped on the output image while preventing the input image from being reduced on the output image, and it is possible to further improve the accuracy. The visibility can be further improved.

【0245】また、本実施の形態の文字画像変換装置1
は、出力画像の行の範囲を超える文字画素のあるライン
について、当該出力画像の背景画素を削除して出力画像
の行の範囲に収まる大きさに縮小している。
Also, the character image conversion device 1 of the present embodiment
For a line having character pixels exceeding the range of the line of the output image, the background pixel of the output image is deleted to reduce the line to a size that can fit in the range of the line of the output image.

【0246】したがって、出力画像上で入力画像が縮小
されることを抑制しつつ、出力画像上で入力画像の欠け
が発生するのを防止することができ、精度をより一層向
上させることができるとともに、視認性をより一層向上
させることができる。
Accordingly, it is possible to prevent the input image from being chipped on the output image while preventing the input image from being reduced on the output image, and it is possible to further improve the accuracy. The visibility can be further improved.

【0247】さらに、本実施の形態の文字画像変換装置
1は、出力画像の行の範囲を超える文字画素のあるライ
ンについて、当該出力画像の前景と背景のエッジの数を
保った状態で出力画像の行の範囲に収まる大きさに縮小
している。
Furthermore, the character image conversion apparatus 1 according to the present embodiment outputs an output image of a line having character pixels exceeding the range of the line of the output image while maintaining the number of foreground and background edges of the output image. Has been reduced to fit within the range of the line.

【0248】したがって、出力画像上で入力画像が縮小
されることを抑制しつつ、出力画像上で入力画像の欠け
が発生するのを防止することができ、精度をより一層向
上させることができるとともに、視認性をより一層向上
させることができる。
Therefore, it is possible to prevent the input image from being chipped on the output image while preventing the input image from being reduced on the output image, and it is possible to further improve the accuracy. The visibility can be further improved.

【0249】図16は、本発明の文書画像変換方法、文
書画像変換プログラム及び文書画像変換装置の第8の実
施の形態を示す図であり、本実施の形態は、請求項17
〜請求項20に対応するものである。
FIG. 16 is a diagram showing an eighth embodiment of a document image conversion method, a document image conversion program, and a document image conversion device according to the present invention.
To claim 20.

【0250】なお、本実施の形態は、上記第1の実施の
形態の文書画像変換装置1と同様の文書画像変換装置に
適用したものであり、本実施の形態の説明においては、
必要に応じて、上記第1の実施の形態の説明で用いた符
号をそのまま用いて説明する。
This embodiment is applied to a document image conversion apparatus similar to the document image conversion apparatus 1 of the first embodiment. In the description of this embodiment,
The description will be made using the reference numerals used in the description of the first embodiment as needed, as necessary.

【0251】本実施の形態の文書画像変換装置1は、出
力画像の情報から出力画像行の高さを求めるものであ
る。
The document image conversion device 1 according to the present embodiment obtains the height of an output image line from information of an output image.

【0252】すなわち、図16に示すように、画像入力
部21から画像が入力されると、まず、行切り出し部2
4が、上記第1の実施の形態の場合と同様に、行画像に
分割して行の切り出しを行い(ステップS701)、出
力画像上における行と垂直な方向の先頭位置Ys(入力
行がまだ貼り付けられていない領域の上端位置)を初期
化(Ys=0)する(ステップS602)。なお、行画
像の幅Hは処理開始前に定めた値に固定する。
That is, as shown in FIG. 16, when an image is input from the image input unit 21, first, the line cutout unit 2
4 divides the image into line images and cuts out the lines in the same manner as in the first embodiment (step S701), and the head position Ys in the direction perpendicular to the lines on the output image (the input line is still Initialization (Ys = 0) of the upper end position of the region where the region is not pasted (step S602). The width H of the line image is fixed to a value determined before the start of the processing.

【0253】次に、行画像配置部26が、行画像が全て
出力画像に貼り付けられているか否か、すなわち、PD
A等の表示対象の小型表示画面の行画像幅Lwが行方向
の先頭位置Xsよりも小さいか(Xs>Lw)を確認し
(ステップS703)、行画像幅Lwが行方向の先頭位
置Xsよりも小さくない(Xs≦Lw)ときには、表示
対象の小型表示画面の列画像幅である出力画像高さIh
が列方向の先頭位置Ys+Hよりも小さいか(Ys+H
>Ih)を確認する(ステップS704)。
Next, the row image arranging section 26 determines whether or not all the row images have been pasted on the output image,
It is confirmed whether the row image width Lw of the small display screen to be displayed such as A is smaller than the head position Xs in the row direction (Xs> Lw) (step S703), and the row image width Lw is smaller than the head position Xs in the row direction. Is not small (Xs ≦ Lw), the output image height Ih, which is the column image width of the small display screen to be displayed.
Is smaller than the head position Ys + H in the column direction (Ys + H
> Ih) is confirmed (step S704).

【0254】ステップS704で、出力画像高さIhが
列方向の先頭位置Ys+Hよりも大きい(Ys+H≦I
h)ときには、行画像配置部26は、行画像及び出力画
像のそれぞれの画像の左上を原点(0,0)として、
(Xs,0)(Xs+W,H)の行画像を出力画像の
(0,Ys)(W,Ys+H)に貼り付け(ステップS
705)、Xs=Xs+W、Ys=Ys+H、H=Hn
として(ステップS706)、ステップS703に戻っ
て、上記同様に処理する。
In step S704, the output image height Ih is larger than the head position Ys + H in the column direction (Ys + H ≦ I
h) At this time, the row image arrangement unit 26 sets the origin (0, 0) at the upper left of each of the row image and the output image,
The row image of (Xs, 0) (Xs + W, H) is pasted on (0, Ys) (W, Ys + H) of the output image (step S
705), Xs = Xs + W, Ys = Ys + H, H = Hn
(Step S706), the process returns to Step S703, and the same processing is performed as described above.

【0255】ステップS703で、行画像幅Lwが行方
向の先頭位置Xsよりも小さい(Xs>Lw)ときに
は、行画像配置部26は、全ての行について処理が終了
したかチェックし(ステップS707)、全ての行につ
いて処理が完了していないときには、次の行画像の処理
に移行して、Xs=0に設定し、行画像変換を行って
(ステップS708)、出力画像高さIhが列方向の先
頭位置Ys+Hよりも小さいか(Ys+H>Ih)を確
認する(ステップS704)。
If the line image width Lw is smaller than the head position Xs in the line direction (Xs> Lw) in step S703, the line image arrangement unit 26 checks whether the processing has been completed for all lines (step S707). If the processing has not been completed for all the rows, the processing shifts to the processing for the next row image, Xs = 0 is set, the row image conversion is performed (step S708), and the output image height Ih is set in the column direction. (Ys + H> Ih) is checked (step S704).

【0256】ステップS704で、出力画像高さIhが
列方向の先頭位置Ys+Hよりも小さい(Ys+H>I
h)ときには、行画像配置部26は、次の出力画像の処
理に移行(Ys=0にセット)し(ステップS70
9)、ステップS705に移行して、上記同様に出力画
像の貼り付けを行って(ステップS705)、Xs=X
s+W、Ys=Ys+Hとして(ステップS706)、
ステップS703に戻って、上記同様に処理する。
In step S704, the output image height Ih is smaller than the head position Ys + H in the column direction (Ys + H> I).
h) At this time, the row image arrangement unit 26 shifts to the processing of the next output image (sets to Ys = 0) (step S70).
9) Then, the process proceeds to step S705, where the output image is pasted in the same manner as described above (step S705), and Xs = X
s + W, Ys = Ys + H (step S706),
Returning to step S703, the same processing is performed as described above.

【0257】ステップS703で、行画像幅が行方向の
先頭位置Xsよりも小さい(Xs>Lw)ときには、行
画像配置部26は、全ての行について処理が終了したか
チェックし(ステップS707)、全ての行について処
理が完了していると、出力画像を画像出力部22に渡し
て、画像出力部22が、PDA等の表示部に出力して、
処理を終了する。
If the line image width is smaller than the head position Xs in the line direction (Xs> Lw) in step S703, the line image arrangement unit 26 checks whether the processing has been completed for all the lines (step S707). When the processing has been completed for all the rows, the output image is passed to the image output unit 22, and the image output unit 22 outputs the image to a display unit such as a PDA.
The process ends.

【0258】すなわち、上記各実施の形態においては、
出力画像のサイズが、例えば、320x320画素の場
合、出力画像上に10行表示する場合には、出力行の高
さは32画素と定める。
That is, in each of the above embodiments,
When the size of the output image is, for example, 320 × 320 pixels, when displaying 10 lines on the output image, the height of the output line is determined to be 32 pixels.

【0259】また、この場合、出力画像を表示するPD
A等の機器上で、テキストを表示する場合に一行の高さ
をh画素で表示している場合には、出力行高さH=hと
固定して処理を行ってもよい。
Also, in this case, a PD for displaying an output image
When a text is displayed on a device such as A and the height of one line is displayed with h pixels, the process may be performed with the output line height fixed at H = h.

【0260】いずれの場合にも、入力画像の行と出力行
の高さが一致しない場合には、入力画像の変換が必要と
なるが、この入力画像の変換は、上記第6の実施の形態
や第7の実施の形態で説明した方法を用いることができ
る。
In any case, if the height of the line of the input image does not match the height of the output line, the input image must be converted. This input image conversion is performed in the sixth embodiment. Alternatively, the method described in the seventh embodiment can be used.

【0261】このように、本実施の形態の文書画像変換
方法1は、出力画像の各行の高さを、当該出力画像の高
さに基づいて設定している。
As described above, in the document image conversion method 1 of the present embodiment, the height of each line of the output image is set based on the height of the output image.

【0262】したがって、出力画像上で入力画像が縮小
されることを抑制しつつ、出力画像上で入力画像の欠け
が発生するのを防止することができ、精度をより一層向
上させることができるとともに、視認性をより一層向上
させることができる。
Therefore, it is possible to prevent the input image from being chipped on the output image while preventing the input image from being reduced on the output image, and to further improve the accuracy. The visibility can be further improved.

【0263】また、本実施の形態の文字画像変換装置1
は、入力画像の各行を、出力画像の行の高さに応じて拡
大または縮小している。
In addition, character image conversion apparatus 1 of the present embodiment
Expands or reduces each line of the input image according to the height of the line of the output image.

【0264】したがって、出力画像上で入力画像が縮小
されることを抑制しつつ、出力画像上で入力画像の欠け
が発生するのを防止することができ、精度をより一層向
上させることができるとともに、視認性をより一層向上
させることができる。
Therefore, it is possible to prevent the input image from being chipped on the output image while suppressing the reduction of the input image on the output image, and it is possible to further improve the accuracy. The visibility can be further improved.

【0265】さらに、本実施の形態の文字画像変換装置
1は、出力画像の各行の高さを、当該出力画像を表示す
る機器の標準の値に基づいて設定している。
Further, character image conversion apparatus 1 of the present embodiment sets the height of each line of the output image based on the standard value of the device that displays the output image.

【0266】したがって、出力画像上で入力画像が縮小
されることを抑制しつつ、出力画像上で入力画像の欠け
が発生するのを防止することができ、精度をより一層向
上させることができるとともに、視認性をより一層向上
させることができる。
Therefore, it is possible to prevent the input image from being chipped on the output image while preventing the input image from being reduced on the output image, and to further improve the accuracy. The visibility can be further improved.

【0267】また、本実施の形態の文字画像変換装置1
は、入力画像の各行を、出力画像の行の高さに応じて拡
大または縮小している。
The character image conversion device 1 of the present embodiment
Expands or reduces each line of the input image according to the height of the line of the output image.

【0268】したがって、出力画像上で入力画像が縮小
されることを抑制しつつ、出力画像上で入力画像の欠け
が発生するのを防止することができ、精度をより一層向
上させることができるとともに、視認性をより一層向上
させることができる。
Therefore, it is possible to prevent the input image from being chipped on the output image while preventing the input image from being reduced on the output image, and to further improve the accuracy. The visibility can be further improved.

【0269】図17〜図19は、本発明の文書画像変換
方法、文書画像変換プログラム及び文書画像変換装置の
第9の実施の形態を示す図であり、本実施の形態は、請
求項21〜請求項29に対応するものである。
FIGS. 17 to 19 are diagrams showing a ninth embodiment of a document image conversion method, a document image conversion program and a document image conversion apparatus according to the present invention. This corresponds to claim 29.

【0270】なお、本実施の形態は、上記第1の実施の
形態の文書画像変換装置1と同様の文書画像変換装置に
適用したものであり、本実施の形態の説明においては、
必要に応じて、上記第1の実施の形態の説明で用いた符
号をそのまま用いて説明する。
This embodiment is applied to a document image conversion device similar to the document image conversion device 1 of the first embodiment. In the description of this embodiment,
The description will be made using the reference numerals used in the description of the first embodiment as needed, as necessary.

【0271】本実施の形態の文書画像変換装置1は、入
力画像の行画像の一部を出力画像の複数行にオーバーラ
ップ(重複)させて貼り付けるものである。
The document image conversion apparatus 1 of this embodiment is configured to paste a part of a line image of an input image onto a plurality of lines of an output image in an overlapping manner.

【0272】すなわち、図17に示すように、画像入力
部21から画像が入力されると、行切り出し部24が行
画像に分割して、行の切り出しを行い(ステップS80
1)、出力画像上における行と垂直な方向の先頭位置Y
s(入力行がまだ貼り付けられていない領域の上端位
置)を初期化(Ys=0)する(ステップS802)。
なお、行画像の幅Hは処理開始前に定めた値に固定す
る。
That is, as shown in FIG. 17, when an image is input from the image input unit 21, the line cutout unit 24 divides the image into line images and cuts out lines (step S80).
1), the head position Y in the direction perpendicular to the line on the output image
s (the upper end position of the area where the input line has not been pasted yet) is initialized (Ys = 0) (step S802).
The width H of the line image is fixed to a value determined before the start of the processing.

【0273】次に、行画像配置部26が、行画像が全て
出力画像に貼り付けられているか否か、すなわち、PD
A等の表示対象の小型表示画面の行画像幅Lwが行方向
の先頭位置Xsよりも小さいか(Xs>Lw)を確認し
(ステップS803)、行画像幅Lwが行方向の先頭位
置Xsよりも小さくない(Xs≦Lw)ときには、表示
対象の小型表示画面の列画像幅である出力画像高さIh
が列方向の先頭位置Ys+Hよりも小さいか(Ys+H
>Ih)を確認する(ステップS804)。
Next, the line image arranging section 26 determines whether or not all the line images have been pasted to the output image,
It is checked whether the row image width Lw of the small display screen to be displayed such as A is smaller than the head position Xs in the row direction (Xs> Lw) (step S803), and the row image width Lw is smaller than the head position Xs in the row direction. Is not small (Xs ≦ Lw), the output image height Ih, which is the column image width of the small display screen to be displayed.
Is smaller than the head position Ys + H in the column direction (Ys + H
> Ih) is confirmed (step S804).

【0274】ステップS804で、出力画像高さIhが
列方向の先頭位置Ys+Hよりも大きい(Ys+H≦I
h)ときには、行画像配置部26は、行画像及び出力画
像のそれぞれの画像の左上を原点(0,0)として、
(Xs,0)(Xs+W,H)の行画像を出力画像の
(0,Ys)(W,Ys+H)に貼り付け(ステップS
805)、Xs=Xs(W−Ov)、Ys=Ys+Hと
して(ステップS806)、ステップS803に戻っ
て、上記同様に処理する。ここで、Ovは、オーバラッ
プ幅である。
In step S804, the output image height Ih is larger than the head position Ys + H in the column direction (Ys + H ≦ I
h) At this time, the row image arrangement unit 26 sets the origin (0, 0) at the upper left of each of the row image and the output image,
The row image of (Xs, 0) (Xs + W, H) is pasted on (0, Ys) (W, Ys + H) of the output image (step S
805), Xs = Xs (W−Ov), Ys = Ys + H (step S806), and the process returns to step S803 to perform the same processing as described above. Here, Ov is the overlap width.

【0275】ステップS803で、行画像幅Lwが行方
向の先頭位置Xsよりも小さい(Xs>Lw)ときに
は、行画像配置部26は、全ての行について処理が終了
したかチェックし(ステップS807)、全ての行につ
いて処理が完了していないときには、次の行画像の処理
に移行して、Xs=0に設定し(ステップS808)、
出力画像高さIhが列方向の先頭位置Ys+Hよりも小
さいか(Ys+H>Ih)を確認する(ステップS80
4)。
If the row image width Lw is smaller than the head position Xs in the row direction (Xs> Lw) in step S803, the row image placement unit 26 checks whether the processing has been completed for all rows (step S807). If the processing has not been completed for all the rows, the processing shifts to the processing for the next row image, and Xs = 0 is set (step S808).
It is checked whether the output image height Ih is smaller than the head position Ys + H in the column direction (Ys + H> Ih) (step S80).
4).

【0276】ステップS804で、出力画像高さIhが
列方向の先頭位置Ys+Hよりも小さい(Ys+H>I
h)ときには、行画像配置部26は、次の出力画像の処
理に移行(Ys=0にセット)し(ステップS80
9)、ステップS805に移行して、上記同様に出力画
像の貼り付けをオーバラップさせて行って(ステップS
805)、Xs=Xs(W−Ov)、Ys=Ys+Hと
して(ステップS806)、ステップS803に戻っ
て、上記同様に処理する。
At step S804, the output image height Ih is smaller than the head position Ys + H in the column direction (Ys + H> I).
h) At this time, the line image arrangement unit 26 shifts to the processing of the next output image (sets to Ys = 0) (step S80).
9) The process proceeds to step S805, where the output images are pasted in the same manner as described above (step S805).
805), Xs = Xs (W−Ov), Ys = Ys + H (step S806), and the process returns to step S803 to perform the same processing as described above.

【0277】ステップS803で、行画像幅が行方向の
先頭位置Xsよりも小さい(Xs>Lw)ときには、行
画像配置部26は、全ての行について処理が終了したか
チェックし(ステップS807)、全ての行について処
理が完了していると、出力画像を画像出力部22に渡し
て、画像出力部22が、PDA等の表示部に出力して、
処理を終了する。
If the row image width is smaller than the head position Xs in the row direction (Xs> Lw) in step S803, the row image arrangement unit 26 checks whether the processing has been completed for all rows (step S807). When the processing has been completed for all the rows, the output image is passed to the image output unit 22, and the image output unit 22 outputs the image to a display unit such as a PDA.
The process ends.

【0278】すなわち、図18に示すように、入力画像
を出力画像にオーバラップさせずに貼り付けると、文字
の途中で行が切れることで、視認性が低下することがあ
るが、この場合に、上述のように処理して、図19に示
すように、出力画像の複数行に、入力画像の行の一部を
所定のオーバラップ幅を持たせて貼り付けると、視認性
を低下させずに出力画像を生成することができる。
That is, as shown in FIG. 18, if the input image is pasted onto the output image without overlapping, the line may be cut off in the middle of the character and the visibility may be reduced. By processing as described above and pasting a part of the line of the input image with a predetermined overlap width to a plurality of lines of the output image as shown in FIG. 19, the visibility is not reduced. An output image can be generated.

【0279】なお、このオーバラップの幅を求める方法
としては、種々の方法を用いることができ、最も容易な
方法は行画像の高さを用いる方法である。
Note that various methods can be used to determine the width of the overlap, and the easiest method is to use the height of the row image.

【0280】すなわち、行画像の高さは、文字画像の標
準幅との相関が高いため、行画像の高さからオーバラッ
プ幅を求めることで、全ての文字画像が切れることなく
表示できる可能性が高い。例えば、行高さの1.2倍だ
けオーバラップさせる等の方法を用いることができる。
この場合、行画像の高さについては、入力画像上の行の
高さと、出力行の高さを用いることができる。
That is, since the height of the line image has a high correlation with the standard width of the character image, it is possible to display all the character images without cutting off by obtaining the overlap width from the height of the line image. Is high. For example, a method of overlapping by 1.2 times the row height can be used.
In this case, as the height of the row image, the row height on the input image and the output row height can be used.

【0281】また、矩形や文字のサイズを参照してオー
バラップ幅を求める方法を用いてもよい。この方法は、
処理量は増えるが、調整を上手く行うことで、単純に行
画像の高さを用いるよりも効率よく、すなわち、できる
限り少ないオーバラップ幅で文字の切れをなくすオーバ
ラップ処理を行うことができる。この場合、対象とする
言語の性質などにより、文字や矩形の幅、高さのいずれ
に注目すれば効率がよくなるかは異なるので、適宜選択
して利用する。例えば、日本語文書の場合には、左右分
離文字が多いため、矩形/文字高さの最大値を用いる
と、安定する場合が多い。
Also, a method of obtaining the overlap width by referring to the size of a rectangle or a character may be used. This method
Although the processing amount increases, by performing the adjustment well, it is possible to perform the overlap processing that eliminates the break of the character with less overlap width as efficiently as possible than simply using the height of the line image. In this case, depending on the nature of the target language, etc., it is different whether the efficiency is improved if attention is paid to the width or height of the character or rectangle. For example, in the case of a Japanese document, since there are many left / right separated characters, it is often stable when the maximum value of the rectangle / character height is used.

【0282】このように、本実施の形態の文書画像変換
装置1は、入力画像の各行を、出力画像の行末で分割す
る際に、当該分割位置の前後に行画像を重複させて出力
している。
As described above, when each line of the input image is divided at the end of the line of the output image, the document image conversion apparatus 1 of the present embodiment outputs the line image overlapping before and after the division position. I have.

【0283】したがって、出力画像で文字の途中で行が
切れることによる視認性の低下を防止することができ、
視認性をより一層向上させることができる。
Therefore, it is possible to prevent a decrease in visibility due to a line break in the middle of a character in the output image.
The visibility can be further improved.

【0284】また、本実施の形態の文字画像変換装置1
は、重複させる行画像の幅を、入力画像の行画像の高さ
に基づいて設定している。
In addition, character image conversion device 1 of the present embodiment
Sets the width of the line image to be overlapped based on the height of the line image of the input image.

【0285】したがって、出力画像で文字の途中で行が
切れることをより適切に防止することができ、視認性を
より一層向上させることができる。
Accordingly, it is possible to more appropriately prevent a line from being cut off in the middle of a character in an output image, and it is possible to further improve the visibility.

【0286】さらに、本実施の形態の文字画像変換装置
1は、重複させる行画像の幅を、出力画像の行の高さに
基づいて設定している。
Further, character image converter 1 of the present embodiment sets the width of the line image to be overlapped based on the line height of the output image.

【0287】したがって、出力画像で文字の途中で行が
切れることをより適切に防止することができ、視認性を
より一層向上させることができる。
[0287] Therefore, it is possible to more appropriately prevent a line from being cut off in the middle of a character in an output image, and it is possible to further improve visibility.

【0288】また、本実施の形態の文字画像変換装置1
は、重複させる行画像の幅を、入力画像の画像内の矩形
サイズに基づいて設定している。
Also, character image conversion apparatus 1 of the present embodiment
Sets the width of the line image to be overlapped based on the rectangular size of the input image in the image.

【0289】したがって、出力画像で文字の途中で行が
切れることをより適切にかつ効率的に防止することがで
き、視認性をより一層向上させることができる。
Therefore, it is possible to more appropriately and efficiently prevent a line from being cut off in the middle of a character in an output image, and the visibility can be further improved.

【0290】さらに、本実施の形態の文字画像変換装置
1は、重複させる行画像の幅を、入力画像の画像内の矩
形の高さに基づいて設定している。
Further, character image converter 1 of the present embodiment sets the width of the line image to be overlapped based on the height of the rectangle in the input image.

【0291】したがって、出力画像で文字の途中で行が
切れることをより適切にかつ効率的に防止することがで
き、視認性をより一層向上させることができる。
Therefore, it is possible to more appropriately and efficiently prevent a line from being cut off in the middle of a character in an output image, and the visibility can be further improved.

【0292】また、本実施の形態の文字画像変換装置1
は、重複させる行画像の幅を、入力画像の画像内の矩形
の幅に基づいて設定している。
Also, the character image conversion device 1 of the present embodiment
Sets the width of the line image to be overlapped based on the width of the rectangle in the image of the input image.

【0293】したがって、出力画像で文字の途中で行が
切れることをより適切にかつ効率的に防止することがで
き、視認性をより一層向上させることができる。
Therefore, it is possible to more appropriately and efficiently prevent a line from being cut off in the middle of a character in an output image, and the visibility can be further improved.

【0294】さらに、本実施の形態の文字画像変換装置
1は、重複させる行画像の幅を、入力画像の画像内の文
字サイズに基づいて設定している。
Further, the character image conversion device 1 of the present embodiment sets the width of the line image to be overlapped based on the character size in the input image.

【0295】したがって、出力画像で文字の途中で行が
切れることをより適切にかつ効率的に防止することがで
き、視認性をより一層向上させることができる。
Accordingly, it is possible to more appropriately and efficiently prevent a line from being cut off in the middle of a character in an output image, and the visibility can be further improved.

【0296】また、本実施の形態の文字画像変換装置1
は、重複させる行画像の幅を、入力画像の画像内の文字
の高さに基づいて設定している。
Further, character image conversion apparatus 1 of the present embodiment
Sets the width of the line image to be overlapped based on the height of the character in the image of the input image.

【0297】したがって、出力画像で文字の途中で行が
切れることをより適切にかつ効率的に防止することがで
き、視認性をより一層向上させることができる。
[0297] Therefore, it is possible to more appropriately and efficiently prevent a line from being cut off in the middle of a character in an output image, and it is possible to further improve visibility.

【0298】さらに、本実施の形態の文字画像変換装置
1は、重複させる行画像の幅を、入力画像の画像内の文
字の幅に基づいて設定している。
Further, character image conversion apparatus 1 of the present embodiment sets the width of the line image to be overlapped based on the width of the character in the image of the input image.

【0299】したがって、出力画像で文字の途中で行が
切れることをより適切にかつ効率的に防止することがで
き、視認性をより一層向上させることができる。
Therefore, it is possible to more appropriately and efficiently prevent a line from being cut off in the middle of a character in an output image, and the visibility can be further improved.

【0300】図20及び図21は、本発明の文書画像変
換方法、文書画像変換プログラム及び文書画像変換装置
の第10の実施の形態を示す図であり、本実施の形態
は、請求項30及び請求項31に対応するものである。
FIGS. 20 and 21 are diagrams showing a tenth embodiment of the document image conversion method, the document image conversion program and the document image conversion device according to the present invention. This corresponds to claim 31.

【0301】なお、本実施の形態は、上記第1の実施の
形態の文書画像変換装置1と同様の文書画像変換装置に
適用したものであり、本実施の形態の説明においては、
必要に応じて、上記第1の実施の形態の説明で用いた符
号をそのまま用いて説明する。
Note that this embodiment is applied to a document image conversion device similar to the document image conversion device 1 of the first embodiment, and in the description of this embodiment,
The description will be made using the reference numerals used in the description of the first embodiment as needed, as necessary.

【0302】本実施の形態の文書画像変換装置1は、入
力画像の行画像の一部を出力画像の複数行にオーバーラ
ップさせて貼り付ける際に、入力画像の行の幅と出力画
像の業の幅の両方を用いてオーバラップ幅を決定するも
のである。
The document image conversion apparatus 1 according to the present embodiment, when a part of a line image of an input image is overlapped and pasted on a plurality of lines of an output image, the width of the line of the input image and the output image Are used to determine the overlap width.

【0303】すなわち、図20に示すように、画像入力
部21から画像が入力されると、行切り出し部24が行
画像に分割して、行の切り出しを行い(ステップS90
1)、出力画像上における行と垂直な方向の先頭位置Y
s(入力行がまだ貼り付けられていない領域の上端位
置)を初期化(Ys=0)する(ステップS902)。
なお、行画像の幅Hは処理開始前に定めた値に固定す
る。
That is, as shown in FIG. 20, when an image is input from the image input unit 21, the line cutout unit 24 divides the image into line images and cuts out lines (step S90).
1), the head position Y in the direction perpendicular to the line on the output image
s (the upper end position of the area where the input line is not pasted yet) is initialized (Ys = 0) (step S902).
The width H of the line image is fixed to a value determined before the start of the processing.

【0304】次に、行画像配置部26が、行画像が全て
出力画像に貼り付けられているか否か、すなわち、PD
A等の表示対象の小型表示画面の行画像幅Lwが行方向
の先頭位置Xsよりも小さいか同じであるか(Xs≧L
w)を確認し(ステップS903)、行画像幅Lwが行
方向の先頭位置Xsよりも大きい(Xs<Lw)ときに
は、表示対象の小型表示画面の列画像幅である出力画像
高さIhが列方向の先頭位置Ys+Hよりも小さいか
(Ys+H>Ih)を確認する(ステップS904)。
Next, the line image arranging unit 26 determines whether or not all the line images have been pasted on the output image,
Whether the row image width Lw of the small display screen to be displayed such as A is smaller than or equal to the head position Xs in the row direction (Xs ≧ L
w) (step S903), and when the row image width Lw is larger than the head position Xs in the row direction (Xs <Lw), the output image height Ih, which is the column image width of the small display screen to be displayed, is set to the column. It is checked whether the head position in the direction is smaller than Ys + H (Ys + H> Ih) (step S904).

【0305】ステップS904で、出力画像高さIhが
列方向の先頭位置Ys+Hよりも大きい(Ys+H≦I
h)ときには、行画像配置部26は、行画像及び出力画
像のそれぞれの画像の左上を原点(0,0)として、
(Xs,0)(Xs+W,H)の行画像を出力画像の
(0,Ys)(W,Ys+H)に貼り付け(ステップS
905)、Xs=Xs(W−Ov)、Ys=Ys+Hと
して(ステップS906)、ステップS903に戻っ
て、上記同様に処理する。ここで、Ovは、オーバラッ
プ幅である。
In step S904, the output image height Ih is larger than the head position Ys + H in the column direction (Ys + H ≦ I
h) At this time, the row image arrangement unit 26 sets the origin (0, 0) at the upper left of each of the row image and the output image,
The row image of (Xs, 0) (Xs + W, H) is pasted on (0, Ys) (W, Ys + H) of the output image (step S
905), Xs = Xs (W-Ov), Ys = Ys + H (step S906), the process returns to step S903, and the same processing as above is performed. Here, Ov is the overlap width.

【0306】ステップS903で、行画像幅Lwが行方
向の先頭位置Xsよりも小さいか同じ(Xs≧Lw)と
きには、行画像配置部26は、全ての行について処理が
終了したかチェックし(ステップS907)、全ての行
について処理が完了していないときには、次の行画像の
処理に移行して、Xs=0に設定するとともに、オーバ
ラップ量Ovを算出し(ステップS908)、出力画像
高さIhが列方向の先頭位置Ys+Hよりも小さいか
(Ys+H>Ih)を確認する(ステップS904)。
If the row image width Lw is smaller than or equal to the head position Xs in the row direction (Xs ≧ Lw) in step S903, the row image placement unit 26 checks whether the processing has been completed for all rows (step S903). S907) If the processing has not been completed for all the rows, the processing shifts to the processing for the next row image, Xs = 0 is set, the overlap amount Ov is calculated (step S908), and the output image height is set. It is checked whether Ih is smaller than the head position Ys + H in the column direction (Ys + H> Ih) (step S904).

【0307】ステップS904で、出力画像高さIhが
列方向の先頭位置Ys+Hよりも小さい(Ys+H>I
h)ときには、行画像配置部26は、次の出力画像の処
理に移行(Ys=0にセット)し(ステップS90
9)、ステップS905に移行して、上記同様に出力画
像の貼り付けをオーバラップさせて行って(ステップS
905)、Xs=Xs(W−Ov)、Ys=Ys+Hと
して(ステップS906)、ステップS903に戻っ
て、上記同様に処理する。
In step S904, the output image height Ih is smaller than the head position Ys + H in the column direction (Ys + H> I
h) At this time, the row image arrangement unit 26 shifts to the processing of the next output image (sets to Ys = 0) (step S90).
9) Then, the process proceeds to step S905, in which the output images are pasted in the same manner as described above (step S905).
905), Xs = Xs (W-Ov), Ys = Ys + H (step S906), the process returns to step S903, and the same processing as above is performed.

【0308】ステップS903で、行画像幅が行方向の
先頭位置Xsよりも小さい(Xs>Lw)ときには、行
画像配置部26は、全ての行について処理が終了したか
チェックし(ステップS907)、全ての行について処
理が完了していると、出力画像を画像出力部22に渡し
て、画像出力部22が、PDA等の表示部に出力して、
処理を終了する。
If the row image width is smaller than the head position Xs in the row direction (Xs> Lw) in step S903, the row image arrangement unit 26 checks whether the processing has been completed for all rows (step S907). When the processing has been completed for all the rows, the output image is passed to the image output unit 22, and the image output unit 22 outputs the image to a display unit such as a PDA.
The process ends.

【0309】すなわち、図21に示すように、入力画像
の行の末端と、出力画像の行の末端を揃え、その間を出
力画像幅で当分割することで、半端分が自動的にオーバ
ラップとなり、無駄なくできるだけ多くの部分をオーバ
ラップさせることができる。
That is, as shown in FIG. 21, the end of the line of the input image and the end of the line of the output image are aligned, and the interval is divided by the width of the output image, so that the half automatically becomes overlapped. As much as possible, portions can be overlapped without waste.

【0310】このように、本実施の形態の文書画像変換
装置1は、重複させる行画像の幅を、入力画像の行画像
の幅と出力画像の幅に基づいて設定している。
[0310] As described above, the document image conversion apparatus 1 of the present embodiment sets the width of the line image to be overlapped based on the width of the line image of the input image and the width of the output image.

【0311】したがって、無駄なくかつできるだけ多く
の部分を重複させて、出力画像で文字の途中で行が切れ
ることをより適切に防止することができ、視認性をより
一層向上させることができる。
[0311] Therefore, it is possible to more appropriately prevent a line from being cut off in the middle of a character in an output image by overlapping as much as possible without waste, and to further improve the visibility.

【0312】また、本実施の形態の文字画像変換装置1
は、入力画像の行画像の幅をA、出力画像の幅をBと
し、BをN(整数)倍したときに初めてAより大きくな
る場合に、重複させる行画像の幅Vを、V=(NB−
A)/Nとしている。
[0312] In addition, the character image conversion apparatus 1 of the present embodiment.
Is A, the width of the line image of the input image is A, and the width of the output image is B. If B becomes N (integer) and becomes larger than A for the first time, the width V of the line image to be overlapped is given by V = ( NB-
A) / N.

【0313】したがって、無駄なくかつできるだけ多く
の部分を重複させて、出力画像で文字の途中で行が切れ
ることをより適切に防止することができ、視認性をより
一層向上させることができる。
Accordingly, it is possible to more effectively prevent a line from being cut off in the middle of a character in an output image by overlapping as much as possible without waste, and to further improve visibility.

【0314】以上、本発明者によってなされた発明を好
適な実施の形態に基づき具体的に説明したが、本発明は
上記のものに限定されるものではなく、その要旨を逸脱
しない範囲で種々変更可能であることはいうまでもな
い。
The invention made by the present inventor has been specifically described based on the preferred embodiments. However, the present invention is not limited to the above, and various modifications can be made without departing from the gist of the invention. It goes without saying that it is possible.

【0315】[0315]

【発明の効果】請求項1記載の発明の文字画像変換方法
によれば、入力文書画像を整列させて出力するに際し
て、入力文書画像に対して行切り出し処理を施して行画
像を生成し、当該生成した行画像をつなぎ合わせて出力
画像を生成するので、OCRを用いた場合のようにコン
テンツに変更が加わるような変換を避けるとともに、背
景等の文書に付随する情報も知覚できるようにしつつ、
PDA等の表示領域の限られたデバイス上に文書画像を
効率よく表示することができ、出力画像の数を向上させ
ることができるとともに、視認性を向上させることがで
きる。
According to the character image conversion method of the present invention, when aligning and outputting an input document image, the input document image is subjected to line cutout processing to generate a line image. Since the output image is generated by connecting the generated line images, it is possible to avoid such a conversion that the content is changed as in the case of using the OCR, and to be able to perceive information accompanying the document such as the background,
A document image can be efficiently displayed on a device having a limited display area such as a PDA, the number of output images can be improved, and the visibility can be improved.

【0316】請求項2記載の発明の文字画像変換方法に
よれば、出力画像の各行の高さを、入力画像内の矩形の
最大高さに基づいて決定するので、出力画像上で各行の
高さを揃えることができ、視認性をより一層向上させる
ことができる。
According to the character image conversion method of the present invention, since the height of each line of the output image is determined based on the maximum height of the rectangle in the input image, the height of each line on the output image is determined. And the visibility can be further improved.

【0317】請求項3記載の発明の文字画像変換方法に
よれば、出力画像の各行の高さを、入力画像内の文字の
最大高さに基づいて決定するので、出力画像上で各行の
高さをより一層高精度に揃えることができ、視認性をよ
り一層向上させることができる。
According to the character image conversion method of the present invention, the height of each line of the output image is determined based on the maximum height of the character in the input image. The accuracy can be made even more accurate, and the visibility can be further improved.

【0318】請求項4記載の発明の文字画像変換方法に
よれば、出力画像の各行の高さを、当該出力画像の各行
に配置される入力画像の高さに基づいて決定するので、
出力画像上で各行の高さ入力画像の高さに応じてを揃え
ることができ、視認性をより一層向上させることができ
る。
According to the character image conversion method of the present invention, the height of each line of the output image is determined based on the height of the input image arranged on each line of the output image.
The height of each line on the output image can be made uniform according to the height of the input image, and the visibility can be further improved.

【0319】請求項5記載の発明の文字画像変換方法に
よれば、出力画像の各行の高さを、入力画像内の行の最
大高さとしているので、出力画像上での各行の高さを入
力画像の行の最大高さに揃えることができ、視認性をよ
り一層向上させることができる。
According to the character image conversion method of the present invention, the height of each line in the output image is set to the maximum height of the line in the input image. The height can be adjusted to the maximum height of the line of the input image, and the visibility can be further improved.

【0320】請求項6記載の発明の文字画像変換方法に
よれば、出力画像の各行の高さを、当該出力画像の各行
に配置される入力画像の行に含まれる矩形の最大高さに
基づいて決定しているので、出力画像上での各行の高さ
を入力画像の行に含まれる矩形の最大高さに揃えること
ができ、視認性をより一層向上させることができる。
According to the character image conversion method of the present invention, the height of each line of the output image is determined based on the maximum height of a rectangle included in the line of the input image arranged on each line of the output image. Therefore, the height of each line on the output image can be made equal to the maximum height of the rectangle included in the line of the input image, and the visibility can be further improved.

【0321】請求項7記載の発明の文字画像変換方法に
よれば、出力画像の各行の高さを、当該出力画像の各行
に配置される入力画像の行に含まれる文字の最大高さに
基づいて決定しているので、出力画像上での各行の高さ
を出力画像に配置される入力画像の行に含まれる文字の
最大高さに揃えることができ、視認性をより一層向上さ
せることができる。
[0321] According to the character image conversion method of the present invention, the height of each line of the output image is determined based on the maximum height of characters included in the line of the input image arranged on each line of the output image. Since the height of each line on the output image can be adjusted to the maximum height of the characters included in the line of the input image arranged in the output image, the visibility can be further improved. it can.

【0322】請求項8記載の発明の文字画像変換方法に
よれば、出力画像の各行の高さを、当該出力画像の各行
に配置される入力画像の行の高さと当該入力画像の行内
の矩形高さの最大値との比が1に近い場合には、当該出
力画像の各行に配置される入力画像の行に含まれる矩形
の最大高さに基づいて決定し、それ以外の場合には、当
該出力画像の各行に配置される入力画像の高さに基づい
て決定し、または、入力画像内の行の最大高さとしてい
るので、出力画像の文字が小さくなったり、文字の位置
が変わって、入力画像のコンテンツが見づらくなった
り、内容が変わったりすることを防止することができ、
視認性をより一層向上させることができる。
According to the character image conversion method of the present invention, the height of each line of the output image is determined by the height of the line of the input image arranged on each line of the output image and the rectangle within the line of the input image. When the ratio with the maximum value of the height is close to 1, it is determined based on the maximum height of the rectangle included in the row of the input image arranged in each row of the output image, otherwise, Determined based on the height of the input image placed in each line of the output image, or because it is the maximum height of the line in the input image, the characters of the output image becomes smaller, or the position of the characters changes , It ’s possible to prevent the content of the input image from being difficult to see or change,
The visibility can be further improved.

【0323】請求項9記載の発明の文字画像変換方法に
よれば、出力画像の各行の高さを、当該出力画像の各行
に配置される入力画像の行の高さと当該入力画像の行内
の矩形高さの最大値との差が所定値よりも小さい場合に
は、当該出力画像の各行に配置される入力画像の行に含
まれる矩形の最大高さに基づいて決定し、それ以外の場
合には、当該出力画像の各行に配置される入力画像の高
さに基づいて決定し、または、入力画像内の行の最大高
さとしているので、出力画像の文字が小さくなったり、
文字の位置が変わって、入力画像のコンテンツが見づら
くなったり、内容が変わったりすることを防止すること
ができ、視認性をより一層向上させることができる。
According to the character image conversion method of the ninth aspect, the height of each line of the output image is determined by the height of the line of the input image arranged on each line of the output image and the rectangle within the line of the input image. If the difference from the maximum value of the height is smaller than a predetermined value, it is determined based on the maximum height of the rectangle included in the row of the input image arranged in each row of the output image, otherwise, Is determined based on the height of the input image placed on each line of the output image, or because it is the maximum height of the line in the input image, the characters of the output image becomes small,
It is possible to prevent the content of the input image from being difficult to see or change due to a change in the position of the character, and the visibility can be further improved.

【0324】請求項10記載の発明の文字画像変換方法
によれば、出力画像の各行の高さを、当該出力画像の各
行に配置される入力画像の行の高さと当該入力画像の行
内の矩形高さの最大値との比が1に近い場合には、当該
出力画像の各行に配置される入力画像の行に含まれる文
字の最大高さに基づいて決定し、それ以外の場合には、
当該出力画像の各行に配置される入力画像の高さに基づ
いて決定し、または、入力画像内の行の最大高さとして
いるので、出力画像の文字が小さくなったり、文字の位
置が変わって、入力画像のコンテンツが見づらくなった
り、内容が変わったりすることを防止することができ、
視認性をより一層向上させることができる。
[0324] According to the character image conversion method of the tenth aspect, the height of each line of the output image is determined by the height of the line of the input image arranged on each line of the output image and the rectangle within the line of the input image. When the ratio with the maximum value of the height is close to 1, it is determined based on the maximum height of the characters included in the line of the input image arranged in each line of the output image, otherwise,
Determined based on the height of the input image placed in each line of the output image, or because it is the maximum height of the line in the input image, the characters of the output image becomes smaller, or the position of the characters changes , It ’s possible to prevent the content of the input image from being difficult to see or change,
The visibility can be further improved.

【0325】請求項11記載の発明の文字画像変換方法
によれば、出力画像の各行の高さを、当該出力画像の各
行に配置される入力画像の行の高さと当該入力画像の行
内の矩形高さの最大値との差が所定値よりも小さい場合
には、当該出力画像の各行に配置される入力画像の行に
含まれる文字の最大高さに基づいて決定し、それ以外の
場合には、当該出力画像の各行に配置される入力画像の
高さに基づいて決定し、または、入力画像内の行の最大
高さとしているので、出力画像の文字が小さくなった
り、文字の位置が変わって、入力画像のコンテンツが見
づらくなったり、内容が変わったりすることを防止する
ことができ、視認性をより一層向上させることができ
る。
According to the character image conversion method of the present invention, the height of each line of the output image is determined by the height of the line of the input image arranged on each line of the output image and the rectangle within the line of the input image. If the difference from the maximum value of the height is smaller than a predetermined value, it is determined based on the maximum height of the characters included in the line of the input image arranged on each line of the output image, otherwise, Is determined based on the height of the input image arranged on each line of the output image, or is set to the maximum height of the line in the input image, so that the characters of the output image become smaller or the positions of the characters become smaller. Alternately, it is possible to prevent the contents of the input image from being difficult to see or change, and the visibility can be further improved.

【0326】請求項12記載の発明の文字画像変換方法
によれば、入力画像の行画像を、出力画像の行の高さに
合わせて縮小しているので、出力画像上で入力画像の欠
けが発生するのを防止することができ、精度をより一層
向上させることができるとともに、視認性をより一層向
上させることができる。
According to the character image conversion method of the twelfth aspect, since the line image of the input image is reduced in accordance with the height of the line of the output image, the lack of the input image on the output image. This can be prevented from occurring, and the accuracy can be further improved, and the visibility can be further improved.

【0327】請求項13記載の発明の文字画像変換方法
によれば、入力画像の行画像を、出力画像の行の高さを
超える矩形を出力画像の行内に移動しているので、出力
画像上で入力画像の欠けが発生するのを防止することが
でき、精度をより一層向上させることができるととも
に、視認性をより一層向上させることができる。
According to the character image conversion method of the thirteenth aspect, the line image of the input image is moved within the line of the output image by a rectangle exceeding the height of the line of the output image. Thus, the occurrence of chipping of the input image can be prevented, the accuracy can be further improved, and the visibility can be further improved.

【0328】請求項14記載の発明の文字画像変換方法
によれば、入力画像の行画像を、出力画像の行の範囲を
超える文字画素のあるラインについて、出力画像の行の
範囲に収まる大きさに縮小しているので、出力画像上で
入力画像が縮小されることを抑制しつつ、出力画像上で
入力画像の欠けが発生するのを防止することができ、精
度をより一層向上させることができとともに、視認性を
より一層向上させることができる。
According to the character image conversion method of the present invention, the line image of the input image is converted to a line having a character pixel exceeding the line range of the output image. Since it is possible to reduce the size of the input image on the output image, it is possible to prevent the input image from being chipped on the output image, thereby further improving the accuracy. At the same time, visibility can be further improved.

【0329】請求項15記載の発明の文字画像変換方法
によれば、出力画像の行の範囲を超える文字画素のある
ラインについて、当該出力画像の背景画素を削除して出
力画像の行の範囲に収まる大きさに縮小しているので、
出力画像上で入力画像が縮小されることを抑制しつつ、
出力画像上で入力画像の欠けが発生するのを防止するこ
とができ、精度をより一層向上させることができるとと
もに、視認性をより一層向上させることができる。
According to the character image conversion method of the present invention, for a line having a character pixel exceeding the range of the line of the output image, the background pixel of the output image is deleted and the line of the line of the output image is deleted. Since it has been reduced to a size that fits,
While suppressing the reduction of the input image on the output image,
The occurrence of chipping of the input image on the output image can be prevented, the accuracy can be further improved, and the visibility can be further improved.

【0330】請求項16記載の発明の文字画像変換方法
によれば、出力画像の行の範囲を超える文字画素のある
ラインについて、当該出力画像の前景と背景のエッジの
数を保った状態で出力画像の行の範囲に収まる大きさに
縮小しているので、出力画像上で入力画像が縮小される
ことを抑制しつつ、出力画像上で入力画像の欠けが発生
するのを防止することができ、精度をより一層向上させ
ることができるとともに、視認性をより一層向上させる
ことができる。
According to the character image conversion method of the present invention, for a line having character pixels exceeding the range of the line of the output image, the line is output while maintaining the number of edges of the foreground and background of the output image. Since the image is reduced to a size that fits in the range of the image line, it is possible to prevent the input image from being truncated on the output image while preventing the input image from being reduced on the output image. In addition, the accuracy can be further improved, and the visibility can be further improved.

【0331】請求項17記載の発明の文字画像変換方法
によれば、出力画像の各行の高さを、当該出力画像の高
さに基づいて設定しているので、出力画像上で入力画像
が縮小されることを抑制しつつ、出力画像上で入力画像
の欠けが発生するのを防止することができ、精度をより
一層向上させることができるとともに、視認性をより一
層向上させることができる。
According to the character image conversion method of the present invention, since the height of each line of the output image is set based on the height of the output image, the input image is reduced on the output image. In addition, it is possible to prevent the input image from being chipped on the output image while suppressing the occurrence of the input image, so that the accuracy can be further improved and the visibility can be further improved.

【0332】請求項18記載の発明の文字画像変換方法
によれば、入力画像の各行を、出力画像の行の高さに応
じて拡大または縮小しているので、出力画像上で入力画
像が縮小されることを抑制しつつ、出力画像上で入力画
像の欠けが発生するのを防止することができ、精度をよ
り一層向上させることができるとともに、視認性をより
一層向上させることができる。
According to the character image conversion method of the present invention, since each line of the input image is enlarged or reduced in accordance with the height of the line of the output image, the input image is reduced on the output image. In addition, it is possible to prevent the input image from being chipped on the output image while suppressing the occurrence of the input image, so that the accuracy can be further improved and the visibility can be further improved.

【0333】請求項19記載の発明の文字画像変換方法
によれば、出力画像の各行の高さを、当該出力画像を表
示する機器の標準の値に基づいて設定しているので、出
力画像上で入力画像が縮小されることを抑制しつつ、出
力画像上で入力画像の欠けが発生するのを防止すること
ができ、精度をより一層向上させることができるととも
に、視認性をより一層向上させることができる。
According to the character image conversion method of the nineteenth aspect, the height of each line of the output image is set based on the standard value of the device that displays the output image. It is possible to prevent the input image from being chipped on the output image while suppressing the input image from being reduced, thereby further improving the accuracy and further improving the visibility. be able to.

【0334】請求項20記載の発明の文字画像変換方法
によれば、入力画像の各行を、出力画像の行の高さに応
じて拡大または縮小しているので、出力画像上で入力画
像が縮小されることを抑制しつつ、出力画像上で入力画
像の欠けが発生するのを防止することができ、精度をよ
り一層向上させることができるとともに、視認性をより
一層向上させることができる。
According to the character image conversion method of the present invention, since each line of the input image is enlarged or reduced in accordance with the height of the line of the output image, the input image is reduced on the output image. In addition, it is possible to prevent the input image from being chipped on the output image while suppressing the occurrence of the input image, so that the accuracy can be further improved and the visibility can be further improved.

【0335】請求項21記載の発明の文字画像変換方法
によれば、入力画像の各行を、出力画像の行末で分割す
る際に、当該分割位置の前後に行画像を重複させて出力
しているので、出力画像で文字の途中で行が切れること
による視認性の低下を防止することができ、視認性をよ
り一層向上させることができる。
According to the character image conversion method of the present invention, when each line of the input image is divided at the end of the line of the output image, the line image is output before and after the division position so as to overlap. Therefore, it is possible to prevent a decrease in visibility due to a line break in the middle of a character in the output image, and it is possible to further improve the visibility.

【0336】請求項22記載の発明の文字画像変換方法
によれば、重複させる行画像の幅を、入力画像の行画像
の高さに基づいて設定しているので、出力画像で文字の
途中で行が切れることをより適切に防止することがで
き、視認性をより一層向上させることができる。
According to the character image conversion method of the present invention, the width of the line image to be overlapped is set based on the height of the line image of the input image. Line breakage can be more appropriately prevented, and visibility can be further improved.

【0337】請求項23記載の発明の文字画像変換方法
によれば、重複させる行画像の幅を、出力画像の行の高
さに基づいて設定しているので、出力画像で文字の途中
で行が切れることをより適切に防止することができ、視
認性をより一層向上させることができる。
According to the character image conversion method of the twenty-third aspect, the width of the line image to be overlapped is set based on the height of the line of the output image. Can be more appropriately prevented from breaking, and the visibility can be further improved.

【0338】請求項24記載の発明の文字画像変換方法
によれば、重複させる行画像の幅を、入力画像の画像内
の矩形サイズに基づいて設定しているので、出力画像で
文字の途中で行が切れることをより適切にかつ効率的に
防止することができ、視認性をより一層向上させること
ができる。
According to the character image conversion method of the twenty-fourth aspect, the width of the line image to be overlapped is set based on the rectangular size in the image of the input image. Line breakage can be more appropriately and efficiently prevented, and visibility can be further improved.

【0339】請求項25記載の発明の文字画像変換方法
によれば、重複させる行画像の幅を、入力画像の画像内
の矩形の高さに基づいて設定しているので、出力画像で
文字の途中で行が切れることをより適切にかつ効率的に
防止することができ、視認性をより一層向上させること
ができる。
According to the character image conversion method of the twenty-fifth aspect, the width of the line image to be overlapped is set based on the height of the rectangle in the image of the input image. Line breaks in the middle can be more appropriately and efficiently prevented, and visibility can be further improved.

【0340】請求項26記載の発明の文字画像変換方法
によれば、重複させる行画像の幅を、入力画像の画像内
の矩形の幅に基づいて設定しているので、出力画像で文
字の途中で行が切れることをより適切にかつ効率的に防
止することができ、視認性をより一層向上させることが
できる。
According to the character image conversion method of the twenty-sixth aspect, the width of the line image to be overlapped is set based on the width of the rectangle in the image of the input image. Can more appropriately and efficiently prevent the line from being cut off, and the visibility can be further improved.

【0341】請求項27記載の発明の文字画像変換方法
によれば、重複させる行画像の幅を、入力画像の画像内
の文字サイズに基づいて設定しているので、出力画像で
文字の途中で行が切れることをより適切にかつ効率的に
防止することができ、視認性をより一層向上させること
ができる。
According to the character image conversion method of the twenty-seventh aspect, the width of the line image to be overlapped is set based on the character size in the image of the input image. Line breakage can be more appropriately and efficiently prevented, and visibility can be further improved.

【0342】請求項28記載の発明の文字画像変換方法
によれば、重複させる行画像の幅を、入力画像の画像内
の文字の高さに基づいて設定しているので、出力画像で
文字の途中で行が切れることをより適切にかつ効率的に
防止することができ、視認性をより一層向上させること
ができる。
According to the character image conversion method of the twenty-eighth aspect, the width of the line image to be overlapped is set based on the height of the character in the image of the input image. Line breaks in the middle can be more appropriately and efficiently prevented, and visibility can be further improved.

【0343】請求項29記載の発明の文字画像変換方法
によれば、重複させる行画像の幅を、入力画像の画像内
の文字の幅に基づいて設定しているので、出力画像で文
字の途中で行が切れることをより適切にかつ効率的に防
止することができ、視認性をより一層向上させることが
できる。
According to the character image conversion method of the twenty-ninth aspect, the width of the line image to be overlapped is set based on the width of the character in the image of the input image. Can more appropriately and efficiently prevent the line from being cut off, and the visibility can be further improved.

【0344】請求項30記載の発明の文字画像変換方法
によれば、重複させる行画像の幅を、入力画像の行画像
の幅と出力画像の幅に基づいて設定しているので、無駄
なくかつできるだけ多くの部分を重複させて、出力画像
で文字の途中で行が切れることをより適切に防止するこ
とができ、視認性をより一層向上させることができる。
According to the character image conversion method of the present invention, the width of the line image to be overlapped is set based on the width of the line image of the input image and the width of the output image. By overlapping as many parts as possible, it is possible to more appropriately prevent a line from being cut off in the middle of a character in an output image, and it is possible to further improve visibility.

【0345】請求項31記載の発明の文字画像変換方法
によれば、入力画像の行画像の幅をA、出力画像の幅を
Bとし、BをN(整数)倍したときに初めてAより大き
くなる場合に、重複させる行画像の幅Vを、V=(NB
−A)/Nとしているので、無駄なくかつできるだけ多
くの部分を重複させて、出力画像で文字の途中で行が切
れることをより適切に防止することができ、視認性をよ
り一層向上させることができる。
According to the character image conversion method of the present invention, the width of the line image of the input image is A, the width of the output image is B, and B is N (integer) times larger than A for the first time. , The width V of the line image to be overlapped is set to V = (NB
−A) / N, it is possible to overlap lines as much as possible without waste and to more appropriately prevent a line from being cut off in the middle of a character in an output image, and to further improve visibility. Can be.

【0346】請求項32記載の発明の文字画像変換方法
によれば、入力文書画像を整列させて出力するに際し
て、ネットワークを介して接続された文書画像入力装
置、文書画像出力装置及び文書画像変換装置が、請求項
1から請求項31のいずれかに記載の文書画像変換処理
を実行しているので、OCRを用いた場合のようにコン
テンツに変更が加わるような変換を避けるとともに、背
景等の文書に付随する情報も知覚できるようにしつつ、
PDA等の表示領域の限られたデバイス上に文書画像を
効率よく表示することができ、出力画像の数を向上させ
ることができるとともに、視認性を向上させることがで
きる。
According to the character image conversion method of the present invention, when aligning and outputting input document images, a document image input device, a document image output device, and a document image conversion device connected via a network. However, since the document image conversion processing according to any one of claims 1 to 31 is performed, conversion that changes the content as in the case of using OCR is avoided, and the document such as the background is converted. While making it possible to perceive information accompanying
A document image can be efficiently displayed on a device having a limited display area such as a PDA, the number of output images can be improved, and the visibility can be improved.

【0347】請求項33記載の発明の文書画像変換プロ
グラムによれば、入力文書画像を整列させて出力するに
際して、請求項1から請求項32に記載の文書画像変換
方法を実行しているので、OCRを用いた場合のように
コンテンツに変更が加わるような変換を避けるととも
に、背景等の文書に付随する情報も知覚できるようにし
つつ、PDA等の表示領域の限られたデバイス上に文書
画像を効率よく表示することができ、出力画像の数を向
上させることができるとともに、視認性を向上させるこ
とができる。
According to the document image conversion program of the present invention, when the input document images are arranged and output, the document image conversion method according to any one of claims 1 to 32 is executed. While avoiding conversion that changes the content as in the case of using OCR, the document image can be displayed on a device with a limited display area, such as a PDA, while allowing information accompanying the document such as the background to be perceived. Display can be performed efficiently, the number of output images can be improved, and visibility can be improved.

【0348】請求項34記載の発明の文書画像変換装置
によれば、入力文書画像を整列させて出力するに際し
て、請求項1から請求項31に記載の文書画像変換方法
を用いているので、OCRを用いた場合のようにコンテ
ンツに変更が加わるような変換を避けるとともに、背景
等の文書に付随する情報も知覚できるようにしつつ、P
DA等の表示領域の限られたデバイス上に文書画像を効
率よく表示することができ、出力画像の数を向上させる
ことができるとともに、視認性を向上させることができ
る。
According to the document image conversion apparatus of the present invention, when the input document images are arranged and output, the document image conversion method according to any one of claims 1 to 31 is used. In addition to avoiding conversion that changes the content as in the case of using, the information such as the background can be perceived with information accompanying the document.
The document image can be efficiently displayed on a device having a limited display area such as DA, the number of output images can be improved, and the visibility can be improved.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の文書画像変換方法、文書画像変換プロ
グラム及び文書画像変換装置の第1の実施の形態を適用
した文書画像変換装置の概略ブロック構成図。
FIG. 1 is a schematic block diagram of a document image conversion apparatus to which a first embodiment of a document image conversion method, a document image conversion program, and a document image conversion apparatus according to the present invention is applied.

【図2】図1の文書画像変換装置の回路ブロック図。FIG. 2 is a circuit block diagram of the document image conversion device of FIG. 1;

【図3】図1の文書画像変換装置の機能ブロック図。FIG. 3 is a functional block diagram of the document image conversion device of FIG. 1;

【図4】図3の文書画像変換装置による文書画像変換処
理を示すフローチャート。
FIG. 4 is a flowchart showing a document image conversion process by the document image conversion device of FIG. 3;

【図5】図4の文書画像変換処理で文書変換する入力画
像、出力画像及び出力画面の表示サイズの一例を示す
図。
FIG. 5 is a diagram showing an example of an input image, an output image, and a display size of an output screen to be subjected to document conversion in the document image conversion processing of FIG. 4;

【図6】図5の入力画像を単純に分割した場合の出力画
像及び出力画面の表示サイズの一例を示す図。
6 is a diagram showing an example of an output image and a display size of an output screen when the input image of FIG. 5 is simply divided.

【図7】図4の文書画像変換処理での入力画像と出力画
像の一例を示す図。
FIG. 7 is a diagram showing an example of an input image and an output image in the document image conversion processing of FIG.

【図8】本発明の文書画像変換方法、文書画像変換プロ
グラム及び文書画像変換装置の第2の実施の形態を適用
した文書画像変換装置による文書画像変換処理を示すフ
ローチャート。
FIG. 8 is a flowchart illustrating a document image conversion process by a document image conversion apparatus to which a second embodiment of the document image conversion method, the document image conversion program, and the document image conversion apparatus according to the present invention is applied.

【図9】本発明の文書画像変換方法、文書画像変換プロ
グラム及び文書画像変換装置の第3の実施の形態を適用
した文書画像変換装置による文書画像変換処理を示すフ
ローチャート。
FIG. 9 is a flowchart illustrating a document image conversion process by a document image conversion apparatus to which a third embodiment of the document image conversion method, the document image conversion program, and the document image conversion apparatus according to the present invention is applied.

【図10】図9の文書画像変換処理での入力画像と出力
画像の一例を示す図。
FIG. 10 is a view showing an example of an input image and an output image in the document image conversion processing of FIG. 9;

【図11】本発明の文書画像変換方法、文書画像変換プ
ログラム及び文書画像変換装置の第4の実施の形態を適
用した文書画像変換装置による文書画像変換処理を示す
フローチャート。
FIG. 11 is a flowchart illustrating a document image conversion process by a document image conversion apparatus to which a fourth embodiment of the document image conversion method, the document image conversion program, and the document image conversion apparatus according to the present invention is applied.

【図12】本発明の文書画像変換方法、文書画像変換プ
ログラム及び文書画像変換装置の第5の実施の形態を適
用した文書画像変換装置による文書画像変換処理を示す
フローチャート。
FIG. 12 is a flowchart illustrating a document image conversion process by a document image conversion apparatus to which a fifth embodiment of the document image conversion method, the document image conversion program, and the document image conversion apparatus according to the present invention is applied.

【図13】図12の文書画像変換処理での行内矩形最大
高さと行高さの比が小さい場合と大きい場合の出力画像
の行の高さの決定方法の一例を示す図。
13 is a diagram illustrating an example of a method of determining the line height of an output image when the ratio between the maximum height of an in-line rectangle and the line height in the document image conversion process in FIG. 12 is small and large.

【図14】本発明の文書画像変換方法、文書画像変換プ
ログラム及び文書画像変換装置の第6の実施の形態を適
用した文書画像変換装置による文書画像変換処理を示す
フローチャート。
FIG. 14 is a flowchart illustrating a document image conversion process by a document image conversion apparatus to which a sixth embodiment of the document image conversion method, the document image conversion program, and the document image conversion apparatus according to the present invention is applied.

【図15】本発明の文書画像変換方法、文書画像変換プ
ログラム及び文書画像変換装置の第7の実施の形態を適
用した文書画像変換装置による文書画像変換処理で入力
画像の行画像のうち、出力画像の行高さに収まらない部
分のみを縮小する一例を示す図。
FIG. 15 is a diagram illustrating a document image conversion method, a document image conversion program, and a document image conversion apparatus according to a seventh embodiment of the present invention. FIG. 9 is a diagram illustrating an example of reducing only a portion that does not fit in a line height of an image.

【図16】本発明の文書画像変換方法、文書画像変換プ
ログラム及び文書画像変換装置の第8の実施の形態を適
用した文書画像変換装置による文書画像変換処理を示す
フローチャート。
FIG. 16 is a flowchart showing a document image conversion process by a document image conversion apparatus to which a document image conversion method, a document image conversion program, and a document image conversion apparatus according to an eighth embodiment of the present invention are applied.

【図17】本発明の文書画像変換方法、文書画像変換プ
ログラム及び文書画像変換装置の第9の実施の形態を適
用した文書画像変換装置による文書画像変換処理を示す
フローチャート。
FIG. 17 is a flowchart illustrating a document image conversion process by a document image conversion apparatus to which a ninth embodiment of the document image conversion method, the document image conversion program, and the document image conversion apparatus according to the present invention is applied.

【図18】入力画像を出力画像にオーバラップさせずに
貼り付けて文字の途中で行が切れている場合の一例を示
す図。
FIG. 18 is a diagram illustrating an example in which an input image is pasted without overlapping with an output image and a line is cut off in the middle of a character.

【図19】図17の文書画像変換処理で入力画像を出力
画像にオーバラップさせて貼り付けた場合の一例を示す
図。
FIG. 19 is a diagram illustrating an example of a case where an input image is overlapped and pasted on an output image in the document image conversion process of FIG. 17;

【図20】本発明の文書画像変換方法、文書画像変換プ
ログラム及び文書画像変換装置の第10の実施の形態を
適用した文書画像変換装置による文書画像変換処理を示
すフローチャート。
FIG. 20 is a flowchart illustrating a document image conversion process by a document image conversion apparatus to which a tenth embodiment of the document image conversion method, the document image conversion program, and the document image conversion apparatus according to the present invention is applied.

【図21】図20の文書画像変換処理による入力画像の
行の幅と出力画像の業の幅の両方を用いてオーバラップ
幅を決定して入力画像を出力画像にオーバラップさせて
貼り付けた場合の一例を示す図。
21 determines an overlap width by using both the line width of the input image and the width of the output image by the document image conversion processing of FIG. 20, and overlaps the input image with the output image and pastes the overlapped image; The figure which shows an example of the case.

【符号の説明】[Explanation of symbols]

1 文書画像変換装置 2 プログラム実行装置 3 入力装置 3a キーボード 4 出力装置 4a ディスプレイ 5 読取装置 5a CD−ROMドライブ 6 記録媒体 6a CD−ROM 11 CPU 12 ROM 13 RAM 14 ハードディスク 15 バス 21 画像入力部 22 画像出力部 23 矩形抽出部 24 行切り出し部 25 文字切り出し部 26 行画像配置部 1 Document image conversion device 2 Program execution device 3 Input device 3a keyboard 4 Output device 4a display 5 Reader 5a CD-ROM drive 6 Recording media 6a CD-ROM 11 CPU 12 ROM 13 RAM 14 Hard Disk 15 Bus 21 Image input unit 22 Image output unit 23 rectangle extractor 24 line segmentation 25 Character cutout 26 line image placement unit

Claims (34)

【特許請求の範囲】[Claims] 【請求項1】入力文書画像を整列させて出力する文書画
像変換方法において、前記入力文書画像に対して行切り
出し処理を施して行画像を生成し、当該生成した行画像
をつなぎ合わせて出力画像を生成することを特徴とする
文書画像変換方法。
In a document image conversion method for aligning and outputting input document images, a line image is generated by performing line cutout processing on the input document image, and the generated line images are connected to form an output image. Generating a document image.
【請求項2】前記文書画像変換方法は、前記出力画像の
各行の高さを、前記入力画像内の矩形の最大高さに基づ
いて決定することを特徴とする請求項1記載の文書画像
変換方法。
2. The document image conversion method according to claim 1, wherein said document image conversion method determines a height of each line of said output image based on a maximum height of a rectangle in said input image. Method.
【請求項3】前記文書画像変換方法は、前記出力画像の
各行の高さを、前記入力画像内の文字の最大高さに基づ
いて決定することを特徴とする請求項1記載の文書画像
変換方法。
3. The document image conversion method according to claim 1, wherein said document image conversion method determines a height of each line of said output image based on a maximum height of characters in said input image. Method.
【請求項4】前記文書画像変換方法は、前記出力画像の
各行の高さを、当該出力画像の各行に配置される入力画
像の高さに基づいて決定することを特徴とする請求項1
記載の文書画像変換方法。
4. The document image conversion method according to claim 1, wherein the height of each line of the output image is determined based on the height of an input image arranged on each line of the output image.
Document image conversion method described.
【請求項5】前記文書画像変換方法は、前記出力画像の
各行の高さを、前記入力画像内の行の最大高さとするこ
とを特徴とする請求項1記載の文書画像変換方法。
5. The document image conversion method according to claim 1, wherein said document image conversion method sets a height of each line of said output image to a maximum height of a line in said input image.
【請求項6】前記文書画像変換方法は、前記出力画像の
各行の高さを、当該出力画像の各行に配置される入力画
像の行に含まれる矩形の最大高さに基づいて決定するこ
とを特徴とする請求項1記載の文書画像変換方法。
6. The document image conversion method according to claim 1, wherein a height of each line of the output image is determined based on a maximum height of a rectangle included in a line of the input image arranged on each line of the output image. The document image conversion method according to claim 1, wherein:
【請求項7】前記文書画像変換方法は、前記出力画像の
各行の高さを、当該出力画像の各行に配置される入力画
像の行に含まれる文字の最大高さに基づいて決定するこ
とを特徴とする請求項1記載の文書画像変換方法。
7. The document image conversion method according to claim 1, wherein a height of each line of the output image is determined based on a maximum height of a character included in a line of the input image arranged on each line of the output image. The document image conversion method according to claim 1, wherein:
【請求項8】前記文書画像変換方法は、前記出力画像の
各行の高さを、当該出力画像の各行に配置される入力画
像の行の高さと当該入力画像の行内の矩形高さの最大値
との比が1に近い場合には、当該出力画像の各行に配置
される入力画像の行に含まれる矩形の最大高さに基づい
て決定し、それ以外の場合には、当該出力画像の各行に
配置される入力画像の高さに基づいて決定し、または、
前記入力画像内の行の最大高さとすることを特徴とする
請求項1記載の文書画像変換方法。
8. The document image conversion method according to claim 1, wherein the height of each line of the output image is determined by a maximum value of a height of a line of an input image arranged on each line of the output image and a maximum height of a rectangle within the line of the input image. If the ratio is close to 1, it is determined based on the maximum height of the rectangle included in the row of the input image arranged in each row of the output image. Otherwise, each row of the output image is determined. Is determined based on the height of the input image placed in the
2. The document image conversion method according to claim 1, wherein a maximum height of a line in the input image is set.
【請求項9】前記文書画像変換方法は、前記出力画像の
各行の高さを、当該出力画像の各行に配置される入力画
像の行の高さと当該入力画像の行内の矩形高さの最大値
との差が所定値よりも小さい場合には、当該出力画像の
各行に配置される入力画像の行に含まれる矩形の最大高
さに基づいて決定し、それ以外の場合には、当該出力画
像の各行に配置される入力画像の高さに基づいて決定
し、または、前記入力画像内の行の最大高さとすること
を特徴とする請求項1記載の文書画像変換方法。
9. The document image conversion method according to claim 1, wherein a height of each line of the output image is determined by a maximum value of a height of a line of an input image arranged on each line of the output image and a maximum value of a rectangular height within the line of the input image. Is smaller than a predetermined value, it is determined based on the maximum height of a rectangle included in a row of the input image arranged in each row of the output image, otherwise, the output image is 2. The document image conversion method according to claim 1, wherein the determination is made based on the height of the input image arranged in each row, or the maximum height of the row in the input image.
【請求項10】前記文書画像変換方法は、前記出力画像
の各行の高さを、当該出力画像の各行に配置される入力
画像の行の高さと当該入力画像の行内の矩形高さの最大
値との比が1に近い場合には、当該出力画像の各行に配
置される入力画像の行に含まれる文字の最大高さに基づ
いて決定し、それ以外の場合には、当該出力画像の各行
に配置される入力画像の高さに基づいて決定し、また
は、前記入力画像内の行の最大高さとすることを特徴と
する請求項1記載の文書画像変換方法。
10. The document image conversion method according to claim 1, wherein the height of each line of the output image is set to a maximum value of a height of a line of an input image arranged on each line of the output image and a maximum value of a rectangular height within the line of the input image. If the ratio is close to 1, it is determined based on the maximum height of the characters included in the line of the input image arranged in each line of the output image. Otherwise, each line of the output image is determined. 2. The document image conversion method according to claim 1, wherein the determination is made based on the height of the input image arranged in the input image, or the maximum height of a line in the input image.
【請求項11】前記文書画像変換方法は、前記出力画像
の各行の高さを、当該出力画像の各行に配置される入力
画像の行の高さと当該入力画像の行内の矩形高さの最大
値との差が所定値よりも小さい場合には、当該出力画像
の各行に配置される入力画像の行に含まれる文字の最大
高さに基づいて決定し、それ以外の場合には、当該出力
画像の各行に配置される入力画像の高さに基づいて決定
し、または、前記入力画像内の行の最大高さとすること
を特徴とする請求項1記載の文書画像変換方法。
11. The document image conversion method according to claim 1, wherein a height of each line of the output image is determined by a maximum value of a height of a line of an input image arranged on each line of the output image and a maximum height of a rectangle within the line of the input image. Is smaller than a predetermined value, it is determined based on the maximum height of the characters included in the line of the input image arranged on each line of the output image. Otherwise, the output image is determined. 2. The document image conversion method according to claim 1, wherein the determination is made based on the height of the input image arranged in each row, or the maximum height of the row in the input image.
【請求項12】前記文書画像変換方法は、前記入力画像
の行画像を、前記出力画像の行の高さに合わせて縮小す
ることを特徴とする請求項6から請求項11のいずれか
に記載の文書画像変換方法。
12. The document image conversion method according to claim 6, wherein the line image of the input image is reduced according to the height of the line of the output image. Document image conversion method.
【請求項13】前記文書画像変換方法は、前記入力画像
の行画像を、前記出力画像の行の高さを超える矩形を出
力画像の行内に移動することを特徴とする請求項6から
請求項11のいずれかに記載の文書画像変換方法。
13. The document image conversion method according to claim 6, wherein the line image of the input image is moved by moving a rectangle exceeding the height of the line of the output image into the line of the output image. 12. The document image conversion method according to any one of items 11.
【請求項14】前記文書画像変換方法は、前記入力画像
の行画像を、前記出力画像の行の範囲を超える文字画素
のあるラインについて、出力画像の行の範囲に収まる大
きさに縮小することを特徴とする請求項6から請求項1
1のいずれかに記載の文書画像変換方法。
14. The document image conversion method according to claim 1, wherein the line image of the input image is reduced to a size within a line range of the output image for a line having character pixels exceeding a line range of the output image. 6. The method according to claim 6, wherein:
2. The document image conversion method according to any one of 1.
【請求項15】前記文書画像変換方法は、前記出力画像
の行の範囲を超える文字画素のあるラインについて、当
該出力画像の背景画素を削除して前記出力画像の行の範
囲に収まる大きさに縮小することを特徴とする請求項1
4記載の文書画像変換方法。
15. The document image conversion method according to claim 1, wherein, for a line having character pixels exceeding a range of the line of the output image, a background pixel of the output image is deleted so that the size of the line falls within the range of the line of the output image. 2. The method according to claim 1, wherein the size is reduced.
4. The document image conversion method according to item 4.
【請求項16】前記文書画像変換方法は、前記出力画像
の行の範囲を超える文字画素のあるラインについて、当
該出力画像の前景と背景のエッジの数を保った状態で前
記出力画像の行の範囲に収まる大きさに縮小することを
特徴とする請求項14記載の文書画像変換方法。
16. The document image conversion method according to claim 1, wherein, for a line having character pixels exceeding a range of the line of the output image, the number of edges of the foreground and the background of the output image is maintained. 15. The document image conversion method according to claim 14, wherein the document image is reduced to a size within a range.
【請求項17】前記文書画像変換方法は、前記出力画像
の各行の高さを、当該出力画像の高さに基づいて設定す
ることを特徴とする請求項1から請求項16のいずれか
に記載の文書画像変換方法。
17. The document image conversion method according to claim 1, wherein the height of each line of the output image is set based on the height of the output image. Document image conversion method.
【請求項18】前記文書画像変換方法は、前記入力画像
の各行を、前記出力画像の行の高さに応じて拡大または
縮小することを特徴とする請求項17記載の文書画像変
換方法。
18. The document image conversion method according to claim 17, wherein said document image conversion method enlarges or reduces each line of said input image in accordance with a height of a line of said output image.
【請求項19】前記文書画像変換方法は、前記出力画像
の各行の高さを、当該出力画像を表示する機器の標準の
値に基づいて設定することを特徴とする請求項1から請
求項16のいずれかに記載の文書画像変換方法。
19. The document image conversion method according to claim 1, wherein the height of each line of the output image is set based on a standard value of a device that displays the output image. Document image conversion method according to any one of the above.
【請求項20】前記文書画像変換方法は、前記入力画像
の各行を、前記出力画像の行の高さに応じて拡大または
縮小することを特徴とする請求項19記載の文書画像変
換方法。
20. The document image conversion method according to claim 19, wherein said document image conversion method enlarges or reduces each line of said input image in accordance with the height of said output image line.
【請求項21】前記文書画像変換方法は、前記入力画像
の各行を、前記出力画像の行末で分割する際に、当該分
割位置の前後に行画像を重複させて出力することを特徴
とする請求項1から請求項20のいずれかに記載の文書
画像変換方法。
21. The document image conversion method according to claim 21, wherein, when each line of the input image is divided at the end of the line of the output image, a line image is output before and after the division position. The document image conversion method according to any one of claims 1 to 20.
【請求項22】前記文書画像変換方法は、前記重複させ
る行画像の幅を、前記入力画像の行画像の高さに基づい
て設定することを特徴とする請求項21記載の文書画像
変換方法。
22. The document image conversion method according to claim 21, wherein the document image conversion method sets a width of the line image to be overlapped based on a height of the line image of the input image.
【請求項23】前記文書画像変換方法は、前記重複させ
る行画像の幅を、前記出力画像の行の高さに基づいて設
定することを特徴とする請求項21記載の文書画像変換
方法。
23. The document image conversion method according to claim 21, wherein in the document image conversion method, a width of the line image to be overlapped is set based on a line height of the output image.
【請求項24】前記文書画像変換方法は、前記重複させ
る行画像の幅を、前記入力画像の画像内の矩形サイズに
基づいて設定することを特徴とする請求項21記載の文
書画像変換方法。
24. The document image conversion method according to claim 21, wherein in the document image conversion method, the width of the line image to be overlapped is set based on a rectangular size in the image of the input image.
【請求項25】前記文書画像変換方法は、前記重複させ
る行画像の幅を、前記入力画像の画像内の矩形の高さに
基づいて設定することを特徴とする請求項21記載の文
書画像変換方法。
25. The document image conversion method according to claim 21, wherein in the document image conversion method, a width of the line image to be overlapped is set based on a height of a rectangle in the image of the input image. Method.
【請求項26】前記文書画像変換方法は、前記重複させ
る行画像の幅を、前記入力画像の画像内の矩形の幅に基
づいて設定することを特徴とする請求項21記載の文書
画像変換方法。
26. The document image conversion method according to claim 21, wherein the document image conversion method sets the width of the line image to be overlapped based on the width of a rectangle in the image of the input image. .
【請求項27】前記文書画像変換方法は、前記重複させ
る行画像の幅を、前記入力画像の画像内の文字サイズに
基づいて設定することを特徴とする請求項21記載の文
書画像変換方法。
27. The document image conversion method according to claim 21, wherein the document image conversion method sets a width of the line image to be overlapped based on a character size in the image of the input image.
【請求項28】前記文書画像変換方法は、前記重複させ
る行画像の幅を、前記入力画像の画像内の文字の高さに
基づいて設定することを特徴とする請求項21記載の文
書画像変換方法。
28. The document image conversion method according to claim 21, wherein in the document image conversion method, the width of the line image to be overlapped is set based on the height of a character in the image of the input image. Method.
【請求項29】前記文書画像変換方法は、前記重複させ
る行画像の幅を、前記入力画像の画像内の文字の幅に基
づいて設定することを特徴とする請求項21記載の文書
画像変換方法。
29. The document image conversion method according to claim 21, wherein the document image conversion method sets the width of the line image to be overlapped based on the width of characters in the image of the input image. .
【請求項30】前記文書画像変換方法は、前記重複させ
る行画像の幅を、前記入力画像の行画像の幅と前記出力
画像の幅に基づいて設定することを特徴とする請求項2
1記載の文書画像変換方法。
30. The document image conversion method according to claim 2, wherein the width of the line image to be overlapped is set based on the width of the line image of the input image and the width of the output image.
1. The document image conversion method according to 1.
【請求項31】前記文書画像変換方法は、前記入力画像
の行画像の幅をA、前記出力画像の幅をBとし、BをN
(整数)倍したときに初めてAより大きくなる場合に、
前記重複させる行画像の幅Vを、V=(NB−A)/N
とすることを特徴とする請求項30記載の文書画像変換
方法。
31. The document image conversion method, wherein the width of the line image of the input image is A, the width of the output image is B, and B is N
When it becomes larger than A for the first time when multiplied by (integer),
The width V of the line image to be overlapped is defined as V = (NB−A) / N
31. The document image conversion method according to claim 30, wherein:
【請求項32】入力文書画像を整列させて出力する文書
画像変換方法において、ネットワークを介して接続され
た文書画像入力装置、文書画像出力装置及び文書画像変
換装置が、前記請求項1から請求項31のいずれかに記
載の文書画像変換処理を実行することを特徴とする文書
画像変換方法。
32. In a document image conversion method for arranging and outputting input document images, a document image input device, a document image output device and a document image conversion device connected via a network are provided. 31. A document image conversion method according to any one of 31.
【請求項33】入力文書画像を整列させて出力する文書
画像変換プログラムにおいて、前記請求項1から請求項
32に記載の文書画像変換方法を実行することを特徴と
する文書画像変換プログラム。
33. A document image conversion program for arranging and outputting input document images, wherein the document image conversion method according to claim 1 is executed.
【請求項34】入力文書画像を整列させて出力する文書
画像変換装置において、前記請求項1から請求項31に
記載の文書画像変換方法を用いることを特徴とする文書
画像変換装置。
34. A document image conversion device for arranging and outputting input document images, wherein the document image conversion method according to claim 1 is used.
JP2002156331A 2002-05-29 2002-05-29 Document image conversion method, document image conversion program, and document image conversion apparatus Expired - Fee Related JP3993025B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002156331A JP3993025B2 (en) 2002-05-29 2002-05-29 Document image conversion method, document image conversion program, and document image conversion apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002156331A JP3993025B2 (en) 2002-05-29 2002-05-29 Document image conversion method, document image conversion program, and document image conversion apparatus

Publications (2)

Publication Number Publication Date
JP2003348326A true JP2003348326A (en) 2003-12-05
JP3993025B2 JP3993025B2 (en) 2007-10-17

Family

ID=29772607

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002156331A Expired - Fee Related JP3993025B2 (en) 2002-05-29 2002-05-29 Document image conversion method, document image conversion program, and document image conversion apparatus

Country Status (1)

Country Link
JP (1) JP3993025B2 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006115407A (en) * 2004-10-18 2006-04-27 Ricoh Co Ltd Image processing device, image processing method, program, and recording medium
JP2007074694A (en) * 2005-08-12 2007-03-22 Canon Inc Image-editing apparatus and control method for the same, computer program, storage media
JP2007199919A (en) * 2006-01-25 2007-08-09 Infocity Inc Image processing apparatus and method
CN100341035C (en) * 2004-03-16 2007-10-03 乐金电子(中国)研究开发中心有限公司 Device and method for displaying multi-pictures of portable terminal machine
JP2010118932A (en) * 2008-11-13 2010-05-27 Canon Inc Image processing apparatus
JP2010147723A (en) * 2008-12-17 2010-07-01 Canon Inc Image processing apparatus, and method of controlling the same
US7933447B2 (en) 2005-09-01 2011-04-26 Canon Kabushiki Kaisha Image processing apparatus and method thereof

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100341035C (en) * 2004-03-16 2007-10-03 乐金电子(中国)研究开发中心有限公司 Device and method for displaying multi-pictures of portable terminal machine
JP2006115407A (en) * 2004-10-18 2006-04-27 Ricoh Co Ltd Image processing device, image processing method, program, and recording medium
JP2007074694A (en) * 2005-08-12 2007-03-22 Canon Inc Image-editing apparatus and control method for the same, computer program, storage media
JP4652978B2 (en) * 2005-08-12 2011-03-16 キヤノン株式会社 Image editing apparatus, control method therefor, and computer program
US7933447B2 (en) 2005-09-01 2011-04-26 Canon Kabushiki Kaisha Image processing apparatus and method thereof
JP2007199919A (en) * 2006-01-25 2007-08-09 Infocity Inc Image processing apparatus and method
JP2010118932A (en) * 2008-11-13 2010-05-27 Canon Inc Image processing apparatus
JP2010147723A (en) * 2008-12-17 2010-07-01 Canon Inc Image processing apparatus, and method of controlling the same

Also Published As

Publication number Publication date
JP3993025B2 (en) 2007-10-17

Similar Documents

Publication Publication Date Title
WO2000033289A1 (en) Image display device
US7616813B2 (en) Background area extraction in document layout analysis
JP2009009527A (en) Image processor, image processing method, and computer program
US20090041352A1 (en) Image formation device, image formation method, and computer-readable recording medium recording image formation program
JP2009146064A (en) Image processor, image processing method, and program and storage medium thereof
JP2005073015A (en) Device and method for image processing and computer program
JP2010108389A (en) Image display device and program
US20100332972A1 (en) Document processor, document processing method, and computer readable medium
JP5790082B2 (en) Document recognition apparatus, document recognition method, program, and storage medium
JP2003348326A (en) Document image conversion method, document image conversion program and document image converting apparatus
CN108989704B (en) Image generation method and device and terminal equipment
JP2008234147A (en) Document image display device, document image display method, and document image display program
JPH11272690A (en) Data display device, method therefor and recording medium recorded with data displaying program
JPH09325755A (en) Picture compression data processor and picture display method
JP4741916B2 (en) Image processing apparatus, image processing method, and computer-readable recording medium storing image processing program for executing the method
JP2011040075A (en) Image processing device, image processing method and computer program
JP2004299104A (en) Image data processor and image forming apparatus
JPH04318892A (en) Information processor and display control circuit
JP3711735B2 (en) Document image processing apparatus and recording medium
JP4690645B2 (en) Character display device, character display method, program, and recording medium
JP4125245B2 (en) Document display method and document display apparatus
JP2004220621A (en) Data display device and method, and recording medium with data display program recorded
CN117077617A (en) Method, apparatus, and storage medium for printing dynamic pages and presentations
JPH08339417A (en) Device and method for recognition of european and american character
JP4670278B2 (en) Document display device and document display program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041214

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20041224

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20061225

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070116

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070315

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070424

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070625

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070725

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

Free format text: PAYMENT UNTIL: 20100803

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100803

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110803

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110803

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120803

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120803

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130803

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees