JP2010224659A - Information processing device, information processing method, program and storage medium - Google Patents

Information processing device, information processing method, program and storage medium Download PDF

Info

Publication number
JP2010224659A
JP2010224659A JP2009068568A JP2009068568A JP2010224659A JP 2010224659 A JP2010224659 A JP 2010224659A JP 2009068568 A JP2009068568 A JP 2009068568A JP 2009068568 A JP2009068568 A JP 2009068568A JP 2010224659 A JP2010224659 A JP 2010224659A
Authority
JP
Japan
Prior art keywords
comment
template
image
information
layout
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.)
Pending
Application number
JP2009068568A
Other languages
Japanese (ja)
Inventor
Hideki Sorato
日出来 空門
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2009068568A priority Critical patent/JP2010224659A/en
Publication of JP2010224659A publication Critical patent/JP2010224659A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To form a template for a comment or the like. <P>SOLUTION: The device includes: an analysis means which analyzes the layout of a document and obtains layout information obtained by analyzing the layout; an acquisition means which acquires a comment sentence of a comment area related to the document based on the layout information; a comment template preparation means which forms a comment template based on the comment sentence acquired by the acquisition means and image information related to an image of an image area corresponding to the comment area; and a document template preparation means which forms a document template based on the comment template formed by the preparation means and the layout information. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、情報処理装置、情報処理方法、プログラム及び記憶媒体に関する。   The present invention relates to an information processing apparatus, an information processing method, a program, and a storage medium.

従来、画像データやコメント等の要素を配置した文書に電子アルバムがある。電子アルバムの作成にあたって、画像データやコメント等の表示領域の位置やサイズといったレイアウト情報を予め定義した文書テンプレートを用いて、画像データを配置する方法が知られている(例えば、特許文献1参照)。   Conventionally, there is an electronic album as a document in which elements such as image data and comments are arranged. In creating an electronic album, a method is known in which image data is arranged using a document template in which layout information such as the position and size of a display area such as image data and comments is defined in advance (see, for example, Patent Document 1). .

文書テンプレートを自動的に作成するためにレイアウト解析が行われる。レイアウト解析技術は、画像データやコメントの表示領域の位置およびサイズを特定する。これにより得られた情報を文書テンプレートとすることができる。   Layout analysis is performed to automatically create a document template. The layout analysis technique specifies the position and size of the display area for image data and comments. Information thus obtained can be used as a document template.

特開平09−190546号公報JP 09-190546 A

しかしながら、良いアルバムはレイアウトが美しいだけではなく、アルバムの画像データやコメントといった内容の持つメッセージ性やストーリー性も優れている。従来のレイアウト解析技術を用いた方法では、レイアウト情報しかテンプレート化されない。そのため、ストーリー性等の内容の情報を再利用できない問題があった。   However, a good album is not only beautiful in layout, but also has excellent message characteristics and story characteristics of the album image data and comments. In the method using the conventional layout analysis technique, only layout information is templated. For this reason, there has been a problem that information on contents such as storylines cannot be reused.

本発明はこのような問題点に鑑みなされたもので、コメント等の内容もテンプレート化することを目的とする。   The present invention has been made in view of such problems, and it is an object of the present invention to make contents such as comments into a template.

そこで、本発明は、文書のレイアウトを解析し、前記レイアウトを解析した結果であるレイアウト情報を得る解析手段と、前記レイアウト情報に基づいて、前記文書に係るコメント領域のコメント文を取得する取得手段と、前記取得手段で取得されたコメント文と、前記コメント領域に対応する画像領域の画像に関係する画像情報と、に基づいてコメントテンプレートを作成するコメントテンプレート作成手段と、前記作成手段で作成されたコメントテンプレートと、前記レイアウト情報と、に基づいて、文書テンプレートを作成する文書テンプレート作成手段と、を有する。   Therefore, the present invention analyzes the layout of a document, obtains layout information that is a result of analyzing the layout, and obtainment means for obtaining a comment text in a comment area related to the document based on the layout information Comment template creating means for creating a comment template based on the comment sentence obtained by the obtaining means and image information related to the image in the image area corresponding to the comment area, and created by the creating means. Document template creating means for creating a document template based on the comment template and the layout information.

本発明によれば、コメント等の内容もテンプレート化することができる。   According to the present invention, the content of comments and the like can also be made into a template.

情報処理装置(コンピュータ)のハードウェア構成の一例を示す図である。It is a figure which shows an example of the hardware constitutions of information processing apparatus (computer). 画像データの構成図である。It is a block diagram of image data. 文書テンプレートの一例を示す図(その1)である。FIG. 3 is a diagram (part 1) illustrating an example of a document template. 情報処理装置の機能構成の一例を示す図(その1)である。FIG. 3 illustrates an example of a functional configuration of an information processing apparatus (part 1); レイアウト解析の対象となる電子アルバムの一例を示す図である。It is a figure which shows an example of the electronic album used as the object of layout analysis. 図5に示す電子アルバムのレイアウト解析の結果得られたレイアウト情報の概念を示す図である。It is a figure which shows the concept of the layout information obtained as a result of the layout analysis of the electronic album shown in FIG. 文書テンプレートの概念図である。It is a conceptual diagram of a document template. 文書テンプレート作成処理を示すフローチャートである。It is a flowchart which shows a document template creation process. S906の処理の詳細を示したフローチャートである。It is the flowchart which showed the detail of the process of S906. 表現辞書の一例を示す図である。It is a figure which shows an example of an expression dictionary. メタデータの一例を示す図である。It is a figure which shows an example of metadata. 本実施形態でアルバムに利用する画像データを示した図である。It is the figure which showed the image data utilized for an album in this embodiment. 画像データのメタデータを記述した図である。It is a figure describing metadata of image data. 電子アルバムの一例を示す図である。It is a figure which shows an example of an electronic album. 情報処理装置の機能構成の一例を示す図(その2)である。FIG. 3 illustrates an example of a functional configuration of the information processing apparatus (part 2); 固有表現とメタデータ項目との対応付けの一例を示す図である。It is a figure which shows an example of matching with a specific expression and a metadata item. 情報処理装置の機能構成の一例を示す図(その3)である。FIG. 3 illustrates an example of a functional configuration of the information processing apparatus (part 3); 文書テンプレートの一例を示す図(その2)である。FIG. 10 is a second diagram illustrating an example of a document template. ステップS906直後の画像関連情報の作成処理の一例を示すフローチャートである。It is a flowchart which shows an example of the production process of the image relevant information immediately after step S906.

以下、本発明の実施形態について図面に基づいて説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

<実施形態1>
図1は、情報処理装置(コンピュータ)のハードウェア構成の一例を示す図である。
図1において、Central Processing Unit(CPU)101は、情報処理装置100全体を制御する。Read Only Memory(ROM)102は、変更を必要としないプログラムやパラメータを格納する。Random Access Memory(RAM)103は、外部装置等から供給されるプログラムやデータを一時記憶する。外部記憶装置104は、情報処理装置100に固定して設置されたハードディスクやメモリカード等である。入力デバイスインターフェイス105は、ユーザの操作を受け、データを入力するポインティングデバイスやキーボード等の入力デバイス109とのインターフェイスである。出力デバイスインターフェイス106は、情報処理装置100の保持するデータや供給されたデータを表示するためのモニタ110とのインターフェイスである。ネットワークインターフェイス107は、インターネット等のネットワーク回線111に接続するためのインターフェイスである。システムバス108は、101〜107の各ユニットを通信可能に接続する。
CPU101によってプログラムが実行されることによって、後述する情報処理装置の機能、又はフローチャートの各ステップに係る処理が実現される。
<Embodiment 1>
FIG. 1 is a diagram illustrating an example of a hardware configuration of an information processing apparatus (computer).
In FIG. 1, a central processing unit (CPU) 101 controls the entire information processing apparatus 100. The Read Only Memory (ROM) 102 stores programs and parameters that do not need to be changed. A Random Access Memory (RAM) 103 temporarily stores programs and data supplied from an external device or the like. The external storage device 104 is a hard disk, a memory card, or the like that is fixedly installed in the information processing apparatus 100. The input device interface 105 is an interface with an input device 109 such as a pointing device or a keyboard that receives data from a user and inputs data. The output device interface 106 is an interface with the monitor 110 for displaying data held by the information processing apparatus 100 and supplied data. The network interface 107 is an interface for connecting to a network line 111 such as the Internet. The system bus 108 connects the units 101 to 107 so that they can communicate with each other.
By executing the program by the CPU 101, the functions of the information processing apparatus to be described later, or processes related to the steps of the flowchart are realized.

図2は、画像データの構成図である。
画像データ200は、メタデータ201と画像本体データ207とで構成される。
メタデータ201は、日付202、被写体203、地名204、イベント205、天気206等で構成される。メタデータはExif形式やXML形式等によって記述されてもよい。日付202は、カメラ等の撮影機器によって付与されてもよい。被写体203、地名204、イベント205、天気206は、予め人手によって付与されてもよい。或いは、被写体203や天気206は画像認識技術等によって付与されていてもよい。また、日付、被写体、地名、イベント、天気をメタデータ項目と呼び、それぞれの具体的な値である2008/08/10、建物、フィレンツェ、散策、晴れをメタデータ値と呼ぶこととする。
画像本体データ207は、画像データ200の本体で、例えばJPEG等の符号化方式でエンコードされたデータに相当する。或いは、画像本体データ207は、MPEG等の符号化方式でエンコードされた動画データであってもよい。なお、メタデータ201は、画像データ200に埋め込まずに、画像本体データ207と関連付けて別々に保管してもよい。
FIG. 2 is a configuration diagram of image data.
The image data 200 includes metadata 201 and image main body data 207.
The metadata 201 includes a date 202, a subject 203, a place name 204, an event 205, weather 206, and the like. The metadata may be described in an Exif format, an XML format, or the like. The date 202 may be given by a photographing device such as a camera. The subject 203, the place name 204, the event 205, and the weather 206 may be manually assigned in advance. Alternatively, the subject 203 and the weather 206 may be given by an image recognition technique or the like. Further, the date, subject, place name, event, and weather are referred to as metadata items, and specific values of 2008/08/10, building, Florence, stroll, and clear are referred to as metadata values.
The image main body data 207 is the main body of the image data 200 and corresponds to data encoded by an encoding method such as JPEG. Alternatively, the image main body data 207 may be moving image data encoded by an encoding method such as MPEG. Note that the metadata 201 may be stored separately in association with the image body data 207 without being embedded in the image data 200.

次に、本実施形態で扱う文書について説明する。本実施形態は、主に電子アルバムを文書として扱う。電子アルバムとは、図5に示されるような、画像データやコメント等により構成されるデータであり、HTML等の形式で保存・管理される。本実施形態では、電子アルバム中の画像データにはメタデータが関連付けられているものとする。なお、文書はカタログやパンフレット等でもよい。また、そのデータ形式もPDFあるいはTIFF等のマルチフレームに対応した画像ファイル等であってもよい。そのため、本実施形態の文書はこれらに限定されるものではない。   Next, a document handled in the present embodiment will be described. In the present embodiment, an electronic album is mainly handled as a document. The electronic album is data composed of image data, comments, and the like as shown in FIG. 5, and is stored and managed in a format such as HTML. In the present embodiment, it is assumed that metadata is associated with image data in the electronic album. The document may be a catalog or a pamphlet. The data format may also be an image file or the like corresponding to multi-frames such as PDF or TIFF. Therefore, the document of this embodiment is not limited to these.

次に、本実施形態で扱う文書テンプレートについて説明する。従来の文書テンプレートは、画像領域やコメント領域の位置やサイズが定義されたものであった。しかし、本実施形態の文書テンプレートは、アルバムの持つ内容を保持する。そのため本実施形態の文書テンプレートは、次の二つの情報も持つ。一つ目は、アルバムの構成要素同士の関連である。構成要素同士の関連とは、画像データとコメントとの間の「コメントが説明している画像データ」といった関連のことである。以後これを構成要素関連情報と呼ぶ。二つ目は、コメントテンプレートである。コメントテンプレートとは文章の雛型である。この雛型に画像データのメタデータを適用することでコメント文を作成できる。本実施形態では、%で囲んだメタデータ項目名を0個以上含む文字列をコメントテンプレートとする。例えば、地名というメタデータ項目があるとき、コメントテンプレートの一例としては「%地名%にて」というものが考えられる。本実施形態の文書テンプレートに対して画像データを配置すると、関連付けられたコメント領域のコメントテンプレートに、配置した画像のメタデータを適用し、コメント文を得ることができる。より具体的に説明すると、コメントテンプレート中のメタデータ項目を画像データのメタデータ項目の値で置換することでコメント文を得る。例えば、図2の画像データのメタデータを「%地名%にて」に適用すると「フィレンツェにて」というコメント文を作成することができる。なお、本実施形態におけるコメントテンプレートの表現方法及びコメント文への変換方法はこれらに限定されるものではない。   Next, a document template handled in this embodiment will be described. A conventional document template is one in which the positions and sizes of image areas and comment areas are defined. However, the document template of this embodiment holds the contents of the album. Therefore, the document template of this embodiment also has the following two pieces of information. The first is the relationship between the components of the album. The relationship between components is a relationship such as “image data described by a comment” between image data and a comment. Hereinafter, this is referred to as component-related information. The second is a comment template. A comment template is a text template. Comment text can be created by applying image data metadata to this template. In the present embodiment, a character string including zero or more metadata item names enclosed in% is used as a comment template. For example, when there is a metadata item called place name, “% place name%” is considered as an example of a comment template. When image data is arranged in the document template of the present embodiment, the metadata of the arranged image can be applied to the comment template in the associated comment area to obtain a comment sentence. More specifically, the comment text is obtained by replacing the metadata item in the comment template with the value of the metadata item of the image data. For example, when the metadata of the image data in FIG. 2 is applied to “% place name%”, a comment sentence “in Florence” can be created. Note that the comment template expression method and the comment text conversion method in the present embodiment are not limited to these.

文書テンプレートは上記情報を含めばどのような形式で保持されてもよい。例えば、XMLで文書テンプレートを記述すると図3のようになる。
layoutタグ301の内容には、各領域の位置やサイズ及びコメントテンプレートの情報が記述されている。layoutタグ301内のcomponentタグ302で、アルバムの各要素が表現されている。各領域の位置やサイズはcomponentタグの属性として記述されている。idはそれぞれの要素を識別するために割り当てられる固有の番号である。typeは要素の種類を示し、その値imageは画像領域、commentはコメント領域であることを示している。shapeは領域の形を示し、その値rectangleは四角形の領域であることを示している。x、yは領域の位置を示している。width、heightは領域のサイズを示しており、それぞれ領域の幅と高さとを示す。componentタグ302の内容には、コメントテンプレート303が記述されている。
The document template may be held in any format including the above information. For example, a document template is described in XML as shown in FIG.
The content of the layout tag 301 describes the position and size of each area and information about the comment template. Each component of the album is expressed by a component tag 302 in the layout tag 301. The position and size of each area are described as attributes of the component tag. id is a unique number assigned to identify each element. “type” indicates the type of element, its value “image” indicates an image area, and “comment” indicates a comment area. The shape indicates the shape of the area, and the value “rectangle” indicates that the area is a square area. x and y indicate the position of the region. width and height indicate the size of the region, and indicate the width and height of the region, respectively. A comment template 303 is described in the content of the component tag 302.

relationタグ304の内容として、構成要素関連情報が記述されている。個々の構成要素関連情報はconnectionタグ305として表現されている。属性idはそれぞれの構成要素関連情報を識別するために割り当てられる固有の番号である。属性from_idは関連元になる1つの要素である。より具体的にはコメント領域のidが入ることになる。connectionタグ305の内容は、from_idの示す要素に関連付けられる要素であり。各要素はlayoutタグ301で使用したidを属性としたcomponentタグとして列挙される。例えば、connectionタグ305ではidが2のコメント領域が、idが1の画像領域に関連付けられていることがわかる。   As the contents of the relation tag 304, component element related information is described. Individual component-related information is expressed as a connection tag 305. The attribute id is a unique number assigned to identify each component related information. The attribute from_id is one element that becomes a relation source. More specifically, the id of the comment area is entered. The content of the connection tag 305 is an element associated with the element indicated by from_id. Each element is listed as a component tag with the id used in the layout tag 301 as an attribute. For example, in the connection tag 305, it can be seen that the comment area with id 2 is associated with the image area with id 1.

図4は、情報処理装置の機能構成の一例を示す図(その1)である。
アルバム取得部401は、テンプレート化の処理対象となる電子アルバムを取得する。
本実施形態では、電子アルバムは外部記憶装置104に保存されており、オペレーティングシステム(OS)により階層構造で管理されている。この場合、アルバム取得部401は、OSの機能を利用して、指定されたファイルパスより電子アルバムを取得する。また、ROM102やRAM103に電子アルバムが保持されていてもよい。
或いは、インターネット等のネットワーク上に電子アルバムがある場合、URL(Uniform Resource Locator)により電子アルバムが指定されることも考えられる。この場合、アルバム取得部401は、ネットワークインターフェイス107を通じて、ユーザ等に指定されたURLより電子アルバムを取得する。
ファイルパスやURLはユーザが入力デバイス109を通じて指定する。或いは、外部プログラムがRAM103上にファイルパスやURLの値を格納し、格納場所のアドレスを指定する。
FIG. 4 is a first diagram illustrating an example of a functional configuration of the information processing apparatus.
The album acquisition unit 401 acquires an electronic album to be a template processing target.
In the present embodiment, the electronic album is stored in the external storage device 104 and is managed in a hierarchical structure by an operating system (OS). In this case, the album acquisition unit 401 acquires an electronic album from the designated file path using the function of the OS. In addition, the electronic album may be held in the ROM 102 or the RAM 103.
Alternatively, when there is an electronic album on a network such as the Internet, it is conceivable that the electronic album is designated by a URL (Uniform Resource Locator). In this case, the album acquisition unit 401 acquires an electronic album from the URL specified by the user or the like through the network interface 107.
The file path and URL are specified by the user through the input device 109. Alternatively, the external program stores the file path and URL value on the RAM 103 and designates the storage location address.

レイアウト解析部402は、アルバム取得部401により取得された電子アルバムをレイアウト解析し、画像データやコメントの表示領域の位置やサイズを求める。加えて、レイアウト解析部402は、画像データのことを記述しているコメントを特定し、画像データとコメントとに関連付けを行う。例えば、レイアウト解析部402は、画像領域に付与されているメタデータとコメントとを比較することによって関連を特定してもよい。或いは、レイアウト解析部402は、領域の近接性等を基に関連を特定してもよい。
より具体的な例として図5、6を用いて、レイアウト解析部402により得られるレイアウト情報を説明する。
図5は、レイアウト解析の対象となる電子アルバムの一例を示す図である。501〜504は画像データであり、505はコメントである。
図6は、図5に示す電子アルバムのレイアウト解析の結果得られたレイアウト情報の概念を示す図である。601〜604は、画像データ501〜504に対応する画像領域である。また、605はコメント505に対応するコメント領域である。そして、606に示す破線は、コメント領域605と画像領域601〜604との関連を表している。これによって、コメント505は、画像データ501〜504に関するコメントであったことが分かる。このような結果がレイアウト解析部402によって生成される。
The layout analysis unit 402 performs layout analysis on the electronic album acquired by the album acquisition unit 401 and obtains the position and size of the display area for image data and comments. In addition, the layout analysis unit 402 identifies a comment describing the image data and associates the image data with the comment. For example, the layout analysis unit 402 may identify the association by comparing the metadata assigned to the image area with a comment. Alternatively, the layout analysis unit 402 may specify the association based on the proximity of the region.
As a more specific example, layout information obtained by the layout analysis unit 402 will be described with reference to FIGS.
FIG. 5 is a diagram illustrating an example of an electronic album to be subjected to layout analysis. Reference numerals 501 to 504 denote image data, and 505 denotes a comment.
FIG. 6 is a diagram showing a concept of layout information obtained as a result of the layout analysis of the electronic album shown in FIG. Reference numerals 601 to 604 denote image areas corresponding to the image data 501 to 504. Reference numeral 605 denotes a comment area corresponding to the comment 505. A broken line indicated by reference numeral 606 represents the relationship between the comment area 605 and the image areas 601 to 604. Accordingly, it can be understood that the comment 505 is a comment related to the image data 501 to 504. Such a result is generated by the layout analysis unit 402.

コメント文取得部403は、コメント領域に該当する電子アルバム上の領域を解析してコメント文を取得する。より具体的には、電子アルバムが画像ファイルならば、コメント文取得部403は、画像ファイルの対象となる領域に対してOCR(Optical Character Recognition)を適用することによりコメント文を取得する。なお、レイアウト解析部402で、予めOCRを適用し、コメント領域とコメント文とを対応付けて保持しておき、コメント文取得部403は、この保存されているコメント文を取得するようにしてもよい。また、電子アルバムが文書ファイルならば、コメント文取得部403は、文書ファイルの対象となる領域より文字列を取得して、コメント文としてもよい。
コメントテンプレート作成部404は、コメント文取得部403で取得されたコメント文と、後述する画像情報取得部407で得られた画像データのメタデータと、を比較する。そして、コメントテンプレート作成部404は、画像データのメタデータと関連するテキスト表現を発見し、画像データのメタデータ項目を用いてコメントテンプレートを作成する。より具体的な処理については後述するフローチャートの図9を用いて説明する。
The comment sentence acquisition unit 403 analyzes the area on the electronic album corresponding to the comment area and acquires the comment sentence. More specifically, if the electronic album is an image file, the comment sentence acquisition unit 403 acquires a comment sentence by applying an OCR (Optical Character Recognition) to the target area of the image file. The layout analysis unit 402 applies OCR in advance, holds the comment area and the comment text in association with each other, and the comment text acquisition unit 403 acquires the stored comment text. Good. If the electronic album is a document file, the comment sentence acquisition unit 403 may acquire a character string from the target area of the document file and use it as a comment sentence.
The comment template creation unit 404 compares the comment text acquired by the comment text acquisition unit 403 with the metadata of the image data acquired by the image information acquisition unit 407 described later. Then, the comment template creation unit 404 finds a text expression associated with the metadata of the image data, and creates a comment template using the metadata item of the image data. More specific processing will be described with reference to FIG.

テンプレート統合部405は、コメントテンプレート作成部404により得られたコメントテンプレートをレイアウト解析部402により得られたレイアウト情報の対応するコメント領域に関連付けて保持する。図5に示す電子アルバムのコメント領域の全てに対応するコメントテンプレートが作成された後の結果を図7に示す。コメント505より作られたコメントテンプレートが、レイアウト情報のコメント領域605に関連付けられて、705に保持されていることが分かる。なお、コメントテンプレートをコメント領域に関連付ける処理は、コメント領域ごとに逐次行ってもよいし、全てのコメント領域に対するコメントテンプレートが作られた後に一括して行ってもよい。   The template integration unit 405 holds the comment template obtained by the comment template creation unit 404 in association with the corresponding comment area of the layout information obtained by the layout analysis unit 402. FIG. 7 shows the result after the comment template corresponding to all the comment areas of the electronic album shown in FIG. 5 is created. It can be seen that the comment template created from the comment 505 is held in 705 in association with the comment area 605 of the layout information. Note that the process of associating a comment template with a comment area may be performed sequentially for each comment area, or may be performed collectively after comment templates for all comment areas are created.

関連画像領域取得部406は、レイアウト解析部402で得られたレイアウト情報より、コメント領域に関連付けられた画像領域を得る。画像領域は一つであるとは限らないため、複数の画像領域が得られることもある。
画像情報取得部407は、アルバム取得部401で得られた電子アルバムより、関連画像領域取得部406より得られた画像領域に位置する画像データのメタデータを取得する。なお、本実施形態では、画像領域に位置する画像データに関係する画像情報の一例としてメタデータを用いて説明を行う。もし、複数の画像領域からメタデータを取得した場合、画像情報取得部407は、全ての画像データにおいて共通するメタデータ値を持つメタデータ項目を残す。
The related image area acquisition unit 406 obtains an image area associated with the comment area from the layout information obtained by the layout analysis unit 402. Since the image area is not necessarily one, a plurality of image areas may be obtained.
The image information acquisition unit 407 acquires metadata of image data located in the image area obtained from the related image area acquisition unit 406 from the electronic album obtained by the album acquisition unit 401. In the present embodiment, description will be made using metadata as an example of image information related to image data located in an image area. If metadata is acquired from a plurality of image areas, the image information acquisition unit 407 leaves a metadata item having a metadata value common to all the image data.

図8は、文書テンプレート作成処理を示すフローチャートである。文書テンプレート作成処理は、入力デバイス109からユーザが所定の操作を行うことで起動される。或いは、文書テンプレート作成処理は、外部プログラムによって起動される。起動時には、処理対象となる電子アルバムが指定される。
ステップS901において、アルバム取得部401は、処理対象となる電子アルバムを取得する。
ステップS902において、レイアウト解析部402は、ステップS901で取得された電子アルバムのレイアウトを解析し、レイアウト情報を得る。
FIG. 8 is a flowchart showing document template creation processing. The document template creation process is started when the user performs a predetermined operation from the input device 109. Alternatively, the document template creation process is activated by an external program. At startup, an electronic album to be processed is designated.
In step S901, the album acquisition unit 401 acquires an electronic album to be processed.
In step S902, the layout analysis unit 402 analyzes the layout of the electronic album acquired in step S901, and obtains layout information.

ステップS903において、例えば、レイアウト解析部402は、ステップS902で得られたレイアウト情報中にコメントテンプレート化の処理をしていないコメント領域がないかを判定する。レイアウト解析部402は、未処理のコメント領域がある場合はステップS904に進み、ない場合は処理を終了する。
ステップS904において、例えば、コメント文取得部403は、未処理のコメント領域をレイアウト情報から一つ選び出す。
ステップS905において、コメント文取得部403は、ステップS904で選択した該コメント領域に対応するコメント文を文字列として得る。
ステップS906において、コメントテンプレート作成部404等は、コメントテンプレートを作成する処理を行う。この処理の詳細は後述するフローチャートの図9を用いて説明する。
ステップS907において、テンプレート統合部405は、S902で得られたレイアウト情報に、S906で得られたコメントテンプレートをコメント領域に関連付けて保持する。
In step S903, for example, the layout analysis unit 402 determines whether there is a comment area in the layout information obtained in step S902 that has not been processed as a comment template. If there is an unprocessed comment area, the layout analysis unit 402 proceeds to step S904, and if not, the process ends.
In step S904, for example, the comment sentence acquisition unit 403 selects one unprocessed comment area from the layout information.
In step S905, the comment sentence acquisition unit 403 obtains a comment sentence corresponding to the comment area selected in step S904 as a character string.
In step S906, the comment template creation unit 404 and the like perform processing for creating a comment template. Details of this processing will be described with reference to FIG.
In step S907, the template integration unit 405 holds the comment template obtained in S906 in association with the comment area in the layout information obtained in S902.

