JP3010450B2 - Image processing device - Google Patents

Image processing device

Info

Publication number
JP3010450B2
JP3010450B2 JP3018578A JP1857891A JP3010450B2 JP 3010450 B2 JP3010450 B2 JP 3010450B2 JP 3018578 A JP3018578 A JP 3018578A JP 1857891 A JP1857891 A JP 1857891A JP 3010450 B2 JP3010450 B2 JP 3010450B2
Authority
JP
Japan
Prior art keywords
image
color
dictionary
noun
morphological
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.)
Expired - Fee Related
Application number
JP3018578A
Other languages
Japanese (ja)
Other versions
JPH04257076A (en
Inventor
文雄 前原
雅通 中川
利之 前田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP3018578A priority Critical patent/JP3010450B2/en
Publication of JPH04257076A publication Critical patent/JPH04257076A/en
Application granted granted Critical
Publication of JP3010450B2 publication Critical patent/JP3010450B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、与えられた文章から該
当する色を有する画像を生成する画像処理方式に関する
ものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing system for generating an image having a corresponding color from a given sentence.

【0002】[0002]

【従来の技術】従来のこの種の装置としては、例えば
「知識工学と人工知能」56ー59pp.65-72に示されている
ものがある。図2は、この従来の画像検索システムの構
成図を示すものであり、図において、21は入力文章を
推論する推論手段、22は画像を記述しているスケルト
ン記述手段、23は推論手段21に知識をあたえる画像
解釈知識手段、24は対象となる画像を記憶する画像フ
ァイル、25は該当画像ファイル24の内容を記憶する
画像記述手段である。
2. Description of the Related Art As a conventional apparatus of this kind, there is one disclosed in, for example, "Knowledge Engineering and Artificial Intelligence", 56-59 pp. 65-72. FIG. 2 shows a configuration diagram of this conventional image retrieval system. In FIG. 2, reference numeral 21 denotes inference means for inferring an input sentence, 22 denotes skeleton description means for describing an image, and 23 denotes inference means 21. Image interpretation knowledge means 24 for giving knowledge, 24 is an image file for storing a target image, and 25 is an image description means for storing the contents of the image file 24.

【0003】以上のように構成された従来の画像検索シ
ステムにおいては、次の様に動作する。予め、画像ファ
イル手段24には、各種画像が記録されている。そし
て、利用者は画像検索要求として、例えば「人の写って
いる画像」、 「四角い窓のある家の画像」、「晴れた
日の画像」などに該当する画像を得たい場合、入力とし
て、キーボードなどから「人」を入力すると、人という
見出しのつけられた画像ファイルが検索される。また
「家」、「窓」、「四角い」と入力すると画像記述手段
25に記述されているツリー構造がたどられることによ
り、「四角い窓のある家」に該当する画像ファイルが検
索される。
[0005] The conventional image retrieval system configured as described above operates as follows. Various images are recorded in the image file means 24 in advance. Then, when the user wants to obtain an image corresponding to, for example, an image including a person, an image of a house with a square window, or an image of a sunny day, as an image search request, When "people" is input from a keyboard or the like, an image file with the heading "people" is searched. When "house", "window", and "square" are input, the tree structure described in the image description means 25 is traced, and an image file corresponding to "house with a square window" is searched.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上記構
成では、任意にあたえらえた自然言語に対して、画像を
生成することはできず、また対象となる画像は予め必ず
画像ファイルに記憶させておく必要がある。その結果、
画像ファイル24の記憶容量を膨大なものとしておく必
要がある。
However, in the above configuration, an image cannot be generated for an arbitrary given natural language, and a target image is always stored in an image file in advance. There is a need. as a result,
It is necessary to make the storage capacity of the image file 24 enormous.

【0005】本発明はかかる従来の画像検索システムの
課題に鑑み、自然言語の文字列を入力することにより、
その内容に該当する画像を自由に生成する画像処理装置
を提供することを目的とする。
[0005] In view of the problems of the conventional image retrieval system, the present invention provides a method of inputting a character string in a natural language.
It is an object of the present invention to provide an image processing device that freely generates an image corresponding to the contents.

【0006】[0006]

【課題を解決するための手段】本発明は、上記目的を達
成するために、入力文字列に対し、その形態素を解析す
る形態素解析手段と、その解析に供する形態素を記憶す
る形態素辞書と、前記形態素についての少なくとも名詞
及び形容詞情報を解析する構文解析手段と、その名詞に
対応する画像を出力する画像辞書と、その解析された形
容詞のうち色情報をもとに該当色に相当するパラメータ
を出力する色テーブルと、前記色テーブルの内容にした
がって前記画像辞書の出力に対してパラメータを掛ける
ことにより該当画像を該当の色に変換するかけ算手段と
を備えたことを特徴とする画像処理装置である。
In order to achieve the above object, the present invention provides a morphological analysis means for analyzing a morpheme of an input character string, a morphological dictionary for storing morphemes to be subjected to the analysis, At least a noun about a morpheme
And a syntactic analysis means for analyzing adjective information and its nouns
An image dictionary that outputs the corresponding image and its analyzed form
Parameter corresponding to the color of the adjective based on the color information
Output the color table and the contents of the color table
Multiplying the output of the image dictionary by a parameter
Multiplication means for converting the corresponding image to the corresponding color
An image processing apparatus comprising:

【0007】また、本発明は、入力文字列が、音声認識
手段から入力されることを特徴とする上記画像処理装置
である。
Further, according to the present invention, the input character string is used for speech recognition.
The image processing apparatus described above, wherein the image processing apparatus is inputted from a means.
It is.

【0008】[0008]

【作用】本発明は、形態素解析手段によって、形態素を
記憶する形態素辞書を利用して、入力文字列に対しその
形態素を解析し、構文解析手段で、前記形態素について
の少なくとも名詞及び形容詞情報を解析し、画像辞書が
その名詞に対応する画像を出力し、色テーブルがその解
析された形容詞のうち色情報をもとに該当色に相当する
パラメータを出力し、かけ算手段が前記色テーブルの内
容にしたがって前記画像辞書の出力に対してパラメータ
を掛けることにより該当画像を該当の色に変換する。
According to the present invention, a morphological analysis unit analyzes a morpheme of an input character string using a morphological dictionary storing morphemes, and a syntactic analysis unit analyzes at least noun and adjective information on the morpheme. Then, the image dictionary outputs an image corresponding to the noun, the color table outputs a parameter corresponding to the corresponding color based on the color information among the analyzed adjectives, and the multiplication means outputs the content of the color table. Therefore, the image is converted into the corresponding color by multiplying the output of the image dictionary by a parameter.

【0009】[0009]

【実施例】以下、本発明の実施例について図面を参照し
て説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0010】図1は本発明の一実施例における画像処理
装置のブロック図を示すものである。図1において、形
態素解析手段2は、入力される文章1に対して形態素解
析を行うための手段である。形態素辞書3は、この形態
素解析に供する形態素を記憶する辞書であり、形態素解
析手段2は、その形態素辞書3に記憶された形態素との
マッチングを取ることによって形態素解析を行い文章の
内容を判定する。このとき形態素辞書3には該当形態素
が名詞であるか、動詞であるか、形容詞であるか、副詞
であるか等の文法情報があわせて記憶されており、とく
に、形容詞に関してこれが色を表すものであれば、色情
報で有る旨のフラグが記憶されている。構文解析手段4
は、形態素解析手段2における形態素解析の結果、名詞
と判断されたものは名詞テーブル7を参照し、該当名詞
に対応する番地を検出し、画像辞書8は該当番地からそ
の名詞に対応する該当画像を出力する。また形態素解析
の結果、色を表す形容詞と判定されたときは、色テーブ
ル5を参照し、該当色に関する係数を取り出す。係数か
け算器6は、画像辞書8から検出された画像データの
赤、緑、青の各々の原色出力に、色テーブル5の取り出
された計数を掛け、該当色に着色して、該当画像の色を
入力文章で要求された色に色ずけして、出力信号線9に
出力する。
FIG. 1 is a block diagram showing an image processing apparatus according to an embodiment of the present invention. In FIG. 1, a morphological analysis unit 2 is a unit for performing a morphological analysis on an input sentence 1. The morphological dictionary 3 is a dictionary for storing morphemes to be subjected to the morphological analysis, and the morphological analysis means 2 performs morphological analysis by matching the morphemes stored in the morphological dictionary 3 to determine the contents of the text. . At this time, the morphological dictionary 3 also stores grammatical information such as whether the corresponding morpheme is a noun, a verb, an adjective, an adverb, etc. In particular, the morpheme indicates a color with respect to the adjective. If it is, a flag indicating that it is color information is stored. Parsing means 4
Is determined as a noun as a result of the morphological analysis by the morphological analysis means 2, referring to the noun table 7 to detect the address corresponding to the noun, and the image dictionary 8 reads the corresponding image corresponding to the noun from the corresponding address. Is output. Further, as a result of the morphological analysis, when it is determined that the adjective is an adjective representing a color, the color table 5 is referred to and a coefficient relating to the color is extracted. The coefficient multiplier 6 multiplies each of the red, green, and blue primary color outputs of the image data detected from the image dictionary 8 by the extracted count of the color table 5, colors the corresponding color, and colors the corresponding image. Is colored in the color required by the input sentence and output to the output signal line 9.

【0011】上記のように構成された画像処理装置の実
施例の動作を実際の処理の流れに即して以下に説明す
る。
The operation of the embodiment of the image processing apparatus configured as described above will be described below in accordance with the actual processing flow.

【0012】例として次の文章が入力され、それに対応
する画像の作成が要求されたとする。
As an example, suppose that the following sentence is input and a request to create an image corresponding to the following sentence is made.

【0013】「赤い林檎と青い蜜柑が机の上にありま
す。」この時形態素辞書3の中には日本語の辞書から抽
出された自立語、付属語が記憶されている。この中に
「赤」「い」「林檎」「と」「青い」などの自立語と、
付属語「て」「に」「の」「を」「が」が入っており、
自立語のほうから順に入力文章の比較を行い、マッチン
グしたものを解析結果とみなす。複数個のものとマッチ
ングした場合は一番長い自立語をマッチング結果とす
る。
"The red apple and the blue tangerine are on the desk." At this time, the morphological dictionary 3 stores the independent words and the auxiliary words extracted from the Japanese dictionary. Independent words such as "red""i""apple""to""blue"
Includes the attached words "te", "ni", "no", "wo", "ga",
The input sentences are compared in order from the independent word, and the matched one is regarded as the analysis result. When a plurality of words are matched, the longest independent word is used as the matching result.

【0014】次に自立語を省いた部分に対して付属語の
方を用いてマッチングを行い付属語の判定を行う。次に
マッチングのとれた付属語と自立語に対して付属語属性
に関する結合が可能かどうかのチェックを行う。この結
果接続可能な自立語と付属語の対が決定できれば構文解
析を終了し、決定できなければマッチングのとれた第2
候補の付属語に対して同様の操作を行う。
Next, matching is performed on the portion where the independent word is omitted by using the attached word to determine the attached word. Next, a check is made as to whether the attached word attribute and the independent word can be combined with respect to the attached word attribute. As a result, if the pair of the independent word and the auxiliary word that can be connected can be determined, the parsing is terminated.
Perform the same operation for the candidate adjunct.

【0015】この結果「赤」「い」「林檎」「と」
「青」「い」「蜜柑」・・という結果が出力される。
As a result, "red""i""apple""to"
"Blue", "I", "Tangerine", etc. are output.

【0016】構文解析手段4ではこのうち名詞と判定さ
れた「林檎」「蜜柑」「机」と色情報と判定された
「赤」「青」が抽出される。
The parsing means 4 extracts "apple", "tangerine" and "desk" determined as nouns and "red" and "blue" determined as color information.

【0017】名詞テーブル7では、予め各名詞と画像辞
書8の番地との対応が記憶されており、「林檎」「蜜
柑」に該当する画像が画像辞書8から取り出される。色
と判定された情報は、色テーブル5から「赤」であれば
(赤、青、緑)=(1、0、0)というパラメータが、
「青」であれば(赤、青、緑)=(0、1、0)という
パラメータが、また別の色で有ればその混合比率に従っ
て、該当のパラメータが色テーブル5より取り出され。
かけ算器6は、画像辞書8に記憶されている画像(赤、
青、緑)に相当する信号との各々かけ算を行い。、その
和を画像出力として出力信号線9に出力することによ
り、「赤い林檎」「青い蜜柑」の画像を生成することが
できる。また「机」の場合のように色の指定のないとき
は(赤、青、緑)=(1、1、1)として色変換なしの
画像を出力することが自然である。
In the noun table 7, the correspondence between each noun and the address of the image dictionary 8 is stored in advance, and images corresponding to "apple" and "tangerine" are extracted from the image dictionary 8. If the information determined to be color is “red” from the color table 5, a parameter of (red, blue, green) = (1, 0, 0)
If it is "blue", the parameter of (red, blue, green) = (0, 1, 0) is extracted from the color table 5 according to the mixing ratio of another color if it is another color.
The multiplying unit 6 outputs the images (red,
(Blue, green). By outputting the sum as an image output to the output signal line 9, an image of "red apple" and "blue tangerine" can be generated. When no color is specified as in the case of “desk”, it is natural to output an image without color conversion by setting (red, blue, green) = (1, 1, 1).

【0018】以上のように本実施例によれば前記の形態
素解析手段2、名詞テーブル7、色テーブル5、かけ算
器6を設けることにより、入力された任意の自然言語に
対して対応する画像を生成できる。
As described above, according to this embodiment, by providing the morphological analysis means 2, the noun table 7, the color table 5, and the multiplier 6, an image corresponding to an input natural language can be obtained. Can be generated.

【0019】また入力部分に公知の音声認識装置をもう
けると音声で表現された文章を画像に変換することがで
きる。
If a well-known voice recognition device is provided in the input portion, a sentence expressed in voice can be converted into an image.

【0020】なお、本実施例において構成要素は、コン
ピュータを用いプログラム的にこれを処理することも可
能である。
In this embodiment, the components can be processed programmatically using a computer.

【0021】[0021]

【発明の効果】以上説明したように本発明は、入力文字
列に対し、その形態素を解析する形態素解析手段と、そ
の解析に供する形態素を記憶する形態素辞書と、前記形
態素に対応する画像を記憶する画像辞書とを備え、前記
形態素解析手段によって解析された形態素に対応する画
像が前記画像辞書から取り出されるので、任意の文章か
ら画像が生成でき、その実用的効果は大きい。
As described above, according to the present invention, a morphological analysis means for analyzing a morpheme of an input character string, a morphological dictionary for storing morphemes to be analyzed, and an image corresponding to the morpheme are stored. Since the image corresponding to the morpheme analyzed by the morphological analysis means is extracted from the image dictionary, an image can be generated from an arbitrary sentence, and the practical effect is large.

【0022】また、色テーブルを用いることにより、色
に関する自然言語により簡単に色彩を付加することが出
来る。
Further, by using a color table, colors can be easily added in a natural language relating to colors.

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

【図1】本発明における画像処理装置の一実施例のブロ
ック図である。
FIG. 1 is a block diagram of an embodiment of an image processing apparatus according to the present invention.

【図2】従来の画像検索システムを説明するブロック図
である。
FIG. 2 is a block diagram illustrating a conventional image search system.

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

1 入力文字列 2 形態素解析手段 3 形態素辞書 4 構文解析手段 5 色テーブル 6 かけ算器 7 名詞テーブル 8 画像辞書 DESCRIPTION OF SYMBOLS 1 Input character string 2 Morphological analysis means 3 Morphological dictionary 4 Syntax analysis means 5 Color table 6 Multiplier 7 Noun table 8 Image dictionary

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 電子情報通信学会技術研究報告HC90 −12「音声画像言語を統合するメディア 変換通信のための基本システム」,財団 法人電子情報通信学会,1990年7月10日 (58)調査した分野(Int.Cl.7,DB名) G06T 11/00 - 11/80 G06F 17/30 ──────────────────────────────────────────────────続 き Continuation of the front page (56) References IEICE Technical Report HC90-12 “Basic system for media conversion communication integrating voice and image language”, The Institute of Electronics, Information and Communication Engineers, July 1990 10th (58) Fields investigated (Int.Cl. 7 , DB name) G06T 11/00-11/80 G06F 17/30

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 入力文字列に対し、その形態素を解析す
る形態素解析手段と、その解析に供する形態素を記憶す
る形態素辞書と、前記形態素についての少なくとも名詞
及び形容詞情報を解析する構文解析手段と、その名詞に
対応する画像を出力する画像辞書と、その解析された形
容詞のうち色情報をもとに該当色に相当するパラメータ
を出力する色テーブルと、前記色テーブルの内容にした
がって前記画像辞書の出力に対してパラメータを掛ける
ことにより該当画像を該当の色に変換するかけ算手段と
を備えたことを特徴とする画像処理装置。
1. A morphological analyzer for analyzing a morpheme of an input character string, a morphological dictionary for storing morphemes to be analyzed, a syntactic analyzer for analyzing at least noun and adjective information on the morpheme, An image dictionary that outputs an image corresponding to the noun, a color table that outputs a parameter corresponding to the color based on the color information among the analyzed adjectives, and an image dictionary that outputs the image dictionary according to the contents of the color table. An image processing apparatus comprising: multiplying means for converting an output image into a corresponding color by multiplying an output by a parameter.
【請求項2】 前記入力文字列は、音声認識手段から入
力されることを特徴とする請求項1の画像処理装置。
2. The image processing apparatus according to claim 1, wherein said input character string is input from a voice recognition unit.
JP3018578A 1991-02-12 1991-02-12 Image processing device Expired - Fee Related JP3010450B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3018578A JP3010450B2 (en) 1991-02-12 1991-02-12 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3018578A JP3010450B2 (en) 1991-02-12 1991-02-12 Image processing device

Publications (2)

Publication Number Publication Date
JPH04257076A JPH04257076A (en) 1992-09-11
JP3010450B2 true JP3010450B2 (en) 2000-02-21

Family

ID=11975512

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3018578A Expired - Fee Related JP3010450B2 (en) 1991-02-12 1991-02-12 Image processing device

Country Status (1)

Country Link
JP (1) JP3010450B2 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
電子情報通信学会技術研究報告HC90−12「音声画像言語を統合するメディア変換通信のための基本システム」,財団法人電子情報通信学会,1990年7月10日

Also Published As

Publication number Publication date
JPH04257076A (en) 1992-09-11

Similar Documents

Publication Publication Date Title
Allen Natural language understanding
JP3266586B2 (en) Data analysis system
JP2944346B2 (en) Document summarization device
JPH0261763A (en) Mechanical translation equipment
KR101069207B1 (en) System and method for annotating semantic tags to electronic documents
JP4499179B1 (en) Terminal device
JP3010450B2 (en) Image processing device
JP2003108571A (en) Document summary device, control method of document summary device, control program of document summary device and recording medium
JP4054035B2 (en) Database construction apparatus, database construction method, database construction program, and recording medium
JP2939348B2 (en) Image processing device
JP3109123B2 (en) Image processing device
Kameyama Information extraction across linguistic barriers
Pretorius et al. Finite-state computational morphology-treatment of the zulu noun
JP3113257B2 (en) Machine translation equipment
JPH0635961A (en) Document summerizing device
JP2546515B2 (en) Information extraction device
JP2878442B2 (en) Image processing device
JP2555921B2 (en) Word processor with translation conversion function
JP2004118461A (en) Method and device for training language model, method and device for kana/kanji conversion, computer program, and computer readable recording medium
JP3972697B2 (en) Natural language processing system, natural language processing method, and computer program
JP2870278B2 (en) Meaning selection device
JP2901977B2 (en) Translation equipment
Carnaz et al. Extracting and Representing Entities from Open Sources of Information in the Agatha Project
JPH09185629A (en) Machine translation method
JPH01185766A (en) Kana/kanji conversion device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees