WO2014050561A1 - 文書画像送信装置ならびにその動作制御方法およびその動作制御プログラム - Google Patents

文書画像送信装置ならびにその動作制御方法およびその動作制御プログラム Download PDF

Info

Publication number
WO2014050561A1
WO2014050561A1 PCT/JP2013/074552 JP2013074552W WO2014050561A1 WO 2014050561 A1 WO2014050561 A1 WO 2014050561A1 JP 2013074552 W JP2013074552 W JP 2013074552W WO 2014050561 A1 WO2014050561 A1 WO 2014050561A1
Authority
WO
WIPO (PCT)
Prior art keywords
document image
document
character
client terminal
terminal device
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.)
Ceased
Application number
PCT/JP2013/074552
Other languages
English (en)
French (fr)
Other versions
WO2014050561A8 (ja
Inventor
浩教 矢野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Corp
Original Assignee
Fujifilm Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujifilm Corp filed Critical Fujifilm Corp
Publication of WO2014050561A1 publication Critical patent/WO2014050561A1/ja
Publication of WO2014050561A8 publication Critical patent/WO2014050561A8/ja
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing

Definitions

  • the present invention relates to a document image transmission apparatus, an operation control method thereof, and an operation control program thereof.
  • Non-Patent Document 1 “development of document image layout reconstruction technology“ GT-Layout ”for portable terminals” (Non-Patent Document 1) is known. This GT-Layout makes it possible to view documents by scrolling in one direction by rearranging the character positions according to the display screen from the document image and character position information, and configuring the document image to match the display screen size. To do.
  • the browsing period is embedded in the script so that the content is not displayed when the permitted period has passed (Patent Document 1).
  • Display information and display layout information are extracted from the electronic document file and transmitted to the terminal device. There are those that perform (Patent Document 2), those that give a program format and image format supported by the mobile agent, and transmit them to the content distribution server (Patent Document 3).
  • Non-Patent Document 1 and Patent Documents 1 to 3 such a situation is not considered.
  • the present invention transmits a document image to a client terminal device even if a dedicated application program is not installed in the client terminal device in advance, and extracts and rearranges character images included in the document image in the client terminal device.
  • the purpose is to be able to.
  • the document image transmitting apparatus includes a document image file transmitting means for transmitting a document image file representing a document image in which a document is imaged to a client terminal device, and a character included in the document image represented by the document image file.
  • Position data transmission means for transmitting position data representing the position of the character image to be represented to the client terminal device, and a character image is cut out from the document image represented by the document image file based on the position data, and the client according to the arrangement of the document images It is characterized by comprising display program transmitting means for transmitting a display program for arranging the cut-out character images so as to be displayed on the display screen of the terminal device to the client terminal device.
  • the present invention also provides an operation control method suitable for a document image transmission apparatus. That is, in this method, the document image file transmitting means transmits a document image file representing a document image obtained by imaging the document to the client terminal device, and the position data transmitting means is included in the document image represented by the document image file. Position data representing the position of the character image representing the character being displayed is transmitted to the client terminal device, and the display program transmitting means causes the character image to be cut out from the document image represented by the document image file based on the position data.
  • a display program for arranging the extracted character images so as to be displayed on the display screen of the client terminal device according to the image arrangement is transmitted to the client terminal device.
  • the present invention also provides a computer readable program for executing the operation control method of the document image transmission apparatus.
  • a recording medium storing such a program may be provided.
  • the document image file representing the document image, the position data representing the position of the character image representing the character included in the document image, and the display program are transmitted from the document image transmission system to the client terminal device.
  • the display program arranges the extracted character images so that the character images are extracted from the document image based on the position data and displayed on the display screen of the client terminal device according to the arrangement of the document images. Since not only the document image file and the position data but also the display program is transmitted to the client terminal device, even if the display program is not installed in advance, a character image is cut out from the document image using the display program, and the client terminal device Can be displayed again on the display screen.
  • a display program creating means for creating a display program so that the size of the document image becomes a predetermined size corresponding to the display screen of the client terminal device may be further provided.
  • a display program when a character image is cut out from a document image based on position data, since the size of the document image is changed, the position where the document image is cut out is calculated from the position data, and based on the calculated position. The character image will be cut out.
  • the display program transmitting means transmits, for example, the display program created by the display program creating means to the client terminal device.
  • the apparatus may further include model data receiving means for receiving model data transmitted from the client terminal apparatus and indicating the model of the client terminal apparatus.
  • the display program creation means for example, makes the document image have a predetermined size corresponding to the display screen of the client terminal device of the model specified by the model data received by the model data receiving means. would create a display program.
  • the apparatus may further include position data generation means for detecting a position of a character image representing a character included in the document image represented by the document image file and generating position data representing the position.
  • the position data generating means will transmit the position data generated by the position data generating means to the client terminal device.
  • FIG. 1 shows an embodiment of the present invention, and is a block diagram showing an electrical configuration of a document image transmitting apparatus 1.
  • the document image transmission device 1 includes a document storage 2, a document file acquisition device 3, a document image output device 4, a document content creation device 5, a document layout analysis device 6, a shaping program (display program) creation device 7, a memory 8, and a communication A device 9 is included.
  • the document storage 2 stores a large number of document files. These document files store text data representing documents.
  • the document file acquisition device 3 acquires a desired document file from a large number of document files stored in the document storage 2.
  • the document image output device 4 converts the document file acquired by the document file acquisition device 3 into a document image file and outputs it.
  • the document file stores text data representing a document, while the document image file stores image data representing a document.
  • the document image represented by the document image file is a document (sentence, character) represented as an image.
  • the document content creation device 5 uses a document image file generated in the document image output device 4, layout information generated in the document layout analysis device 6, and a shaping program created in the shaping program creation device 7. Create document content that can be displayed on a mobile phone display screen.
  • the document content is realized as an HTML (HyperText Markup Language) resource, but in a format in which the operation of the document content can be controlled by a script language such as EPUB (electronic publication).
  • the document layout analysis device 6 analyzes the document image represented by the document image file output from the document image output device, and generates layout information. As will be described in detail later, a layout information table (see FIG. 5), a character information table (see FIG. 7), and the like are obtained.
  • the shaping program creation device 7 creates a program for shaping a document image represented by a document image file so that it can be displayed on a display screen of a mobile phone such as a smartphone. It is created in a script language such as JavaScript (registered trademark) for enabling operation with a web browser.
  • the rendering function for shaping a document image can be realized with an HTML Canvas element and an img element with an image obtained by cutting out a character image representing a character from the document image character by character.
  • the memory 8 stores an operation program, data, and the like.
  • the communication device 9 receives a request from a mobile phone such as a smartphone, and transmits the generated document content to a mobile phone such as a smartphone.
  • the received program is installed in the document image transmission device 1.
  • a program may be stored in the document storage 2 or the like, and the program may be read from the document storage 2 and installed in the document image transmission apparatus 1.
  • the document image transmitting apparatus 1 is provided with a CD (compact disk) drive, etc., a CD storing an operation program is loaded into the CD drive, the operation program is read from the CD, and the document image transmitting apparatus 1 is read. It may be installed.
  • FIG. 2 is an example of the document image 10.
  • the document image 10 is an image of a document and is represented by image data (document image file).
  • characters are represented by straight lines 11A to 15A.
  • Characters (sentences) included in the regions 11, 13, and 15 are horizontally written, and straight lines 11A, 13A, and 15A representing characters are represented by horizontal solid lines to indicate horizontal writing.
  • Characters (sentences) included in regions 12 and 14 are vertically written, and straight lines 12A and 14A representing characters are represented by vertical solid lines to indicate vertical writing.
  • areas 11 to 15 are defined in the document image 10, character images may be enumerated in the document image 10 without defining areas.
  • FIG. 3 is an enlarged view of region 11 compared to FIG. A part of region 11 is shown.
  • characters 21 to 40 are displayed as images. These letters 21 to 40 are represented by circles. Ten characters from character 21 to character 30 are described in the first line, and ten characters from character 31 to character 40 are described in the second line. Characters are similarly described in the third and subsequent lines.
  • FIG. 4 is a flowchart showing a processing procedure of the document image transmitting apparatus 1.
  • a request is transmitted from the cellular phone to the document image transmitting apparatus 1, and a document image file or the like is transmitted from the document image transmitting apparatus 1 to the cellular phone in response to the request.
  • the document file corresponding to the request is acquired from the document storage 2 by the document acquisition apparatus 3 (step 52).
  • the document image output device 4 generates a document image file from the document file. As a result, the document is imaged (step 53).
  • the document image obtained by imaging the document is analyzed by the document layout analysis device 6 (step 54).
  • a layout information table and a character information table are generated by the layout analysis.
  • FIG. 5 is an example of the layout information table of the document image 10.
  • the layout information table is generated corresponding to one (one page) document image.
  • the document image includes an area
  • information about the area is stored.
  • area numbers for identifying the areas 11 to 15 included in the document image 10 are stored.
  • the horizontal position of the area, the vertical position of the area, the width of the area, the height of the area, and the direction of characters included in the area (character arrangement direction) are defined.
  • Each of the area numbers 1 to 5 corresponds to each of the areas 11 to 15 included in the document image 10.
  • the horizontal position indicates the X coordinate position (pixel number position) when the upper left vertex of the document image 10 is the origin, and the vertical position is the Y coordinate position (pixel number position) when the upper left vertex of the document image 10 is the origin. ).
  • the width is the horizontal width (length in the horizontal direction, the number of pixels) of each region, and the height is the height of each region (length in the vertical direction, the number of pixels).
  • the character direction indicates whether the character included in each area is horizontal writing or vertical writing. “Horizontal” indicates horizontal writing, and “vertical” indicates vertical writing.
  • FIG. 6 corresponds to FIG. 3 and shows a part of the region 11 included in the document image 10.
  • information about a character image representing a character included in the document image 10 as an image is also detected.
  • a character image area is detected.
  • the individual chunks included in the area 11 are found, and the rectangular areas 61 to 80 and so on surrounding the chunks are used as character images for the imaged characters 21 to 40, etc. Information about these character images 61 to 80 and the like is stored in the character information table.
  • FIG. 7 is an example of a character information table of the document image 10.
  • the character information table is also generated corresponding to one document image in the same manner as the layout information table.
  • the character information table stores character numbers for identifying character images for each area.
  • the character information table corresponds to the character number, the region number indicating which region contains the character image specified by the character number, the horizontal position, the vertical position, the width and the height of the character image. Is also stored. For example, if the character number is “1” and the region number is also “1”, the horizontal position of the character image (character image 61) included in the region 11 and specified by the character number “1”, etc. I know the information. Similarly, if the character number is “2” and the area number is “1”, the horizontal position of the character image (character image 62) included in the area 11 and specified by the character number “2”, etc. I know the information.
  • a document shaping program corresponding to the mobile phone is created (step 55).
  • FIG. 8 is a model / resolution table showing the resolution of the display screen of the mobile phone.
  • the resolution (number of pixels) is stored in the model / resolution table corresponding to the mobile phone model.
  • the resolution (size) of the display screen of a mobile phone may vary depending on the mobile phone model.
  • the model A has a horizontal width w1 and a vertical length h1
  • the model B has a horizontal width w2 and a vertical length h2.
  • each image such as character images 61 to 80 detected from the document image 10 is cut out from the document image 10 and rearranged on the display screen of the mobile phone according to the arrangement in the document image 10.
  • the resolution (size, number of pixels) of the display screen of the mobile phone is different for each mobile phone model, the detected character images 61 to 80, etc. are simply displayed in the document image 10 as shown in FIG. It may not be possible to display it simply by arranging it according to the arrangement. Therefore, in this embodiment, a document shaping program corresponding to the mobile phone is created (step 55 in FIG. 4). The details of the operation of the document shaping program corresponding to the mobile phone will be described later.
  • document content is created from the document image file, layout information table, character information table, and document shaping program, and the created document content is transmitted to the mobile phone (step 56).
  • FIG. 9 is a block diagram showing an electrical configuration of the mobile phone 101 called a so-called smartphone.
  • the overall operation of the mobile phone 101 is controlled by the control device 102.
  • the mobile phone 101 is provided with a communication device 110 and an antenna 111 for communication with other mobile phones, access to the Internet, and the like.
  • the mobile phone 101 is provided with a display device 103 for displaying a document, an image, etc. on a display screen.
  • a touch panel 104 is formed on the display screen of the display device 103. By touching the touch panel 104 formed on the display screen, the user can give various instructions to the mobile phone 101.
  • the mobile phone 101 also includes a program such as a browser and a memory 105 in which predetermined data is stored. Further, the cellular phone 101 includes a speaker 108 and a microphone 109. The audio signal is amplified by the amplifier circuit 107 and given to the speaker 108, so that the audio is output from the speaker 108. In addition, an audio signal representing audio input from the microphone 109 is amplified by the amplifier circuit 107 and input to the control device 102.
  • FIG. 10 is a flowchart showing the processing procedure of the mobile phone 101.
  • the document image 10 represented by the document content is displayed on the display screen of the mobile phone 101. Since the size (number of pixels) of the display screen of the mobile phone 101 is generally smaller than the size (number of pixels) of the document image 10, the reduced document image 10 is displayed on the display screen of the mobile phone 101. Will be displayed. Of the areas included in the document image 10 displayed on the display screen of the mobile phone 101, an area to be displayed large on the display screen (area to be shaped) is selected by touching (step 121). Here, it is assumed that the area 11 of the document image 10 is selected.
  • a drawing area corresponding to the display area of the mobile phone 101 is generated (step 121).
  • FIG. 12 shows an example of the display screen 150 of the mobile phone 101.
  • a drawing area corresponding to the display screen 150 is generated.
  • the upper area 151 of the display screen 150 is an area for displaying a character image included in the selected area
  • the lower area 152 of the display screen 150 is an area for displaying the document image 10.
  • the character image included in the selected area may be displayed over the entire display screen 150.
  • character images 61 to 72 included in the area 11 are illustrated. Since the size (width, the number of pixels) of the area 11 and the size (width, the number of pixels) of the display screen 150 are different, unlike the character images 61 to 80 etc. arranged in the area 11, the first line Six character images 61 to 66 are displayed, and six character images 67 to 72 are also displayed in the second row.
  • the character information about the selected area is acquired from the character information table (step 123).
  • Layout shaping is performed (step 124).
  • FIG. 11 is a flowchart showing the layout shaping process procedure (the process procedure of step 124 in FIG. 10) based on the shaping program.
  • the size of the document image 10 is changed so that the character image for six characters in the area 11 enters the display screen 151 as one line.
  • the size of the document image 10 is changed according to the model of the mobile phone (the size of the display screen) (step 131). If the size of the document image 10 is changed, the position of the character image changes. Therefore, even if the character image is cut out from the document image 10 in accordance with the layout information table and the character information table transmitted from the document image transmitting apparatus 1, The image is not cut out correctly. For this purpose, the cutout position of the character image is calculated from the layout information and the character information table (step 132).
  • the character image is cut out from the document image 10 using the layout information table and the character information table transmitted from the document image transmitting apparatus 1.
  • the number of pixels from the first character image 61 to the sixth character image 66 in the region 11 of the document image 10 does not match the pixel number of the display screen 151 of the mobile phone 101, and the display screen 150 When the character image for 6 characters cannot be displayed in the horizontal direction, the document image 10 is enlarged or reduced.
  • the cutting position is calculated based on the shaping program. For example, in the character information table shown in FIG. 7, the character image 61 included in the region 11 specified by the region number “1” and specified by the character number “1” has the horizontal position “3” and the vertical position “5”.
  • the number parameter (area number) n and the row parameter m are reset to 1 (step 134).
  • the nth character image of the character image at the position calculated as described above is read (cut out) (NO in step 134 and step 135)
  • the nth character image is the mth row. Is positioned in the display area (step 136). For example, if it is the first character image, the character image is positioned at the first position on the first line, and the character image 61 is positioned as shown in FIG. If the nth character image fits in the display area 50 (NO in step 137), the number parameter n is incremented (step 138), and the processes of steps 134 and 136 are repeated again. As a result, character images corresponding to a predetermined number of characters are sequentially positioned in the m-th row according to the character arrangement of the document image. Therefore, the character image has a predetermined size corresponding to the display screen.
  • both the number parameter n and the line parameter m are incremented (step 139), and the character image is positioned from the next line. It will be.
  • a predetermined line is used by using a shaping program suitable for the mobile phone 101.
  • Character images can be positioned according to the number of characters for each.
  • the shaping program corresponding to the model is created so that the character size (number of characters per line) corresponding to the model of the mobile phone is displayed.
  • a shaping program corresponding to the model may be generated in advance, and the forming program may be transmitted to the mobile phone in response to the requested mobile phone.
  • the region 11 in which horizontally written characters are arranged has been described.
  • the same processing can be performed for the regions 12 and 14 in which vertically written characters are arranged instead of horizontally written characters.
  • the above-described operation of the document image transmission apparatus 1 may be performed by a server.
  • the document content described above is realized as an HTML resource, and the formatting program uses JavaScript (registered trademark). Therefore, even if a dedicated application is not installed on the mobile phone 101, if the browser is installed, Processing is possible. *

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Health & Medical Sciences (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Artificial Intelligence (AREA)
  • Computer And Data Communications (AREA)
  • Telephone Function (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Information Transfer Between Computers (AREA)

Description

文書画像送信装置ならびにその動作制御方法およびその動作制御プログラム
 この発明は,文書画像送信装置ならびにその動作制御方法およびその動作制御プログラムに関する。
 文書画像や固定型レイアウトの文書ファイルを携帯端末で閲覧した場合,文書内の段落のサイズが携帯端末の表示画面サイズよりも大きいため,継続した閲覧には段落領域のスクロールを必要とする。このため携帯端末における文書閲覧では閲覧行為と端末操作行為とを交互に意識する必要があり,閲覧行為のみを継続することで得られる快適な文書閲覧ができなくなる。このような問題を解決するために「携帯端末向け文書画像レイアウト再構成技術「GT-Layout」の開発」(非特許文献1)が知られている。このGT-Layoutは,文書画像と文字位置情報とから,表示画面にあわせて文字位置を並べ替え,表示画面サイズに合った文書画像を構成することで一方向のスクロールにより文書の閲覧を可能にするものである。
 また,閲覧期間をスクリプトに埋め込み,許可された期間を過ぎているとコンテンツを表示しないようにするもの(特許文献1),電子文書ファイルから表示情報および表示レイアウト情報を抽出し,端末装置に送信するもの(特許文献2),モバイルエージェントにサポートするプログラム様式,画像様式を与え,コンテンツ配信サーバに送信するもの(特許文献3)などもある。
http://www.fujifilm.co.jp/rd/report/rd057/pack/pdf/ff_rd057_009.pdf 2009-211601号公報 特開2008-176451号公報 特開2003-76600号公報
 文書画像をクライアント端末装置に送信し,クライアント端末装置において,文書画像に含まれる文字画像を切り出し,配列し直す場合には,専用のアプリケーション・プログラムがクライアント端末装置にあらかじめインストールされていなければならない。非特許文献1,特許文献1から3においては,そのような状況は考慮されていない。
 この発明は,専用のアプリケーション・プログラムがあらかじめクライアント端末装置にインストールされていなくとも,文書画像をクライアント端末装置に送信し,クライアント端末装置において,文書画像に含まれる文字画像を切り出し,配列し直すことができるようにすることを目的とする。
 この発明による文書画像送信装置は,文書が画像化された文書画像を表わす文書画像ファイルをクライアント端末装置に送信する文書画像ファイル送信手段,文書画像ファイルによって表わされる文書画像に含まれている文字を表わす文字画像の位置を表わす位置データを,クライアント端末装置に送信する位置データ送信手段,および位置データにもとづいて文書画像ファイルによって表わされる文書画像から文字画像を切り出させ,文書画像の配列にしたがってクライアント端末装置の表示画面に表示するように,切り出された文字画像を配列させる表示プログラムを,クライアント端末装置に送信する表示プログラム送信手段を備えていることを特徴とする。
 この発明は,文書画像送信装置に適した動作制御方法も提供している。すなわち,この方法は,文書画像ファイル送信手段が,文書が画像化された文書画像を表わす文書画像ファイルをクライアント端末装置に送信し,位置データ送信手段が,文書画像ファイルによって表わされる文書画像に含まれている文字を表わす文字画像の位置を表わす位置データを,クライアント端末装置に送信し,表示プログラム送信手段が,位置データにもとづいて文書画像ファイルによって表わされる文書画像から文字画像を切り出させ,文書画像の配列にしたがってクライアント端末装置の表示画面に表示するように,切り出された文字画像を配列させる表示プログラムを,上記クライアント端末装置に送信することを特徴とする。
 この発明は,文書画像送信装置の動作制御方法を実施するためのコンピュータが読み取り可能なプログラムも提供している。そのようなプログラムを格納した記録媒体を提供するようにしてもよい。
 この発明によると,文書画像を表わす文書画像ファイル,文書画像に含まれている文字を表わす文字画像の位置を表わす位置データおよび表示プログラムが文書画像送信システムからクライアント端末装置に送信される。表示プログラムは,位置データにもとづいて,文書画像から文字画像を切り出させ,文書画像の配列にしたがってクライアント端末装置の表示画面に表示するように,切り出された文字画像を配列させるものである。文書画像ファイルおよび位置データだけでなく,表示プログラムもクライアント端末装置に送信されるので,あらかじめ表示プログラムがインストールされていなくとも,その表示プログラムを利用して文書画像から文字画像を切り出し,クライアント端末装置の表示画面に表示し直すことができる。
 文書画像の大きさが,クライアント端末装置の表示画面に対応してあらかじめ定められている大きさとなるように表示プログラムを作成する表示プログラム作成手段をさらに備えてもよい。このような表示プログラムは,位置データにもとづいて文書画像から文字画像を切り出す場合,文書画像の大きさが変えられているので位置データから文書画像を切り出す位置を算出し,算出された位置にもとづいて文字画像を切り出す処理も行うこととなろう。表示プログラム送信手段は,たとえば,表示プログラム作成手段によって作成させられた表示プログラムをクライアント端末装置に送信する。
 クライアント端末装置から送信され,かつクライアント端末装置の機種を示す機種データを受信する機種データ受信手段をさらに備えてもよい。この場合,表示プログラム作成手段は,たとえば,上記文書画像が,機種データ受信手段によって受信した機種データによって特定される機種のクライアント端末装置の表示画面に対応してあらかじめ定められている大きさとなるように表示プログラムを作成するものとなろう。
 文書画像ファイルによって表わされる文書画像に含まれる文字を表わす文字画像の位置を検出し,その位置を表わす位置データを生成する位置データ生成手段をさらに備えてもよい。この場合,位置データ生成手段は,たとえば,位置データ生成手段によって生成された位置データをクライアント端末装置に送信するものとなろう。
文書画像送信装置の電気的構成を示すブロック図である。 文書画像の一例である。 文書画像に含まれている領域の一例である。 文書画像送信装置の処理手順を示すフローチャートである。 レイアウト情報テーブルの一例である。 文書画像に含まれている領域の一例である。 文字情報テーブルの一例である。 機種/解像度テーブルの一例である。 携帯電話の電気的構成を示すブロック図である。 携帯電話の処理手順を示すフローチャートである。 レイアウト整形処理手順を示すフローチャートである。 携帯電話の表示画面の一例である。
 図1は,この発明の実施例を示すもので,文書画像送信装置1の電気的構成を示すブロック図である。
 文書画像送信装置1には,文書ストレージ2,文書ファイル取得装置3,文書画像出力装置4,文書コンテンツ作成装置5,文書レイアウト解析装置6,整形プログラム(表示プログラム)作成装置7,メモリ8および通信装置9が含まれている。
 文書ストレージ2には,多数の文書ファイルが格納されている。これらの文書ファイルには,文書を表わすテキスト・データが格納されている。文書ファイル取得装置3は,文書ストレージ2に格納されている多数の文書ファイルから所望の文書ファイルを取得するものである。文書画像出力装置4は,文書ファイル取得装置3において取得された文書ファイルを文書画像ファイルに変換して出力するものである。文書ファイルには文書を表わすテキスト・データが格納されているが,文書画像ファイルには,文書を表わす画像データが格納されている。文書画像ファイルによって表わされる文書画像は,文書(文章,文字)が画像として表わされているものである。
 文書コンテンツ作成装置5は,文書画像出力装置4において生成される文書画像ファイル,文書レイアウト解析装置6において生成されるレイアウト情報,整形プログラム作成装置7において作成される整形プログラムを用いて,スマートフォンなどの携帯電話の表示画面に表示できる文書コンテンツを作成する。文書コンテンツは,HTML(HyperText Markup Language)リソースとして実現されるが,EPUB(electronic publication)等のスクリプト言語で文書コンテンツの動作が制御可能なフォーマットにされる。文書レイアウト解析装置6は,文書画像出力装置から出力された文書画像ファイルによって表わされる文書画像を解析し,レイアウト情報を生成するものである。詳しくは後述するようにレイアウト情報テーブル(図5参照),文字情報テーブル(図7参照)などが得られる。
 整形プログラム作成装置7は,文書画像ファイルによって表わされる文書画像を,スマートフォンなどの携帯電話の表示画面に表示できるように整形するプログラムを作成するものである。ウェブ・ブラウザで動作可能にするためのJavaScript(登録商標)等のスクリプト言語で作成される。文書画像を整形するための描画機能は,HTMLのCanvas要素,文書画像から文字を表わす文字画像を一文字ずつ切り取った画像をsrc属性としたimg要素で実現できる。メモリ8は,動作プログラム,データ等を記憶するものである。通信装置9は,スマートフォンなどの携帯電話からのリクエストの受信,生成された文書コンテンツをスマートフォンなどの携帯電話に送信などを行うものである。
 後述する動作を制御するプログラムが通信装置9において受信されると,その受信したプログラムが文書画像送信装置1にインストールされる。文書ストレージ2などにプログラムが記憶されており,文書ストレージ2からプログラムが読み取られて文書画像送信装置1にインストールされるようにしてもよい。また,文書画像送信装置1にCD(コンパクト・ディスク)ドライブなどが設けられ,動作プログラムが格納されているCDがそのCDドライブに装填され,CDから動作プログラムが読み取られて文書画像送信装置1にインストールされるようにしてもよい。
 図2は,文書画像10の一例である。
 上述したように,文書画像10は,文書が画像化されたものであり,画像データ(文書画像ファイル)によって表わされる。
 文書画像10には,5つの領域11から15が規定されている。これらの領域11から15のそれぞれにおいて,文字が直線11Aから15Aによって表わされている。領域11,13および15に含まれている文字(文章)は横書きであり,横書きを示すために文字を表わす直線11A,13Aおよび15Aは横方向の実線で表わされている。領域12および14に含まれている文字(文章)は縦書きであり,縦書きを示すために文字を表わす直線12Aおよび14Aは縦方向の実線で表わされている。文書画像10には領域11から15が規定されているが,領域が規定されていずに文書画像10に文字画像が羅列されていてもよい。
 図3は,領域11を図2に比べて拡大したものである。領域11の一部が図示されている。
 領域11には,文字21から40が画像として表わされている。これらの文字21から40は,丸印によって表現されている。第1行には文字21から文字30までの10文字が記述されており,第2行には文字31から文字40までの10文字が記述されている。第3行以降も同様に文字が記述されている。
 図4は,文書画像送信装置1の処理手順を示すフローチャートである。
 この実施例では,携帯電話から文書画像送信装置1にリクエストが送信され,そのリクエストに応じて文書画像ファイル等が文書画像送信装置1から携帯電話に送信されるものである。
 携帯電話から送信されたリクエストが文書画像送信装置1において受信されると(ステップ51),そのリクエストに対応した文書ファイルが文書取得装置3によって文書ストレージ2から取得される(ステップ52)。文書ファイルが取得されると,文書画像出力装置4において文書ファイルから文書画像ファイルが生成される。これにより文書が画像化される(ステップ53)。
 文書が画像化されたことにより得られる文書画像が,文書レイアウト解析装置6によって解析される(ステップ54)。レイアウト解析によって,レイアウト情報テーブルおよび文字情報テーブルが生成される。
 図5は,文書画像10のレイアウト情報テーブルの一例である。
 レイアウト情報テーブルは,1つ(1ページ)の文書画像に対応して1つ生成されるもので,文書画像に領域が含まれている場合に,その領域についての情報が格納されている。レイアウト情報テーブルには,文書画像10に含まれている領域11から15を識別するための領域番号が格納されている。この領域番号に対応して,領域の横位置,領域の縦位置,領域の幅,領域の高さおよび領域内に含まれている文字方向(文字の並び方向)が規定されている。領域番号1から5のそれぞれは,文書画像10に含まれている領域11から15のそれぞれに対応している。
 横位置は文書画像10の左上の頂点を原点としたときのX座標位置(画素数位置)を示し,縦位置は文書画像10の左上の頂点を原点としたときのY座標位置(画素数位置)を示している。幅は各領域の横幅(水平方向の長さ,画素数)であり,高さは各領域の高さ(垂直方向の長さ,画素数)である。文字方向は,各領域に含まれている文字が横書きか,縦書きかを示すもので,「横」は横書きを示し,「縦」は縦書きを示している。
 領域11から15のそれぞれを囲んでいる矩形の枠を検出することにより,領域11から15のそれぞれの位置等の情報が検出される。
 図6は,図3に対応するもので,文書画像10に含まれる領域11の一部を示している。
 この実施例では,文書画像10に含まれている文字を画像として表わす文字画像についての情報も検出される。そのために,文字画像の領域が検出される。
 領域11に含まれている個々の塊が見つけられ,それらの塊を囲むように矩形の領域61から80等が,画像化された文字21から40等についての文字画像とされる。これらの文字画像61から80等についての情報が文字情報テーブルに格納される。
 図7は,文書画像10の文字情報テーブルの一例である。
 文字情報テーブルもレイアウト情報テーブルと同様に一つの文書画像に対応して生成される。
 文字情報テーブルには,領域ごとに文字画像を識別する文字番号が格納されている。また,文字情報テーブルには,文字番号に対応して,その文字番号によって特定される文字画像がどの領域に含まれているかを示す領域番号,文字画像の横位置,縦位置,幅および高さの情報も格納されている。例えば,文字番号が「1」で,領域番号も「1」であれば,領域11に含まれており,文字番号「1」で特定される文字画像(文字画像61)についての横位置等の情報が分る。同様に,文字番号が「2」で,領域番号が「1」であれば,領域11に含まれており,文字番号「2」で特定される文字画像(文字画像62)についての横位置等の情報が分る。文字番号が「1」で,領域番号が「2」であれば,領域12に含まれており,文字番号「1」で特定される文字画像についての横位置等の情報が分る。このように文字情報テーブルから,その文字情報がどの領域に含まれており,かつどの位置にあるかが分る。
 図4に戻って,文書画像のレイアウト解析が終了すると,携帯電話に応じた文書整形プログラムが作成される(ステップ55)。
 図8は,携帯電話の表示画面の解像度を示す機種/解像度テーブルである。
 携帯電話の機種に対応して,機種/解像度テーブルに解像度(画素数)が格納されている。携帯電話の表示画面の解像度(大きさ)は,携帯電話の機種ごとに異なることがある。たとえば,機種Aは横幅w1であり,縦の長さh1であるが,機種Bは横幅w2であり,縦の長さh2である。
 文書画像10の大きさと携帯電話の表示画面の大きさとは異なることから,文書画像10をそのままの大きさで携帯電話の表示画面に表示することはできない。このために,文書画像10から検出された文字画像61から80等のそれぞれの画像が文書画像10から切り出され,文書画像10における配列にしたがって,携帯電話の表示画面に配列し直される。しかしながら,携帯電話の機種ごとに携帯電話の表示画面の解像度(大きさ,画素数)が異なることから,図6に示したように,検出された文字画像61から80等を単に文書画像10の配列どおりに配列しただけでは,見やすく表示することができないことがある。このために,この実施例では,携帯電話に応じた文書整形プログラムが作成される(図4ステップ55)。携帯電話に応じた文書整形プログラムの動作について,詳しくは後述する。
 文書整形プログラムが作成されると,文書画像ファイル,レイアウト情報テーブル,文字情報テーブルおよび文書整形プログラムから文書コンテンツが作成され,作成された文書コンテンツが携帯電話に送信される(ステップ56)。
 図9は,いわゆるスマートフォンと呼ばれる携帯電話101の電気的構成を示すブロック図である。
 携帯電話101の全体の動作は,制御装置102によって統括される。
 携帯電話101には,他の携帯電話との通信,インターネットへのアクセス等のための通信装置110およびアンテナ111が設けられている。
 また,携帯電話101には,表示画面に文書,画像などを表示するための表示装置103が設けられている。表示装置103の表示画面には,タッチ・パネル104が形成されている。表示画面上に形成されているタッチ・パネル104をタッチすることにより,ユーザは,携帯電話101に様々な指令を与えることができる。
 携帯電話101には,ブラウザなどのプログラム,所定のデータが格納されるメモリ105も含まれている。さらに,携帯電話101には,スピーカ108およびマイクロフォン109も含まれている。音声信号は,増幅回路107によって増幅されてスピーカ108に与えられることによりスピーカ108から音声が出力される。また,マイクロフォン109から入力した音声を表わす音声信号は,増幅回路107によって増幅されて制御装置102に入力する。
 図10は,携帯電話101の処理手順を示すフローチャートである。
 上述のように,文書画像送信装置1から送信された文書コンテンツが携帯電話101において受信されると,その文書コンテンツによって表わされる文書画像10が携帯電話101の表示画面に表示される。文書画像10の大きさ(画素数)よりも携帯電話101の表示画面の大きさ(画素数)の方が小さいのが一般的であるから,縮小された文書画像10が携帯電話101の表示画面に表示されることとなろう。携帯電話101の表示画面に表示された文書画像10に含まれる領域のうち,表示画面に大きく表示させたい領域(整形対象となる領域)がタッチされることにより,選択される(ステップ121)。ここでは,文書画像10の領域11が選択されたものとする。
 つづいて,携帯電話101の表示領域に対応した描画領域が生成される(ステップ121)。
 図12は,携帯電話101の表示画面150の一例である。
 この表示画面150に対応した描画領域が生成されることとなる。
 表示画面150の上側の領域151は選択された領域内に含まれる文字画像を表示する領域であり,表示画面150の下側の領域152は文書画像10を表示する領域である。もっとも,表示画面150の全体にわたって,選択された領域に含まれる文字画像が表示されるようにしてもよい。表示画面150の上側の領域151には,領域11に含まれる文字画像61から72等が図示されている。領域11の大きさ(幅,画素数)と表示画面150の大きさ(幅,画素数)とが異なるので,領域11に配列されている文字画像61から80等とは異なり,第1行には6つの文字画像61から66が表示され,第2行にも6つの文字画像67から72が表示されている。
 図10に戻って,文字情報テーブルから,選択された領域についての文字情報が取得され(ステップ123)。レイアウト整形が行われる(ステップ124)。
 図11は,整形プログラムにもとづくレイアウト整形処理手順(図10ステップ124の処理手順)を示すフローチャートである。
 図13に示すように,1行に6文字の文字画像が配列されるものとする。領域11の6文字分の文字画像が1行分として表示画面151に入るように,文書画像10の大きさが変えられる。携帯電話の機種(表示画面の大きさ)に応じて文書画像10の大きさが変えられることとなる(ステップ131)。文書画像10の大きさが変えられると,文字画像の位置が変わるので,文書画像送信装置1から送信されたレイアウト情報テーブルおよび文字情報テーブルにしたがって文書画像10から文字画像が切り出されても,文字画像は正確には切り出されない。このために,レイアウト情報および文字情報テーブルから文字画像の切り取り位置が算出される(ステップ132)。たとえば,文書画像10の領域11の第1文字目の文字画像61から第6文字目の文字画像66までの画素数が携帯電話101の表示画面151の画素数と一致していると,切り取り位置は変わらないので,文書画像送信装置1から送信されたレイアウト情報テーブルおよび文字情報テーブルを用いて文書画像10から文字画像が切り取られる。しかしながら,文書画像10の領域11の第1文字目の文字画像61から第6文字目の文字画像66までの画素数が携帯電話101の表示画面151の画素数と一致していず,表示画面150の横方向に6文字分の文字画像を丁度表示できない場合には,文書画像10が拡大または縮小されることとなる。たとえば,文書画像10の大きさを横方向に1/3の大きさに縮小することにより,携帯電話101の表示画面151に丁度6文字分の文字画像が表示される場合には,文書画像10の大きさが横方向および縦方向にそれぞれ1/3の大きさとなるように縮小される。レイアウト情報テーブルから得られる領域の位置についての情報等および文字情報テーブルから得られる文字情報の位置についての情報等から,整形プログラムにもとづいて切り取り位置が算出されることとなる。たとえば,図7に示す文字情報テーブルでは,領域番号「1」で特定される領域11に含まれ,文字番号「1」で特定される文字画像61は,横位置「3」,縦位置「5」,幅「10」,高さ「10」であるので,文書画像10の大きさが変わらなければ,それらの位置で特定される領域が切り出されることにより,文字画像61が文書画像10から切り出されるが,文書画像の大きさが横方向および縦方向にそれぞれ1/3とされると,横位置「3/3=1」,縦位置「5/3」,幅「10/3」,高さ「10/3」で特定される領域が切り出されることにより,縮小された文書画像10から文字画像61が切り出されることとなる。他の文字画像についても同様である。
 つづいて,番号パラメータ(領域番号)nおよび行パラメータmがそれぞれ1にリセットされる(ステップ134)。上述のようにして算出された位置にある文字画像のうち第n番目の文字画像が読み取られる(切り出される)と(ステップ134,ステップ135でNO),その第n番目の文字画像が第m行の表示領域に位置決めされる(ステップ136)。たとえば,最初の文字画像であれば,その文字画像が第1行目の最初の位置に位置決めされ,図13に示すように文字画像61が位置決めされる。第n番目の文字画像が表示領域50に収まれば(ステップ137でNO),番号パラメータnがインクレメントされ(ステップ138),再びステップ134および136の処理が繰り返される。これにより第m行に文書画像の文字配列にしたがってあらかじめ定められた文字数分の文字画像が順次位置決めされていく。したがって,文字画像は表示画面に対応してあらかじめ定められている大きさとなる。
 第n番目の文字画像が表示領域に収まらなくなると(ステップ137でYES),番号パラメータnおよび行パラメータmのいずれもがインクレメントされる(ステップ139)次の行から文字画像が位置決めされていくこととなる。
 文書画像10に含まれる文字画像が携帯電話101の表示画面150に表示されるように文字画像を位置決めする場合に,携帯電話101に適した整形プログラムを利用して,あらかじめ定められている1行ごとの文字数どおりに文字画像を位置決めすることができる。
 上述の実施例では,携帯電話の機種に対応した文字の大きさ(1行あたりの文字数)が表示されるように機種に対応した整形プログラムを作成していることとなる。しかしながら,機種に対応した整形プログラムをあらかじめ生成し,リクエストした携帯電話に対応して形成プログラムが携帯電話に送信されるようにしてもよい。
 上述の実施例では,横書きの文字が配列されている領域11について説明したが,横書きでなく,縦書きの文字が配列されている領域12,14等についても同様の処理ができる。
 また,上述した文書画像送信装置1の動作をサーバに行わせるようにしてもよい。
 上述した文書コンテンツは,HTMLリソースとして実現され,整形プログラムはJavaScript(登録商標)が利用されているので,携帯電話101に専用アプリケーションがインストールされていなくとも,ブラウザがインストールされていれば,上述した処理が可能となる。 
1 文書画像送信装置
4 文書画像出力装置
5 文書コンテンツ作成装置
6 文書レイアウト解析装置
7 整形プログラム作成装置
9 通信装置
101 携帯電話(クライアント端末装置)

Claims (6)

  1.  文書が画像化された文書画像を表わす文書画像ファイルをクライアント端末装置に送信する文書画像ファイル送信手段,
     上記文書画像ファイルによって表わされる文書画像に含まれている文字を表わす文字画像の位置を表わす位置データを,上記クライアント端末装置に送信する位置データ送信手段,および
     上記位置データにもとづいて上記文書画像ファイルによって表わされる文書画像から文字画像を切り出させ,文書画像の配列にしたがって上記クライアント端末装置の表示画面に表示するように,切り出された文字画像を配列させる表示プログラムを,上記クライアント端末装置に送信する表示プログラム送信手段,
     を備えた文書画像送信装置。
  2.  上記文書画像の大きさが,上記クライアント端末装置の表示画面に対応してあらかじめ定められている大きさとなるように表示プログラムを作成する表示プログラム作成手段をさらに備え,
     上記表示プログラム送信手段は,
     上記表示プログラム作成手段によって作成させられた表示プログラムを上記クライアント端末装置に送信するものである,
     請求項1に記載の文書画像送信装置。
  3.  上記クライアント端末装置から送信され,かつ上記クライアント端末装置の機種を示す機種データを受信する機種データ受信手段をさらに備え,
     上記表示プログラム作成手段は,
     上記文書画像が,上記機種データ受信手段によって受信した機種データによって特定される機種のクライアント端末装置の表示画面に対応してあらかじめ定められている大きさとなるように表示プログラムを作成するものである,
     請求項2に記載の文書画像送信装置。
  4.  上記文書画像ファイルによって表わされる文書画像に含まれる文字を表わす文字画像の位置を検出し,その位置を表わす位置データを生成する位置データ生成手段をさらに備え,
     上記位置データ生成手段は,
     上記位置データ生成手段によって生成された位置データを上記クライアント端末装置に送信するものである,
     請求項1から3のうち,いずれか一項に記載の文書画像送信装置。
  5.  文書画像ファイル送信手段が,文書が画像化された文書画像を表わす文書画像ファイルをクライアント端末装置に送信し,
     位置データ送信手段が,上記文書画像ファイルによって表わされる文書画像に含まれている文字を表わす文字画像の位置を表わす位置データを,上記クライアント端末装置に送信し,
     表示プログラム送信手段が,上記位置データにもとづいて上記文書画像ファイルによって表わされる文書画像から文字画像を切り出させ,文書画像の配列にしたがって上記クライアント端末装置の表示画面に表示するように,切り出された文字画像を配列させる表示プログラムを,上記クライアント端末装置に送信する,
     文書画像送信装置の動作制御方法。
  6.  文書画像送信装置のコンピュータを制御するコンピュータが読み取り可能なプログラムであって,
     文書が画像化された文書画像を表わす文書画像ファイルをクライアント端末装置に送信させ,
     上記文書画像ファイルによって表わされる文書画像に含まれている文字を表わす文字画像の位置を表わす位置データを,上記クライアント端末装置に送信させ,
     上記位置データにもとづいて上記文書画像ファイルによって表わされる文書画像から文字画像を切り出させ,文書画像の配列にしたがって上記クライアント端末装置の表示画面に表示するように,切り出された文字画像を配列させる表示プログラムを,上記クライアント端末装置に送信させるように文書画像送信装置を制御するプログラム。
PCT/JP2013/074552 2012-09-26 2013-09-11 文書画像送信装置ならびにその動作制御方法およびその動作制御プログラム Ceased WO2014050561A1 (ja)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2012211633 2012-09-26
JP2012-211633 2012-09-26

Publications (2)

Publication Number Publication Date
WO2014050561A1 true WO2014050561A1 (ja) 2014-04-03
WO2014050561A8 WO2014050561A8 (ja) 2015-03-26

Family

ID=50387968

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2013/074552 Ceased WO2014050561A1 (ja) 2012-09-26 2013-09-11 文書画像送信装置ならびにその動作制御方法およびその動作制御プログラム

Country Status (1)

Country Link
WO (1) WO2014050561A1 (ja)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003173261A (ja) * 2001-12-06 2003-06-20 Fuji Photo Film Co Ltd アプリケーション配信システム、アプリケーション配信方法およびアプリケーション配信プログラム
JP2012108750A (ja) * 2010-11-18 2012-06-07 Fujifilm Corp 文書画像表示装置ならびにその動作制御方法およびその制御プログラム

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003173261A (ja) * 2001-12-06 2003-06-20 Fuji Photo Film Co Ltd アプリケーション配信システム、アプリケーション配信方法およびアプリケーション配信プログラム
JP2012108750A (ja) * 2010-11-18 2012-06-07 Fujifilm Corp 文書画像表示装置ならびにその動作制御方法およびその制御プログラム

Also Published As

Publication number Publication date
WO2014050561A8 (ja) 2015-03-26

Similar Documents

Publication Publication Date Title
US11790158B1 (en) System and method for using a dynamic webpage editor
US8286076B1 (en) Rendering approximate webpage screenshot client-side
CN112100543B (zh) 渲染网页的方法、装置、存储介质及电子设备和服务器
US20210067825A1 (en) Display device and content providing method thereof
KR20140055132A (ko) 클라우드 서버를 이용하여 단말 장치에서 웹페이지를 처리하는 방법 및 장치
JP5654851B2 (ja) 文書画像表示装置ならびにその動作制御方法およびその制御プログラム
CN110909274A (zh) 页面浏览方法、装置及电子设备
US9548042B2 (en) Responsive document breakpoints systems and methods
CN114626332B (zh) 内容展示方法、装置和电子设备
CN110443772B (zh) 图片处理方法、装置、计算机设备和存储介质
CN111814086A (zh) 一种用于对网页进行截图方法和系统
EP2801920A1 (en) Method and apparatus for displaying web page
JP5303534B2 (ja) 体裁情報処理装置及び方法
US20170031889A1 (en) Creating a communication editable in a browser independent of platform and operating system
CN104156421A (zh) 页面的展现方法、装置及系统
CN110427584A (zh) 页面生成方法、装置、电子设备及计算机可读存储介质
WO2014050561A1 (ja) 文書画像送信装置ならびにその動作制御方法およびその動作制御プログラム
JP5564641B2 (ja) 電子書籍表示制御装置、電子書籍表示制御プログラム、電子書籍表示制御方法、電子書籍
US20150269131A1 (en) Content conversion apparatus and method, and communication system
CN113676677B (zh) 动态图片合成方法、装置、电子设备及可读存储介质
CN106155455A (zh) 界面中对象的控制方法和装置
KR101642160B1 (ko) 통신 단말 장치, 콘텐츠 제공 장치 및 방법, 전자책 저작 시스템 및 방법
US20160170945A1 (en) Information processing device, information processing method, and computer program product
JP2012079141A (ja) 携帯型表示装置ならびにその動作制御方法およびその動作プログラム
CN113157164A (zh) 显示控制方法、装置和电子设备

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

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP