WO2014045752A1 - Text image display control device, operation control method therefor, and operation control program therefor - Google Patents

Text image display control device, operation control method therefor, and operation control program therefor Download PDF

Info

Publication number
WO2014045752A1
WO2014045752A1 PCT/JP2013/071482 JP2013071482W WO2014045752A1 WO 2014045752 A1 WO2014045752 A1 WO 2014045752A1 JP 2013071482 W JP2013071482 W JP 2013071482W WO 2014045752 A1 WO2014045752 A1 WO 2014045752A1
Authority
WO
WIPO (PCT)
Prior art keywords
character image
enlargement
image area
size
character
Prior art date
Application number
PCT/JP2013/071482
Other languages
French (fr)
Japanese (ja)
Inventor
野中 俊一郎
典久 羽田
Original Assignee
富士フイルム株式会社
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 富士フイルム株式会社 filed Critical 富士フイルム株式会社
Publication of WO2014045752A1 publication Critical patent/WO2014045752A1/en

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/22Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of characters or indicia using display control signals derived from coded signals representing the characters or indicia, e.g. with a character-code memory
    • G09G5/24Generation of individual character patterns
    • G09G5/28Generation of individual character patterns for enhancement of character form, e.g. smoothing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • G06T3/4092Image resolution transcoding, e.g. by using client-server architectures
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/22Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of characters or indicia using display control signals derived from coded signals representing the characters or indicia, e.g. with a character-code memory
    • G09G5/24Generation of individual character patterns
    • G09G5/26Generation of individual character patterns for modifying the character dimensions, e.g. double width, double height
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/106Display of layout of documents; Previewing