図9は、S906の処理の詳細を示したフローチャートである。
ステップS1001において、画像情報取得部407は、関連画像領域取得部406によって取得された、コメント領域に関連する画像領域をリストアップする。
ステップS1002において、画像情報取得部407は、リストに未処理の画像領域が存在するか否かを判定する。例えば、画像情報取得部407は、次で説明するステップS1003において、リストから処理を行った画像領域を削除することで、リストが空の場合には未処理の画像領域がないと判定すればよい。或いは、画像情報取得部407は、リストの各要素に対してフラグを設け、処理済フラグがOFFである要素が残っているか否かで判断してもよい。画像情報取得部407は、未処理の画像データがある場合はステップS1003に進み、ない場合はステップS1007に進む。
FIG. 9 is a flowchart showing details of the processing in S906.
In step S <b> 1001, the image information acquisition unit 407 lists the image areas related to the comment area acquired by the related image area acquisition unit 406.
In step S1002, the image information acquisition unit 407 determines whether there is an unprocessed image area in the list. For example, in step S1003 described below, the image information acquisition unit 407 may determine that there is no unprocessed image area when the list is empty by deleting the processed image area from the list. . Alternatively, the image information acquisition unit 407 may provide a flag for each element of the list, and determine whether or not there is an element for which the processed flag is OFF. If there is unprocessed image data, the image information acquisition unit 407 proceeds to step S1003, and otherwise proceeds to step S1007.

ステップS1003において、画像情報取得部407は、リストより未処理画像領域を選択し、電子アルバムの該画像領域に対応する画像データのメタデータを取得する。
ステップS1004において、画像情報取得部407は、ステップS1003で選択した画像領域がリストの1番目であるか否かを判定する。画像情報取得部407は、リストの1番目である場合はステップS1005に進み、違う場合はステップS1006に進む。
ステップS1005において、画像情報取得部407は、ステップS1003で取得した画像データのメタデータをそのまま保持する。
ステップS1006において、画像情報取得部407は、保持しているメタデータのそれぞれのメタデータ項目に対して、ステップS1003で取得した画像データのメタデータ項目のメタデータ値と保持しているメタデータ値とが一致するかを調べる。そして、画像情報取得部407は、一致するメタデータのみを残して保持する。ただし、取得した画像データのメタデータとしてメタデータ項目が存在しない場合、画像情報取得部407は、そのメタデータは保持しない。ステップS1001からステップS1006までの処理は、画像情報作成手段における処理の一例に対応する。
ステップS1007において、コメントテンプレート作成部404は、最終的に保持していたメタデータを用いて、コメントテンプレートを作成する。より具体的には、コメントテンプレート作成部404は、メタデータ値に一致するテキスト表現がコメント文中にある場合は、メタデータ項目で置換することによってコメントテンプレートを作成する。
In step S1003, the image information acquisition unit 407 selects an unprocessed image area from the list and acquires metadata of image data corresponding to the image area of the electronic album.
In step S1004, the image information acquisition unit 407 determines whether the image area selected in step S1003 is the first in the list. The image information acquisition unit 407 proceeds to step S1005 if it is the first in the list, and proceeds to step S1006 if it is different.
In step S1005, the image information acquisition unit 407 holds the metadata of the image data acquired in step S1003 as it is.
In step S1006, the image information acquisition unit 407, for each metadata item of the held metadata, the metadata value of the metadata item of the image data acquired in step S1003 and the held metadata value. To see if they match. Then, the image information acquisition unit 407 retains only the matching metadata. However, when there is no metadata item as metadata of the acquired image data, the image information acquisition unit 407 does not hold the metadata. The processing from step S1001 to step S1006 corresponds to an example of processing in the image information creation unit.
In step S1007, the comment template creation unit 404 creates a comment template using the metadata that is finally held. More specifically, the comment template creation unit 404 creates a comment template by replacing with a metadata item when a text expression matching the metadata value is present in the comment sentence.

或いは、コメントテンプレート作成部404は、図10に示すような表現辞書を予め用意しておき、次のように処理するようにしてもよい。つまり、コメントテンプレート作成部404は、保持しているメタデータのメタデータ項目と値が一致する表現辞書の表現をリストアップする。コメントテンプレート作成部404は、リストアップされた表現と一致するコメント文中の文字列を見つける。次に、コメントテンプレート作成部404は、文字列をメタデータ項目で置換することでコメントテンプレートを作成する。
例えば、最終的に保持していたメタデータが図11の場合に、「天気がよいので散策へ」というコメント文に、図10に示す辞書を用いてS1007の処理を施すと、「%天気%ので%イベント%へ」が得られることになる。
また、コメントテンプレート作成部404は、コメント文に予め形態素解析を施し語幹を得てから上記処理を行うようにしてもよい。この場合、コメントテンプレート作成部404は、表現辞書の表現も語幹処理が施されているものを用いる。
さらに、コメントテンプレート作成部404は、文字列のマッチングの際にタイプミス、誤字、脱字、旧字体等の表記上の違いを考慮したマッチングを行ってもよい。
なお、コメントテンプレート作成部404は、メタデータ項目に該当しなかったコメント文の文字列は、一部分だけを残すようにしてもよいし、全てを残さなくてもよい。全てを残さない場合、コメントテンプレートはメタデータ項目のみによりなる。
ちなみに、保持していたメタデータがない場合、コメントテンプレート作成部404は、コメントテンプレートを空の文字列とする。或いは、コメントテンプレート作成部404は、コメント文をそのままコメントテンプレートとしてもよい。
以上述べた方法によって、図7に示すような文書テンプレートが得られることになる。図7は、文書テンプレートの概念図である。実際はXML等によって記述されたデータである。
Alternatively, the comment template creation unit 404 may prepare an expression dictionary as shown in FIG. 10 in advance and perform the following processing. That is, the comment template creation unit 404 lists the expressions in the expression dictionary whose values match the metadata items of the metadata held. The comment template creation unit 404 finds a character string in the comment sentence that matches the listed expression. Next, the comment template creation unit 404 creates a comment template by replacing the character string with a metadata item.
For example, in the case where the metadata that is finally held is FIG. 11, when the processing of S1007 is performed on the comment sentence “we walk because the weather is good” using the dictionary shown in FIG. So you can get "% event%".
Further, the comment template creation unit 404 may perform the above processing after performing a morphological analysis on the comment sentence in advance to obtain a stem. In this case, the comment template creation unit 404 uses an expression in the expression dictionary that has undergone stem processing.
Furthermore, the comment template creation unit 404 may perform matching in consideration of differences in notation such as typing errors, typographical errors, omissions, and old fonts when matching character strings.
Note that the comment template creation unit 404 may leave only a part of the character string of the comment sentence that does not correspond to the metadata item, or may not leave it all. When not leaving all, the comment template consists only of metadata items.
Incidentally, when there is no metadata held, the comment template creation unit 404 sets the comment template to an empty character string. Alternatively, the comment template creation unit 404 may use the comment text as it is as a comment template.
The document template as shown in FIG. 7 is obtained by the method described above. FIG. 7 is a conceptual diagram of a document template. Actually, it is data described in XML or the like.

次に、作成した文書テンプレート(図7)を用いた電子アルバムの作成について述べる。
電子アルバム作成時には、文書テンプレートが表示される。例えば、図7のように文書テンプレートが表示される。ただし、領域同士の関連を示す線は常に表示されていなくてもよい。例えば、領域上にカーソルがあるときのみ、領域の関連のみが表示されるようにしてもよい。また、コメントテンプレートはメタデータ項目名が%で囲まれた表示になっているが、具体的な値を例として示しておいてもよい。例えば、%日付%がという表現を、%2000/9/10%のように具体的な値を適当に当てはめた表現としてもよい。なお、メタデータ項目であることを示すにあたって%で囲んでいるが、フォントを斜体にする等して示してもよい。
図12は、本実施形態でアルバムに利用する画像データを示した図である。図13は、画像データのメタデータを記述した図である。ユーザが入力デバイス109等を用いて画像領域712に画像データ1303を配置すると、画像領域712に関連付けられたコメント領域713のコメントテンプレートよりコメント文が作成される。より具体的には、1303の被写体のメタデータ値が%被写体%の部分に適用され「いろは橋です」というコメント文が生成される。
Next, creation of an electronic album using the created document template (FIG. 7) will be described.
When creating an electronic album, a document template is displayed. For example, a document template is displayed as shown in FIG. However, the line indicating the relationship between the regions may not always be displayed. For example, only the relation of the area may be displayed only when the cursor is on the area. The comment template is displayed with the metadata item name enclosed in%, but a specific value may be shown as an example. For example, the expression “% date%” may be an expression in which a specific value is appropriately applied, such as% 2000/9/10%. In addition, in order to show that it is a metadata item, it is enclosed in%, but you may show it by making a font italic.
FIG. 12 is a diagram showing image data used for an album in the present embodiment. FIG. 13 is a diagram describing metadata of image data. When the user arranges the image data 1303 in the image area 712 using the input device 109 or the like, a comment sentence is created from the comment template in the comment area 713 associated with the image area 712. More specifically, the metadata value of the subject 1303 is applied to the portion of the subject%, and a comment sentence “Iroha Bridge” is generated.

