JP2001028652A - Communication device its method and storage medium - Google Patents

Communication device its method and storage medium

Info

Publication number
JP2001028652A
JP2001028652A JP11198742A JP19874299A JP2001028652A JP 2001028652 A JP2001028652 A JP 2001028652A JP 11198742 A JP11198742 A JP 11198742A JP 19874299 A JP19874299 A JP 19874299A JP 2001028652 A JP2001028652 A JP 2001028652A
Authority
JP
Japan
Prior art keywords
relay destination
relay
data
computer terminal
area
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.)
Withdrawn
Application number
JP11198742A
Other languages
Japanese (ja)
Inventor
Yasumasa Sakai
康真 坂井
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 JP11198742A priority Critical patent/JP2001028652A/en
Publication of JP2001028652A publication Critical patent/JP2001028652A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Facsimiles In General (AREA)
  • Facsimile Transmission Control (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a communication device by which a document at a transmission destination can easily and secondarily be utilized and to provide a method. SOLUTION: A relay destination is discriminated in relay transmission (S201), and when an opposite device is a PC, a document analysis output format DAOF file is generated by applying area division or the like to a received image (S204), and the file is transmitted according to a file transfer protocol (S205). When the relay destination is not the PC, the opposite device is discriminated to be a facsimile terminal and the file is transmitted by a facsimile protocol (S206).

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、データを中継する
通信装置および方法に関するものである。
The present invention relates to a communication device and a method for relaying data.

【0002】[0002]

【従来の技術】文書情報を手軽に複数の遠隔地へ送る手
段として、ファクシミリ装置の中継機能が広く用いられ
ている。このような中継では、ファクシミリから中継画
像をITU−T勧告T.30等のファクシミリ手順で受
け取って一時的に画像を蓄積し、該画像を所定の宛先へ
送信している。ファクシミリの画像データは、画素イメ
ージをITU−T勧告T.4で規定されるMH方式、M
R方式、MMR方式等で圧縮されて相手装置に送信され
る。相手装置では、受信した圧縮データを画素データに
伸長してプリンタで印刷する。
2. Description of the Related Art As a means for easily sending document information to a plurality of remote locations, a relay function of a facsimile apparatus is widely used. In such a relay, a relay image is transmitted from a facsimile to ITU-T Recommendation T.30. The image is temporarily stored after being received by a facsimile procedure such as 30 and transmitted to a predetermined destination. For facsimile image data, a pixel image is defined by ITU-T Recommendation T. MH method, M specified in 4
The data is compressed by the R method, the MMR method or the like and transmitted to the partner device. The partner device decompresses the received compressed data into pixel data and prints it with a printer.

【0003】また、近年では、パーソナルコンピュータ
等のコンピュータ端末がファクシミリモデムを搭載し、
ファクシミリ通信を行うことが可能となっている。した
がって、中継画像の送信先がコンピュータ端末である場
合も多くなっている。コンピュータ端末では、受信した
中継画像はハードディスク等に格納され、オペレータの
操作により適宜CRT上に表示されたり印刷されたりす
る。
In recent years, computer terminals such as personal computers have been equipped with facsimile modems,
It is possible to perform facsimile communication. Therefore, the transmission destination of the relay image is often a computer terminal. In the computer terminal, the received relay image is stored in a hard disk or the like, and is displayed or printed on a CRT as appropriate by an operation of an operator.

【0004】[0004]

【発明が解決しようとする課題】しかしながら上記従来
例では、中継画像を受信した側における受信文書の二次
利用という点からは問題があった。例えば、ファクシミ
リ手順で受信した文書をコンピュータ端末で利用しよう
とするには、受信用紙を見ながら再入力を行うか、或い
は、受信画像をスキャナでコンピュータ端末へ読み込ん
でOCR処理をかける必要があった。
However, the above-mentioned prior art has a problem in terms of secondary use of the received document on the side receiving the relay image. For example, in order to use a document received by the facsimile procedure on a computer terminal, it was necessary to re-input while looking at the receiving paper, or to read the received image to the computer terminal with a scanner and apply OCR processing .

【0005】本発明は、上記課題を解決するためになさ
れたもので、送信先で文書を容易に二次利用することが
可能な通信装置および方法を提供することを目的とす
る。
SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and has as its object to provide a communication apparatus and a communication method capable of easily secondary use of a document at a transmission destination.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するため
に、本出願の第1の発明は、受信した画像データを所定
の中継宛先へ中継送信する通信装置であって、中継宛先
の装置タイプを判別する判別手段と、画像データを領域
解析して、各領域の属性に応じた処理を施したデータフ
ォーマットに変換する変換手段と、中継送信の際、前記
判別手段の判別結果に基づいて、前記変換手段により画
像データを変換するか否かを制御する制御手段とを備え
たことを特徴とする。
In order to achieve the above object, a first invention of the present application is a communication device for relaying received image data to a predetermined relay destination, and comprising a device type of the relay destination. Determination means for determining the area of the image data, a conversion means for converting the image data into a data format subjected to processing according to the attribute of each area, at the time of relay transmission, based on the determination result of the determination means, Control means for controlling whether or not the image data is converted by the conversion means.

【0007】また、本出願の第2の発明は、本出願の第
1の発明において、前記変換手段は、文字領域に対して
文字認識処理を施して文字データに変換するものである
ことを特徴とする。
According to a second invention of the present application, in the first invention of the present application, the conversion means performs a character recognition process on a character area to convert the character area into character data. And

【0008】また、本出願の第3の発明は、本出願の第
1または2の発明において、前記変換手段は、表領域に
対して表解析処理を施して表データに変換するものであ
ることを特徴とする。
[0008] The third invention of the present application is a third invention of the present application.
In the invention according to the first or second aspect, the conversion means performs a table analysis process on the table area to convert the data into table data.

【0009】また、本出願の第4の発明は、本出願の第
1乃至3の発明のいずれかにおいて、前記変換手段は、
画像領域に対して所定方式による圧縮処理を施して圧縮
データに変換するものであることを特徴とする。
[0009] The fourth invention of the present application is the fourth invention of the present application.
In any one of the first to third inventions, the conversion unit includes:
It is characterized in that an image area is subjected to compression processing by a predetermined method and is converted into compressed data.

【0010】また、本出願の第5の発明は、本出願の第
1乃至4のいずれかの発明において、前記判別手段は、
中継宛先がファクシミリ装置かコンピュータ端末かを判
別するものであり、前記制御手段は、中継宛先がコンピ
ュータ端末のときは前記変換手段を実行し、中継宛先が
ファクシミリ装置のときは前記変換手段を実行しないこ
とを特徴とする。
[0010] The fifth invention of the present application is the fifth invention of the present application.
In any one of the inventions according to 1 to 4, the determining means includes:
The relay unit determines whether the relay destination is a facsimile machine or a computer terminal, and the control unit executes the conversion unit when the relay destination is a computer terminal, and does not execute the conversion unit when the relay destination is a facsimile device. It is characterized by the following.

【0011】また、本出願の第6の発明は、本出願の第
1乃至5のいずれかにおいて、前記制御手段は、前記判
別結果に基づいて、画像データを中継送信する際の送信
プロトコルを選択する選択手段を更に備えたことを特徴
とする。
[0011] The sixth invention of the present application is the sixth invention of the present application.
In any one of the first to fifth aspects, the control unit further includes a selection unit that selects a transmission protocol when relaying image data based on the determination result.

【0012】また、本出願の第7の発明は、本出願の第
6の発明において、前記判別手段は、中継宛先がファク
シミリ装置かコンピュータ端末かを判別するものであ
り、前記選択手段は、中継宛先がファクシミリ装置のと
きはファクシミリ手順を選択し、中継宛先がコンピュー
タ端末のときはFTPまたはHTTPを選択することを
特徴とする。
According to a seventh invention of the present application, in the sixth invention of the present application, the determining means determines whether the relay destination is a facsimile machine or a computer terminal, and the selecting means includes a relay device. A facsimile procedure is selected when the destination is a facsimile apparatus, and FTP or HTTP is selected when the relay destination is a computer terminal.

【0013】また、本出願の第8の発明は、受信した画
像データを所定の中継宛先へ中継送信する通信方法であ
って、中継宛先の装置タイプを判別する判別工程と、画
像データを領域解析して、各領域の属性に応じた処理を
施したデータフォーマットに変換する変換工程と、中継
送信の際、前記判別工程の判別結果に基づいて、前記変
換工程により画像データを変換するか否かを制御する制
御工程とを備えたことを特徴とする。
According to an eighth aspect of the present invention, there is provided a communication method for relaying received image data to a predetermined relay destination, comprising the steps of: determining a device type of the relay destination; And a conversion step of converting the image data into a data format that has been processed in accordance with the attribute of each area, and whether or not to convert the image data in the conversion step based on the determination result of the determination step during relay transmission. And a control step of controlling

【0014】また、本出願の第9の発明は、本出願の第
8の発明において、前記変換工程は、文字領域に対して
文字認識処理を施して文字データに変換するものである
ことを特徴とする。
According to a ninth aspect of the present invention, in the eighth aspect of the present invention, the converting step includes performing a character recognition process on a character area to convert the character area into character data. And

【0015】また、本出願の第10の発明は、本出願の
第8まはた9の発明において、前記変換工程は、表領域
に対して表解析処理を施して表データに変換するもので
あることを特徴とする。
According to a tenth invention of the present application, in the eighth or ninth invention of the present application, the conversion step performs a table analysis process on the table area to convert the table area into table data. There is a feature.

【0016】また、本出願の第11の発明は、本出願の
第8乃至10の発明のいずれかにおいて、前記変換工程
は、画像領域に対して所定方式による圧縮処理を施して
圧縮データに変換するものであることを特徴とする。
According to an eleventh aspect of the present invention, in any one of the eighth to tenth aspects of the present invention, the converting step includes performing a compression process on the image area by a predetermined method to convert the image area into compressed data. It is characterized by that.

【0017】また、本出願の第12の発明において、本
出願の第8乃至11の発明のいずれかに前記判別工程
は、中継宛先がファクシミリ装置かコンピュータ端末か
を判別するものであり、前記制御工程は、中継宛先がコ
ンピュータ端末のときは前記変換工程を実行し、中継宛
先がファクシミリ装置のときは前記変換工程を実行しな
いことを特徴とする。
Further, in the twelfth invention of the present application, in any of the eighth to eleventh inventions of the present application, the determining step determines whether a relay destination is a facsimile apparatus or a computer terminal. The step is characterized in that the conversion step is executed when the relay destination is a computer terminal, and the conversion step is not executed when the relay destination is a facsimile machine.

【0018】また、本出願の第13の発明は、本出願の
8乃至12の発明のいずれかにおいて、前記制御工程
は、前記判別結果に基づいて、画像データを中継送信す
る際の送信プロトコルを選択する選択工程を更に備えた
ことを特徴とする。
According to a thirteenth invention of the present application, in any one of the eighth to twelfth inventions of the present application, the control step sets a transmission protocol for relay transmission of image data based on the determination result. It is characterized by further comprising a selecting step of selecting.

【0019】また、本出願の第14の発明は、本出願の
第13の発明において、前記判別工程は、中継宛先がフ
ァクシミリ装置かコンピュータ端末かを判別するもので
あり、前記選択工程は、中継宛先がファクシミリ装置の
ときはファクシミリ手順を選択し、中継宛先がコンピュ
ータ端末のときはFTPまたはHTTPを選択すること
を特徴とする。
According to a fourteenth invention of the present application, in the thirteenth invention of the present application, the determining step determines whether a relay destination is a facsimile apparatus or a computer terminal. A facsimile procedure is selected when the destination is a facsimile apparatus, and FTP or HTTP is selected when the relay destination is a computer terminal.

【0020】また、本出願の第15の発明は、受信した
画像データを所定の中継宛先へ中継送信する通信処理の
プログラムコードを格納したコンピュータ読取可能な記
憶媒体であって、中継宛先の装置タイプを判別する判別
工程と、画像データを領域解析して、各領域の属性に応
じた処理を施したデータフォーマットに変換する変換工
程と、中継送信の際、前記判別工程の判別結果に基づい
て、前記変換工程により画像データを変換するか否かを
制御する制御工程とを実行するためのプログラムコード
を格納したことを特徴とする。
According to a fifteenth aspect of the present invention, there is provided a computer-readable storage medium storing a program code for communication processing for relaying received image data to a predetermined relay destination, wherein the device type of the relay destination is And a conversion step of performing an area analysis of the image data and converting the image data into a data format subjected to a process according to the attribute of each area, and at the time of relay transmission, based on the determination result of the determination step, And a control step of controlling whether to convert the image data in the conversion step.

【0021】[0021]

【発明の実施の形態】以下、図面を参照しながら本発明
に係る実施の形態を詳細に説明する。
Embodiments of the present invention will be described below in detail with reference to the drawings.

【0022】図1は本発明の実施形態における通信装置
の構成を示すブロック図である。同図において、CPU
7は装置全体を制御する。1は通信回線、CCU2は通
信回線1経由の送信および受信動作を制御する通信制御
部である。HD3はハードディスクであり、受信文書を
一時蓄積するほか、CPU7が実行するための各種プロ
グラムを格納するためのものである。PANEL4はオ
ペレータが各種操作を指示するための操作パネルであ
る。RAM5はCPU7がプログラムを実行する際のワ
ークエリアとして用いられる。ROM6は装置を制御す
るプログラムが格納されている。また必要に応じてCP
U7はHD3に格納された各種プログラムを読み出して
実行するが、その際RAM5が補助記憶HD3に対して
主記憶として動作する。
FIG. 1 is a block diagram showing a configuration of a communication device according to an embodiment of the present invention. In FIG.
7 controls the entire apparatus. Reference numeral 1 denotes a communication line, and CCU 2 denotes a communication control unit that controls transmission and reception operations via the communication line 1. The HD 3 is a hard disk for temporarily storing received documents and for storing various programs to be executed by the CPU 7. PANEL 4 is an operation panel for the operator to instruct various operations. The RAM 5 is used as a work area when the CPU 7 executes a program. The ROM 6 stores a program for controlling the device. Also, if necessary, CP
The U7 reads and executes various programs stored in the HD3. At this time, the RAM 5 operates as a main storage for the auxiliary storage HD3.

【0023】次に、本発明の実施形態における通信装置
が、中継指示元から中継画像を受信する動作を説明す
る。ここでは、中継指示元の装置が中継先の宛先を指定
する方法として、ITU−T勧告T.30のサブアドレ
ス信号を用いた場合を説明する。図3に、そのファクシ
ミリ手順のシーケンスを示す。同図において、301は
中継指示元である送信機、302は中継機である受信機
を表わす。まず、両装置間で呼接続が完了した後、受信
機302から被呼局識別トーン信号(CED)と、それ
に続いて非標準機能信号(NSF)、被呼端末識別信号
(CSI)、デジタル識別信号(DIS)が送出される
(ステップS303)。このとき、DIS信号の所定ビ
ットを「1」にセットすることにより、送信機に対して
「サブアドレス通信機能有り」の旨が通知される。これ
に対して送信機は、パスワード信号(PWD)、サブア
ドレス信号(SUB)、NSS(非標準機能設定信
号)、TSI(発呼局識別信号)、DCS(デジタル命
令信号)を送出する(ステップS304)。ここで、オ
ペレータが指定したサブアドレスデータはSUB信号に
セットされて受信機に通知される。以下、公知のファク
シミリ手順に従って画像を受信する(ステップS305
〜S310)。受信した画像はHD3に格納され、ステ
ップS304で受信したサブアドレスデータにより特定
される宛先へ中継送信される。サブアドレスデータと中
継宛先との対応付けはHD3内のテーブルに記憶されて
いる。尚、中継指示の方法については、上記のサブアド
レスデータによるもののほか、NSS信号により指示す
るもの等もあり、特に本実施形態に記載されたものに限
定されるものではない。
Next, the operation of the communication apparatus according to the embodiment of the present invention for receiving a relay image from a relay instruction source will be described. Here, as a method for the relay instruction source device to specify the destination of the relay destination, ITU-T Recommendation T.30 A case where 30 sub-address signals are used will be described. FIG. 3 shows a sequence of the facsimile procedure. In the figure, reference numeral 301 denotes a transmitter which is a relay instruction source, and 302 denotes a receiver which is a relay. First, after the call connection between the two devices is completed, the receiver 302 sends a called station identification tone signal (CED), followed by a non-standard function signal (NSF), a called terminal identification signal (CSI), and a digital identification signal. A signal (DIS) is transmitted (step S303). At this time, by setting a predetermined bit of the DIS signal to “1”, the transmitter is notified that “there is a sub-address communication function”. On the other hand, the transmitter transmits a password signal (PWD), a subaddress signal (SUB), an NSS (non-standard function setting signal), a TSI (calling station identification signal), and a DCS (digital command signal) (step S304). ). Here, the sub-address data specified by the operator is set in the SUB signal and notified to the receiver. Hereinafter, an image is received according to a known facsimile procedure (step S305).
To S310). The received image is stored in the HD 3 and relayed to the destination specified by the sub-address data received in step S304. The association between the sub-address data and the relay destination is stored in a table in the HD 3. The relay instruction method is not limited to the method described in the present embodiment, and may include an instruction using an NSS signal in addition to the above-described sub-address data.

【0024】図4は、本発明の実施形態におけるサブア
ドレスデータと中継宛先との対応を記憶した中継宛先テ
ーブルの構造を示した図である。中継宛先テーブル40
0には、サブアドレスデータ401に対応して中継宛先
402(電話番号)が記憶されている。また各中継宛先
に対応して装置タイプ403には、該中継宛先がファク
シミリ装置(FAX)またはコンピュータ端末(PC)
かが記憶されている。同図の例では、サブアドレスデー
タ「1234」に対して3つの中継宛先の電話番号が記
憶されており、装置タイプの内訳はファクシミリ装置が
2、コンピュータ端末が1である。サブアドレスデータ
「5678」に対しては、2つの中継宛先の電話番号が
記憶されており、装置タイプはすべてファクシミリ装置
となっている。尚、この中継宛先テーブルは、オペレー
タが操作パネルから登録することにより作成および更新
される。
FIG. 4 is a diagram showing the structure of a relay destination table storing correspondence between sub-address data and relay destinations according to the embodiment of the present invention. Relay destination table 40
In 0, a relay destination 402 (telephone number) is stored corresponding to the sub-address data 401. The device type 403 corresponding to each relay destination includes a facsimile device (FAX) or a computer terminal (PC).
Is stored. In the example shown in the figure, three relay destination telephone numbers are stored for the sub-address data “1234”, and the breakdown of the device type is 2 for the facsimile machine and 1 for the computer terminal. For the sub-address data "5678", the telephone numbers of the two relay destinations are stored, and the device types are all facsimile devices. Note that this relay destination table is created and updated by the operator registering from the operation panel.