Definitions

  • the present invention relates to a document image display control device, its operation control method, and its operation control program.
  • JP 2012-49583 A Japanese Patent Laid-Open No. 11-272871
  • the resolution is not degraded by enlarging the character.
  • the character image included in the document image is enlarged, the resolution is lowered, and the character image may be difficult to see.
  • An object of the present invention is to prevent a character image from becoming difficult to see due to enlargement.
  • the document image display control device has a number of pixels in a character image area (character number in the character image area, number of pixels in height, character number in the character image area) representing a character included in the document image obtained by imaging the document.
  • An allowable limit calculating means for determining the size of the enlargement allowable limit of the character image area based on the number of all the included pixels
  • an enlarging means for enlarging the character image area in response to the enlargement command for the character image area
  • Characters enlarged by the magnifying means in the judging means for judging whether or not the size of the character image area enlarged by the magnifying means exceeds the size of the enlargement allowable limit calculated by the allowable limit determining means.
  • the enlargement means enlarges the character image area.
  • the present invention also provides an operation control method suitable for a document image display control device. That is, in this method, the allowable limit calculating means determines the size of the enlargement allowable limit of the character image area based on the resolution of the character image area representing the character included in the document image in which the document is imaged. The character image area is enlarged in response to the enlargement command of the character image area, and the size of the character image area enlarged by the determining means is determined by the allowable limit determining means.
  • the stop warning means determines that the size of the character image area enlarged by the enlargement means has become the size of the enlargement allowable limit calculated by the allowable limit determination means. Accordingly, the enlargement means stops or warns the enlargement of the character image area, and the display control means displays the character image area enlarged by the enlargement means. It controls the display unit to display the.
  • the present invention also provides a computer readable program for implementing the operation control method of the document image display control device.
  • a recording medium storing such a program may also be provided.
  • the allowable enlargement limit of the character image area is determined based on the number of pixels of the character image area.
  • the character image region is enlarged in accordance with the enlargement command.
  • the enlargement is stopped or a warning is issued.
  • the enlarged character image area is displayed on the display screen of the display device. Since the character image is not represented by the text data but is imaged, when the character image area is enlarged, the unevenness of the edge of the character image becomes conspicuous and may be difficult to see.
  • the enlargement is stopped or a warning is performed. Therefore, the character image area is enlarged so as to be difficult to see. Is prevented in advance.
  • the permissible limit determining means preferably determines the size of the permissible limit in accordance with the viewing angle for viewing the character image area, for example.
  • FIG. 1 is a block diagram showing an electrical configuration of a multi-function mobile phone 1 called a so-called smartphone.
  • an imaged document (referred to as a document image) is displayed on the display screen of the mobile phone 1.
  • a character image constituting a document image is enlarged, it is enlarged and displayed at a predetermined allowable enlargement limit, but warning or enlargement stops when the allowable enlargement limit is reached. Is done.
  • the overall operation of the mobile phone 1 is controlled by the CPU 2.
  • the mobile phone 1 includes a display device 4 in which the display of the document image is controlled by the display control device 4.
  • a touch panel 5 is formed on the display screen of the display device 4.
  • the mobile phone 1 also includes a memory 6 for storing data and a communication device 7 for communicating with a network such as the Internet.
  • the mobile phone 1 is also provided with a memory card interface 12.
  • a recording medium such as a memory card 12 storing an operation program, which will be described later, is loaded into the memory card interface 11 and the operation program is read from the memory card 12, the operation program is stored in the mobile phone 1. Installed. Of course, the operation program may be downloaded using the communication device 7 and installed in the mobile phone 1.
  • the mobile phone 1 is also provided with a microphone 9 and a speaker 10.
  • the mobile phone 1 also includes an audio control device 8 for controlling the audio input from the microphone 9 and the audio output from the speaker 10.
  • Image data representing a document image, an area data file, a related file table, etc., which will be described later, are received by the communication device 7 and are already stored in the memory 6.
  • FIG. 2 is an example of an imaged document image 15.
  • the document image 15 includes areas F1 to F5.
  • the areas F1 to F5 are all rectangular (not necessarily rectangular), and four vertices are defined by coordinates when the upper left vertex of the document image 15 is the origin (X0, Y0).
  • the position of the region F1 is defined by coordinates (x11, y11), (x12, y12), (x13, y13), and (x14, y14).
  • the position of the region F2 is defined by coordinates (x21, y21), (x22, y22), (x23, y23), and (x24, y24).
  • the positions of the other regions F3 to F5 are defined by the coordinates of the four vertices.
  • Areas F1, F3, and F5 are areas where images (original images) are pasted before the document image 15 is imaged.
  • Areas F2 and F4 are areas in which a document represented by text data is represented before being imaged, and texts are imaged by being imaged.
  • the region F2 includes character images for 30 characters surrounded by a rectangle as indicated by reference characters C1 to C30. Characters are described in the rectangle. These character images C1 to C30 were represented by text data before being imaged, but are represented as images by being imaged.
  • the area F4 also includes a character image surrounded by a rectangle as indicated by the symbol C.
  • FIG. 3 is an enlarged view of the upper left part of the document image 15 of FIG. 2 compared to FIG.
  • the position of the character image C1 and the like is also defined with reference to the origin (X0, Y0) of the document image 15.
  • the position of the character image C1 is defined by coordinates (x101, y101), (x102, y102), (x103, y103), and (x104, y104). The same applies to other character images.
  • FIG. 4 is an example of a region data file for the document image 15.
  • the region data file stores information such as the region, the position of the character image, the number of regions, and the number of characters included in the document image 15. The number of lines is added to make it easier to understand.
  • first to sixth lines information about the area included in the document image 15 is described.
  • the first line describes the number of areas.
  • information about the first area F1 is described.
  • “F1” is a code for identifying the first area F1
  • “Picture” indicates that the image has been pasted before the first area F1 is imaged. Yes, "4" indicates that the first area F1 is a quadrangle, and x11, y11, x12, y12, x13, y13, x14, and y14 indicate the position coordinates of the first area F1.
  • Information about the second area F2 is described in the third line.
  • “F2” is a code for identifying the second area
  • “Text” is a character (character represented by the text data before the image included in the second area F2 is imaged).
  • "4" indicates that the second area F2 is a quadrangle, and the character string x21 and the like shifted to "4" indicate the position coordinates of the second area F2.
  • the information about the third area, the fourth area and the fifth area is an identification code, an image before being imaged, or a text. -Data indicating whether it was data, the number of vertices (4), and position coordinates are described.
  • the m-th line defines the number of characters (30 characters) represented by the character image included in the second area F2.
  • the code “C1” is the identification data of the first character image
  • “4” is the number of vertices of the first character
  • “x111 to y114” indicates the position coordinates of the character image C1.
  • the character “a” added following the position coordinates indicates that the character represented by the character image C1 is not a forbidden character.
  • the character image identification data, the number of character image vertices, the position coordinates of the character image, and whether or not the character image is a forbidden character are attached.
  • the identification data, the number of vertices, and the position coordinates for the character image C18 are described.
  • the number “70” is added to the end of the position coordinates. Yes.
  • the number “70” indicates the probability that the character image C18 is a forbidden character in percentage.
  • “70” indicates that the character represented by the character image C18 is a forbidden character with a probability of 70 percent. In this way, a probability indicating a prohibited character may be added after the position coordinates.
  • FIG. 5 is an example of a related file table.
  • the related file table stores the file name of the document image file representing the document image and the file name of the area data file for the document image.
  • the file name of the document image 15 shown in FIG. 2 is “image1.jpg”, and the file name of the area data file shown in FIG. 4 is “imge1-area.txt”.
  • the area data corresponding to the document image 15 is known. If there is a document image other than the document image 15, a related file table is generated corresponding to the document image, and an area data file corresponding to the document image is found from the generated related file table. Can do.
  • FIG. 6 is an example of the character image C1.
  • the character image C1 indicated by reference numeral 21 has the same size as the character image C1 included in the document image 15.
  • a character image C1 indicated by reference numeral 22 is obtained by enlarging the width of the character image C1 included in the document image 15 to 2n (cm).
  • a character image C1 indicated by reference numeral 23 is obtained by enlarging the character image C1 included in the document image 15 to 4n (cm).
  • the edge of the character represented as an image becomes conspicuous. As the character image is enlarged, the edges become more conspicuous and difficult to see. If the number of pixels of the character image (width, height, total number of pixels in the character image area) is large, the edge will not be noticeable even if the character image is enlarged, but if the character image is small, the edge will be noticeable if the character image is enlarged. End up.
  • an allowable size after enlargement is determined according to the number of pixels of the character image, and if the character image is enlarged beyond that size, a warning is given or enlargement itself cannot be performed.
  • FIG. 7 is an example of an allowable limit table.
  • ⁇ ⁇ Stores the size after enlargement that allows the character image of that resolution to be accepted according to the resolution of the character image.
  • the edge is not noticeable even if the character image is enlarged if the number of pixels of the character image is large, but if the character image is enlarged if the number of pixels of the character image is small, the edge becomes noticeable.
  • the smaller the number of pixels of the character image the smaller the allowable limit of the character image is set.
  • the allowable limit when the number of pixels of a character image is less than R1 pixels, R1 pixels to R2 pixels, R2 pixels to R3 pixels, R3 pixels to R4 pixels, and R4 pixels to R5 pixels is N (cm), 2n (cm), 3n (cm), 4n (cm), 5n (cm), and 6n (cm), respectively.
  • the number of pixels increases in the order of R1, R2, R3, R4, and R5.
  • Such an allowable limit enlargement rate table is also stored in the memory 6 of the mobile phone 1.
  • the size of the allowable limit is determined based on the allowable viewing angle. For example, if the viewing angle (allowable viewing angle) when the user views a character image having an allowable size width after enlargement is 2 ⁇ and the distance to the display screen is L, the allowable limit size ( (Width) is obtained by 2Ltan ⁇ . Since the distance to the display screen varies depending on the type of display device (cell phone, television device, large screen, etc.), the size of the allowable limit for character images also varies depending on the type of display device.
  • the character image C1 indicated by reference numeral 24 in FIG. 8 is obtained by enlarging the character image C1 included in the document image 15 to a size of 4n (cm) and performing correction processing, as shown in FIG. It is.
  • the edge becomes inconspicuous unlike the character image C1 enlarged to 4n (cm) as indicated by reference numeral 23 in FIG.
  • the character image may be corrected.
  • Such correction processing can be realized by detecting the edge of the character represented by the character image C1 and smoothing the edge.
  • 9 to 11 are flowcharts showing the processing procedure of the mobile phone 1.
  • the character image in the area F2 shown in FIG. 15 is displayed on the display screen of the mobile phone 1.
  • the document image data and the area data file representing the document image 15 stored in the memory 6 are read from the memory 6 (step 31). Then, based on the position data described in the area data file, character images C1 to C30 included in the area F2 of the document image 15 are extracted (step 32). The extracted character images C1 to C30 are arranged so as to be displayed on the display screen of the mobile phone 1 (step 33). The arranged character images C1 to C30 are displayed on the display screen (step 34).
  • FIG. 12 shows a state in which the extracted character images C1 to C30 are arranged on the display screen 50 of the mobile phone 1.
  • the character images C1 to C30 are arranged in three lines. Since the size of the area F2 of the document image 15 in which the character images C1 to C30 are arranged is larger than the size of the display screen 50, the character images C1 to C30 displayed on the display screen 50 as shown in FIG. Are arranged in a ratio of 8 per line.
  • step 35 when an enlargement command and an enlargement ratio are given to the mobile phone 1 (YES in step 35), whether the size of the character image after enlargement when enlarged according to the enlargement ratio is within an allowable limit. Is determined (step 36). For example, by placing two fingers on the touch panel 5 at the same time and tracing the touch panel 5 so that the fingers are separated (so-called pinch out), an enlargement command is given to the mobile phone 1. Given, the distance between those fingers is the magnification. It goes without saying that the enlargement command and the enlargement rate may be given to the mobile phone 1 by other methods.
  • the character images C1 to C30 are enlarged according to the given enlargement rate. (Step 37).
  • the enlarged character images C1 to C30 are rearranged so as to be displayed on the display screen 50 (step 38).
  • the rearranged character images C1 to C30 are displayed on the display screen 50 (step 39).
  • the size of the enlarged character image also depends on the resolution of the display screen of the display device 4 of the mobile phone 1. It is determined whether the size when the enlarged character image is displayed on the display screen is within an allowable limit.
  • FIG. 13 shows an example of the display screen 50 on which the rearranged character image C1 and the like are displayed.
  • the character images C29 and C30 are not displayed on the display screen 50, but the character images C29 and C30 are also displayed on the display screen 50 by scrolling the display screen 50.
  • the size (width) of the character images C1 to C30 included in the document image 15 is 2n (cm).
  • the number of pixels of the character images C1 to C30 included in the document image 15 is R1 pixels or more, and the allowable limit is 2n (cm). Therefore, the character images C1 to C30 enlarged to 2n (cm) are displayed on the display screen 50.
  • the mobile phone 1 is set to either the enlargement warning mode or the enlargement stop mode. (Step 40). These modes are set in the mobile phone 1 in advance, but when the size after enlargement exceeds the allowable limit, the user may set either the enlargement warning mode or the enlargement stop mode. Good.
  • the character images C1 to C30 are enlarged so as to be within the allowable limit (step 41). For example, if the number of pixels of the character images C1 to C30 is less than R1, the allowable limit is n (cm), and it is not enlarged beyond that size. Character images C1 to C30 enlarged to a permissible limit are rearranged (step 38) and displayed on the display screen 50.
  • a warning is given to the user (step 42). For example, a warning text may be displayed on the display screen 50 or a warning sound may be generated.
  • the correction mode is set (step 43).
  • the character images C1 to C30 are enlarged so as to have a given size exceeding the allowable limit (step 37), and from the enlarged character image C1.
  • C30 is rearranged and displayed (steps 38 and 39). The user will reduce the size of the character image if necessary.
  • step 43 If the correction mode is set (YES in step 43), the character image is enlarged to a size exceeding the allowable limit (step 44). Subsequently, as described above, the enlarged character image is corrected so that the edges become smooth (step 45). The corrected character images are rearranged (step 46) and displayed on the display screen 50.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

This text image display control device prevents text character images from becoming difficult to see when said images are magnified. Text character images that are included in a text image are extracted and the text character images are arranged for display on the display screen of a mobile phone. When a magnification command and a magnification rate are provided to the mobile phone, verification is performed to determine whether the size of the text character images is within an allowable size limit when said images are magnified by the provided magnification rate (Step 36). When the allowable limit is surpassed ("NO" at Step 36), the edges of the magnified text character images become conspicuous and make the text character images difficult to see. When set to a stop mode, the text character images are magnified to the allowable limit size (Step 41) and are not enlarged to a size that surpasses the allowable limit. The text character images that have been magnified to the allowable size limit are rearranged and displayed on the display screen (Steps 38, 39).

Description

文書画像表示制御装置ならびにその動作制御方法およびその動作制御プログラムDocument image display control device, operation control method thereof, and operation control program thereof
 この発明は,文書画像表示制御装置ならびにその動作制御方法およびその動作制御プログラムに関する。 The present invention relates to a document image display control device, its operation control method, and its operation control program.
 テキスト・ファイルによって文書が表わされるのではなく,文書が画像化されている文書画像がある。そのような文書画像において,画像化された文字が記述されている文字領域と写真領域とが混在している場合がある。そのような文書画像においては,写真の説明文については拡大せずに文字領域だけを文字拡大対象領域として検出するものがある(特許文献1)。また,指定サイズに収まるように文字画像を拡大するものもある(特許文献2)。 There is a document image in which a document is imaged instead of being represented by a text file. In such a document image, there may be a case where a character region in which an imaged character is described and a photo region are mixed. Among such document images, there is an image that detects only a character area as a character enlargement target area without enlarging a description of a photograph (Patent Document 1). Also, there is a technique that enlarges a character image so as to fit within a specified size (Patent Document 2).
特開2012-49583号公報JP 2012-49583 A 特開平11-272871号公報Japanese Patent Laid-Open No. 11-272871
 テキスト・データによって表わされる文字であれば,文字を拡大して解像度が悪くなることは無い。しかしながら,文書画像に含まれる文字画像を拡大すると解像度が低下してしまうので,文字画像が見づらくなることがある。 If it is a character represented by text data, the resolution is not degraded by enlarging the character. However, when the character image included in the document image is enlarged, the resolution is lowered, and the character image may be difficult to see.
 この発明は,拡大することにより文字画像が見づらくなってしまうことを未然に防止することを目的とする。 An object of the present invention is to prevent a character image from becoming difficult to see due to enlargement.
 この発明による文書画像表示制御装置は,文書が画像化された文書画像に含まれる文字を表わす文字画像領域の画素数(文字画像領域の幅の画素数,高さの画素数,文字画像領域に含まれているすべての画素の画素数)にもとづいて文字画像領域の拡大許容限度の大きさを決定する許容限度算出手段,文字画像領域の拡大指令に応じて文字画像領域を拡大する拡大手段,拡大手段によって拡大された文字画像領域の大きさが,許容限度決定手段によって算出された拡大許容限度の大きさ以上となったかどうかを判定する判定手段,判定手段において,拡大手段によって拡大された文字画像領域の大きさが,許容限度決定手段によって決定された拡大許容限度の大きさとなったと判定されたことに応じて,拡大手段による文字画像領域の拡大の停止または警告を行う停止警告手段,および拡大手段によって拡大された文字画像領域を表示画面に表示するように表示装置を制御する表示制御手段を備えていることを特徴とする。 The document image display control device according to the present invention has a number of pixels in a character image area (character number in the character image area, number of pixels in height, character number in the character image area) representing a character included in the document image obtained by imaging the document. An allowable limit calculating means for determining the size of the enlargement allowable limit of the character image area based on the number of all the included pixels), an enlarging means for enlarging the character image area in response to the enlargement command for the character image area, Characters enlarged by the magnifying means in the judging means for judging whether or not the size of the character image area enlarged by the magnifying means exceeds the size of the enlargement allowable limit calculated by the allowable limit determining means. When the size of the image area is determined to be the size of the enlargement allowable limit determined by the allowable limit determining means, the enlargement means enlarges the character image area. Characterized in that it comprises a display control means for controlling the display unit to display stop warning means performs the stop or warning, and the character image area is enlarged by enlarging means on the display screen.
 この発明は,文書画像表示制御装置に適した動作制御方法も提供している。すなわち,この方法は,許容限度算出手段が,文書が画像化された文書画像に含まれる文字を表わす文字画像領域の解像度にもとづいて文字画像領域の拡大許容限度の大きさを決定し,拡大手段が,文字画像領域の拡大指令に応じて文字画像領域を拡大し,判定手段が,拡大手段によって拡大された文字画像領域の大きさが,許容限度決定手段によって決定された拡大許容限度の大きさ以上となったかどうかを判定し,停止警告手段が,判定手段において,拡大手段によって拡大された文字画像領域の大きさが,許容限度決定手段によって算出された拡大許容限度の大きさとなったと判定されたことに応じて,拡大手段による文字画像領域の拡大の停止または警告を行い,表示制御手段が,拡大手段によって拡大された文字画像領域を表示画面に表示するように表示装置を制御するものである。 The present invention also provides an operation control method suitable for a document image display control device. That is, in this method, the allowable limit calculating means determines the size of the enlargement allowable limit of the character image area based on the resolution of the character image area representing the character included in the document image in which the document is imaged. The character image area is enlarged in response to the enlargement command of the character image area, and the size of the character image area enlarged by the determining means is determined by the allowable limit determining means. The stop warning means determines that the size of the character image area enlarged by the enlargement means has become the size of the enlargement allowable limit calculated by the allowable limit determination means. Accordingly, the enlargement means stops or warns the enlargement of the character image area, and the display control means displays the character image area enlarged by the enlargement means. It controls the display unit to display the.
 この発明は,文書画像表示制御装置の動作制御方法を実施するためのコンピュータが読み取り可能なプログラムも提供している。そのようなプログラムを格納した記録媒体も提供するようにしてもよい。 The present invention also provides a computer readable program for implementing the operation control method of the document image display control device. A recording medium storing such a program may also be provided.
 この発明によると,文字画像領域の画素数にもとづいて文字画像領域の拡大許容限度の大きさが決定される。文字画像領域の拡大指令が与えられると,その拡大指令に応じて文字画像領域が拡大される。拡大された文字画像領域の大きさが,決定された拡大許容限度の大きさ以上の大きさとなると,拡大の停止,または警告が行われる。拡大された文字画像領域は表示装置の表示画面に表示される。文字画像はテキスト・データによって表わされるものではなく,画像化されているものであるから,文字画像領域が拡大されると,文字画像のエッジの凹凸が目立ってしまい,見づらくなることがある。この発明によると,拡大された文字画像領域の大きさが,決定された拡大許容限度の大きさ以上の大きさとなると,拡大の停止,または警告が行われるので,見づらくなるほど文字画像領域が拡大されてしまうことが未然に防止される。 According to the present invention, the allowable enlargement limit of the character image area is determined based on the number of pixels of the character image area. When a character image region enlargement command is given, the character image region is enlarged in accordance with the enlargement command. When the size of the enlarged character image area exceeds the size of the determined enlargement allowable limit, the enlargement is stopped or a warning is issued. The enlarged character image area is displayed on the display screen of the display device. Since the character image is not represented by the text data but is imaged, when the character image area is enlarged, the unevenness of the edge of the character image becomes conspicuous and may be difficult to see. According to the present invention, when the size of the enlarged character image area is larger than the size of the determined enlargement allowable limit, the enlargement is stopped or a warning is performed. Therefore, the character image area is enlarged so as to be difficult to see. Is prevented in advance.
 判定手段において,拡大手段によって拡大された文字画像領域の大きさが,許容限度決定手段によって決定された拡大許容限度の大きさとなったと判定されたことに応じて,拡大手段によって拡大された文字画像領域のエッジが滑らかとなるように,拡大された文字画像領域を補正する文字画像領域補正手段をさらに備えるようにしてもよい。 The character image enlarged by the magnifying means when the determining means determines that the size of the character image area enlarged by the magnifying means is the size of the enlargement allowable limit determined by the allowable limit determining means. You may make it further provide the character image area correction | amendment means which correct | amends the enlarged character image area so that the edge of an area | region may become smooth.
 許容限度決定手段は,たとえば,文字画像領域を見る視野角に応じて拡大許容限度の大きさを決定するものが好ましい。 The permissible limit determining means preferably determines the size of the permissible limit in accordance with the viewing angle for viewing the character image area, for example.
