[go: up one dir, main page]

JPH05174150A - Circular graph recognition device - Google Patents

Circular graph recognition device

Info

Publication number
JPH05174150A
JPH05174150A JP9124992A JP2499291A JPH05174150A JP H05174150 A JPH05174150 A JP H05174150A JP 9124992 A JP9124992 A JP 9124992A JP 2499291 A JP2499291 A JP 2499291A JP H05174150 A JPH05174150 A JP H05174150A
Authority
JP
Japan
Prior art keywords
graph
item
character
pie chart
circle
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
JP9124992A
Other languages
Japanese (ja)
Inventor
Tatatomi Aso
忠臣 麻生
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 Holdings Corp
Original Assignee
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP9124992A priority Critical patent/JPH05174150A/en
Publication of JPH05174150A publication Critical patent/JPH05174150A/en
Pending legal-status Critical Current

Links

Landscapes

  • Digital Computer Display Output (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Image Analysis (AREA)

Abstract

(57)【要約】 【目的】 再生、加工が容易なデータとして円グラフを
認識し、画像圧縮効果の高い画像入力装置を提供する。 【構成】 円グラフ認識装置において、図形からグラフ
円の外形部と、各項目を区切る区切り線と、各項目名
と、引出し線とを文字認識部4と図形認識部5とで認識
し、かつ前記区切り線の開き角度から、各項目がグラフ
円全体に占める割合をグラフ認識部6で算出し、円グラ
フにおける情報を文字あるいは数値データに変換し、グ
ラフ書式格納部7に保存する。
(57) [Abstract] [Purpose] To provide an image input device that recognizes a pie chart as data that can be easily reproduced and processed and has a high image compression effect. In the pie chart recognition device, the character recognition section 4 and the figure recognition section 5 recognize the outline of the graph circle from the figure, the dividing line that separates each item, each item name, and the leader line, and The graph recognition unit 6 calculates the ratio of each item to the entire graph circle from the opening angle of the dividing line, converts the information in the pie graph into character or numerical data, and stores it in the graph format storage unit 7.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、円グラフ認識装置に関
し、DTP(ディスクトップパブリッシング)における表
計算アプリケーションや、電子ファイリングシステムな
どに、円グラフを画像圧縮して入力する装置として利用
される。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a pie chart recognition device and is used as a device for inputting a pie graph by image compression in a spreadsheet application in DTP (desktop publishing), an electronic filing system and the like.

【0002】[0002]

【従来の技術】最近の情報技術の進歩によって、DT
P、ファクシミリ、あるいは電子ファイリングシステム
など、画像情報の重要性がさらに大きく認識されてきて
いる。
2. Description of the Related Art Due to recent advances in information technology, DT
The importance of image information such as P, facsimile, and electronic filing system has been recognized more and more.

【0003】一般に、画像データには写真、イラスト、
図面あるいはグラフ等多くの種類があるが、それらの画
像データを、前記装置に入力するには画像情報を圧縮し
て入力することが多い。
Generally, image data includes photographs, illustrations,
Although there are many types such as drawings and graphs, in order to input such image data to the apparatus, image information is often compressed and input.

【0004】画像情報の圧縮方法には、従来から、(1)
画素データをMH(ModifiedHuffman)、MR(Modifie
d Read)、あるいはMMR(Modified ModifiedRead)
等の符号に変換して行う符号化方法、または(2)画像を
直線、円弧などの基本画像として表現する方法等があ
り、とくに、グラフ図形情報の圧縮は、前記(1)のドッ
トデータに変換する方法によって行うのが一般であっ
た。
The compression method of image information has been conventionally (1)
Pixel data is MH (Modified Huffman), MR (Modifie
d Red) or MMR (Modified Moded Red)
There is a coding method performed by converting into a code such as, or (2) a method of expressing an image as a basic image such as a straight line or an arc, and in particular, compression of graph graphic information is performed in the dot data of (1) above. It was generally done by the method of conversion.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、上記
(1)の従来の方法は、単にグラフ図形を異なる画像デー
タとして圧縮するから、高い圧縮効果が得られず、か
つ、グラフが有する図形的内容は全く認識されていない
実情から、読み取ったグラフデータは、直線、表計算ソ
フトや、WP(ワープロ)等に出力するグラフデータとし
て再加工することが不可能であった。
[Problems to be Solved by the Invention]
Since the conventional method of (1) simply compresses the graph graphic as different image data, a high compression effect cannot be obtained, and the graphic content of the graph is not recognized at all Was unable to be reprocessed as straight line, spreadsheet software, or graph data output to WP (word processor).

【0006】本発明は上述の従来の問題を排除して、画
像圧縮効果を有するグラフ認識装置の提供を目的とす
る。
An object of the present invention is to eliminate the above-mentioned conventional problems and provide a graph recognition apparatus having an image compression effect.

【0007】[0007]

【課題を解決するための手段】本発明は上記の目的を、
図形からグラフ円の外形部と、各項目を区切る区切り線
と、各項目名と、引出し線とを認識し、かつ前記区切り
線の開き角度から、各項目がグラフ円全体に占める割合
を算出し、円グラフの再生に必要な文字あるいは数値デ
ータを出力する手段を備えた円グラフ認識装置によって
達成する。
The present invention has the above-mentioned objects.
Recognize the outline of the graph circle from the figure, the dividing line that separates each item, each item name, and the leader line, and calculate the ratio of each item to the entire graph circle from the opening angle of the dividing line. , A pie chart recognition device having means for outputting character or numerical data necessary for reproducing a pie chart.

【0008】[0008]

【作用】上記の構成によればグラフの図形的な意味を認
識しているから、円グラフ情報として項目、及び項目に
対応する数値を記憶するだけで、高い圧縮率の円グラフ
が得られ、しかも、その認識した円グラフは、再加工し
て数値表示に変換することが極めて容易であるから、前
記DTP等の情報機器の入力装置として高効率の利用価
値を発揮する。
According to the above construction, since the graphic meaning of the graph is recognized, a pie chart with a high compression rate can be obtained by simply storing the items and the numerical values corresponding to the items as pie chart information. In addition, the recognized pie chart is extremely easy to reprocess and convert into a numerical value display, so that it exhibits a highly efficient utility value as an input device for information equipment such as the DTP.

【0009】[0009]

【実施例】以下、本発明を実施例により図面を用いて説
明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below with reference to the accompanying drawings.

【0010】図1は本発明の一実施例の構成を示すブロ
ック図であり、1はグラフ図形を光電変換し画像データ
として入力する画像入力部、2は前記入力された画像デ
ータを記憶する画像記憶部、3は画像データの中から文
字部と、図形部を分離する文字図形分離部、4と5はそ
れぞれ分離された文字部を認識する文字認識部と図形部
を認識する図形認識部である。また、6は認識された文
字部と図形部から円グラフを形成するに必要なグラフ項
目を抽出するグラフ認識部、さらに7は前記認識の結果
を保存するグラフ書式格納部である。
FIG. 1 is a block diagram showing a configuration of an embodiment of the present invention, in which 1 is an image input unit for photoelectrically converting a graphic graphic and inputs it as image data, and 2 is an image for storing the input image data. A storage unit 3, a character / graphics separation unit that separates a character unit and a graphic unit from the image data, and 4 and 5 are a character recognition unit that recognizes the separated character unit and a graphic recognition unit that recognizes the graphic unit. is there. Further, 6 is a graph recognition unit for extracting graph items necessary for forming a pie chart from the recognized character portion and graphic portion, and 7 is a graph format storage unit for storing the result of the recognition.

【0011】本発明は以上の構成を有し、次のように動
作する。
The present invention has the above configuration and operates as follows.

【0012】図1において、まず、画像入力部1におい
て、グラフ図形をスキャナ等の光電変換装置によってス
キャンして得たグラフ図形データを画像記憶部2に記憶
させる。その記憶された図形データは、文字図形分離部
3によって、円グラフの扇形部で表される分割項目と、
それが占める分割割合を示す数値表示からなる文字部
と、グラフの外形を示す図形部とに分割される。この文
字部と図形部の分離は、図2(a),(b)に例示しているよ
うに文字候補W、または図形候補Cを囲む外接矩形Sに
よって、その面積が、ある一定のしきい値よりも図2
(a)のように大きければ図形部Cとし、図2(b)のように
小さければ文字部Wと判別する。
In FIG. 1, first, in the image input section 1, the graph figure data obtained by scanning the graph figure with a photoelectric conversion device such as a scanner is stored in the image storage section 2. The stored graphic data is divided by the character / graphic separation unit 3 into division items represented by fan-shaped portions of a pie chart,
It is divided into a character portion that is a numerical value display indicating the division ratio that it occupies and a graphic portion that indicates the outer shape of the graph. This character part and figure part are separated from each other by a circumscribed rectangle S that surrounds the character candidate W or the figure candidate C, as shown in FIGS. Figure 2 than the value
If it is large as shown in (a), it is determined as the graphic portion C, and if it is small as shown in FIG. 2 (b), it is determined as the character portion W.

【0013】以上のようにして分離した文字部Wは、文
字認識部4によって文字に変換され、図形部Cは図形認
識部5によってグラフを構成する円、直線あるいは長方
形などに変換される。なお、文字認識、あるいは図形認
識は、一般に公知の認識方法が適用可能である。
The character portion W separated as described above is converted into a character by the character recognition unit 4, and the graphic portion C is converted into a circle, a straight line, a rectangle or the like forming a graph by the graphic recognition unit 5. A generally known recognition method can be applied to the character recognition or the graphic recognition.

【0014】上記のように文字、及び図形を認識した
後、グラフ認識部6により、グラフの特徴を使用して分
割項目名と、それが円グラフとして占める割合を示す数
値を抽出する。
After recognizing the characters and figures as described above, the graph recognition unit 6 uses the characteristics of the graph to extract the division item name and the numerical value indicating the proportion of the division item name as a pie chart.

【0015】図3は、上記の抽出の一例を示した円グラ
フであり、8は数値部、9は項目部、10はグラフ円、11
は分割項目の区切り線、そして12は分割項目の数値部8
及び項目部9を示す引出し線である。円グラフでは項目
部9がグラフ円10の内部、または円周の近くに記入さ
れ、数値部8は項目部9の下部に記入され、それらは、
引出し線12が描かれたときは、その先端に記入される特
徴がある。
FIG. 3 is a pie chart showing an example of the above extraction. 8 is a numerical part, 9 is an item part, 10 is a graph circle, and 11 is a graph circle.
Is the dividing line of the split item, and 12 is the numerical part of the split item 8
And a lead line showing the item part 9. In the pie chart, the item part 9 is entered inside the graph circle 10 or near the circumference, and the numerical part 8 is entered below the item part 9
When the leader line 12 is drawn, it has a feature to be written on the tip thereof.

【0016】図4は本実施例の動作に係るフローチャー
トであり、グラフ認識の過程を動作のステップ(以下、
Sと略す)を追って説明する。
FIG. 4 is a flow chart relating to the operation of this embodiment.
(Abbreviated as S) will be described later.

【0017】まず、対象の図形上をスキャナ等の光電変
換装置によって走査し(S1)、円形を認識しなければ終
了し、円形を認識すると円グラフとして、そのグラフ円
10(図3)を抽出(S2)し、つぎにS3で、扇形部として
各項目を区切った区切り線11を抽出する。図5は、その
区切り線11を例示し、区切り線11は、S2によって抽出
したグラフ円10の中心座標から、半径r方向に放射状に
延びている。
First, a target figure is scanned by a photoelectric conversion device such as a scanner (S1), and if a circle is not recognized, the process ends. If a circle is recognized, a circle graph is obtained.
10 (FIG. 3) is extracted (S2), and then, in S3, a dividing line 11 that separates each item is extracted as a fan-shaped portion. FIG. 5 exemplifies the dividing line 11, and the dividing line 11 extends radially in the radius r direction from the center coordinates of the graph circle 10 extracted in S2.

【0018】S4で区切り線11とグラフ円10とにより囲
まれた扇形の領域内に引出し線12があるかどうかを調
べ、なければS5に進み、あればS6に進む。S5で区
切り線11間の扇形部に描かれた項目部9の文字を抽出す
る。
In S4, it is checked whether or not there is a leader line 12 in a fan-shaped area surrounded by the dividing line 11 and the graph circle 10. If there is no leader line, the process proceeds to S5, and if there is, the process proceeds to S6. In S5, the characters of the item portion 9 drawn in the fan-shaped portion between the dividing lines 11 are extracted.

【0019】図6は一例としてA社の場合を示してお
り、上記の調べは斜線のような、グラフ円10の周りにつ
いても調査することになる。S6で図7のように、引出
し線12の端部周りの半径rの範囲の文字列を調べ、S7
で項目部9の下方にある数値部8があるかどうかを調べ
る。ない場合はS8に、あればS9に進む。このS9で
図8のように、数値部8がない場合、円グラフの項目を
区切る区切り線11の開き角度を求め、その角度が全体36
0度に占める割合を算出する。なお、実際の数量は円グ
ラフのデータ変換後に入力することになる。例えば、図
9に示すような場合、後でグラフとして全体の数量340
が入力されたとするとA社の場合、340×138÷360=130
が、実際の数量になる。
FIG. 6 shows the case of the company A as an example, and the above-mentioned examination also examines the area around the graph circle 10 such as the diagonal line. In S6, as shown in FIG. 7, the character string in the range of the radius r around the end of the leader line 12 is checked, and S7
Check whether or not there is a numerical part 8 below the item part 9. If not, the process proceeds to S8, and if there is, the process proceeds to S9. In this S9, as shown in FIG. 8, when there is no numerical part 8, the opening angle of the dividing line 11 that divides the items of the pie chart is calculated, and the angle is the whole 36.
Calculate the ratio to 0 degree. Note that the actual quantity will be entered after converting the pie chart data. For example, in the case shown in FIG.
If is input, in the case of Company A, 340 × 138 ÷ 360 = 130
Is the actual quantity.

【0020】最後に、以上のようにグラフを認識して得
た項目、及び項目に対応する各種の値をグラフ書式格納
部7に保存させて終了する。
Finally, the items obtained by recognizing the graph as described above and various values corresponding to the items are saved in the graph format storage unit 7, and the process ends.

【0021】図10はその保存の例を、前記図3の場合に
ついて示したものであり、13は円グラフ、14はその半
径、15は項目数、そして16は各項目と、各項目に対する
値である。
FIG. 10 shows an example of the storage in the case of FIG. 3, 13 is a pie chart, 14 is its radius, 15 is the number of items, and 16 is each item and a value for each item. Is.

【0022】本実施例は、このような、イメージデータ
と比べ極めて少ないデータで、円グラフが再現できる。
しかも加工容易なデータがグラフ書式格納部7に記憶さ
れる。
In the present embodiment, the pie chart can be reproduced with such data which is extremely smaller than the image data.
Moreover, data that can be easily processed is stored in the graph format storage unit 7.

【0023】[0023]

【発明の効果】以上説明したように、本発明は、グラフ
のイメージを記憶するのではなく、グラフを形成してい
る項目名と、項目に対応する数値等を記憶して、その数
値等を用いて文字あるいは数値データに交換させるもの
であり、したがって大幅な情報圧縮となり、しかも、前
記データは表計算等のデータに変更が可能であるから、
高速で操作性のよい入力装置として顕著な効果を発揮す
る円グラフ認識装置を提供できる。
As described above, the present invention does not store the image of the graph, but stores the item name forming the graph, the numerical value corresponding to the item, and the like. Since it is used for exchanging character or numerical data, it results in a great deal of information compression, and the data can be changed to data such as spreadsheet.
It is possible to provide a pie chart recognition device that exhibits a remarkable effect as a high-speed and easy-to-use input device.

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

【図1】本発明の一実施例の構成を示すブロック図であ
る。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.

【図2】文字部と図形の例を示す説明図である。FIG. 2 is an explanatory diagram showing an example of a character portion and a figure.

【図3】グラフを形成する各要素の説明図である。FIG. 3 is an explanatory diagram of each element that forms a graph.

【図4】本実施例の動作に係るフローチャートである。FIG. 4 is a flowchart related to the operation of this embodiment.

【図5】グラフの区切り線の抽出の説明図である。FIG. 5 is an explanatory diagram of extraction of graph dividing lines.

【図6】項目文字列の調査範囲の説明図である。FIG. 6 is an explanatory diagram of an investigation range of item character strings.

【図7】引出し線の周りの文字列の調査の説明図であ
る。
FIG. 7 is an explanatory diagram of investigation of a character string around a leader line.

【図8】数値が無記入の円グラフの説明図である。FIG. 8 is an explanatory diagram of a pie chart in which no numerical value is entered.

【図9】区切り線の開き角度を求めた説明図である。FIG. 9 is an explanatory diagram in which an opening angle of a dividing line is obtained.

【図10】グラフデータの一例を示す説明図である。FIG. 10 is an explanatory diagram showing an example of graph data.

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

1…画像入力部、 2…画像記憶部、 3…文字図形分
離部、 4…文字認識部、 5…図形認識部、 6…グ
ラフ認識部、 7…グラフ書式格納部。
DESCRIPTION OF SYMBOLS 1 ... Image input part, 2 ... Image storage part, 3 ... Character figure separation part, 4 ... Character recognition part, 5 ... Graphic recognition part, 6 ... Graph recognition part, 7 ... Graph format storage part.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 図形からグラフ円の外形部と、各項目を
区切る区切り線と、各項目名と、引出し線とを認識し、
かつ前記区切り線の開き角度から、各項目がグラフ円全
体に占める割合を算出し、円グラフにおける情報を文字
あるいは数値データに変換する手段を備えたことを特徴
とする円グラフ認識装置。
1. An outline part of a graph circle from a figure, a dividing line separating each item, each item name, and a leader line are recognized,
A pie chart recognition device further comprising means for calculating the ratio of each item to the entire graph circle from the opening angle of the dividing line and converting the information in the pie graph into character or numerical data.
JP9124992A 1991-02-20 1991-02-20 Circular graph recognition device Pending JPH05174150A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9124992A JPH05174150A (en) 1991-02-20 1991-02-20 Circular graph recognition device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9124992A JPH05174150A (en) 1991-02-20 1991-02-20 Circular graph recognition device

Publications (1)

Publication Number Publication Date
JPH05174150A true JPH05174150A (en) 1993-07-13

Family

ID=12153477

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9124992A Pending JPH05174150A (en) 1991-02-20 1991-02-20 Circular graph recognition device

Country Status (1)

Country Link
JP (1) JPH05174150A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014070147A1 (en) * 2012-10-30 2014-05-08 Hewlett-Packard Development Company, L.P. Analyzing data with computer vision
WO2015162748A1 (en) * 2014-04-24 2015-10-29 株式会社日立製作所 Data conversion device and data conversion method
KR20170002710A (en) * 2015-06-22 2017-01-09 한국표준과학연구원 In-situ graph analysis application for smart-phone

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014070147A1 (en) * 2012-10-30 2014-05-08 Hewlett-Packard Development Company, L.P. Analyzing data with computer vision
WO2015162748A1 (en) * 2014-04-24 2015-10-29 株式会社日立製作所 Data conversion device and data conversion method
KR20170002710A (en) * 2015-06-22 2017-01-09 한국표준과학연구원 In-situ graph analysis application for smart-phone

Similar Documents

Publication Publication Date Title
JP3139521B2 (en) Automatic language determination device
EP2224359B1 (en) Image processing apparatus, image processing method, and computer program
JP3345350B2 (en) Document image recognition apparatus, method thereof, and recording medium
US8614838B2 (en) Image processing apparatus and image processing method
KR101037458B1 (en) Image processing apparatus, image processing method and storage medium
JPH09223240A (en) Document electronizing device
US5406384A (en) Document filing apparatus in which a title and/or a key word is selected from image information displayed
US20010050785A1 (en) Image processing device, method and program product
JPH08147446A (en) Electronic filing device
JPH05174150A (en) Circular graph recognition device
US6198543B1 (en) Color table look-up using compressed image data
US6487311B1 (en) OCR-based image compression
JPH04309186A (en) Bar graph recognizing device
JPH04172574A (en) Graph recognition device
JPH05108740A (en) Belt graph recognition device
JPH0573685A (en) Radar chart recognition device
JPS6238984A (en) Optical character reading system
JP4228905B2 (en) Image processing apparatus and program
JP3030126B2 (en) Image processing method
JPH0855219A (en) Device and method for extracting connected region
JPH04324577A (en) Broken-line graph recognizing device
JP5612851B2 (en) Information processing apparatus, information processing method, and program
JP5424785B2 (en) Image processing apparatus, image processing method, and computer program
JPH05159062A (en) Document recognition device
JPH10171917A (en) Device and method for character recognition and its recording medium