【0025】本発明では、中継先がコンピュータ端末の
場合には、受信画像データを解析し、レイアウト記述、
文字認識記述、表構造記述、画像記述等、領域分割され
各領域ごとに適した処理を施したデータファイルとして
中継送信する。該データは、中継先のコンピュータ端末
において、どのようなアプリケーションあるいはシステ
ムでもコンバート(変換処理)が可能な中間フォーマッ
トである。SGML形式やPDF(Page Desc
ription Format)形式がその一例であ
り、このような中間フォーマットを以下、DAOF(D
ocument Analysis Output Fo
rmat)と呼ぶ。DAOFのデータ構造を図5を用い
て説明する。同図において、501はヘッダ部であり、
処理対象の文書画像データに関する情報が保持される。
レイアウト記述データ部502では、文書画像データ中
のTEXT(文字)、TITLE(タイトル)、CAP
TION(キャプション)、LINEART(線画)、
PICTURE(自然画)、FRAME(枠)、TAB
LE(表)等の属性毎に認識された各ブロックの属性情
報とその矩形アドレス情報を保持する。文字認識記述デ
ータ部503では、TEXT、TITLE、CAPTI
ON等のTEXTブロックを文字認識して得られる文字
認識結果を保持する。表記述データ部504では、TA
BLEブロックの構造の詳細を格納する。画像記述デー
タ部505は、PICTUREやLINEART等のブ
ロックのイメージデータを文書画像データから切り出し
て保持する。
According to the present invention, when the relay destination is a computer terminal, the received image data is analyzed and the layout description,
The data is relayed and transmitted as a data file that is divided into regions, such as a character recognition description, a table structure description, and an image description, and that has been subjected to appropriate processing for each region. The data is in an intermediate format that can be converted (converted) by any application or system at the relay destination computer terminal. SGML format and PDF (Page Desc)
An example of such a format is a DAOF (D) format.
document Analysis Output Fo
rmat). The data structure of DAOF will be described with reference to FIG. In the figure, reference numeral 501 denotes a header portion,
Information on document image data to be processed is held.
In the layout description data section 502, TEXT (character), TITLE (title), CAP
TION (caption), LINEART (line drawing),
PICTURE (natural image), FRAME (frame), TAB
The attribute information of each block recognized for each attribute such as LE (table) and its rectangular address information are held. In the character recognition description data section 503, TEXT, TITLE, CAPTI
A character recognition result obtained by character recognition of a TEXT block such as ON is held. In the table description data section 504, TA
The details of the structure of the BLE block are stored. The image description data section 505 cuts out image data of a block such as PICTURE or LINEART from document image data and holds it.