また、メタデータ値を直接使わず、図10に示すようなメタデータとテキスト表現とを対応付けた表現辞書を用いて該当する表現を適用するようにしてもよい。より具体的には、情報処理装置は、表現辞書の項目と値とにそれぞれメタデータ項目とメタデータ値とが一致する表現を検索する。情報処理装置は、該当した表現をコメントテンプレートに適用する。なお、複数該当する表現が存在した場合、情報処理装置は、ユーザが表現を選ぶことができるインターフェイスを備えてもよい。
コメント文を生成するときに、ただ置換しただけでは不自然な文章になることが考えられる。そのため、情報処理装置は、コメント文を修正するコメント編集手段を備えてもよい。或いは、情報処理装置は、自然な文章となるように自動的に補正してもよい。例えば、「晴れていた」というコメント文から「%天気%ていた」というコメントテンプレートが得られていたとする。このとき、天気のメタデータ値が曇りのメタデータが適用されると「曇りていた」と不自然な文章になる。そこで、情報処理装置は、不自然な表現と自然な表現とを対応付けた辞書を用意しておきマッチングにより解決してもよい。こうすることによって、情報処理装置は、例えば、曇りてと曇ってとが対応付けられていた場合、「曇っていた」と自然な文章とすることができる。もしくは、情報処理装置は、コメント文の品詞情報を原文より求めておき、その情報を基に語尾を変化させてもよい。
Further, instead of using the metadata value directly, the corresponding expression may be applied using an expression dictionary associating the metadata and the text expression as shown in FIG. More specifically, the information processing apparatus searches for expressions whose metadata items and metadata values match the items and values of the expression dictionary, respectively. The information processing apparatus applies the corresponding expression to the comment template. Note that when there are a plurality of corresponding expressions, the information processing apparatus may include an interface through which the user can select an expression.
When generating a comment sentence, it is possible that it becomes an unnatural sentence only by replacing it. Therefore, the information processing apparatus may include comment editing means for correcting the comment text. Alternatively, the information processing apparatus may automatically correct the information so that it becomes a natural sentence. For example, it is assumed that a comment template “% weather% was met” is obtained from a comment sentence “sunny”. At this time, if metadata with a cloudy weather metadata value is applied, the text becomes unnatural as “cloudy”. Therefore, the information processing apparatus may prepare a dictionary in which an unnatural expression is associated with a natural expression and solve the problem by matching. By doing so, the information processing apparatus can make a natural sentence “cloudy” when, for example, cloudy and cloudy are associated. Alternatively, the information processing apparatus may obtain part-of-speech information of a comment sentence from the original sentence and change the ending based on the information.

コメントテンプレートは文書テンプレートに含まれるもの以外を用いてもよい。より具体的には、情報処理装置は、予め別にコメントテンプレートを用意しておき、文書テンプレートのコメントテンプレートとメタデータ項目とが少なくとも一つ共通するものを選択して用いる。例えば、情報処理装置は、コメントテンプレートとして「%被写体%です」「%被写体%の前で」「%地名%にて」等を予め用意しておく。文書テンプレートのコメントテンプレートが「%被写体%」であった場合、情報処理装置は、共通のメタデータ項目を含む「%被写体%です」「%被写体%の前で」を選ぶ。情報処理装置は、該当したコメントテンプレートからどちらかを選択する。情報処理装置は、選択したコメントテンプレートを用いて上記方法でコメント文を作成する。これはメタデータ項目のみを残したコメントテンプレートに特に有効である。
画像データが別の画像データに変更されると、関連付けられたコメント領域も変更される。このとき、情報処理装置は、変更されたコメント領域を強調表示する等してユーザに変更を通知してもよい。或いは、情報処理装置は、コメント文が生成された直後に、コメント文が編集可能となるようにしてもよい。例えば、情報処理装置は、コメント文の部分に自動的にカーソルが移動し、編集モードへと移行してもよい。これによって、不自然な文章になっている個所等をユーザが効率的に発見し修正することが可能となる。
Comment templates other than those included in the document template may be used. More specifically, the information processing apparatus prepares a separate comment template in advance, and selects and uses a document template that has at least one common comment template and metadata item. For example, the information processing apparatus prepares “% subject%”, “in front of% subject%”, “in% place name%”, etc. in advance as comment templates. If the comment template of the document template is “% subject%”, the information processing apparatus selects “% subject%” and “in front of% subject%” including common metadata items. The information processing apparatus selects one of the corresponding comment templates. The information processing apparatus creates a comment sentence by the above method using the selected comment template. This is particularly useful for comment templates that leave only metadata items.
When the image data is changed to another image data, the associated comment area is also changed. At this time, the information processing apparatus may notify the user of the change by highlighting the changed comment area. Alternatively, the information processing apparatus may make the comment sentence editable immediately after the comment sentence is generated. For example, the information processing apparatus may automatically move the cursor to the comment portion and shift to the edit mode. As a result, the user can efficiently find and correct an unnatural sentence or the like.

コメントテンプレートよりコメント文を生成すると、コメント文の表示上の行数が変化することがある。また、配置した画像と画像領域とのアスペクト比が異なることもある。そうした場合、配置のバランスが崩れることが考えられる。このとき、情報処理装置は、領域を、中央揃え・上揃え・間隔を均一にするといった処理をすることで配置を調節してもよい。
このようにして、全ての画像データ1301〜1310をアルバムに配置すると、図14のような電子アルバムが得られることになる。
以上のように、本実施形態で作成した文書テンプレートを用いてアルバムを作成すると、内容の記述にかかる手間が軽減されることが分かる。
When a comment sentence is generated from a comment template, the number of lines on the comment sentence display may change. In addition, the aspect ratio between the arranged image and the image area may be different. In such a case, the balance of the arrangement may be lost. At this time, the information processing apparatus may adjust the arrangement of the regions by performing processing such as center alignment, top alignment, and uniform spacing.
When all the image data 1301 to 1310 are arranged in the album in this way, an electronic album as shown in FIG. 14 is obtained.
As described above, it can be seen that when an album is created using the document template created in the present embodiment, the trouble of describing the contents is reduced.

<実施形態2>
上記実施形態は、既存の電子アルバムに配置されている画像データにメタデータが付与されている場合を想定していた。しかしながら、紙媒体よりスキャナを用いて画像ファイルとして得た電子アルバム等には、配置されている画像データにメタデータがついていない。また、マルチフレームに対応しないJPEGのような画像形式も画像データにメタデータが関連付けられていないことが多い。そこで、本実施形態では、アルバム中の画像データのメタデータを用いない文書テンプレートの作成装置について述べる。
<Embodiment 2>
In the above-described embodiment, it is assumed that metadata is added to image data arranged in an existing electronic album. However, an electronic album or the like obtained as an image file from a paper medium by using a scanner does not have metadata on the arranged image data. Also, image formats such as JPEG that do not support multiframe often do not have metadata associated with image data. Therefore, in this embodiment, a document template creation apparatus that does not use metadata of image data in an album will be described.

図15は、情報処理装置の機能構成の一例を示す図(その2)である。
1501〜1503、1505は実施形態1における401〜403、405と一致する。
コメントテンプレート作成部1504は、コメント文取得部1503で取得されたコメント文中の画像データに関連付けられた表現を特定し、コメントテンプレートを作成する。
本実施形態の情報処理装置における文書テンプレート作成処理は、実施形態1の図8のステップS906が異なる以外は同じである。以下、S906について説明する。
ステップS906において、コメントテンプレート作成部1504は、テキスト表現に対応する画像データのメタデータ項目を発見し、コメントテンプレートを作成する。より具体的には、コメントテンプレート作成部1504は、日付・地名・人名・天気等の固有表現を抽出する技術を用いる。そして、コメントテンプレート作成部1504は、各固有表現に対応するメタデータ項目を決めておき、抽出した固有表現の部分をメタデータ項目で置き換える。例えば、コメントテンプレート作成部1504は、固有表現とメタデータ項目とが図16のように対応付けられているとする。この場合、コメント文「晴れたので拓也と京都の散策へ 2008/10/10」は「%天気%たので%被写体%と%地名%の散策へ %日付%」というコメントテンプレートになる。
FIG. 15 is a second diagram illustrating an example of a functional configuration of the information processing apparatus.
1501 to 1503 and 1505 correspond to 401 to 403 and 405 in the first embodiment.
The comment template creation unit 1504 identifies an expression associated with the image data in the comment text acquired by the comment text acquisition unit 1503, and creates a comment template.
The document template creation process in the information processing apparatus of the present embodiment is the same except that step S906 in FIG. 8 of the first embodiment is different. Hereinafter, S906 will be described.
In step S906, the comment template creation unit 1504 finds a metadata item of the image data corresponding to the text expression, and creates a comment template. More specifically, the comment template creation unit 1504 uses a technique for extracting a specific expression such as a date, place name, person name, and weather. Then, the comment template creation unit 1504 determines a metadata item corresponding to each unique expression, and replaces the extracted unique expression portion with the metadata item. For example, it is assumed that the comment template creation unit 1504 associates the unique expression and the metadata item as shown in FIG. In this case, the comment sentence “Takuya and Kyoto for walks 2008/10/10” becomes a comment template “% weather%, so walk to% subject% and% place name %% date%”.

<実施形態3>
アルバム中には複数の画像データが配置されるが、この画像データ同士が関連を持つことがある。より具体的には、1つのコメント文により複数の画像データが説明されている場合がある。この場合、この複数画像データは共通のイベントの中で撮影されたといった関連を持つと考えられる。画像領域間に存在する関連を文書テンプレートとして保持することによって、アルバム作成時に画像データの選択を支援すること等が行える。
本実施形態では、画像領域間に存在する関連を発見し、保持する情報処理装置について述べる。
<Embodiment 3>
A plurality of image data are arranged in the album, but the image data may be related to each other. More specifically, there may be a case where a plurality of image data are described by one comment sentence. In this case, it is considered that the plurality of pieces of image data have a relation such as being photographed in a common event. By holding a relationship existing between image areas as a document template, it is possible to support selection of image data when creating an album.
In the present embodiment, an information processing apparatus that finds and holds a relationship existing between image areas will be described.

図17は、情報処理装置の機能構成の一例を示す図(その3)である。
1701〜1704、1706、1707は実施形態1の401〜404、406、407と同じである。
画像領域関連作成部1708は、複数の画像領域を互いに関連付ける情報(関連情報)を作成する(関連情報作成)。より具体的には、画像領域関連作成部1708は、複数の画像領域が関連画像領域取得部1706より得られた場合、画像情報取得部1707より複数の画像領域に共通するメタデータを取得して、メタデータ項目を関連として保持する。なお、以後この関連情報を画像領域関連情報と呼ぶ。
テンプレート統合部1705は、405と同様に、コメントテンプレート作成部1704により得られたコメントテンプレートをレイアウト解析部1702により得られたレイアウト情報の対応するコメント領域に関連付けて保持する。これに加えて、テンプレート統合部1705は、画像領域関連作成部1708によって得られた画像領域関連情報を文書テンプレートとして保持する。
FIG. 17 is a third diagram illustrating an exemplary functional configuration of the information processing apparatus.
Reference numerals 1701 to 1704, 1706, and 1707 are the same as 401 to 404, 406, and 407 in the first embodiment.
The image area relation creating unit 1708 creates information (related information) that associates a plurality of image areas with each other (related information creation). More specifically, when a plurality of image areas are obtained from the related image area acquisition unit 1706, the image area relation creation unit 1708 acquires metadata common to the plurality of image areas from the image information acquisition unit 1707. , Keep metadata items as associations. Hereinafter, this related information is referred to as image area related information.
Similar to 405, the template integration unit 1705 holds the comment template obtained by the comment template creation unit 1704 in association with the corresponding comment area of the layout information obtained by the layout analysis unit 1702. In addition to this, the template integration unit 1705 holds the image area related information obtained by the image area relation creating unit 1708 as a document template.

例えば、XMLによって文書テンプレートが記述された場合、保持された情報は文書テンプレート(図18)のconnectionタグ1801のように記述される。関連付けられる画像領域はcomponentタグによって表現されconnectionタグの内容として記述される。画像領域に共通するメタデータはconnectionタグの属性restrictの値として列挙される。図18の例では、idが1、2、3、4の画像領域に配置される画像データのメタデータは、地名、イベントの2つが共通することが示されている。   For example, when a document template is described in XML, the stored information is described as a connection tag 1801 of the document template (FIG. 18). The associated image area is expressed by a component tag and described as the content of the connection tag. Metadata common to the image area is listed as a value of the attribute “restrict” of the connection tag. In the example of FIG. 18, it is shown that the metadata of the image data arranged in the image areas with ids 1, 2, 3, and 4 has the common place name and event.

本実施形態の情報処理装置における文書テンプレート作成処理は、実施形態1のフローチャートのステップS906直後に画像領域関連情報の作成処理が入ることとS907が異なること以外、全て同じである。
ステップS906直後の画像領域関連情報の作成処理を、図19を用いて説明する。図19は、ステップS906直後の画像領域関連情報の作成処理の一例を示すフローチャートである。
ステップS1901において、関連画像領域取得部1706は、S904で選択されたコメント領域に関連付けられた画像領域のリストを取得する。なお、実施形態1の図9の処理を行っている場合、関連画像領域取得部1706は、ステップS1001で取得したリストを用いてもよい。
ステップS1902において、例えば、関連画像領域取得部1706は、リストに複数の画像領域が存在するかを判定する。例えば、関連画像領域取得部1706は、存在する場合はS1903に進み、存在しない場合は処理を終了する。
The document template creation process in the information processing apparatus according to the present embodiment is the same except that the process for creating the image area related information immediately after step S906 in the flowchart according to the first embodiment is different from S907.
The image region related information creation processing immediately after step S906 will be described with reference to FIG. FIG. 19 is a flowchart illustrating an example of a process for creating image region related information immediately after step S906.
In step S1901, the related image area acquisition unit 1706 acquires a list of image areas associated with the comment area selected in step S904. In the case where the process of FIG. 9 of the first embodiment is performed, the related image area acquisition unit 1706 may use the list acquired in step S1001.
In step S1902, for example, the related image area acquisition unit 1706 determines whether there are a plurality of image areas in the list. For example, the related image area acquisition unit 1706 proceeds to S1903 if it exists, and ends the process if it does not exist.

ステップS1903において、画像情報取得部1707は、画像領域に共通するメタデータを取得する。なお、実施形態1の図9の処理を行っている場合は、画像情報取得部1707は、S1002〜S1006で作成されたメタデータを用いてもよい。
ステップS1904において、画像領域関連作成部1708は、画像領域関連情報を作成する。まず画像領域関連作成部1708は、S1903で得たメタデータよりメタデータ項目名を得る。画像領域関連作成部1708は、メタデータ項目名とS1901で得た画像領域のリストとを関連付けて、画像領域関連情報として保持する。
ステップS907では、テンプレート統合部1505は、従来の処理であるコメントテンプレートとレイアウト情報とを対応付けて文書テンプレートを作成するだけでなく、S906直後の処理によって得られる画像領域関連情報も含めて文書テンプレートとする。なお、画像領域関連情報が存在しない場合、テンプレート統合部1505は、従来の処理のみを行う。具体的な文書テンプレートの記述は前述した図18のようになる。
In step S1903, the image information acquisition unit 1707 acquires metadata common to the image areas. Note that when the processing of FIG. 9 of the first embodiment is performed, the image information acquisition unit 1707 may use the metadata created in S1002 to S1006.
In step S1904, the image area relation creating unit 1708 creates image area related information. First, the image area relation creating unit 1708 obtains a metadata item name from the metadata obtained in S1903. The image area relation creating unit 1708 associates the metadata item name with the image area list obtained in S1901, and holds it as image area related information.
In step S907, the template integration unit 1505 not only creates a document template by associating the comment template and the layout information, which is a conventional process, but also includes the image region related information obtained by the process immediately after S906. And If there is no image area related information, the template integration unit 1505 performs only conventional processing. A specific description of the document template is as shown in FIG.

なお、上記では画像領域関連情報に用いるメタデータは、画像データに共通する全てのメタデータとして説明を行ったが、その一部分だけでもよい。
例えば、コメントテンプレートに使用されたメタデータだけであってもよい。この場合、ステップS1903では、画像情報取得部1707は、S906で得られたコメントテンプレートより、使われているメタデータ項目を抽出することになる。或いは、コメントテンプレート作成部1504は、S906でコメント文のテキスト表現に一致するメタデータ項目が判明したときに、そのメタデータ項目を保持しておくようにしてもよい。そして、ステップS1903において、画像情報取得部1707が、保持されていたメタデータを利用するようにしてもよい。
また、画像データにメタデータが付与されていない場合は、上記と同様に、コメントテンプレートに使用されたメタデータを、画像領域関連情報に用いればよい。この場合、コメントテンプレートは実施形態2に示す構成により作られる。
In the above description, the metadata used for the image area related information has been described as all metadata common to the image data, but only a part thereof may be used.
For example, only metadata used in the comment template may be used. In this case, in step S1903, the image information acquisition unit 1707 extracts the used metadata item from the comment template obtained in S906. Alternatively, the comment template creation unit 1504 may hold the metadata item when a metadata item matching the text representation of the comment sentence is found in S906. In step S1903, the image information acquisition unit 1707 may use the held metadata.
If metadata is not added to the image data, the metadata used for the comment template may be used for the image region related information as described above. In this case, the comment template is created by the configuration shown in the second embodiment.

次に、本実施形態により得られた文書テンプレートを用いた電子アルバム作成時の画像データ選択支援について述べる。
使用する文書テンプレートは、図7に示すものを用いる。ただし、701〜704にメタデータ項目の地名とイベントが関連付けられており、707〜710にはメタデータ項目の地名とイベントと時間帯が関連付けられているものとする。以降、このメタデータ項目のことを関連メタデータ項目と呼ぶことにする。
配置する画像データは、図12に示す画像データである。なお、前提として既にユーザが画像領域701に画像データ1308を配置しているとする。
はじめに、ユーザの意図しない不適切な画像データの配置を防ぐ方法について述べる。
この方法は、情報処理装置が、画像データの配置時に配置対象の画像データと配置済みの画像データとで、関連メタデータ項目の値が互いに一致するかを確認する。不一致の場合、情報処理装置は、ユーザにその旨を伝え、配置するかを決定する。
例えば、ユーザが画像領域702に画像データ1303を配置する場合を考える。既に配置されている画像データ1308のメタデータは地名が京都でイベントが散策である。一方で、画像データ1303のメタデータは地名が宇治でイベントが散策である。そのため、地名のメタデータ値が一致しない。この場合、情報処理装置は、ユーザに一致しない旨を伝えて、それでも配置する場合は配置する等の方法が考えられる。これによって、見た目が似たような画像データであっても撮影された状況が異なるものを誤って配置してしまうことを防ぐことができる。
Next, image data selection support when creating an electronic album using the document template obtained according to the present embodiment will be described.
The document template to be used is the one shown in FIG. However, it is assumed that the place name of the metadata item and the event are associated with 701 to 704, and the place name of the metadata item, the event and the time zone are associated with 707 to 710. Hereinafter, this metadata item will be referred to as a related metadata item.
The image data to be arranged is the image data shown in FIG. It is assumed that the user has already arranged the image data 1308 in the image area 701 as a premise.
First, a method for preventing inappropriate arrangement of image data not intended by the user will be described.
In this method, the information processing apparatus checks whether or not the values of the related metadata items match between the image data to be arranged and the arranged image data when the image data is arranged. If they do not match, the information processing apparatus informs the user and decides whether to arrange them.
For example, consider a case where the user places image data 1303 in the image area 702. As for the metadata of the image data 1308 already arranged, the place name is Kyoto and the event is a walk. On the other hand, in the metadata of the image data 1303, the place name is Uji and the event is a walk. For this reason, the metadata values of the place names do not match. In this case, the information processing apparatus may notify the user that the information does not match, and if it is still arranged, a method such as arranging may be considered. Accordingly, it is possible to prevent erroneous arrangement of image data having a different appearance even if the image data looks similar.

次に、ユーザに配置に適した画像データを提示する方法について述べる。
この方法は、情報処理装置が、関連メタデータ項目が配置済みの画像データのメタデータ値を持つ未配置の画像データを提示する。
例えば、ユーザが画像領域702を選択すると、情報処理装置は、関連メタデータ項目の地名とイベントとが画像データ1308と同じである画像データをユーザに提示する。つまり、地名が京都でイベントが散策である画像データ1301、1302、1309がユーザに提示される。提示方法として、情報処理装置は、別の画面において配置可能な画像データを表示するようにしてもよい。或いは、情報処理装置は、領域上でのホイール操作等によって領域内の画像データを切り替えるようにしてもよい。もしくは、情報処理装置は、画像データ1308が配置されたときに、自動的に702〜704に配置可能な画像データを配置してもよい。これによって、画像データが多く存在する場合、適切な画像データの選択が支援できる。
情報処理装置は、お互いに関連している画像領域は、作成画面上でグループ化されている旨が分かるように表示してもよい。例えば、情報処理装置は、複数画像領域を線で囲むことや、同じ背景色とするようにしてもよい。こうすることで、画像領域が互いに関連付けられていることがユーザに分かり、不適切な画像データが配置できない理由や提示された画像データがどこに配置可能かがわかりやすくなる。
Next, a method for presenting image data suitable for arrangement to the user will be described.
In this method, the information processing apparatus presents unplaced image data having a metadata value of image data in which related metadata items are already placed.
For example, when the user selects the image area 702, the information processing apparatus presents to the user image data whose place name and event of the related metadata item are the same as the image data 1308. That is, image data 1301, 1302, and 1309 whose place name is Kyoto and the event is a walk are presented to the user. As a presentation method, the information processing apparatus may display image data that can be arranged on another screen. Alternatively, the information processing apparatus may switch the image data in the area by a wheel operation or the like on the area. Alternatively, the information processing apparatus may automatically arrange image data that can be arranged in 702 to 704 when the image data 1308 is arranged. Thereby, when there is a lot of image data, selection of appropriate image data can be supported.
The information processing apparatus may display the image areas related to each other so that it can be seen that they are grouped on the creation screen. For example, the information processing apparatus may surround a plurality of image areas with lines or have the same background color. In this way, the user can know that the image areas are associated with each other, and it is easy to understand why inappropriate image data cannot be arranged and where the presented image data can be arranged.

<実施形態4>
実施形態1、2、3では、全てのコメントに対してコメントテンプレートを作成することを想定していた。しかし、テンプレート化の処理を行うコメントは全てである必要はなく一部分だけであってもよい。そこで、本実施形態ではコメントテンプレートを一部分だけ作成する場合について述べる。
<Embodiment 4>
In the first, second, and third embodiments, it is assumed that a comment template is created for all comments. However, the comments for performing the template processing need not be all but may be only a part. Therefore, in this embodiment, a case where only a part of the comment template is created will be described.

本実施形態の文書テンプレート作成処理は、実施形態1の図8のステップS902の処理の直後に対象コメント領域指定処理とS904の処理の直後に対象コメント領域判定処理とが入ること以外全て同じである。
対象コメント領域指定処理では、例えば、レイアウト解析部402は、電子アルバムを表示し、ユーザにテンプレート化の対象とするコメント領域を選択させる。より具体的には、例えば、レイアウト解析部402は、ユーザが電子アルバム上でコメントを選択すると、レイアウト情報を用いて選択されたコメント領域を特定し、対象とするか若しくは非対象とするかを決定する。例えば、例えば、レイアウト解析部402は、ユーザがカーソルでコメント領域を選択すると対象若しくは非対象をトグル式に変化させる。このとき、例えば、レイアウト解析部402は、分かりやすいように非対象となった領域の色をグレーにする等して示してもよい。選択後、ユーザが決定ボタン等を押すと、例えば、レイアウト解析部402は、選択結果(設定)を保持してS903の処理へと進む。
対象コメント領域判定処理は、例えば、コメント文取得部403が、前記選択結果に基づき、S904で選択したコメント領域がコメントテンプレートを作成する対象となっているかを判定する。例えば、コメント文取得部403は、対象となっている場合はS905へと進み、なっていない場合はS903へと進む。
The document template creation process of this embodiment is the same except that the target comment area specifying process immediately after the process of step S902 in FIG. 8 of the first embodiment and the target comment area determination process immediately after the process of S904 are entered. .
In the target comment area designating process, for example, the layout analysis unit 402 displays an electronic album and allows the user to select a comment area to be a template. More specifically, for example, when the user selects a comment on the electronic album, the layout analysis unit 402 specifies the selected comment area using the layout information, and determines whether the target is a target or non-target. decide. For example, for example, when the user selects a comment area with a cursor, the layout analysis unit 402 changes the target or non-target to a toggle type. At this time, for example, the layout analysis unit 402 may show the color of the non-target area in gray for easy understanding. After the selection, when the user presses a determination button or the like, for example, the layout analysis unit 402 holds the selection result (setting) and proceeds to the processing of S903.
In the target comment area determination process, for example, the comment sentence acquisition unit 403 determines whether the comment area selected in S904 is a target for creating a comment template based on the selection result. For example, the comment acquisition unit 403 proceeds to S905 if it is the target, and proceeds to S903 if it is not.

<実施形態5>
上記実施形態1〜3では、レイアウト情報と構成要素との関連に加えて、コメントテンプレートや画像領域関連情報等を含んだ文書テンプレートを作成した。しかし、レイアウト情報と構成要素との関連のみで文書テンプレートを作成するようにしてもよい。
このような構成にすることによって、ある領域が変更されたときに、関連する領域に変更が必要な旨をユーザに伝える等の支援を行うことができる。
<Embodiment 5>
In the first to third embodiments, a document template including a comment template, image area related information, and the like is created in addition to the relationship between layout information and components. However, a document template may be created based only on the relationship between layout information and components.
With such a configuration, when a certain area is changed, it is possible to provide support such as telling the user that the related area needs to be changed.

<その他の実施形態>
また、上述した実施形態の目的は、以下のようにすることによって達成される。即ち、上述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体(又は記録媒体)を、システム或いは装置に供給する。そして、そのシステム或いは装置の中央演算処理手段(CPUやMPU)が記憶媒体に格納されたプログラムコードを読み出し実行する。この場合、記憶媒体から読み出されたプログラムコード自体が上述した実施形態の機能を実現することになり、そのプログラムコードを記録した記憶媒体は上述した実施形態を構成することになる。
<Other embodiments>
The object of the above-described embodiment is achieved by the following. That is, a storage medium (or recording medium) in which a program code of software that realizes the functions of the above-described embodiments is recorded is supplied to the system or apparatus. Then, the central processing means (CPU or MPU) of the system or apparatus reads and executes the program code stored in the storage medium. In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiment, and the storage medium recording the program code constitutes the above-described embodiment.

また、システム或いは装置の前記中央演算処理手段が読み出したプログラムコードを実行することにより、そのプログラムコードの指示に基づき、システム或いは装置上で稼働しているオペレーティングシステム(OS)等が実際の処理の一部又は全部を行う。その処理によって上述した実施形態の機能が実現される場合も含まれる。   In addition, by executing the program code read by the central processing means of the system or apparatus, an operating system (OS) or the like operating on the system or apparatus performs actual processing based on the instruction of the program code. Do some or all. The case where the function of the above-described embodiment is realized by the processing is also included.

更に、記憶媒体から読み出されたプログラムコードが、前記システム或いは装置に挿入された機能拡張カードや、接続された機能拡張ユニットに備わるメモリに書込まれたとする。その後、そのプログラムコードの指示に基づき、その機能拡張カードや機能拡張ユニットに備わるCPU等が実際の処理の一部又は全部を行い、その処理によって上述した実施形態の機能が実現される場合も含まれる。   Furthermore, it is assumed that the program code read from the storage medium is written to a memory provided in a function expansion card inserted into the system or apparatus or a function expansion unit connected thereto. After that, based on the instruction of the program code, the CPU of the function expansion card or function expansion unit performs part or all of the actual processing, and the function of the above-described embodiment is realized by the processing. It is.

上述した実施形態を前記記憶媒体に適用する場合、その記憶媒体には、先に説明したフローチャートに対応するプログラムコードが格納されることになる。   When the above-described embodiment is applied to the storage medium, the storage medium stores program codes corresponding to the flowcharts described above.

以上、上述した実施形態によれば、コメント等の内容もテンプレート化することができる。また、上述した実施形態によれば、提供される文書テンプレートだけでなく、ユーザが気に入ったアルバムをテンプレート化することができる。そのため、気に入った文書テンプレートで何度でも類似のアルバムを作成することができる。さらに、上述した実施形態により作成された文書テンプレートを用いることで、内容の描写等にかかる手間を軽減するという効果が得られる。   As described above, according to the above-described embodiment, contents such as comments can also be made into a template. Further, according to the above-described embodiment, not only the provided document template but also an album that the user likes can be made into a template. Therefore, you can create a similar album as many times as you like with your favorite document template. Furthermore, by using the document template created according to the above-described embodiment, an effect of reducing the trouble of drawing contents or the like can be obtained.

以上、本発明の好ましい実施形態について詳述したが、本発明は係る特定の実施形態に限定されるものではなく、特許請求の範囲に記載された本発明の要旨の範囲内において、種々の変形・変更が可能である。
また、上述した実施形態を任意に組合せて実施してもよい。
The preferred embodiments of the present invention have been described in detail above, but the present invention is not limited to such specific embodiments, and various modifications can be made within the scope of the gist of the present invention described in the claims.・ Change is possible.
Moreover, you may implement combining embodiment mentioned above arbitrarily.

101 CPU:102 ROM:103 RAM:104 外部記憶装置 101 CPU: 102 ROM: 103 RAM: 104 External storage device

Claims (7)

文書のレイアウトを解析し、前記レイアウトを解析した結果であるレイアウト情報を得る解析手段と、
前記レイアウト情報に基づいて、前記文書に係るコメント領域のコメント文を取得する取得手段と、
前記取得手段で取得されたコメント文と、前記コメント領域に対応する画像領域の画像に関係する画像情報と、に基づいてコメントテンプレートを作成するコメントテンプレート作成手段と、
前記作成手段で作成されたコメントテンプレートと、前記レイアウト情報と、に基づいて、文書テンプレートを作成する文書テンプレート作成手段と、
を有する情報処理装置。
Analyzing means for analyzing a layout of a document and obtaining layout information which is a result of analyzing the layout;
An acquisition means for acquiring a comment text of a comment area related to the document based on the layout information;
Comment template creation means for creating a comment template based on the comment text acquired by the acquisition means and image information related to the image of the image area corresponding to the comment area;
A document template creating means for creating a document template based on the comment template created by the creating means and the layout information;
An information processing apparatus.
前記コメント文に基づいて、前記コメント領域に対応する画像領域の画像に関係する画像情報を作成する画像情報作成手段を更に有する請求項1に記載の情報処理装置。   The information processing apparatus according to claim 1, further comprising image information creating means for creating image information related to an image in an image area corresponding to the comment area based on the comment text. 前記コメント領域に対応する複数の画像領域の画像に関係する画像情報のうち、共通する画像情報を関連情報として作成する関連情報作成手段を更に有し、
前記文書テンプレート作成手段は、前記作成手段で作成されたコメントテンプレートと、前記レイアウト情報と、前記関連情報作成手段で作成された前記関連情報と、に基づいて、文書テンプレートを作成する請求項1又は2に記載の情報処理装置。
Of the image information related to the images of the plurality of image areas corresponding to the comment area, further comprising related information creating means for creating common image information as related information,
The document template creation unit creates a document template based on the comment template created by the creation unit, the layout information, and the related information created by the related information creation unit. 2. The information processing apparatus according to 2.
前記コメントテンプレート作成手段は、前記コメント領域にテンプレート化の対象とする旨の設定がなされていた場合、前記コメントテンプレートを作成する請求項1乃至3の何れか1項に記載の情報処理装置。   The information processing apparatus according to any one of claims 1 to 3, wherein the comment template creation unit creates the comment template when the comment area is set to be a template target. 情報処理装置が、文書のレイアウトを解析し、前記レイアウトを解析した結果であるレイアウト情報を得る解析ステップと、
情報処理装置が、前記レイアウト情報に基づいて、前記文書に係るコメント領域のコメント文を取得する取得ステップと、
情報処理装置が、前記取得ステップで取得されたコメント文と、前記コメント領域に対応する画像領域の画像に関係する画像情報と、に基づいてコメントテンプレートを作成するコメントテンプレート作成ステップと、
情報処理装置が、前記作成ステップで作成されたコメントテンプレートと、前記レイアウト情報と、に基づいて、文書テンプレートを作成する文書テンプレート作成ステップと、
を含む情報処理方法。
An information processing device that analyzes a layout of a document and obtains layout information that is a result of analyzing the layout; and
An information processing apparatus, based on the layout information, obtaining a comment text of a comment area related to the document; and
A comment template creating step in which the information processing apparatus creates a comment template based on the comment sentence obtained in the obtaining step and image information related to an image in the image area corresponding to the comment area;
An information processing apparatus that creates a document template based on the comment template created in the creating step and the layout information; and
An information processing method including:
コンピュータを、
文書のレイアウトを解析し、前記レイアウトを解析した結果であるレイアウト情報を得る解析手段と、
前記レイアウト情報に基づいて、前記文書に係るコメント領域のコメント文を取得する取得手段と、
前記取得手段で取得されたコメント文と、前記コメント領域に対応する画像領域の画像に関係する画像情報と、に基づいてコメントテンプレートを作成するコメントテンプレート作成手段と、
前記作成手段で作成されたコメントテンプレートと、前記レイアウト情報と、に基づいて、文書テンプレートを作成する文書テンプレート作成手段と、
して機能させるプログラム。
Computer
Analyzing means for analyzing a layout of a document and obtaining layout information which is a result of analyzing the layout;
An acquisition means for acquiring a comment text of a comment area related to the document based on the layout information;
Comment template creation means for creating a comment template based on the comment text acquired by the acquisition means and image information related to the image of the image area corresponding to the comment area;
A document template creating means for creating a document template based on the comment template created by the creating means and the layout information;
Program to make it work.
請求項6に記載のプログラムを記憶したコンピュータにより読み取り可能な記憶媒体。   A computer-readable storage medium storing the program according to claim 6.
JP2009068568A 2009-03-19 2009-03-19 Information processing device, information processing method, program and storage medium Pending JP2010224659A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009068568A JP2010224659A (en) 2009-03-19 2009-03-19 Information processing device, information processing method, program and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009068568A JP2010224659A (en) 2009-03-19 2009-03-19 Information processing device, information processing method, program and storage medium

Publications (1)

Publication Number Publication Date
JP2010224659A true JP2010224659A (en) 2010-10-07

Family

ID=43041809

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009068568A Pending JP2010224659A (en) 2009-03-19 2009-03-19 Information processing device, information processing method, program and storage medium

Country Status (1)

Country Link
JP (1) JP2010224659A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015172880A (en) * 2014-03-12 2015-10-01 株式会社デンソーアイティーラボラトリ Template generation device and template generation program
CN102983958B (en) * 2004-10-29 2016-04-27 富士通株式会社 Based on the communicator of multicarrier transmission mode
JP2019191759A (en) * 2018-04-20 2019-10-31 富士通株式会社 Editing support program and editing support method and editing support device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102983958B (en) * 2004-10-29 2016-04-27 富士通株式会社 Based on the communicator of multicarrier transmission mode
JP2015172880A (en) * 2014-03-12 2015-10-01 株式会社デンソーアイティーラボラトリ Template generation device and template generation program
JP2019191759A (en) * 2018-04-20 2019-10-31 富士通株式会社 Editing support program and editing support method and editing support device
JP7040255B2 (en) 2018-04-20 2022-03-23 富士通株式会社 Editing support program, editing support method and editing support device

Similar Documents

Publication Publication Date Title
US9880709B2 (en) System and method for creating and displaying previews of content items for electronic works
JPH11282829A (en) Font sharing system and method, and storage medium storing program to execute the sharing method
JP2005512185A (en) Multi-page SVG document directory
JP2007049388A (en) Image processing apparatus and control method thereof, and program
US20170277675A1 (en) Information processing apparatus and non-transitory computer readable medium
JP4666996B2 (en) Electronic filing system and electronic filing method
JP2010224659A (en) Information processing device, information processing method, program and storage medium
KR101500598B1 (en) Systems and Methods for Producing XML
JP2006262442A (en) Image editing apparatus and image editing method
US10803308B2 (en) Apparatus for deciding whether to include text in searchable data, and method and storage medium thereof
JP2010068347A (en) Image forming apparatus, image forming method and image forming program
JP4519081B2 (en) Document conversion apparatus and program
JP2006252455A (en) File management device, file management method and file management program
JP2018060426A (en) Image processing device and image processing program
JP2017091024A (en) Input assistance device
JP2004145736A (en) Character recognition device, character recognition data output method, program and recording medium
JP7246795B1 (en) Information processing device, method, program, and system
US20090287733A1 (en) Method for preparing prepress image data
JP7083473B2 (en) Input support device
JP5599041B2 (en) Information processing apparatus, control method therefor, and program
JP5589396B2 (en) Layout support device, layout support method, and program
JP2011070294A (en) Image processing system, information processor, image processor and program
JP2018005367A (en) Edition support system, edition support device, data substitution device, and edition support method
JP2006253995A (en) Image processor
JPH07107711B2 (en) Document image processing device