JPH02148170A - Table structuralizing system - Google Patents

Table structuralizing system

Info

Publication number
JPH02148170A
JPH02148170A JP63300689A JP30068988A JPH02148170A JP H02148170 A JPH02148170 A JP H02148170A JP 63300689 A JP63300689 A JP 63300689A JP 30068988 A JP30068988 A JP 30068988A JP H02148170 A JPH02148170 A JP H02148170A
Authority
JP
Japan
Prior art keywords
frame
frames
line
same
fixed form
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.)
Granted
Application number
JP63300689A
Other languages
Japanese (ja)
Other versions
JP2575480B2 (en
Inventor
Yasuyuki Shiromizu
康之 白水
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.)
Fuji Electric Co Ltd
Fuji Facom Corp
Original Assignee
Fuji Electric Co Ltd
Fuji Facom Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Electric Co Ltd, Fuji Facom Corp filed Critical Fuji Electric Co Ltd
Priority to JP63300689A priority Critical patent/JP2575480B2/en
Publication of JPH02148170A publication Critical patent/JPH02148170A/en
Application granted granted Critical
Publication of JP2575480B2 publication Critical patent/JP2575480B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To easily execute a search of a line and a row, a search of a frame designated by a mouse, etc., and a table calculation, etc., by constituting the system so that a table of a non-fixed form type can also be managed in the same way as the case of a table of a fixed form type. CONSTITUTION:A character/graphic data processing system consists of a scanner 10 for reading character/graphic data containing a table, an image memory 11, a CPU core block 2, an OCR (opto-character reader) 13, and a document editing device 14. In this state, by plural virtual lines partitioned by a virtual line, the same frame number is given to that which originally belongs to the same frame, and existence information of the frame for showing whether the frame is a frame which exists actually, or a frame which is generated by only the virtual line and does not exist actually, and connecting information for showing a connecting state of each frame are allowed to have at every frame, and a table of a non-fixed form type is structuralized as table data of a fixed form type having a simple frame array. In such a way, in the same way as the case of the table of the fixed form type, a search in the line and the row directions in the table, a table calculation, etc., can be executed easily.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、表図形を構成する罫線データ(罫線の始点、
終点及び線種を含む)を与えられて、それからその表構
造を規定する表構造化データを作成する表構造化方式に
関するものである。
[Detailed Description of the Invention] [Industrial Application Field] The present invention provides ruled line data (starting points of ruled lines,
The present invention relates to a table structuring method that creates table structured data that defines the table structure based on a set of data (including end points and line types).

画像処理の分野では、認識の対象が表である場合、スキ
ャナにより表を読み取って得た2値画像データから、表
を切り出して、表を構成する罫線データ(罫線の始点、
終点及び線種)を得ること、そして次に該罫線データか
らその表構造を規定する表構造化データを作成すること
、が行われ、それによって表を含む文字、図形データの
自由な取り扱いが可能になる。本発明では、表を構成す
る罫線データ(罫線の始点、終点及び線種)が既に得ら
れたものとして、該罫線データから表構造を規定する所
の表構造化データを作成する表構造化方式に関するもの
である。
In the field of image processing, when the object to be recognized is a table, the table is extracted from the binary image data obtained by reading the table with a scanner, and the ruled line data (starting point of the ruled line,
(end point and line type), and then create table structured data that defines the table structure from the ruled line data, thereby making it possible to freely handle text and graphic data including tables. become. In the present invention, the table structuring method creates table structured data that defines the table structure from the ruled line data (starting point, end point, and line type of the ruled line) that constitutes the table, assuming that it has already been obtained. It is related to.

〔従来の技術〕[Conventional technology]

第5図は表を含む文字、図形データを扱う文字、図形デ
ータ処理システムの構成例を示すブロック図である。同
図において、lOは表を含む文字、図形データを読み取
るスキャナ、11は画像メモリ、工2はCPUコアブロ
ック(CPUとROM、RAM、周辺Ilo等を含みデ
ータの処理、転送を行う)、13はOCR(オプト キ
ャラクタリーダ)、14は文書編集装置、である。
FIG. 5 is a block diagram showing an example of the configuration of a character and graphic data processing system that handles character and graphic data including tables. In the figure, 10 is a scanner that reads text and graphic data including tables, 11 is an image memory, 2 is a CPU core block (includes the CPU, ROM, RAM, peripheral Ilo, etc., and processes and transfers data), 13 14 is an OCR (opto character reader), and 14 is a document editing device.

スキャナ10は表を含む文字、図形データを読み取り2
値化して画像データとして画像メモリ11に取り込む。
The scanner 10 reads text and graphic data including tables 2
It is converted into a value and taken into the image memory 11 as image data.

CPUコアブロック12は、画像メモリ11から画像デ
ータを取り出し、表の切り出し、表構造化データの作成
を行うと共に、0CR13を使って文字、図形の認識を
行い、それらの結果を文書編集装置14に送る。
The CPU core block 12 retrieves image data from the image memory 11, cuts out a table, creates table structured data, recognizes characters and figures using the OCR 13, and sends the results to the document editing device 14. send.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

かかる文字、図形データ処理システムにおいて、従来扱
い得た表は定形型の表であることが発表されている。
It has been announced that the tables that can be handled conventionally in such character and graphic data processing systems are fixed-form tables.

第6図は定形型の表を示す説明図である。同図に示す表
は、所謂基盤の目状に仕切られた枠をもち、縦列方向な
らどの縦列をとっても枠の数は同じく4個であり、横行
方向ならどの行方向をとっても枠の数は同じく5個であ
り、各枠毎の面積の大小はあるにしても、整然とした枠
配列を備えた定形型の表である。
FIG. 6 is an explanatory diagram showing a fixed form table. The table shown in the figure has frames partitioned in the shape of so-called base grids, and the number of frames is the same no matter which column is taken in the vertical direction, and the number of frames is the same in any row direction in the horizontal direction. There are five tables, and although the area of each frame may vary, it is a regular table with an orderly arrangement of frames.

これに対し第7図は、非定形型の表を示す説明図である
。−見して明らかなように、同じ横行方向でも、最下行
では横方向に枠が5個存在するのに、一番上の行では、
4個しか枠が存在しない。
On the other hand, FIG. 7 is an explanatory diagram showing a non-standard type table. -As you can see, even in the same horizontal direction, there are 5 horizontal frames in the bottom row, but in the top row,
There are only 4 frames.

また一番人の縦列では枠が4個存在するが、一番台の縦
列では枠が3個存在しない。
In addition, there are four frames in the column for the first person, but three frames do not exist in the column for the first person.

また第8図も非定形型の表を示す説明図である。FIG. 8 is also an explanatory diagram showing a non-standard type table.

文字、図形データ処理システムにおいて、従来扱い得た
表は、第6図に示す如き定形型の表であることが発表さ
れているが、第7図に示す如き非定形型の表を扱った例
は発表されていない(非定形型の表は、デイスプレィ面
に描くことは出来るが、縦横の位置関係に意味をもつ表
としては扱えなかったため、表における行や列方向のサ
ーチ、表計算等は行えなかった)。
It has been announced that the tables that can be handled conventionally in text and graphic data processing systems are fixed-form tables as shown in Figure 6, but an example of handling non-standard tables as shown in Figure 7 is now available. has not been announced (a non-standard table can be drawn on the display surface, but it cannot be treated as a table with meaning in the vertical and horizontal positional relationship, so searches in the row and column directions in the table, spreadsheet calculations, etc. I couldn't do it).

本発明の目的は、文字、図形データ処理システムにおい
て、第7図に示す如き非定形型の表をも、定形型の表の
場合と同じように扱うことを可能ならしめるための表構
造化方式を提供することにある。
An object of the present invention is to provide a table structuring method that enables a character/graphic data processing system to handle a non-standard table as shown in FIG. 7 in the same way as a regular table. Our goal is to provide the following.

〔課題を解決するための手段〕[Means to solve the problem]

上記目的達成のため本発明では、その表の中で行同士及
び列同士で異なる個数の枠をもつ非定形型の表構造にお
いて、仮想線を想定することにより、行同士及び列同士
で、それぞれ互いに同じ個数の枠をもつ定形型の表構造
を仮定し、仮想線によって仕切られた複数の仮想枠で本
来、同一の枠に属するものには同じ枠番号を付与し、そ
れと共に、枠が実際に存在する枠か、仮想線のみによっ
て作り出された実際には存在しない枠であるかを示す枠
の有無情報、及び枠同士の連結具合を示す連結情報を登
録する段階を含むことにより、定形型の表構造を採る場
合と同じ手法で表構造化データを作成することを可能に
した。
In order to achieve the above object, the present invention assumes a virtual line in an amorphous table structure in which the number of frames differs between rows and columns, so that each row and column have different numbers of frames. Assuming a fixed table structure with the same number of frames, we assign the same frame number to multiple virtual frames separated by virtual lines that originally belong to the same frame, and also By including the step of registering frame presence/absence information indicating whether the frame exists in the frame or a frame that does not actually exist created only by virtual lines, and connection information indicating how the frames are connected to each other, the fixed form This makes it possible to create table-structured data using the same method as when creating a table structure.

第1図は、本来第7図に見られる如き非定形型の表であ
ったものを、破線で示す如き仮想線を想定することによ
り、定形型の表と化した説明図である。第2図も同様に
、本来第8図に見られる如き非定形型の表であったもの
を、破線で示す如き仮想線を想定することにより、定形
型の表と化した説明図である。
FIG. 1 is an explanatory diagram in which what was originally an amorphous table as shown in FIG. 7 has been transformed into a regular table by imagining virtual lines as shown by broken lines. Similarly, FIG. 2 is an explanatory diagram in which what was originally a non-standard table as shown in FIG. 8 has been transformed into a regular table by imagining virtual lines as shown by broken lines.

このように本発明では、仮想線を想定して、行同士及び
列同士で、それぞれ同じ個数の枠をもつ定形型の表構造
を仮定する。
As described above, the present invention assumes a fixed table structure with the same number of frames between rows and between columns, assuming virtual lines.

〔作用〕 仮想線によって仕切られた複数の仮想枠で本来、同一の
枠に属するものには同じ枠番号を付与し、それと共に、
枠が実際に存在する枠か、仮想線のみによって作り出さ
れた実際には存在しない枠であるかを示す枠の有無情報
、及び枠同士の連結具合を示す連結情報を各枠毎にもた
せる。こうして非定形型の表を単純な枠配列をもつ定形
型の表データとして構造化することができ、定形型の表
の場合と同じように、容易に表における行や列方向のサ
ーチ、表計算等が行えるようになる。
[Operation] The same frame number is given to multiple virtual frames separated by virtual lines that originally belong to the same frame, and along with that,
Each frame has frame presence/absence information indicating whether the frame actually exists or a frame that does not actually exist created only by virtual lines, and connection information indicating how the frames are connected to each other. In this way, a non-standard table can be structured as a standard table data with a simple frame arrangement, and you can easily search in the rows and columns of the table, perform spreadsheet calculations, etc., just as you would with a standard table. etc. will be possible.

〔実施例〕〔Example〕

以下、本発明の詳細な説明する。 The present invention will be explained in detail below.

第3図が、これから表構造化データを作成しようとする
、その対象としての表構造の一例を示す説明図である。
FIG. 3 is an explanatory diagram showing an example of a table structure as a target for which table structured data is to be created.

同表の基準点を左上角のA点とすると、基準点Aは、原
点(0,0)より若干ずれた位置にあり(このずれ量を
X軸方向とY軸方向に分けて考え、X軸方向オフセット
、Y軸方向オフセントという)、また裏全体がX軸方向
、Y軸方向に対して傾いており、枠番号は1〜16まで
で非定形型の表であることが認められるであろう(この
ような表を表構造化データの作成対象に選んだわけであ
る)。
Assuming that the reference point in the same table is point A in the upper left corner, reference point A is at a position slightly shifted from the origin (0,0). It is recognized that the front is of an amorphous type, with frame numbers 1 to 16. (This is why we chose such a table to create table-structured data.)

更に、作成した表構造化データを記入するフォーマット
を第4図に示す。
Further, FIG. 4 shows a format for entering the created table structured data.

第4図(a)に示すフォーマントは、基本データを記入
するフォーマットで、その名称をHNO(*)と云い、
(*)の所には1〜8の数字が入る。即ちHNO(1)
は表番号(一つのデイスプレィ面において表示される表
は一つとは限らず、複数ある場合もあるのでその場合、
番号を付す)、HNO(2)は表の傾き、HNO(3)
は基準点AOX軸方向オフセット、HNO(4)は基準
点AOY軸方向オフセット、HNO(5)はX軸方向に
おける裏全体の幅、HNO(6)はY軸方向における裏
全体の幅、HNO(7)はX軸方向における枠の数、H
NO(8)はY軸方向における枠の数、を表わすデータ
で、フォーマットを構成する各欄1〜8にそれぞれ記入
する。
The formant shown in Figure 4(a) is a format for entering basic data, and its name is HNO(*).
Enter numbers 1 to 8 in place of (*). That is, HNO(1)
is the table number (there may be more than one table displayed on one display surface, so in that case,
number), HNO (2) is the slope of the table, HNO (3)
is the offset in the reference point AOX axis direction, HNO (4) is the offset in the reference point AOY axis direction, HNO (5) is the width of the entire back in the X axis direction, HNO (6) is the width of the entire back in the Y axis direction, HNO ( 7) is the number of frames in the X-axis direction, H
NO(8) is data representing the number of frames in the Y-axis direction, and is entered in each column 1 to 8 constituting the format.

第4図(b)に示すフォーマントは、X方向罫線データ
を記入するフォーマットで、その名称をDOY (*、
*)と云い、(*、  *)の所の最初の*には左右の
欄を識別する数字が入り、次の*には上下方向の番号が
入る。そして罫線の線種が左の欄に、Y軸方向の幅が右
の欄に記入される。
The formant shown in FIG. 4(b) is a format for writing in the X-direction ruled line data, and its name is DOY (*,
*) In the place of (*, *), the first * is a number that identifies the left and right columns, and the next * is a number in the top and bottom directions. The line type of the ruled line is entered in the left column, and the width in the Y-axis direction is entered in the right column.

なお罫線の線種は5ビツト構成で表現され、0桁目にビ
ットを立てて実線を表わし、1桁目にビットを立てて破
線を表わし、2桁目にビットを立てて点線を表わし、3
桁目にビットを立てて一点鎖線を表わし、4桁目にビッ
トを立てて二点鎖線を表わすようにしている。
The line type of the ruled line is represented by a 5-bit configuration: a bit is set in the 0th digit to represent a solid line, a bit is set in the 1st digit to represent a broken line, a bit is set in the 2nd digit to represent a dotted line, and a bit is set in the 2nd digit to represent a dotted line.
A bit is set in the digit to represent a one-dot chain line, and a bit is set in the fourth digit to represent a two-dot chain line.

第4図(c)に示すフォーマントは、Y方向罫線データ
を記入するフォーマットで、その名称をDOX (*、
*)と云い、同様に罫線の線種とX軸方向の幅が記入さ
れる。
The formant shown in FIG. 4(c) is a format for entering the Y-direction ruled line data, and its name is DOX (*,
*), and the line type and width in the X-axis direction of the ruled line are entered in the same way.

第4図(d)に示すフォーマットは、枠番号データを記
入するフォーマットで、その名称をDOB (2,*、
  *)と云い、第4図(e)に示すフォーマットは、
枠毎の連結データを記入するフォーマットで、その名称
をDOB (1,*、*)と云い、(*、  *)の所
は各粋の配列に対応した数字が入る。
The format shown in Figure 4(d) is a format for entering frame number data, and its name is DOB (2, *,
*), and the format shown in Figure 4(e) is
This is a format in which connected data for each frame is entered, and its name is DOB (1, *, *), where (*, *) are filled with numbers corresponding to each array.

以上、表構造化データを記入するフォーマットを説明し
たので、次に実際に表構造化データを作成する手順を説
明する。
Now that the format for entering table structured data has been explained, the procedure for actually creating table structured data will be explained next.

■第5図に示すスキャナlOで、第3図に示す如き表図
形を読み取り画像データとしてメモリ11に取り込み、
該画像データから表を構成する罫線の始点、終点、線種
(罫線データ)を求める(この表切り出しの手法は、本
発明では問題にせず、既存の手法で行うものとしている
)。
■ With the scanner lO shown in FIG. 5, a table figure as shown in FIG. 3 is read and taken into the memory 11 as image data,
The starting point, end point, and line type (ruled line data) of the ruled lines constituting the table are determined from the image data (this table cutting method is not a problem in the present invention, and is performed using an existing method).

■得られた罫線データから各線分の傾きを算出し、±4
5°以内のものを水平線、それ以外のものを垂直線とし
た後、それぞれの線分の角度が、成るしきい値以内にあ
るか否かを調べる。例えばしきい値を±5°とした場合
、水平線はO″±50±50以内は90″±5″以内、
としそれ以外の線分は、表を構成する罫線ではないもの
と判断して除去する。
■Calculate the slope of each line segment from the obtained ruled line data, ±4
After defining those within 5 degrees as horizontal lines and the others as vertical lines, it is checked whether the angle of each line segment is within a threshold value. For example, if the threshold value is ±5°, the horizontal line is within 0″±50±50, within 90″±5″,
Other line segments are determined to not be ruled lines composing a table and are removed.

そしてそれぞれの線分の傾きの統計をとり、最も多い傾
きの値を、第4図(a)に示すフォーマットの2の欄に
、データHNO(2)として登録する。
Then, statistics on the slope of each line segment are taken, and the most frequent slope value is registered as data HNO(2) in column 2 of the format shown in FIG. 4(a).

■上記■で求めた傾きにより、線分の始点、終点の座標
を次の式で傾き補正し、X座標が最小の位置にある垂直
線とY座標が最小の位置にある水平線との交点Aを求め
、該交点への座標をX軸オフセット、Y軸オフセットと
して第4図(a)に示すフォーマットの3と4の欄に、
それぞれデータHNO(3)及びHNO(4)として登
録する。
■ Based on the slope obtained in above ■, correct the slope of the coordinates of the starting point and end point of the line segment using the following formula, and then intersect A between the vertical line at the minimum X coordinate and the horizontal line at the minimum Y coordinate. Find the coordinates to the intersection point as the X-axis offset and Y-axis offset in columns 3 and 4 of the format shown in Figure 4(a),
They are registered as data HNO(3) and HNO(4), respectively.

X’ =Xsin θ+Y cos θY’ =Xco
s θ−Ysin θ 但し、X、 Yは補正前の座標、x’ 、 y’ は補
正後の座標、θは傾きである。
X' = Xsin θ+Y cos θY' = Xco
s θ−Ysin θ where X and Y are coordinates before correction, x' and y' are coordinates after correction, and θ is the slope.

■各線分(罫線)間の間隔を求め、垂直線分をDOX 
(2,*”)として第4図(C)に示すフォーマットの
右欄に登録し、水平線分をDOY (2゜*)として第
4図(b)に示すフォーマットの右欄に登録する。
■ Find the spacing between each line segment (ruled line) and DOX the vertical line segment.
(2,*”) is registered in the right column of the format shown in FIG. 4(C), and the horizontal line segment is registered as DOY (2°*) in the right column of the format shown in FIG. 4(b).

但し第3図における線分BCと線分DBのように、Y″
座標値が同じ値を示すような水平線分、或いはX°座標
値が同じ値を示すような垂直線分については1本の線分
としてまとめる。
However, like line segment BC and line segment DB in Figure 3, Y''
Horizontal line segments with the same coordinate values or vertical line segments with the same X° coordinate values are grouped together as one line segment.

■ここで求めた水平線、垂直線の数からそれぞれ1を引
いた残りをX方向の枠数、Y方向の枠数として、第4図
(a)に示すフォーマントの7と8の欄に、それぞれデ
ータHNO(7)及びHNO(8)として登録する。
■ Subtract 1 from each of the horizontal lines and vertical lines found here, and use the remainder as the number of frames in the X direction and the number of frames in the Y direction, and write them in columns 7 and 8 of the formant shown in Figure 4 (a). They are registered as data HNO(7) and HNO(8), respectively.

■上記■で求めた補正座標より、全ての線分の交点を求
め、枠を算出し、枠番号を順番に1から付ける。これを
第4図(d)に示すフォーマットに、DOB (2,*
、*’)として登録する。ここで第3図に見られる枠9
のような変形枠に対しては、CD間に仮想線を想定して
複数の枠に分け、それぞれに同一番号を付ける。更に、
その複数の枠間では、連結して一つの枠を構成している
ということを表わす連結情報を連結フラグとして第4図
(e)に示すフォーマットに登録する。
■ Find the intersection points of all line segments from the corrected coordinates found in step (■) above, calculate the frames, and assign frame numbers starting from 1 in order. This is converted into the format shown in Figure 4(d) by DOB (2, *
, *'). Here, frame 9 seen in Figure 3
For a modified frame such as , a virtual line is assumed between the CDs to divide it into a plurality of frames, and each frame is given the same number. Furthermore,
Between the plurality of frames, connection information indicating that they are connected to form one frame is registered as a connection flag in the format shown in FIG. 4(e).

ここで連結情報は、4ビツト構成で、O桁目にビットを
立てて右方向連結枠有り、1桁目にビットを立てて左方
向連結枠有り、2桁目にビットを立てて下方向連結枠有
り、3桁目にビットを立てて上方向連結枠有り、を表わ
す。
Here, the concatenation information has a 4-bit configuration, with a bit set in the O digit to indicate a right direction concatenation frame, a bit set in the 1st digit to indicate a left direction concatenation frame, and a bit set in the 2nd digit to indicate a downward concatenation frame. If there is a frame, set a bit in the third digit to indicate that there is an upward connecting frame.

第3図の枠9では、CD間を結ぶ仮想線によって仕切ら
れた上の枠に対しては、下方向連結枠有りを示す連結フ
ラグを立て、下の枠に対しては、上方向連結枠有りを示
す連結フラグを立てるわけである。
In frame 9 in Fig. 3, a connection flag indicating that there is a downward connection frame is set for the upper frame partitioned by the imaginary line connecting CDs, and an upward connection frame is set for the lower frame. A concatenation flag is set to indicate the existence of the concatenation.

以上をまとめると、第3図に見られる如き表に対する表
構造化データとして次の如きデータが作成されたことに
なる。
To summarize the above, the following data has been created as table structured data for the table shown in FIG.

X方向枠数 HNO(7) Y方向枠数 HNO(8) 01゜ 枠番号      04゜ DOB (2**)  08゜ 12゜ 14゜ =4 =5 02、 02. 0 05、 06. 0 09、 10. 1 09、 13. 1 15、 16. 1 連結情報 DOB (1**) IH。Number of frames in X direction HNO (7) Number of frames in Y direction HNO (8) 01゜ Frame number    04゜ DOB (2**) 08° 12° 14° =4 =5 02, 02. 0 05, 06. 0 09, 10. 1 09, 13. 1 15, 16. 1 Consolidation information DOB (1**) IH.

0゜ 4H。0° 4H.

8H。8H.

0゜ 2H。0° 2H.

0゜ 0゜ IH。0° 0° IH.

IH。IH.

H H ここでIHとは、ヘキサ(16進法)の1(2進法で表
わすと、0001)に相当し、「右方向連結枠有り」を
意味し、2Hは同様にヘキサ(16進法)の2(2進法
で表わすと、0010)に相当し、「左方向連結枠有り
」を意味する。4Hは2進法では、0100に相当して
「下方向連結枠有り」を意味し、8Hは2進法では、1
000に相当して「上方向連結枠有り」を意味する。
H H Here, IH corresponds to hexadecimal 1 (0001 in binary) and means "with right direction connecting frame", and 2H corresponds to hexadecimal 1 (0001 in binary), and 2H corresponds to hexadecimal ), which corresponds to 2 (0010 in binary notation) and means "with left direction connecting frame". 4H corresponds to 0100 in binary system and means "with downward connecting frame", and 8H corresponds to 1 in binary system.
It corresponds to 000 and means "with upper connecting frame".

■次に、交点座標と表の傾きデータとにより、各枠内の
画像データを求めて0CR13に転送し、その認識結果
に枠番号を付加して表構造化データと共に文書編集装置
14に転送する。
■Next, the image data within each frame is determined using the intersection coordinates and table tilt data and transferred to the 0CR13, and the frame number is added to the recognition result and transferred to the document editing device 14 along with the table structured data. .

表構造化データを作成せんとする対象の表が、第2図に
見られるような表であるとき、つまり仮想線だけで囲ま
れた実在しない枠を含むときは、枠が実際に存在する枠
か、仮想綿のみによって作り出された実際には存在しな
い枠であるかを示す枠の有無情報も登録する。
When the table for which you want to create table-structured data is a table like the one shown in Figure 2, that is, when it contains a non-existent frame surrounded only by imaginary lines, the frame is a frame that actually exists. The presence/absence information of the frame is also registered, which indicates whether the frame is created only by virtual cotton or does not actually exist.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明によれば、非定形型の表も
、定形型の表の場合と同じように管理可能になるため、
行、列のサーチ、マウス等で指定された枠のサーチ、表
計算等が容易に行えるようになるという利点がある。
As explained above, according to the present invention, non-standard tables can be managed in the same way as regular tables.
It has the advantage of making it easier to search rows and columns, search frames specified with a mouse, etc., and perform spreadsheet calculations.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図、第2図はそれぞれ本来非定形型の表であったも
のを本発明により破線で示す如き仮想線を想定して定形
型の表と化した説明図、第3図は表構造化データを作成
しようとする、その対象としての表構造の一例を示す説
明図、第4図は作成した表構造化データを記入するフォ
ーマントを示す説明図、第5図は表を含む文字、図形デ
ータを扱う文字、図形データ処理システムの構成例を示
すブロック図、第6図は定形型の表を示す説明図、第7
図、第8図はそれぞれ非定形型の表を示す説明図、であ
る。 符号の説明 10・・・表を含む文字、図形データを読み取るスキャ
ナ、11・・・画像メモリ、12・・・CPUコアブロ
ック、13・・・OCR(オブト ーダ)、14・・・文書編集装置。
Figures 1 and 2 are explanatory diagrams in which what was originally a non-standard table has been transformed into a regular table by assuming virtual lines as shown by broken lines according to the present invention, and Figure 3 is a table structured table. An explanatory diagram showing an example of a table structure as a target for creating data. Figure 4 is an explanatory diagram showing a formant for filling in the created table structured data. Figure 5 is an illustration of characters and figures including tables. A block diagram showing an example of the configuration of a character and graphic data processing system that handles data, Figure 6 is an explanatory diagram showing a fixed form table, Figure 7
8 are explanatory diagrams each showing a non-standard type table. Description of symbols 10...Scanner for reading character and graphic data including tables, 11...Image memory, 12...CPU core block, 13...OCR (objector), 14...Document editing device.

Claims (1)

【特許請求の範囲】 1)表図形を構成する罫線データ(罫線の始点、終点及
び線種を含む)を与えられて、それからその表構造を規
定する所の表構造化データを作成する表構造化方式にお
いて、 前記表図形が、その表の中で行同士及び列同士で、それ
ぞれ互いに同じ個数の枠をもつ定形型の表構造を採らず
、行同士、列同士で異なる個数の枠をもつ非定形型の表
構造を採るとき、その表の中で仮想線を想定することに
より、行同士及び列同士で、それぞれ互いに同じ個数の
枠をもつ定形型の表構造を仮定し、仮想線によって仕切
られた複数の仮想枠であって本来、同一の枠に属するも
のには同じ枠番号を付与し、それと共に、枠が実際に存
在する枠か、仮想線のみによって作り出された実際には
存在しない枠であるかを示す枠の有無情報、及び枠同士
の連結具合を示す連結情報を登録する段階を含むことに
より、定形型の表構造を採る場合と同じ手法で表構造化
データを作成することを可能にしたことを特徴とする表
構造化方式。
[Claims] 1) A table structure in which ruled line data (including the start point, end point, and line type of the ruled line) constituting a table figure is given, and then table structured data that defines the table structure is created. In the system, the table figure does not have a fixed table structure in which each row and column in the table have the same number of frames, but has a different number of frames in each row and column. When adopting a non-standard table structure, by assuming an imaginary line in the table, a fixed table structure with the same number of frames between rows and columns, and by imaginary lines The same frame number is given to multiple virtual frames that are partitioned and originally belong to the same frame, and at the same time, it is also necessary to indicate whether the frame actually exists or actually exists but was created only by virtual lines. By including the step of registering frame presence/absence information indicating whether the frame is a blank frame, and connection information indicating the degree of connection between frames, table structured data is created using the same method as when using a fixed form table structure. A table structuring method that is characterized by making it possible to
JP63300689A 1988-11-30 1988-11-30 Table structuring method Expired - Lifetime JP2575480B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63300689A JP2575480B2 (en) 1988-11-30 1988-11-30 Table structuring method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63300689A JP2575480B2 (en) 1988-11-30 1988-11-30 Table structuring method

Publications (2)

Publication Number Publication Date
JPH02148170A true JPH02148170A (en) 1990-06-07
JP2575480B2 JP2575480B2 (en) 1997-01-22

Family

ID=17887892

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63300689A Expired - Lifetime JP2575480B2 (en) 1988-11-30 1988-11-30 Table structuring method

Country Status (1)

Country Link
JP (1) JP2575480B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0887495A (en) * 1994-09-16 1996-04-02 Ibm Japan Ltd Cut amd paste method for table data and data processing system
JP2008108187A (en) * 2006-10-27 2008-05-08 Fukui Computer Kk Cad data converter, cad data conversion method, and cad data conversion program
JP2011170397A (en) * 2010-02-16 2011-09-01 Fuji Xerox Co Ltd Image reading apparatus, image processing apparatus, and program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0887495A (en) * 1994-09-16 1996-04-02 Ibm Japan Ltd Cut amd paste method for table data and data processing system
JP2008108187A (en) * 2006-10-27 2008-05-08 Fukui Computer Kk Cad data converter, cad data conversion method, and cad data conversion program
JP2011170397A (en) * 2010-02-16 2011-09-01 Fuji Xerox Co Ltd Image reading apparatus, image processing apparatus, and program

Also Published As

Publication number Publication date
JP2575480B2 (en) 1997-01-22

Similar Documents

Publication Publication Date Title
US5212769A (en) Method and apparatus for encoding and decoding chinese characters
JP3083742B2 (en) Spreadsheet method
US20130020386A1 (en) Information input output method using dot pattern
JPH02148170A (en) Table structuralizing system
JPS6132187A (en) Character recognition system
US5307424A (en) Character recognition system
JP3038840B2 (en) Data converter
JPS62290984A (en) Pattern information inputting paper and method of recognizing pattern information using said paper
CA2057412C (en) Character recognition system
JPH02226491A (en) Data converting method
JP2834130B2 (en) How to check recognition data
JP2895512B2 (en) Character output method
JP3193472B2 (en) Complex information construction method
JP2550562B2 (en) Character display device
JPH0411909B2 (en)
JPH0731671B2 (en) Formula input editing method
JPS60163171A (en) Sentence reader
JPH0973472A (en) Designing device and describing method for its annotation text
JP3407310B2 (en) Ruled line output method and ruled line output device
JPS6339946B2 (en)
JPH0567189A (en) Method and device for defining form format
JPH02116565A (en) Data conversion device
JPS63303470A (en) System for recognizing view position
JPH06223061A (en) Word processor
JPS59163630A (en) Insertion method of character