【0026】図6は本発明の実施形態で実行される処理
の詳細を示すフローチャートである。まず、ステップS
602で、レイアウト認識処理を行う。詳しくは、文書
画像データの黒画素を検出してゆき、輪郭線追跡、また
はラベリング方式により、黒画素ブロックの矩形枠を作
成する。次に、その矩形枠のなかの黒画素密度、隣接矩
形枠の有無、矩形枠の縦横比率などを判断基準にして、
TABLEブロック、PICTUREブロック等の画像
ブロック、TEXTブロック等の属性毎にブロックを認
識する。このレイアウト認識処理によって認識された各
属性のブロック毎に対応する処理を行う。
FIG. 6 is a flowchart showing details of the processing executed in the embodiment of the present invention. First, step S
At 602, a layout recognition process is performed. More specifically, black pixels in the document image data are detected, and a rectangular frame of black pixel blocks is created by contour tracing or labeling. Next, based on the black pixel density in the rectangular frame, the presence or absence of the adjacent rectangular frame, the aspect ratio of the rectangular frame, and the like,
A block is recognized for each attribute such as an image block such as a TABLE block and a PICTURE block and a TEXT block. Processing corresponding to each block of each attribute recognized by the layout recognition processing is performed.

【0027】TEXTブロックが認識された場合(ステ
ップS603)、ステップS604で、文字認識処理を
行う。ステップS604で行う文字認識処理の一つの方
法として、特徴ベクトル抽出比較方式がある。例え
ば、”本”という文字が文書画像データ中にあったとす
る。これに対し、第一段階として、文字切り出し処理を
行なう。これは一つの文字の矩形を切り出す処理で、黒
画素連続性の状態を検出していけば求められる。第二段
階として、一文字をm×nのブロックに切り出す。例え
ば、64×64にする。そして、そのブロックの中から
2×2のウインドウを用いて、黒画素の分布方向を抽出
する(方向ベクトル情報)。この2×2のウインドウを
ずらしてゆき、方向ベクトル情報を数十個得る。このベ
クトル情報が切り出した文字の特徴となる。この特徴ベ
クトルとあらかじめ用意してある文字認識辞書とを比較
して、特徴ベクトルに一番近い文字から順番に文字を抽
出する。一番近い文字が第一候補となり、続いて第二、
第三候補となる。この特徴ベクトルの近さが、その文字
に対する距離の近さ、これが類似度という数値となる。
そして、類似度が近ければ、より精度の高い文字という
ことになる。
If the TEXT block is recognized (step S603), a character recognition process is performed in step S604. As one method of the character recognition processing performed in step S604, there is a feature vector extraction comparison method. For example, assume that the character "book" is present in the document image data. On the other hand, as a first step, a character cutout process is performed. This is a process of cutting out a rectangle of one character, and is obtained by detecting the state of black pixel continuity. As a second step, one character is cut into m × n blocks. For example, 64 × 64. Then, the distribution direction of the black pixels is extracted from the block using a 2 × 2 window (direction vector information). The 2 × 2 windows are shifted to obtain several tens of direction vector information. This vector information is the feature of the extracted character. The feature vector is compared with a character recognition dictionary prepared in advance, and characters are extracted in order from the character closest to the feature vector. The closest character is the first candidate, followed by the second,
Become the third candidate. The closeness of the feature vector is a closeness of the distance to the character, and this is a numerical value of the similarity.
If the similarity is close, the character has higher accuracy.

【0028】また、上述したレイアウト認識処理で、T
ABLEブロックが認識された場合(ステップS60
5)、ステップS606で、表解析を行う。また、上述
したレイアウト認識処理で、PICTUREブロック等
の画像ブロックが認識された場合(ステップS60
7)、ステップS608で、画像切り出しを行う。次
に、ステップS609で、切り出した画像を圧縮するか
否かを判定する。圧縮する場合(ステップS609でY
ES)、ステップS610に進み、その切り出した画像
を圧縮する。一方、圧縮しない場合(ステップS609
でNO)、ステップS612に進む。また、上述したレ
イアウト認識処理で、上記のTEXTブロック、TAB
LEブロック、画像ブロック以外のブロックが認識され
た場合(ステップS611)、そのブロックをそのまま
保持する。
In the above-described layout recognition processing, T
When an ABLE block is recognized (step S60)
5) In step S606, a table analysis is performed. When an image block such as a PICTURE block is recognized in the above-described layout recognition processing (step S60)
7) In step S608, an image is cut out. Next, in step S609, it is determined whether to compress the cut-out image. When compressing (Y in step S609)
ES), and the process advances to step S610 to compress the cut image. On the other hand, when compression is not performed (step S609)
NO), and proceeds to step S612. In the above-described layout recognition processing, the above-described TEXT block, TAB
When a block other than the LE block and the image block is recognized (step S611), the block is held as it is.

【0029】ステップS612で、レイアウト認識処理
によって認識された各属性のブロック毎に対し施された
処理によって得られたデータを基に、図5で示したDA
OFファイルを作成する。
In step S612, based on the data obtained by the processing performed for each block of each attribute recognized by the layout recognition processing, the DA shown in FIG.
Create an OF file.

【0030】図2は、本発明の実施形態における通信装
置の中継送信動作を表すフローチャートである。CPU
7は本フローチャートに基づいたプログラムコードをR
OM6から読み出し実行する。まず、ステップS201
においてまず中継宛先の判別を行う。これにはHD3に
記憶されている中継宛先テーブル400を参照し、該中
継宛先に対応して記憶されている装置タイプの内容から
判断する。ステップS202に進み、入力された電話番
号がPC(コンピュータ装置)か否かを判断し、PCで
ある場合にはステップS203へ進み受信画像の復号化
を行う。ステップS204では図5および図6で説明し
た処理により、受信画像に対して領域分割等を行い、D
AOFファイルを作成する。以上の圧縮処理が終わって
作成されたファイルはステップS205でファイル転送
プロトコルが選択されてCCU2から送信される。ここ
でファイル転送プロトコルとしては、例えば、FTP(F
ile Transfer Protocol)、HTTP(Hyper Text Transf
er Protocol)等の標準的なファイル転送プロトコルが使
用される。またITU−Tで勧告化されているBFT
(Binary File Transfer)機能を用
いて送信してもよい。このBFT機能によれば、ファイ
ル内容とともに該ファイルの属性情報(ITU−T勧告
T.434で規定)を付して送信することができるの
で、属性情報にDAOFファイルである旨をセットして
DAOFファイルを送信する。
FIG. 2 is a flowchart showing the relay transmission operation of the communication device according to the embodiment of the present invention. CPU
7 is a program code based on this flowchart R
Read from OM6 and execute. First, step S201
First, the relay destination is determined. For this, the relay destination table 400 stored in the HD 3 is referred to, and the determination is made based on the content of the device type stored corresponding to the relay destination. In step S202, it is determined whether or not the input telephone number is a PC (computer device). If the telephone number is a PC, the process proceeds to step S203 to decode the received image. In step S204, the received image is divided into regions by the processing described with reference to FIGS.
Create an AOF file. The file created after the above compression processing is transmitted from the CCU 2 by selecting the file transfer protocol in step S205. Here, as the file transfer protocol, for example, FTP (F
ile Transfer Protocol), HTTP (Hyper Text Transf
A standard file transfer protocol such as an er Protocol) is used. Also, BFT recommended by ITU-T
(Binary File Transfer) function. According to this BFT function, it is possible to transmit the file with attribute information of the file (defined in ITU-T Recommendation T.434) along with the file content. Therefore, the DAOF file is set in the attribute information to indicate that the file is a DAOF file. Submit the file.

【0031】ステップS202の判別において、中継宛
先がPCではないと判別された場合は、該宛先はファク
シミリ装置であるので、ステップS206でファクシミ
リプロトコルが選択されて、CCU2から送信される。
また、相手先がコンピュータ装置か否かの判断は本装置
と宛先とのネゴシエーション中の端末識別子を見ること
でも判断可能である。
If it is determined in step S202 that the relay destination is not a PC, the destination is a facsimile machine, so that a facsimile protocol is selected in step S206 and transmitted from the CCU 2.
The determination as to whether the other party is a computer device can also be made by looking at the terminal identifier during negotiation between the device and the destination.

【0032】このように、本発明の実施形態によれば、
中継先がコンピュータ端末の場合には、DAOF形式の
ファイルで送信されるので、中継先において受信データ
の二次利用が容易になる。
As described above, according to the embodiment of the present invention,
When the relay destination is a computer terminal, the data is transmitted in a DAOF format file, so that the relay destination can easily use the received data for secondary use.

【0033】なお、本発明は、複数の機器(例えば、ホ
ストコンピュータ、スキャナ、プリンタなど)から構成
されるシステムに適用しても、1つの機器(例えば、複
写機、ファクシミリ装置など)からなる装置に適用して
もよい。
Even if the present invention is applied to a system including a plurality of devices (eg, a host computer, a scanner, a printer, etc.), an apparatus including one device (eg, a copier, a facsimile machine, etc.) May be applied.

【0034】また、本発明はシステム或は装置にプログ
ラムを供給することによって達成される場合にも適用で
きることは言うまでもない。その場合、記憶媒体に格納
された本発明を達成するためプログラムコードを該シス
テム或は装置のコンピュータ(CPUもしくはMPU)
が読み出し実行することによって、本発明の目的が達成
される。
It is needless to say that the present invention can be applied to a case where the present invention is achieved by supplying a program to a system or an apparatus. In that case, the program code for achieving the present invention stored in the storage medium is transferred to the computer (CPU or MPU) of the system or the apparatus.
The object of the present invention is achieved by executing the reading.

【0035】[0035]

【発明の効果】以上説明したように、本出願の発明によ
れば、中継先の装置タイプ(コンピュータ端末またはフ
ァクシミリ端末)に応じて再利用可能なファイル形式で
中継送信されるので、中継先装置において受信データの
二次利用が容易に行えるという効果がある。
As described above, according to the invention of the present application, the relay destination is transmitted in a reusable file format according to the type of the destination device (computer terminal or facsimile terminal). Therefore, there is an effect that the secondary use of the received data can be easily performed.

【0036】とくに、本出願の第2および第9の発明に
よれば、中継画像の文字領域については文字認識処理を
施して文字データに変換して送信するので、中継先にお
いて、受信画像をもとにオペレータが入力したり、スキ
ャナで読み取ってOCR処理をかける等の手間が省ける
という効果がある。
In particular, according to the second and ninth aspects of the present invention, the character area of the relay image is subjected to character recognition processing and converted into character data and transmitted. Thus, there is an effect that labor such as inputting by an operator or reading by a scanner and performing OCR processing can be omitted.

【0037】また、本出願の第3および第10の発明に
よれば、中継画像の表領域については表解析処理を施し
て表データに変換して送信するので、中継先において、
受信画像をもとにオペレータが入力したり、スキャナで
読み取ってOCR処理をかける等の手間が省けるという
効果がある。
Further, according to the third and tenth aspects of the present invention, the table area of the relay image is subjected to table analysis processing and converted into table data and transmitted.
This has the effect of eliminating the need for the operator to input based on the received image or to perform OCR processing by scanning with a scanner.

【0038】また、本出願の第4および第11の発明に
よれば、中継画像の画像領域については圧縮処理を施し
て圧縮データに変換して送信するので、ネットワークに
与える負荷を抑えるという効果がある。
Further, according to the fourth and eleventh aspects of the present invention, since the image area of the relay image is subjected to compression processing, converted into compressed data and transmitted, the effect of suppressing the load on the network can be reduced. is there.

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

【図1】本発明の実施形態における通信装置の構成を示
す図である。
FIG. 1 is a diagram illustrating a configuration of a communication device according to an embodiment of the present invention.

【図2】本発明の実施形態における通信装置の中継送信
時の動作を示すフローチャートである。
FIG. 2 is a flowchart showing an operation at the time of relay transmission of the communication device according to the embodiment of the present invention.

【図3】サブアドレスを用いたファクシミリ手順のシー
ケンスを示した図である。
FIG. 3 is a diagram showing a sequence of a facsimile procedure using a sub address.

【図4】本発明の実施形態における中継宛先テーブルの
構造を示した図である。
FIG. 4 is a diagram showing a structure of a relay destination table in the embodiment of the present invention.

【図5】本発明の実施形態におけるDAOFのデータ構
造例を示す図である。
FIG. 5 is a diagram illustrating an example of a data structure of a DAOF in the embodiment of the present invention.

【図6】本発明の実施形態におけるDAOFデータ生成
の動作を示すフローチャートである。
FIG. 6 is a flowchart showing an operation of DAOF data generation in the embodiment of the present invention.

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

1 通信回線 2 通信制御部 3 ハードディスク 4 操作パネル 5 RAM 6 ROM 7 マイクロプロセッサ DESCRIPTION OF SYMBOLS 1 Communication line 2 Communication control part 3 Hard disk 4 Operation panel 5 RAM 6 ROM 7 Microprocessor

Claims (15)

【特許請求の範囲】[Claims] 【請求項1】 受信した画像データを所定の中継宛先へ
中継送信する通信装置であって、中継宛先の装置タイプ
を判別する判別手段と、画像データを領域解析して、各
領域の属性に応じた処理を施したデータフォーマットに
変換する変換手段と、中継送信の際、前記変換手段によ
り画像データを変換するか否かを、前記判別手段の判別
結果に基づいて制御する制御手段とを備えたことを特徴
とする通信装置。
1. A communication device for relaying received image data to a predetermined relay destination, comprising: a determination unit configured to determine a device type of the relay destination; And a control unit for controlling whether or not to convert the image data by the conversion unit at the time of relay transmission based on the result of the determination by the determination unit. A communication device characterized by the above-mentioned.
【請求項2】 前記変換手段は、文字領域に対して文字
認識処理を施して文字データに変換するものであること
を特徴とする請求項1に記載の通信装置。
2. The communication apparatus according to claim 1, wherein the conversion unit performs a character recognition process on a character area to convert the character area into character data.
【請求項3】 前記変換手段は、表領域に対して表解析
処理を施して表データに変換するものであることを特徴
とする請求項1または2に記載の通信装置。
3. The communication device according to claim 1, wherein the conversion unit performs a table analysis process on the table area and converts the table area into table data.
【請求項4】 前記変換手段は、画像領域に対して所定
方式による圧縮処理を施して圧縮データに変換するもの
であることを特徴とする請求項1乃至3のいずれかに記
載の通信装置。
4. The communication apparatus according to claim 1, wherein said conversion means performs a compression process on the image area by a predetermined method to convert the image area into compressed data.
【請求項5】 前記判別手段は、少なくとも中継宛先が
ファクシミリ装置かコンピュータ端末かを判別するもの
であり、前記制御手段は、中継宛先がコンピュータ端末
のときは前記変換手段を実行し、中継宛先がファクシミ
リ装置のときは前記変換手段を実行しないことを特徴と
する請求項1乃至4のいずれかに記載の通信装置。
5. The determining means determines at least whether the relay destination is a facsimile machine or a computer terminal, and the control means executes the converting means when the relay destination is a computer terminal, and determines whether the relay destination is a computer terminal. 5. The communication device according to claim 1, wherein the conversion unit is not executed when the communication device is a facsimile device.
【請求項6】 前記制御手段は、前記判別結果に基づい
て、画像データを中継送信する際の送信プロトコルを選
択する選択手段を更に備えたことを特徴とする請求項1
乃至5のいずれかに記載の通信装置。
6. The apparatus according to claim 1, wherein said control means further comprises a selection means for selecting a transmission protocol for relaying the image data based on the determination result.
The communication device according to any one of claims 1 to 5,
【請求項7】 前記判別手段は、中継宛先がファクシミ
リ装置かコンピュータ端末かを判別するものであり、前
記選択手段は、中継宛先がファクシミリ装置のときはフ
ァクシミリ手順を選択し、中継宛先がコンピュータ端末
のときはFTPまたはHTTPを選択することを特徴と
する請求項6に記載の通信装置。
7. The determining means determines whether a relay destination is a facsimile apparatus or a computer terminal. The selecting means selects a facsimile procedure when the relay destination is a facsimile apparatus, and the relay destination is a computer terminal. 7. The communication device according to claim 6, wherein FTP or HTTP is selected in the case of.
【請求項8】 受信した画像データを所定の中継宛先へ
中継送信する通信方法であって、中継宛先の装置タイプ
を判別する判別工程と、画像データを領域解析して、各
領域の属性に応じた処理を施したデータフォーマットに
変換する変換工程と、中継送信の際、前記変換工程によ
り画像データを変換するか否かを、前記判別工程の判別
結果に基づいて制御する制御工程とを備えたことを特徴
とする通信方法。
8. A communication method for relay-transmitting received image data to a predetermined relay destination, comprising: a determining step of determining a device type of the relay destination; And a control step of controlling whether to convert the image data by the conversion step at the time of relay transmission, based on the determination result of the determination step. A communication method, comprising:
【請求項9】 前記変換工程は、文字領域に対して文字
認識処理を施して文字データに変換するものであること
を特徴とする請求項8に記載の通信方法。
9. The communication method according to claim 8, wherein said converting step performs a character recognition process on a character area to convert the character area into character data.
【請求項10】 前記変換工程は、表領域に対して表解
析処理を施して表データに変換するものであることを特
徴とする請求項8または9に記載の通信方法。
10. The communication method according to claim 8, wherein the converting step performs a table analysis process on the table area to convert the table area into table data.
【請求項11】 前記変換工程は、画像領域に対して所
定方式による圧縮処理を施して圧縮データに変換するも
のであることを特徴とする請求項8乃至10のいずれか
に記載の通信方法。
11. The communication method according to claim 8, wherein the converting step includes performing a compression process on the image area by a predetermined method to convert the image area into compressed data.
【請求項12】 前記判別工程は、少なくとも中継宛先
がファクシミリ装置かコンピュータ端末かを判別するも
のであり、前記制御工程は、中継宛先がコンピュータ端
末のときは前記変換工程を実行し、中継宛先がファクシ
ミリ装置のときは前記変換工程を実行しないことを特徴
とする請求項8乃至11のいずれかに記載の通信方法。
12. The determining step determines at least whether a relay destination is a facsimile machine or a computer terminal. The control step executes the conversion step when the relay destination is a computer terminal, and determines whether the relay destination is a computer terminal. 12. The communication method according to claim 8, wherein the conversion step is not performed when the apparatus is a facsimile apparatus.
【請求項13】 前記制御工程は、前記判別結果に基づ
いて、画像データを中継送信する際の送信プロトコルを
選択する選択工程を更に備えたことを特徴とする請求項
8乃至12のいずれかに記載の通信方法。
13. The method according to claim 8, wherein the control step further includes a selection step of selecting a transmission protocol for relaying the image data based on the determination result. The communication method described.
【請求項14】 前記判別工程は、中継宛先がファクシ
ミリ装置かコンピュータ端末かを判別するものであり、
前記選択工程は、中継宛先がファクシミリ装置のときは
ファクシミリ手順を選択し、中継宛先がコンピュータ端
末のときはFTPまたはHTTPを選択することを特徴
とする請求項13に記載の通信方法。
14. The step of determining whether the relay destination is a facsimile machine or a computer terminal.
14. The communication method according to claim 13, wherein the selecting step selects a facsimile procedure when the relay destination is a facsimile apparatus, and selects FTP or HTTP when the relay destination is a computer terminal.
【請求項15】 受信した画像データを所定の中継宛先
へ中継送信する通信処理のプログラムコードを格納した
コンピュータ読取可能な記憶媒体であって、中継宛先の
装置タイプを判別する判別工程と、画像データを領域解
析して、各領域の属性に応じた処理を施したデータフォ
ーマットに変換する変換工程と、中継送信の際、前記変
換工程により画像データを変換するか否かを、前記判別
工程の判別結果に基づいて制御する制御工程とを実行す
るためのプログラムコードを格納したことを特徴とする
コンピュータ読取可能な記憶媒体。
15. A computer-readable storage medium storing a program code of a communication process for relay-transmitting received image data to a predetermined relay destination, wherein a determining step of determining a device type of the relay destination; And a conversion step of converting the image data into a data format subjected to processing according to the attribute of each area, and determining whether or not to convert the image data by the conversion step during relay transmission. A computer-readable storage medium storing a program code for executing a control step of performing control based on a result.
JP11198742A 1999-07-13 1999-07-13 Communication device its method and storage medium Withdrawn JP2001028652A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11198742A JP2001028652A (en) 1999-07-13 1999-07-13 Communication device its method and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11198742A JP2001028652A (en) 1999-07-13 1999-07-13 Communication device its method and storage medium

Publications (1)

Publication Number Publication Date
JP2001028652A true JP2001028652A (en) 2001-01-30

Family

ID=16396230

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11198742A Withdrawn JP2001028652A (en) 1999-07-13 1999-07-13 Communication device its method and storage medium

Country Status (1)

Country Link
JP (1) JP2001028652A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004027624A1 (en) * 2002-07-09 2004-04-01 Seiko Epson Corporation Electronic file operation method and layout edition device
JP2014192726A (en) * 2013-03-27 2014-10-06 Nippon Telegraph & Telephone East Corp System, method and program for data relay

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004027624A1 (en) * 2002-07-09 2004-04-01 Seiko Epson Corporation Electronic file operation method and layout edition device
JP2014192726A (en) * 2013-03-27 2014-10-06 Nippon Telegraph & Telephone East Corp System, method and program for data relay

Similar Documents

Publication Publication Date Title
US5881168A (en) Image processing apparatus method and system for converting character codes of character images extracted from an original image and positions of the images for transmission
US6426809B1 (en) Image transmitting system and image transmitting method
JP4086393B2 (en) COMMUNICATION SYSTEM, COMMUNICATION DEVICE, AND CONTROL METHOD THEREOF
US6897985B1 (en) Internet facsimile apparatus and address input method
JP2002140273A (en) Image communication device, communication system, electronic mail transmission controlling method, character input mode controlling method, and storage medium
US5872641A (en) Method and apparatus for transmission of facsimile messages
EP0858707B1 (en) Communication of images via a radio transmission channel
US6563961B1 (en) Image processing apparatus and control method capable of rotating an original image
JPH0537700A (en) Facsimile equipment
JP3298965B2 (en) Image processing apparatus and method
JP2001028652A (en) Communication device its method and storage medium
US8295460B2 (en) Communication apparatus
JPH0969907A (en) Control method for facsimile equipment
JP2001028654A (en) Communication device, its method and storage medium
JP3220687B2 (en) Network facsimile machine
US5537221A (en) Transmission device for multi-mode communications
JP3264017B2 (en) Image transmission apparatus and method
US7596590B1 (en) Image communication apparatus and method
JPH05274397A (en) System and device for picture processing
JPH10108007A (en) Image reduction method
US20040145761A1 (en) Communication device having facsimile function
JP3669338B2 (en) COMMUNICATION SYSTEM, COMPUTER PROGRAM, AND COMMUNICATION DEVICE
JPH11196284A (en) Image communication equipment
JP2865050B2 (en) Facsimile machine
JPH06169388A (en) Facsimile equipment

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20061003