携帯電話の電気的構成を示すブロック図である。It is a block diagram which shows the electric constitution of a mobile telephone. 文書画像の一例である。It is an example of a document image. 文書画像の一部の拡大図である。It is an enlarged view of a part of a document image. 領域データ・ファイルの一例である。It is an example of an area | region data file. 関連ファイル・テーブルの一例である。It is an example of a related file table. 文字画像の一例である。It is an example of a character image. 文字画像の画素数と許容限度の大きさとの関係を示すテーブルである。It is a table which shows the relationship between the pixel count of a character image, and the magnitude | size of an allowable limit. 補正された文字画像の一例である。It is an example of the corrected character image. 携帯電話の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of a mobile telephone. 携帯電話の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of a mobile telephone. 携帯電話の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of a mobile telephone. 携帯電話の表示画面の一例である。It is an example of the display screen of a mobile phone. 携帯電話の表示画面の一例である。It is an example of the display screen of a mobile phone.
 図1は,いわゆるスマートフォンと呼ばれる多機能携帯電話1の電気的構成を示すブロック図である。 FIG. 1 is a block diagram showing an electrical configuration of a multi-function mobile phone 1 called a so-called smartphone.
 この実施例は,画像化された文書(文書画像という)を携帯電話1の表示画面に表示するものである。詳しくは後述するように,文書画像を構成する文字画像が拡大される場合,所定の許容拡大限度の大きさまでは拡大されて表示されるが,その許容拡大限度の大きさとなると警告または拡大が停止される。 In this embodiment, an imaged document (referred to as a document image) is displayed on the display screen of the mobile phone 1. As will be described in detail later, when a character image constituting a document image is enlarged, it is enlarged and displayed at a predetermined allowable enlargement limit, but warning or enlargement stops when the allowable enlargement limit is reached. Is done.
 携帯電話1の全体の動作は,CPU2によって統括される。 The overall operation of the mobile phone 1 is controlled by the CPU 2.
 携帯電話1には,表示制御装置4によって文書画像の表示が制御される表示装置4が含まれている。表示装置4の表示画面上にはタッチ・パネル5が形成されている。 The mobile phone 1 includes a display device 4 in which the display of the document image is controlled by the display control device 4. A touch panel 5 is formed on the display screen of the display device 4.
 携帯電話1には,データを記憶するメモリ6およびインターネットなどのネットワークと通信するための通信装置7も含まれている。また,携帯電話1には,メモリ・カード・インターフェイス12も設けられている。後述する動作プログラムが格納されているメモリ・カード12などのような記録媒体がメモリ・カード・インターフェイス11に装填され,メモリ・カード12から動作プログラムが読み取られると,その動作プログラムが携帯電話1にインストールされる。もちろん,通信装置7を利用して動作プログラムをダウンロードして,その動作プログラムが携帯電話1にインストールされるようにしてもよい。 The mobile phone 1 also includes a memory 6 for storing data and a communication device 7 for communicating with a network such as the Internet. The mobile phone 1 is also provided with a memory card interface 12. When a recording medium such as a memory card 12 storing an operation program, which will be described later, is loaded into the memory card interface 11 and the operation program is read from the memory card 12, the operation program is stored in the mobile phone 1. Installed. Of course, the operation program may be downloaded using the communication device 7 and installed in the mobile phone 1.
 携帯電話1には,マイクロフォン9およびスピーカ10も設けられている。また,これらのマイクロフォン9から入力した音声,スピーカ10から出力される音声を制御するための音声制御装置8も携帯電話1に含まれている。 The mobile phone 1 is also provided with a microphone 9 and a speaker 10. The mobile phone 1 also includes an audio control device 8 for controlling the audio input from the microphone 9 and the audio output from the speaker 10.
 後述する文書画像を表わす画像データ,領域データ・ファイル,関連ファイル・テーブル等は,通信装置7によって受信され,メモリ6にすでに記憶されている。 Image data representing a document image, an area data file, a related file table, etc., which will be described later, are received by the communication device 7 and are already stored in the memory 6.
 図2は,画像化された文書画像15の一例である。 FIG. 2 is an example of an imaged document image 15.
 文書画像15には,領域F1からF5が含まれている。領域F1からF5は,いずれも矩形であり(矩形でなくともよい),文書画像15の左上の頂点を原点(X0,Y0)としたときの四つの頂点が座標によって規定されている。領域F1は,座標(x11,y11),(x12,y12),(x13,y13),および(x14,y14)によって位置が規定される。領域F2は,座標(x21,y21),(x22,y22),(x23,y23),および(x24,y24)によって位置が規定される。その他の領域F3からF5についても同様に,それぞれの四つの頂点の座標によって,それぞれの位置が規定される。 The document image 15 includes areas F1 to F5. The areas F1 to F5 are all rectangular (not necessarily rectangular), and four vertices are defined by coordinates when the upper left vertex of the document image 15 is the origin (X0, Y0). The position of the region F1 is defined by coordinates (x11, y11), (x12, y12), (x13, y13), and (x14, y14). The position of the region F2 is defined by coordinates (x21, y21), (x22, y22), (x23, y23), and (x24, y24). Similarly, the positions of the other regions F3 to F5 are defined by the coordinates of the four vertices.
 領域F1,F3およびF5は,文書画像15が画像化される以前から画像(オリジナル画像)が貼り付けられている領域である。領域F2およびF4は,画像化される以前はテキスト・データによって表わされる文書が表わされている領域であり,画像化されることにより文章が画像化されている領域である。領域F2には,符号C1からC30で示すように矩形で囲まれている30文字分の文字画像が含まれている。矩形の中に文字が記述されている。これらの文字画像C1からC30は,画像化される以前は,テキスト・データによって表わされていたが,画像化されることにより画像として表わされている。領域F4にも符号Cで示すように矩形で囲まれている文字画像が含まれている。 Areas F1, F3, and F5 are areas where images (original images) are pasted before the document image 15 is imaged. Areas F2 and F4 are areas in which a document represented by text data is represented before being imaged, and texts are imaged by being imaged. The region F2 includes character images for 30 characters surrounded by a rectangle as indicated by reference characters C1 to C30. Characters are described in the rectangle. These character images C1 to C30 were represented by text data before being imaged, but are represented as images by being imaged. The area F4 also includes a character image surrounded by a rectangle as indicated by the symbol C.
 図3は,図2の文書画像15の左上の部分を図2に比べて拡大したものである。 FIG. 3 is an enlarged view of the upper left part of the document image 15 of FIG. 2 compared to FIG.
 文字画像C1等が含まれている領域F1(領域F4も同様)において,文字画像C1等の位置も文書画像15の原点(X0,Y0)を基準として規定される。たとえば,文字画像C1の位置は,座標(x101,y101),(x102,y102),(x103,y103),および(x104,y104)によって規定される。その他の文字画像についても同様である。 In the area F1 (including the area F4) including the character image C1 and the like, the position of the character image C1 and the like is also defined with reference to the origin (X0, Y0) of the document image 15. For example, the position of the character image C1 is defined by coordinates (x101, y101), (x102, y102), (x103, y103), and (x104, y104). The same applies to other character images.
 図4は,文書画像15についての領域データ・ファイルの一例である。 FIG. 4 is an example of a region data file for the document image 15.
 領域データ・ファイルは,文書画像15に含まれる領域,文字画像等の位置,領域数,文字数などの情報を格納するものである。分りやすくするために行数がつけられている。 The region data file stores information such as the region, the position of the character image, the number of regions, and the number of characters included in the document image 15. The number of lines is added to make it easier to understand.
 第1行目から第6行目は,文書画像15に含まれる領域についての情報が記述されている。第1行目は領域の数を記述している。第2行目には第1の領域F1についての情報が記述されている。第2行目において,「F1」は第1の領域F1を識別する符号であり,「Picture」は第1の領域F1が画像化される以前から画像が貼り付けられていたことを示すものであり,「4」は,第1の領域F1が四角形であることを示し,x11,y11,x12,y12,x13,y13,x14,y14は,第1の領域F1の位置座標を示している。第3行目には第2の領域F2についての情報が記述されている。第3行目において,「F2」は,第2の領域を識別する符号であり,「Text」は第2の領域F2に含まれる画像は画像化される以前はテキスト・データによって表わされる文字(文章)であってことを示し,「4」は第2の領域F2が四角形であることを示し,この「4」移行の文字列x21等は,第2の領域F2の位置座標を示している。第4行目,第5行目および第6行目についても同様に第3の領域,第4の領域および第5の領域についての情報が,識別符号,画像化される以前から画像であったかテキスト・データであったかを示すデータ,頂点の数(4),位置座標がそれぞれ記述されている。 In the first to sixth lines, information about the area included in the document image 15 is described. The first line describes the number of areas. In the second line, information about the first area F1 is described. In the second line, “F1” is a code for identifying the first area F1, and “Picture” indicates that the image has been pasted before the first area F1 is imaged. Yes, "4" indicates that the first area F1 is a quadrangle, and x11, y11, x12, y12, x13, y13, x14, and y14 indicate the position coordinates of the first area F1. Information about the second area F2 is described in the third line. In the third line, “F2” is a code for identifying the second area, and “Text” is a character (character represented by the text data before the image included in the second area F2 is imaged). "4" indicates that the second area F2 is a quadrangle, and the character string x21 and the like shifted to "4" indicate the position coordinates of the second area F2. . Similarly, for the 4th, 5th and 6th lines, the information about the third area, the fourth area and the fifth area is an identification code, an image before being imaged, or a text. -Data indicating whether it was data, the number of vertices (4), and position coordinates are described.
 第7行目から第m行目までは,第1の領域F1についての詳細な情報が記述されている。 From the seventh line to the m-th line, detailed information about the first area F1 is described.
 第m行目から第m+30行目までは,第2の領域F2についての詳細な情報が記述されている。第m行目は,第2の領域F2に含まれる文字画像によって表わされる文字数(30文字)が規定されている。第m+1行目は,第2の領域F2に含まれる1文字目の文字画像C1についての情報が記述されている。第m+1行目において符号「C1」は1文字目の文字画像の識別データであり,「4」は1文字目の頂点の数であり,「x111からy114」は文字画像C1の位置座標を示しており,位置座標につづいて付加されている文字「a」は文字画像C1によって表わされる文字が禁則文字ではないことを示している。同様に,第m+2行目以降についても,文字画像の識別データ,文字画像の頂点の数,文字画像の位置座標および文字画像が禁則文字か否かについての符号が付されている。第m+18行目においては,上述したのと同様に,文字画像C18についての識別データ,頂点の数,位置座標が記述されているが,その位置座標の最後には数字「70」が付加されている。この数字「70」は,文字画像C18が禁則文字である確率を百分率で示しているものである。「70」は70パーセントの確率で文字画像C18が表わす文字が禁則文字であることを示している。このように位置座標のあとに,禁則文字であることを示す確率が付されることもある。 From the mth line to the m + 30th line, detailed information about the second area F2 is described. The m-th line defines the number of characters (30 characters) represented by the character image included in the second area F2. In the (m + 1) th line, information about the first character image C1 included in the second area F2 is described. In the (m + 1) th line, the code “C1” is the identification data of the first character image, “4” is the number of vertices of the first character, and “x111 to y114” indicates the position coordinates of the character image C1. The character “a” added following the position coordinates indicates that the character represented by the character image C1 is not a forbidden character. Similarly, in the (m + 2) th and subsequent lines, the character image identification data, the number of character image vertices, the position coordinates of the character image, and whether or not the character image is a forbidden character are attached. In the m + 18th line, as described above, the identification data, the number of vertices, and the position coordinates for the character image C18 are described. The number “70” is added to the end of the position coordinates. Yes. The number “70” indicates the probability that the character image C18 is a forbidden character in percentage. “70” indicates that the character represented by the character image C18 is a forbidden character with a probability of 70 percent. In this way, a probability indicating a prohibited character may be added after the position coordinates.
 第m+31行目以降については,上述したのと同様に領域F3,F4およびF5についての情報が記述されている。 From the (m + 31) th line onward, information on the areas F3, F4 and F5 is described as described above.
 図4に示す領域データ・ファイルを利用して,図2に示す文書画像15から文字画像C1等を切り出して,切り出した文字画像C1等を携帯電話1の表示画面に再配置できる。 4 can be extracted from the document image 15 shown in FIG. 2 by using the area data file shown in FIG. 4, and the extracted character image C1 etc. can be rearranged on the display screen of the mobile phone 1.
 図5は,関連ファイル・テーブルの一例である。 FIG. 5 is an example of a related file table.
 関連ファイル・テーブルには,文書画像を表わす文書画像ファイルのファイル名とその文書画像についての領域データ・ファイルのファイル名とが格納される。図2に示す文書画像15のファイル名は「image1.jpg」であり,図4に示す領域データ・ファイルのファイル名は「imge1-area.txt」である。これらのファイル名が同じ関連ファイル・テーブルに格納されることにより,文書画像15に対応する領域データが分る。文書画像15以外の文書画像がある場合には,それらの文書画像に対応して関連ファイル・テーブルが生成され,生成された関連ファイル・テーブルから,文書画像に対応した領域データ・ファイルを見つけることができる。 The related file table stores the file name of the document image file representing the document image and the file name of the area data file for the document image. The file name of the document image 15 shown in FIG. 2 is “image1.jpg”, and the file name of the area data file shown in FIG. 4 is “imge1-area.txt”. By storing these file names in the same related file table, the area data corresponding to the document image 15 is known. If there is a document image other than the document image 15, a related file table is generated corresponding to the document image, and an area data file corresponding to the document image is found from the generated related file table. Can do.
 図6は,文字画像C1の一例である。 FIG. 6 is an example of the character image C1.
 符号21で示す文字画像C1は,文書画像15に含まれている文字画像C1と同じ大きさのものである。符号22で示す文字画像C1は,文書画像15に含まれている文字画像C1の横幅を2n(cm)に拡大したものである。符号23で示す文字画像C1は,文書画像15に含まれている文字画像C1を4n(cm)に拡大したものである。 The character image C1 indicated by reference numeral 21 has the same size as the character image C1 included in the document image 15. A character image C1 indicated by reference numeral 22 is obtained by enlarging the width of the character image C1 included in the document image 15 to 2n (cm). A character image C1 indicated by reference numeral 23 is obtained by enlarging the character image C1 included in the document image 15 to 4n (cm).
 文字画像C1はテキスト・データによって表わされているのではなく,画像化されているので,拡大すると,画像として表現されている文字のエッジが目立ってしまう。文字画像を拡大するほどエッジが目立ってしまい,見づらくなる。文字画像の画素数(幅,高さ,文字画像領域の画素総数)が多ければ文字画像を大きくしてもエッジは目立たないが,文字画像画素数が少なければ文字画像を大きくするとエッジが目立ってしまう。この実施例では,文字画像の画素数に応じて許容できる拡大後の大きさが決められており,その大きさ以上に文字画像が拡大される場合には警告される,あるいは拡大自体ができない。 Since the character image C1 is not represented by text data but is imaged, when enlarged, the edge of the character represented as an image becomes conspicuous. As the character image is enlarged, the edges become more conspicuous and difficult to see. If the number of pixels of the character image (width, height, total number of pixels in the character image area) is large, the edge will not be noticeable even if the character image is enlarged, but if the character image is small, the edge will be noticeable if the character image is enlarged. End up. In this embodiment, an allowable size after enlargement is determined according to the number of pixels of the character image, and if the character image is enlarged beyond that size, a warning is given or enlargement itself cannot be performed.
 図7は,許容限度テーブルの一例である。 FIG. 7 is an example of an allowable limit table.
 文字画像の解像度に対応して,その解像度の文字画像が許容される拡大後の大きさが格納されている。 対 応 Stores the size after enlargement that allows the character image of that resolution to be accepted according to the resolution of the character image.
 上述したように,文字画像の画素数が多ければ文字画像を大きくしてもエッジは目立たないが,文字画像の画素数が少なければ文字画像を大きくするとエッジが目立ってしまう。このために,文字画像の画素数が少ないほど,文字画像の許容限度の大きさは小さく設定されている。たとえば,文字画像の画素数がR1画素未満,R1画素以上R2画素未満,R2画素以上R3画素未満,R3画素以上R4画素未満,およびR4画素以上R5画素未満の場合の許容限度の大きさは,それぞれn(cm),2n(cm),3n(cm),4n(cm),5n(cm),および6n(cm)である。但し,R1,R2,R3,R4,R5の順で画素数が多くなっている。 As described above, the edge is not noticeable even if the character image is enlarged if the number of pixels of the character image is large, but if the character image is enlarged if the number of pixels of the character image is small, the edge becomes noticeable. For this reason, the smaller the number of pixels of the character image, the smaller the allowable limit of the character image is set. For example, the allowable limit when the number of pixels of a character image is less than R1 pixels, R1 pixels to R2 pixels, R2 pixels to R3 pixels, R3 pixels to R4 pixels, and R4 pixels to R5 pixels is N (cm), 2n (cm), 3n (cm), 4n (cm), 5n (cm), and 6n (cm), respectively. However, the number of pixels increases in the order of R1, R2, R3, R4, and R5.
 このような許容限度拡大率テーブルも携帯電話1のメモリ6に格納されている。 Such an allowable limit enlargement rate table is also stored in the memory 6 of the mobile phone 1.
 許容限度の大きさは,許容視野角にもとづいて決定されている。たとえば,拡大後の許容される大きさの幅をもつ文字画像をユーザが見たときの視野角(許容視野角)を2θとし,表示画面までの距離をLとすると,許容限度の大きさ(幅)は,2Ltanθで得られる。表示画面までの距離は表示装置の種類(携帯電話,テレビジョン装置,大型スクリーンなど)によって異なるので,文字画像の許容限度の大きさも表示装置の種類によって異なることとなる。 The size of the allowable limit is determined based on the allowable viewing angle. For example, if the viewing angle (allowable viewing angle) when the user views a character image having an allowable size width after enlargement is 2θ and the distance to the display screen is L, the allowable limit size ( (Width) is obtained by 2Ltanθ. Since the distance to the display screen varies depending on the type of display device (cell phone, television device, large screen, etc.), the size of the allowable limit for character images also varies depending on the type of display device.
 図8に符号24で示す文字画像C1は,図6に示したように,文書画像15に含まれている文字画像C1を4n(cm)の大きさまで拡大し,かつ補正処理が施されたものである。 The character image C1 indicated by reference numeral 24 in FIG. 8 is obtained by enlarging the character image C1 included in the document image 15 to a size of 4n (cm) and performing correction processing, as shown in FIG. It is.
 補正処理が施されることにより,図6に符号23で示したように4n(cm)まで拡大された文字画像C1と異なり,エッジが目立たなくなっている。このように許容の大きさ以上の大きさまで文字画像が拡大される場合には,文字画像が補正処理されるようにしてもよい。 By performing the correction process, the edge becomes inconspicuous unlike the character image C1 enlarged to 4n (cm) as indicated by reference numeral 23 in FIG. As described above, when the character image is enlarged to a size larger than the allowable size, the character image may be corrected.
 このような補正処理は,文字画像C1が表わしている文字のエッジを検出し,そのエッジが滑らかとなるようにすることにより実現できる。 Such correction processing can be realized by detecting the edge of the character represented by the character image C1 and smoothing the edge.
 図9から図11は,携帯電話1の処理手順を示すフローチャートである。 9 to 11 are flowcharts showing the processing procedure of the mobile phone 1.
 この処理手順では,図15に示す領域F2内の文字画像が携帯電話1の表示画面に表示される。 In this processing procedure, the character image in the area F2 shown in FIG. 15 is displayed on the display screen of the mobile phone 1.
 まず,メモリ6に記憶されている文書画像15を表わす文書画像データ,領域データ・ファイルがメモリ6から読み取られる(ステップ31)。すると,領域データ・ファイルに記述されている位置データにもとづいて,文書画像15の領域F2に含まれている文字画像C1からC30が抽出される(ステップ32)。抽出された文字画像C1からC30が携帯電話1の表示画面に表示できるように配列される(ステップ33)。配列された文字画像C1からC30が表示画面に表示される(ステップ34)。 First, the document image data and the area data file representing the document image 15 stored in the memory 6 are read from the memory 6 (step 31). Then, based on the position data described in the area data file, character images C1 to C30 included in the area F2 of the document image 15 are extracted (step 32). The extracted character images C1 to C30 are arranged so as to be displayed on the display screen of the mobile phone 1 (step 33). The arranged character images C1 to C30 are displayed on the display screen (step 34).
 図12は,抽出された文字画像C1からC30が携帯電話1の表示画面50に配列された様子が示されている。 FIG. 12 shows a state in which the extracted character images C1 to C30 are arranged on the display screen 50 of the mobile phone 1.
 図2に示す文書画像15の領域F2では,1行に10個の文字画像が配列され,文字画像C1からC30が3行にわたって配列されている。文字画像C1からC30が配列されている文書画像15の領域F2の大きさは,表示画面50の大きさよりも大きいので,図12に示すように,表示画面50に表示される文字画像C1からC30は,1行に8個の割合で配列されている。 In the area F2 of the document image 15 shown in FIG. 2, ten character images are arranged in one line, and character images C1 to C30 are arranged in three lines. Since the size of the area F2 of the document image 15 in which the character images C1 to C30 are arranged is larger than the size of the display screen 50, the character images C1 to C30 displayed on the display screen 50 as shown in FIG. Are arranged in a ratio of 8 per line.
 図9に戻って,携帯電話1に拡大指令および拡大率が与えられると(ステップ35でYES),その拡大率にしたがって拡大された場合の拡大後の文字画像の大きさが許容限度以内かどうかが判断される(ステップ36)。たとえば,タッチ・パネル5上に二つの指を同時につけ,かつタッチ・パネル5上をなぞりながら,それらの指が離れるように操作する(いわゆるピンチ・アウト)ことにより,拡大指令が携帯電話1に与えられ,それらの指の離れた間隔が拡大率となる。その他の方法により,拡大指令および拡大率が携帯電話1に与えられるようにしてもよいのはいうまでもない。 Returning to FIG. 9, when an enlargement command and an enlargement ratio are given to the mobile phone 1 (YES in step 35), whether the size of the character image after enlargement when enlarged according to the enlargement ratio is within an allowable limit. Is determined (step 36). For example, by placing two fingers on the touch panel 5 at the same time and tracing the touch panel 5 so that the fingers are separated (so-called pinch out), an enlargement command is given to the mobile phone 1. Given, the distance between those fingers is the magnification. It goes without saying that the enlargement command and the enlargement rate may be given to the mobile phone 1 by other methods.
 携帯電話1に与えられた拡大率ももとづいて拡大される文字画像の大きさが許容限度以内であれば(ステップ36でYES),与えられた拡大率に応じて,文字画像C1からC30が拡大される(ステップ37)。拡大された文字画像C1からC30が表示画面50に表示されるように配列し直される(ステップ38)。配列し直された文字画像C1からC30が表示画面50に表示される(ステップ39)。拡大後の文字画像の大きさは,携帯電話1の表示装置4の表示画面の解像度にも依存する。拡大後の文字画像が表示画面に表示された場合の大きさが,許容限度以内かどうかが判断されることとなる。 If the size of the character image to be enlarged based on the enlargement rate given to the mobile phone 1 is within the allowable limit (YES in step 36), the character images C1 to C30 are enlarged according to the given enlargement rate. (Step 37). The enlarged character images C1 to C30 are rearranged so as to be displayed on the display screen 50 (step 38). The rearranged character images C1 to C30 are displayed on the display screen 50 (step 39). The size of the enlarged character image also depends on the resolution of the display screen of the display device 4 of the mobile phone 1. It is determined whether the size when the enlarged character image is displayed on the display screen is within an allowable limit.
 図13は,配列し直された文字画像C1等が表示されている表示画面50の一例である。 FIG. 13 shows an example of the display screen 50 on which the rearranged character image C1 and the like are displayed.
 図13においては,文字画像C29およびC30が表示画面50に表示されていないが,表示画面50がスクロールされることにより,それらの文字画像C29およびC30も表示画面50に表示される。 In FIG. 13, the character images C29 and C30 are not displayed on the display screen 50, but the character images C29 and C30 are also displayed on the display screen 50 by scrolling the display screen 50.
 図13に示す表示画面50には,文書画像15に含まれている文字画像C1からC30の大きさ(幅)が2n(cm)とされている。図13に示す例では,文書画像15に含まれている文字画像C1からC30の画素数は,R1画素以上であり,許容限度の大きさ2n(cm)である。このために,2n(cm)に拡大された文字画像C1からC30が表示画面50に表示される。 In the display screen 50 shown in FIG. 13, the size (width) of the character images C1 to C30 included in the document image 15 is 2n (cm). In the example shown in FIG. 13, the number of pixels of the character images C1 to C30 included in the document image 15 is R1 pixels or more, and the allowable limit is 2n (cm). Therefore, the character images C1 to C30 enlarged to 2n (cm) are displayed on the display screen 50.
 携帯電話1に与えられた拡大率で拡大された文字画像の大きさが許容限度を超えていると(ステップ36でNO),携帯電話1に拡大警告モードまたは拡大停止モードのいずれモードが設定されているかどうかが確認される(ステップ40)。これらのモードはあらかじめ携帯電話1において設定されているが,拡大後の大きさが許容限度を超えたときに,ユーザに拡大警告モードまたは拡大停止モードのいずれかのモードを設定させるようにしてもよい。 If the size of the character image enlarged with the enlargement ratio given to the mobile phone 1 exceeds the allowable limit (NO in step 36), the mobile phone 1 is set to either the enlargement warning mode or the enlargement stop mode. (Step 40). These modes are set in the mobile phone 1 in advance, but when the size after enlargement exceeds the allowable limit, the user may set either the enlargement warning mode or the enlargement stop mode. Good.
 拡大停止モードが設定されている場合には(ステップ40),許容限度の大きさとなるように文字画像C1からC30が拡大される(ステップ41)。たとえば,文字画像C1からC30の画素数がR1画素未満であったとすると,許容限度の大きさはn(cm)となり,その大きさ以上には拡大されない。許容限度の大きさで拡大された文字画像C1からC30が配列し直され(ステップ38),表示画面50に表示される。 When the enlargement stop mode is set (step 40), the character images C1 to C30 are enlarged so as to be within the allowable limit (step 41). For example, if the number of pixels of the character images C1 to C30 is less than R1, the allowable limit is n (cm), and it is not enlarged beyond that size. Character images C1 to C30 enlarged to a permissible limit are rearranged (step 38) and displayed on the display screen 50.
 拡大警告モードが設定されている場合には(ステップ40),ユーザに警告が行われる(ステップ42)。たとえば,警告文が表示画面50に表示される,あるいは警告音が発生されよう。つづいて,補正モードが設定されているかどうかが確認される(ステップ43)。補正モードが設定されていない場合には(ステップ43でNO),許容限度を超えて与えられた大きさとなるように文字画像C1からC30が拡大され(ステップ37),拡大された文字画像C1からC30が配列し直されて表示される(ステップ38,39)。ユーザは,必要であれば,文字画像の大きさを小さくすることとなろう。 If the enlargement warning mode is set (step 40), a warning is given to the user (step 42). For example, a warning text may be displayed on the display screen 50 or a warning sound may be generated. Subsequently, it is confirmed whether the correction mode is set (step 43). When the correction mode is not set (NO in step 43), the character images C1 to C30 are enlarged so as to have a given size exceeding the allowable limit (step 37), and from the enlarged character image C1. C30 is rearranged and displayed (steps 38 and 39). The user will reduce the size of the character image if necessary.
 補正モードが設定されていると(ステップ43でYES),許容限度を超えた大きさに文字画像が拡大される(ステップ44)。つづいて,上述のように,エッジが滑らかとなるように,拡大された文字画像の補正処理が行われる(ステップ45)。補正された文字画像が配列し直され(ステップ46),表示画面50に表示されるようになる。 If the correction mode is set (YES in step 43), the character image is enlarged to a size exceeding the allowable limit (step 44). Subsequently, as described above, the enlarged character image is corrected so that the edges become smooth (step 45). The corrected character images are rearranged (step 46) and displayed on the display screen 50.
1 携帯電話
2 CPU
3 表示制御装置
4 表示装置
1 Mobile phone 2 CPU
3 Display control device 4 Display device

Claims (5)

  1.  文書が画像化された文書画像に含まれる文字を表わす文字画像領域の画素数にもとづいて文字画像領域の拡大許容限度の大きさを決定する許容限度決定手段,
     文字画像領域の拡大指令に応じて文字画像領域を拡大する拡大手段,
     上記拡大手段によって拡大された文字画像領域の大きさが,上記許容限度決定手段によって決定された拡大許容限度の大きさ以上となったかどうかを判定する判定手段,
     上記判定手段において,上記拡大手段によって拡大された文字画像領域の大きさが,上記許容限度決定手段によって決定された拡大許容限度の大きさとなったと判定されたことに応じて,上記拡大手段による文字画像領域の拡大の停止または警告を行う停止警告手段,および
     上記拡大手段によって拡大された文字画像領域を表示画面に表示するように表示装置を制御する表示制御手段,
     を備えた文書画像表示制御装置。
    A tolerance limit determining means for determining a size of a magnification tolerance limit of the character image area based on the number of pixels of the character image area representing a character included in the document image in which the document is imaged;
    An enlargement means for enlarging the character image area in response to an enlargement command for the character image area;
    Determining means for determining whether or not the size of the character image area enlarged by the enlarging means is equal to or larger than the enlargement allowable limit determined by the allowable limit determining means;
    When the determination means determines that the size of the character image area enlarged by the enlargement means has become the size of the enlargement allowable limit determined by the allowable limit determination means, the character by the enlargement means Stop warning means for stopping or warning the enlargement of the image area, and display control means for controlling the display device to display the character image area enlarged by the enlargement means on the display screen;
    A document image display control device.
  2.  上記判定手段において,上記拡大手段によって拡大された文字画像領域の大きさが,上記許容限度決定手段によって決定された拡大許容限度の大きさとなったと判定されたことに応じて,上記拡大手段によって拡大された文字画像領域のエッジが滑らかとなるように,拡大された文字画像領域を補正する文字画像領域補正手段,
     をさらに備えた請求項1に記載の文書画像表示制御装置。
    When the determination means determines that the size of the character image area enlarged by the enlargement means is the size of the enlargement allowable limit determined by the allowable limit determination means, the enlargement means enlarges the character image area. Character image area correction means for correcting the enlarged character image area so that the edge of the read character image area is smooth,
    The document image display control apparatus according to claim 1, further comprising:
  3.  上記許容限度決定手段は,
     文字画像領域を見る視野角に応じて拡大許容限度の大きさを決定するものである,
     請求項1または2に記載の文書画像表示制御装置。
    The allowable limit determining means is:
    This determines the size of the enlargement limit according to the viewing angle for viewing the character image area.
    The document image display control apparatus according to claim 1.
  4.  許容限度決定手段が,文書が画像化された文書画像に含まれる文字を表わす文字画像領域の画素数にもとづいて文字画像領域の拡大許容限度の大きさを決定し,
     拡大手段が,文字画像領域の拡大指令に応じて文字画像領域を拡大し,
     判定手段が,上記拡大手段によって拡大された文字画像領域の大きさが,上記許容限度決定手段によって決定された拡大許容限度の大きさ以上となったかどうかを判定し,
     停止警告手段が,上記判定手段において,上記拡大手段によって拡大された文字画像領域の大きさが,上記許容限度決定手段によって決定された拡大許容限度の大きさとなったと判定されたことに応じて,上記拡大手段による文字画像領域の拡大の停止または警告を行い,
     表示制御手段が,上記拡大手段によって拡大された文字画像領域を表示画面に表示するように表示装置を制御する,
     文書画像表示制御装置の動作制御方法。
    An allowable limit determining means determines a size of an expansion allowable limit of the character image area based on the number of pixels of the character image area representing a character included in the document image in which the document is imaged;
    The enlargement means enlarges the character image area in response to the enlargement command of the character image area,
    A judging means for judging whether the size of the character image area enlarged by the enlarging means is equal to or larger than the enlargement allowable limit determined by the allowable limit determining means;
    When the stop warning means determines that the size of the character image area enlarged by the enlargement means is the size of the enlargement allowable limit determined by the allowable limit determination means in the determination means, Stop or warn the enlargement of the character image area by the above enlargement means,
    Display control means controls the display device so as to display the character image area enlarged by the enlargement means on the display screen;
    An operation control method for a document image display control apparatus.
  5.  文書画像表示制御装置のコンピュータを制御するコンピュータが読み取り可能なプログラムであって,
     文書が画像化された文書画像に含まれる文字を表わす文字画像領域の画素数にもとづいて文字画像領域の拡大許容限度の大きさを決定させ,
     文字画像領域の拡大指令に応じて文字画像領域を拡大させ,
     拡大された文字画像領域の大きさが,決定された拡大許容限度の大きさ以上となったかどうかを判定させ,
     拡大された文字画像領域の大きさが,決定された拡大許容限度の大きさとなったと判定されたことに応じて,文字画像領域の拡大の停止または警告を行わせ,
     拡大された文字画像領域を表示画面に表示するように表示装置を制御するように文書画像表示制御装置のコンピュータを制御するプログラム。
    A computer-readable program for controlling a computer of a document image display control device,
    Determining the size of the character image area expansion allowable limit based on the number of pixels of the character image area representing the character included in the document image in which the document is imaged;
    Enlarge the character image area according to the enlargement command of the character image area,
    Determine whether the size of the enlarged text image area is greater than or equal to the size of the determined enlargement limit,
    In response to determining that the size of the enlarged character image area has reached the size of the determined enlargement allowable limit, stop or warn the enlargement of the character image area.
    A program for controlling a computer of a document image display control device to control a display device so as to display an enlarged character image region on a display screen.
PCT/JP2013/071482 2012-09-19 2013-08-08 Text image display control device, operation control method therefor, and operation control program therefor WO2014045752A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2012205660 2012-09-19
JP2012-205660 2012-09-19

Publications (1)

Publication Number Publication Date
WO2014045752A1 true WO2014045752A1 (en) 2014-03-27

Family

ID=50341076

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2013/071482 WO2014045752A1 (en) 2012-09-19 2013-08-08 Text image display control device, operation control method therefor, and operation control program therefor

Country Status (1)

Country Link
WO (1) WO2014045752A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05110833A (en) * 1991-10-19 1993-04-30 Ricoh Co Ltd Picture editing device
JPH10232949A (en) * 1997-02-19 1998-09-02 Canon Inc Processor and method for image processing
JP2007200091A (en) * 2006-01-27 2007-08-09 Fujifilm Corp Image processor
JP2010109700A (en) * 2008-10-30 2010-05-13 Sony Computer Entertainment Inc Image processor

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05110833A (en) * 1991-10-19 1993-04-30 Ricoh Co Ltd Picture editing device
JPH10232949A (en) * 1997-02-19 1998-09-02 Canon Inc Processor and method for image processing
JP2007200091A (en) * 2006-01-27 2007-08-09 Fujifilm Corp Image processor
JP2010109700A (en) * 2008-10-30 2010-05-13 Sony Computer Entertainment Inc Image processor

Similar Documents

Publication Publication Date Title
RU2531261C2 (en) Scanning using camera
JP6381215B2 (en) Image processing apparatus, image processing method, display apparatus, display apparatus control method, and program
JP4770878B2 (en) Information display device and program
JP5644461B2 (en) Image processing apparatus and program
CN107870703B (en) Method, system and terminal equipment for full-screen display of picture
CN110796664B (en) Image processing method, device, electronic equipment and computer readable storage medium
US20180376097A1 (en) Image Generation Method and Device
CN107402757B (en) Page rendering method and device
EP3822757A1 (en) Method and apparatus for setting background of ui control
JP5789719B2 (en) Method and apparatus for determining the display mode of an electronic document
TWI547853B (en) System and method for displaying user interface
JP2008067110A (en) Generation device for superresolution image
CN105511712A (en) Method and device for showing picture
CN111986601B (en) Screen display method, device, terminal equipment and storage medium
EP2367351A2 (en) Information Processing Apparatus, Method and Program for imaging device
CN110874809A (en) Image processing method and device, electronic equipment and storage medium
CN111813466A (en) Watermark adding method, device, terminal equipment and computer storage medium
CN111612838A (en) Image acquisition method and device and electronic equipment
WO2014045752A1 (en) Text image display control device, operation control method therefor, and operation control program therefor
JP4734442B2 (en) Perspective display device and perspective display method
CN112884651B (en) Watermark display method and device
CN111738958B (en) Picture restoration method and device, electronic equipment and computer readable medium
JP6347604B2 (en) Image projection apparatus, image projection method and program
CN110299123B (en) Adaptive resolution display method for audio processor
CN113763860B (en) Display color determining method, device, electronic equipment and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13839434

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13839434

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP