[go: up one dir, main page]

JP2779553B2 - Image reading apparatus and facsimile apparatus using this image reading apparatus - Google Patents

Image reading apparatus and facsimile apparatus using this image reading apparatus

Info

Publication number
JP2779553B2
JP2779553B2 JP2401420A JP40142090A JP2779553B2 JP 2779553 B2 JP2779553 B2 JP 2779553B2 JP 2401420 A JP2401420 A JP 2401420A JP 40142090 A JP40142090 A JP 40142090A JP 2779553 B2 JP2779553 B2 JP 2779553B2
Authority
JP
Japan
Prior art keywords
image
document
character
image data
arrangement
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
JP2401420A
Other languages
Japanese (ja)
Other versions
JPH03250866A (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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP2401420A priority Critical patent/JP2779553B2/en
Publication of JPH03250866A publication Critical patent/JPH03250866A/en
Priority to US07/802,649 priority patent/US5359677A/en
Priority to EP19910121185 priority patent/EP0490348A3/en
Application granted granted Critical
Publication of JP2779553B2 publication Critical patent/JP2779553B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Input (AREA)
  • Facsimile Scanning Arrangements (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Facsimile Image Signal Circuits (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 reading apparatus having a function of sequentially scanning and reading a printed image or the like in a fixed direction, encoding read image data and compressing the data. The present invention further relates to a facsimile apparatus having such an image reading device.

【0002】[0002]

【従来の技術】近年、データコミュニケーションの分野
において、ファクシミリ装置が非常に1要な役割を担っ
ている。ファクシミリは、紙などの上に印刷された画像
や、手書きされた画像をCCD(Charge−Cou
pled Device)撮像センサなどからなるスキ
ャナで読み取り、デジタル信号に変換する。このデジタ
ル信号は、MH(Modified Huffma
n)、MR(Modified READ)、MMR
(Modified MR)などと呼ばれる符号化シス
テムによって、圧縮されたデジタル信号に変換される。
圧縮されたデジタル信号は、アナログ信号に変換されて
電話回線に送り出される。
2. Description of the Related Art In recent years, facsimile apparatuses have played an extremely important role in the field of data communication. A facsimile converts an image printed on paper or a handwritten image into a CCD (Charge-Cou).
The data is read by a scanner including a pleated device (image sensor) and converted into a digital signal. This digital signal is a MH (Modified Huffma)
n), MR (Modified READ), MMR
It is converted into a compressed digital signal by an encoding system called (Modified MR) or the like.
The compressed digital signal is converted to an analog signal and sent out to a telephone line.

【0003】図25は、CCITTの勧告による、ファ
クシミリ装置における原稿の読み取りの原理を示す。図
25を参照して、たとえばISOA4サイズの原稿10
は、主走査方向に沿って、CCDセンサなどにより読み
取られる。1主走査行は、1728画素に分割され、そ
の輝度に応じてデジタル信号に変換される。主走査は、
主走査方向と直交する副走査方向に繰り返される。副走
査方向の走査が終了することにより、原稿10はすべて
デジタル信号に変換されたことになる。
FIG. 25 shows the principle of reading an original in a facsimile apparatus according to the recommendation of CCITT. Referring to FIG. 25, for example, document 10 of ISOA4 size
Are read by a CCD sensor or the like along the main scanning direction. One main scanning row is divided into 1728 pixels, and is converted into a digital signal according to the luminance. The main scan is
This is repeated in the sub-scanning direction orthogonal to the main scanning direction. When the scanning in the sub-scanning direction is completed, the entire document 10 is converted into a digital signal.

【0004】デジタル信号に変換された画像は、前述の
MH、MR、MMRなどの方式に従って圧縮される。圧
縮された信号は、モデムを介して回線に送り出され、相
手のファクシミリ装置に送信される。
An image converted into a digital signal is compressed in accordance with the above-mentioned MH, MR, MMR, etc. The compressed signal is sent out to the line via the modem and transmitted to the other party's facsimile machine.

【0005】受信側では、送信側と反対側の処理を行な
う。すなわち、受信側のファクシミリ装置は受信したア
ナログ信号をデジタル信号に変換する。変換されたデジ
タル信号は、圧縮と反対の伸長処理により、圧縮前のデ
ジタル信号に変換される。得られたデジタル信号を、読
み取られたときと同様の手順で印刷することにより、元
の画像が得られる。
[0005] The receiving side performs processing on the side opposite to the transmitting side. That is, the receiving facsimile machine converts the received analog signal into a digital signal. The converted digital signal is converted into a digital signal before compression by an expansion process opposite to compression. The original image is obtained by printing the obtained digital signal in the same procedure as when it was read.

【0006】原稿の圧縮/伸長は、送信されるデータの
量を減少させることにより、回線の利用効率を高め、通
信時間を減少させることを目的として行なわれる。
[0006] The compression / expansion of a document is performed for the purpose of reducing the amount of data to be transmitted, thereby increasing line utilization efficiency and reducing communication time.

【0007】図27、図28は、例としてMH方式の符
号システムを示す。MH符号は、一次元ランレングス符
号化方式である。この方式においては、1ラインのデー
タは可変長符号の連続からなる。各符号は白または黒の
ランレングスを表す。白のランレングスは白ラン、黒の
ランレングスは黒ランと呼ばれる。白ランと黒ランとは
交互に生ずる。受信機が信号の動機を確実にとれるよう
に、すべてのラインは白ランの符号で始まる、もし実際
の走査線が黒ランで始まる場合には、長さ0の白ランを
示す符号が最初に送られる。MH符号は、2種類の符
号、すなわちターミネイティング符号とメークアップ符
号とを含む。
FIGS. 27 and 28 show an MH coding system as an example. The MH code is a one-dimensional run-length coding method. In this method, one line of data consists of a sequence of variable length codes. Each symbol represents a white or black run length. A white run length is called a white run, and a black run length is called a black run. White runs and black runs occur alternately. To ensure that the receiver can motivate the signal, all lines start with a white run sign, and if the actual scan line starts with a black run, the sign indicating a zero-length white run is first Sent. The MH code includes two types of codes, a terminating code and a make-up code.

【0008】図27は、ターミネイティング符号を示
す。ターミネイティング符号は、0から63画素までの
ランレングスを表す。圧縮効率を高めるために、画像情
報中によく現れるランレングスには短い符号が割り当て
られている。
FIG. 27 shows a terminating code. The terminating code represents a run length from 0 to 63 pixels. To increase the compression efficiency, short codes are assigned to run lengths that often appear in image information.

【0009】図28はメークアップ符号を示す。メーク
アップ符号は、ターミネイティング符号と組み合わされ
て、64から1728画素のランレングスを表すための
ものである。64から1728画素までのランレングス
は、初めにそのランレングスと等しいか、またはそれよ
り短いランレングスを表すメークアップ符号で符号化さ
れる。その後、実際のランレングスとメークアップ符号
によって表されたランレングスとの差を表すターミネイ
ティング符号が続く。
FIG. 28 shows a makeup code. The make-up code, in combination with the terminating code, is for representing a run length of 64 to 1728 pixels. A run length from 64 to 1728 pixels is initially encoded with a make-up code representing a run length equal to or shorter than the run length. This is followed by a terminating code representing the difference between the actual run length and the run length represented by the make-up code.

【0010】受信機は、受信したデータと、予め用意さ
れている復号化用のテーブルとを照合することにより、
圧縮前のデータを得ることができる。
The receiver compares the received data with a previously prepared decoding table, thereby obtaining
Data before compression can be obtained.

【0011】このように、符号を用いて伝送データを圧
縮することにより、ファクシミリ装置による画像の伝達
を効率よく、短時間で行なうことができる。
As described above, by compressing the transmission data using the codes, the image transmission by the facsimile apparatus can be performed efficiently and in a short time.

【0012】しかし、ファクシミリ装置においては、次
のような問題がある。図25に示されるように、原稿1
0が正しく装置に供給され、主走査方向と、文字列12
の伸びる方向とが一致している場合には、符号化による
圧縮が効率良く行なわれる。
However, the facsimile machine has the following problems. As shown in FIG.
0 is correctly supplied to the device, and the main scanning direction and the character string 12
If the direction of extension is the same, compression by encoding is performed efficiently.

【0013】しかし、図26に示されるように、原稿1
0が傾いて装置に供給され、主走査方向が、文字列12
の方向と一致しないときには、この圧縮の効率は低下す
る。これは以下のような理由による。
However, as shown in FIG.
0 is supplied to the apparatus in an inclined state, and the main scanning direction is
, The compression efficiency is reduced. This is for the following reasons.

【0014】前述のように、符号システムは、画像情報
中によく現れるランレングスには短い符号を、余り高く
ない頻度で出現するに過ぎないランレングスには比較的
長い符号を割り当てている。そのため、図26に示され
るように1回の主走査で読み取られる主走査線14の方
向と、文字列12の方向とが一致しないときには、ラン
レングスの出現頻度が変則的となり、データ圧縮の効率
が悪くなる。
As described above, the code system assigns short codes to run-lengths that frequently appear in image information, and relatively long codes to run-lengths that appear only infrequently. Therefore, when the direction of the main scanning line 14 read in one main scan does not match the direction of the character string 12 as shown in FIG. 26, the appearance frequency of the run length becomes irregular, and the efficiency of data compression is increased. Gets worse.

【0015】さらに、図25に示されるように、文字列
が間隔d0で配置されている場合を考える。原稿10が
正しい方向でファクシミリ装置に供給される場合には、
この間隔d0の間に存在する主走査線は、すべて白ラン
ばかり含む。そのため、前述のメークアップ符号を用い
て非常に高い効率でこの部分を画像を符号化できる。一
方、図26に示されるように、原稿10が傾いてファク
シミリ装置に供給された場合には、白ランばかりからな
る主走査線は、間隔d1の間に限定される。図から明ら
かなように、間隔d1は間隔d0と比べて非常に短い。
そのため、図25に示される場合と比較して、図26に
示される場合の圧縮効率はかなり低くなる。
Further, consider a case where character strings are arranged at an interval d0 as shown in FIG. If the original 10 is supplied to the facsimile machine in the correct direction,
The main scanning lines existing during the interval d0 all include only white runs. Therefore, an image of this portion can be encoded with very high efficiency using the above-described makeup code. On the other hand, as shown in FIG. 26, when the document 10 is fed to the facsimile apparatus in an inclined state, the main scanning line consisting of only white runs is limited to the interval d1. As is clear from the figure, the interval d1 is much shorter than the interval d0.
Therefore, the compression efficiency in the case shown in FIG. 26 is considerably lower than that in the case shown in FIG.

【0016】このような問題を解決するものとして、た
とえば特開昭55−154871号、特開昭62−20
6962号、特開昭63−88963号などにおいて、
符号化前にこの傾きを検知し、この傾きを補正する機能
を備えたファクシミリ装置などが提案されている。
To solve such a problem, for example, JP-A-55-154871 and JP-A-62-20
No. 6962, JP-A-63-88963, etc.
A facsimile apparatus and the like having a function of detecting the inclination before encoding and correcting the inclination has been proposed.

【0017】特開昭55−154871号は、ファクシ
ミリ装置において、特殊なマークが付された用紙を原稿
として用いる原稿読み取り方法を提案している。原稿読
み取り時にこのマークを検知することで原稿の傾きを知
ることができる。この傾きを相殺するように、データに
対して座標変換を施す。これにより符号化の効率を高め
ることができる。
Japanese Patent Laying-Open No. 55-154871 proposes a document reading method using a sheet with a special mark as a document in a facsimile machine. By detecting this mark when reading a document, the inclination of the document can be known. Data is subjected to coordinate transformation so as to cancel this inclination. Thereby, the coding efficiency can be improved.

【0018】特開昭62−206962号は、ファクシ
ミリ装置の原稿読取部に設けられ、供給される原稿の前
縁の通過時刻を検知するセンサを用いることを提案して
いる。所定の速度で供給される原稿の前縁の2箇所が、
所定のセンサ前を通過する時間差を検知することによ
り、この2箇所の空間的関係を知ることができる。供給
される原稿のサイズも同時に知ることができる。これら
の情報から、原稿の傾きを知ることができる。知られた
傾きを相殺するように、データに対して座標変換を行な
うことにより、データの圧縮効率を高めることができ
る。
Japanese Patent Laying-Open No. 62-206962 proposes using a sensor provided in a document reading section of a facsimile apparatus and detecting a passing time of a leading edge of a supplied document. Two points on the front edge of the document supplied at a predetermined speed
The spatial relationship between the two points can be known by detecting the time difference of passing through the front of the predetermined sensor. The size of the supplied original can also be known at the same time. From these information, the inclination of the document can be known. By performing coordinate transformation on the data so as to cancel the known inclination, the data compression efficiency can be improved.

【0019】特開昭63−88963号は、ファクシミ
リ装置の原稿読み取りに、原稿読み取り時の信号レベル
の変動に基づいて、原稿の、副走査方向に沿った一端の
読み取り時刻を検知する方法を用いることを提案してい
る。主走査時、用紙の端部を検出した時刻を基準とした
画像メモリへの主走査線のデータの書込みが開始され
る。この方法を用いることにより、画像メモリには、原
稿の1端部が、常に画像メモリの端部と平行になるよう
に記憶される。画像そのものも、原稿の傾きの取り除か
れたものとなり、圧縮効率が向上する。
Japanese Patent Application Laid-Open No. 63-88963 uses a method of detecting the reading time of one end of a document along the sub-scanning direction based on a change in signal level at the time of reading the document. Propose that. At the time of main scanning, writing of data of the main scanning line to the image memory based on the time when the edge of the sheet is detected is started. By using this method, one end of the document is stored in the image memory so as to be always parallel to the end of the image memory. The image itself is also the one in which the inclination of the document is removed, and the compression efficiency is improved.

【0020】[0020]

【発明が解決しようとする課題】しかし、上述の従来の
技術によっても、以下のような問題が残る。たとえば日
本語のように、文字を縦書きにも、横書きにもできる言
語を考える。そのような言語においては、図29に示さ
れるように、A4サイズの用紙に縦書きしたものを、用
紙の縦方向に沿ってファクシミリ装置の原稿読取装置に
供給する場合があり得る。このような場合、原稿自体の
傾きを検知して補正した場合でも、圧縮の効率は原理的
に向上し得ない。
However, the following problems still remain with the above-mentioned conventional technology. For example, consider a language that allows both vertical and horizontal writing of characters, such as Japanese. In such a language, as shown in FIG. 29, what is written vertically on A4 size paper may be supplied to a document reading device of a facsimile machine along the vertical direction of the paper. In such a case, even if the inclination of the document itself is detected and corrected, the compression efficiency cannot be improved in principle.

【0021】また、横書きされた書類であっても、文字
列が延びる方向と一致する方向に沿って原稿が読取装置
に供給された場合にも、同様の問題が生ずる。
[0021] Even for a horizontally written document, the same problem occurs when a document is supplied to the reading device in a direction coinciding with the direction in which the character string extends.

【0022】それゆえにこの発明の目的は、原稿の挿入
方向の如何にかからず、符号化によるデータ圧縮の効率
のより高い画像読取装置およびファクシミリ装置を提供
することである。
SUMMARY OF THE INVENTION It is therefore an object of the present invention to provide an image reading apparatus and a facsimile apparatus in which the efficiency of data compression by encoding is higher irrespective of the insertion direction of a document.

【0023】[0023]

【課題を解決するための手段】請求項1に記載の発明に
係る画像読取装置は、画像を一定方向に走査して読み取
り、読み取った画像データを符号化する画像読取装置に
おいて、画像のうち、複数のキャラクタが所定方向に配
列されているキャラクタ列の部分を抽出し、そのキャラ
クタ列の配列方向を検出する配列方向検出手段と、検出
された配列方向が、予め定める第1および第2の方向の
うちどちらにより近いかを判断するための方向判断手段
と、方向判断手段に基づいて、第1または第2のいずれ
か近い方向に画像の傾きを補正する補正手段と、補正手
段で補正された画像データを、方向判断手段で判断され
た方向で符号化する符号化手段とを備えたことを特徴と
する。
According to a first aspect of the present invention, there is provided an image reading apparatus which scans an image in a predetermined direction, reads the image, and encodes the read image data. An arrangement direction detecting means for extracting a part of a character string in which a plurality of characters are arranged in a predetermined direction and detecting an arrangement direction of the character string; and a first and a second direction in which the detected arrangement direction is predetermined. Direction determining means for determining which is closer to the image, correcting means for correcting the inclination of the image in the direction closer to the first or second based on the direction determining means, and correction by the correcting means. Encoding means for encoding the image data in the direction determined by the direction determining means.

【0024】請求項2に記載の発明に係る画像読取装置
は、画像を一定方向に走査して読み取り、読み取った画
像データを符号化する画像読取装置において、画像のう
ち、複数のキャラクタが所定方向に配列されているキャ
ラクタ列の部分を検出し、キャラクタ列の配列方向を検
出する配列方向検出手段と、検出された配列方向が、予
め定める、互いに直交する第1および第2の方向のうち
どちらにより近いかを判断するための方向判断手段と、
判断手段が第2の方向に近いと判断した場合に、読み取
られた1画像分の画像データを90度回転する補正手段
と、判断手段が第2の方向に近いと判断した場合には補
正手段で補正済みの画像データを第1の方向に符号化
し、判断手段が第1の方向に近いと判断した場合には補
正手段で補正されない読み取ったままの画像データを第
1の方向に符号化する符号化手段とを備えたことを特徴
とする。
An image reading apparatus according to a second aspect of the present invention is an image reading apparatus which scans an image in a predetermined direction, reads the image, and encodes the read image data. An array direction detecting means for detecting a portion of the character string arranged in the array, and detecting an array direction of the character string; and a detected first or second direction in which the detected array direction is orthogonal to each other. Direction determining means for determining whether the direction is closer to
Correction means for rotating the read image data of one image by 90 degrees when the determination means determines that the image data is close to the second direction; In step (1), the corrected image data is encoded in the first direction, and if the determination unit determines that the image data is close to the first direction, the image data that has not been corrected by the correction unit and is read is encoded in the first direction. Encoding means.

【0025】請求項3に記載の発明に係るファクシミリ
装置は、原稿上の画像を、二次元的に配列された複数個
の画素に分割して読み取ることにより、各画素の輝度を
各画素毎に示す画素信号を生成するための画素信号生成
手段と、各々が画素信号を、画素の1つに論理的に関連
づけて記憶するための複数個の記憶セルを含む画素信号
記憶手段とを含む。複数個の記憶セルは、複数個の画素
の配列に対応して、予め定める第1の方向と、第1の方
向と交差する第2の方向とに論理的に二次元的に配列さ
れている。この発明に係るファクシミリ装置はさらに、
画素信号記憶手段に記憶された画素信号に基づいて、記
憶された画素信号により表現される原稿上の画像に含ま
れる文字列の、複数個の記憶セルの配列における配列方
向を示す文字配列方向を検出するための文字配列方向検
出手段と、検出された文字配列方向が、第1およひ第2
の方向のうちのどちらにより近いかを判断するための文
字配列方向判断手段と、文字配列方向判断手段の出力に
応答して、文字配列方向が、第1の方向よりも第2の方
向に近い場合に、記憶された画素信号により表現される
原稿上の前記画像を、文字配列方向が第1の方向により
近くなるように、記憶された画素信号により表現される
原稿上の画像を、予め定める角度だけ回転させるための
画像回転手段と、画像回転手段により回転された、記憶
された画素信号を、画素信号記憶手段から第1の方向に
沿って読み出し、圧縮符号により圧縮するための信号圧
縮手段と、信号圧縮手段により圧縮された画素信号を、
通信回線を介して他局に送信するための送信手段とを含
む。
According to a third aspect of the present invention, a facsimile apparatus reads an image on a document by dividing the image into a plurality of pixels arranged two-dimensionally, and thereby adjusts the luminance of each pixel for each pixel. A pixel signal generating means for generating the pixel signal shown, and a pixel signal storing means each including a plurality of storage cells for storing the pixel signal logically associated with one of the pixels. The plurality of storage cells are logically and two-dimensionally arranged in a predetermined first direction and a second direction intersecting the first direction, corresponding to the arrangement of the plurality of pixels. . The facsimile apparatus according to the present invention further comprises:
Based on the pixel signals stored in the pixel signal storage means, the character array direction indicating the array direction in the array of the plurality of storage cells of the character string included in the image on the document represented by the stored pixel signals is A character arrangement direction detecting means for detecting the character arrangement direction;
Character arrangement direction determining means for determining which of the directions is closer, and in response to the output of the character arrangement direction determining means, the character arrangement direction is closer to the second direction than to the first direction. In this case, the image on the document represented by the stored pixel signal is determined in advance so that the character arrangement direction is closer to the first direction. Image rotation means for rotating by an angle, and signal compression means for reading out the stored pixel signals rotated by the image rotation means from the pixel signal storage means in a first direction and compressing them by a compression code And the pixel signal compressed by the signal compression means,
Transmission means for transmitting to another station via a communication line.

【0026】[0026]

【作用】請求項1に記載の画像読取装置に従えば、読み
取られた画像データの配列から、配列方向検出手段によ
ってキャラクタ列の配列方向か検出される。そしてその
配列方向が第1または第2の方向のいずれに近いかが判
断されて、近いと判断された方向に画像が補正され、そ
の方向に沿って画像の符号化が行なわれる。そのため画
像の符号化が、画像のキャラクタ列の配列方向と一致し
た方向で行なわれる。
According to the image reading apparatus of the present invention, the arrangement direction of the character string is detected by the arrangement direction detecting means from the arrangement of the read image data. Then, it is determined whether the arrangement direction is closer to the first or second direction, the image is corrected in the direction determined to be closer, and the image is encoded along that direction. Therefore, encoding of the image is performed in a direction that matches the arrangement direction of the character strings of the image.

【0027】請求項2に記載の発明に従えば、読み取り
対象である画像のキャラクタ列の配列方向が第2の方向
に近い方向であると判断されたときには、読み取られた
画像データの配列は90度回転補正される。一方第1の
方向に近い方向であると判断されたときにはそのままの
方向で符号化される。したがってキャラクタ列の配列方
向が常に第1の方向と一致する方向のもとで読み取った
ときと同じ配列にされ、その第1の方向にしたがって符
号化が行なわれる。
According to the second aspect of the invention, when it is determined that the arrangement direction of the character strings of the image to be read is a direction close to the second direction, the arrangement of the read image data is 90. Degree rotation is corrected. On the other hand, when it is determined that the direction is close to the first direction, encoding is performed in the same direction. Therefore, the arrangement direction of the character strings is always the same as that when reading is performed under the direction that matches the first direction, and encoding is performed according to the first direction.

【0028】請求項3に記載の発明に係るファクシミリ
装置において、読み取られた原稿上の画像は、画素信号
に変換されて記憶セルの配列に格納される。原稿の文字
列が、記憶セルの配列においてどの方向に延びているか
が検出され、さらに文字配列方向が記憶セルの配列の第
1および第2の方向のどちらにより近いかが判断され
る。文字配列方向が第2の方向により近いと判断された
場合、画像回転手段によって、画像が予め定める角度だ
け回転され、文字配列方向が第1の方向により近くなる
ようにされる。信号圧縮手段は、第1の方向に沿って記
憶セルの配列から画素信号を読み出し、符号化する。文
字列間の空白行も文字配列方向と同じ方向に沿って延び
ているため、上述のように画像を回転することにより、
第1の方向に沿った白ランおよび黒ランの平均の長さ
は、画像を回転しない場合よりも長く、白ラン、黒ラン
の個数も少なくなる。
In the facsimile apparatus according to the third aspect of the present invention, the read image on the document is converted into a pixel signal and stored in an array of storage cells. The direction in which the character string of the original extends in the arrangement of the memory cells is detected, and it is determined whether the character arrangement direction is closer to the first or second direction of the arrangement of the memory cells. When it is determined that the character arrangement direction is closer to the second direction, the image rotating means rotates the image by a predetermined angle so that the character arrangement direction is closer to the first direction. The signal compression unit reads out and encodes the pixel signal from the array of the storage cells along the first direction. Since blank lines between character strings also extend along the same direction as the character arrangement direction, by rotating the image as described above,
The average length of the white run and black run along the first direction is longer than when the image is not rotated, and the number of white runs and black runs is reduced.

【0029】[0029]

【実施例】図1は、本願発明の前提となる画像読取装置
の概略的な構成を示すブロック図である。スキャナ1
は、印刷画像などの読み取り対象画像を一定方向に順次
走査して読み取る装置であり、二値化部2は、スキャナ
1で読み取られた画像データに対して二値化処理を施す
回路部である。二値化処理された画像データは、一旦画
像メモリ3にストアされる。
FIG. 1 is a block diagram showing a schematic configuration of an image reading apparatus on which the present invention is based. Scanner 1
Is a device that sequentially scans a reading target image such as a print image in a certain direction and reads the image. The binarizing unit 2 is a circuit unit that performs a binarizing process on image data read by the scanner 1. . The binarized image data is temporarily stored in the image memory 3.

【0030】傾き検出部4は、画像メモリ3にストアさ
れた1画像分の画像データから画像のうちの文字列に相
当する部分を検出し、さらにその文字列の傾き(走査方
向に対する文字列の配列方向の傾き。以下、スキューと
呼ぶ)を検出するための回路部である。
The inclination detecting section 4 detects a portion corresponding to a character string in the image from the image data of one image stored in the image memory 3, and further detects the inclination of the character string (the character string with respect to the scanning direction). (A skew in the arrangement direction, hereinafter referred to as skew).

【0031】傾き補正5は、画像メモリ3における二値
化処理済みの画像データの配列を、傾き検出部の検出す
るスキュー分だけ補正(回転)して、文字列の配列方向
を走査方向と一致させた状態のもとで読み取りを行なっ
たときの画像データの配列と等しくなるようにするため
の回路部である。補正された画像データは一旦画像メモ
リ3にストアされる。
The tilt correction 5 corrects (rotates) the binarized image data array in the image memory 3 by the amount of skew detected by the tilt detection unit, and matches the character string array direction with the scanning direction. This is a circuit section for making the arrangement equal to the arrangement of image data when reading is performed in the state where the reading is performed. The corrected image data is temporarily stored in the image memory 3.

【0032】符号化部6は、補正された画像データに対
して、前述のMH、MR、MMR等の符号化処理を施す
ための回路部である、符号化された画像データは一旦画
像メモリ3にストアされるか、そのまま図示しない送信
機構を介して他のファクシミリなどに送信される。
The encoding section 6 is a circuit section for performing the above-described encoding processing such as MH, MR, and MMR on the corrected image data. The encoded image data is temporarily stored in the image memory 3. Or transmitted to another facsimile via a transmission mechanism (not shown).

【0033】制御部7は、上述したスキャナ1、二値化
部2、画像メモリ3、傾き検出部4、傾き補正部5、符
号化部6など画像読取装置全体の制御を行なう回路部で
ある。
The control section 7 is a circuit section for controlling the entire image reading apparatus, such as the scanner 1, the binarizing section 2, the image memory 3, the tilt detecting section 4, the tilt correcting section 5, and the encoding section 6 described above. .

【0034】図2は、この画像読取装置の概略的な動作
を示すフローチャートである。画像読取装置が文字列を
含む画像を読み取るときの動作は以下のとおりである。
まず、読み取り対象である印刷画像に対して、スキャナ
1が一定方向に順次走査して1画像分の画像データを読
み込む、二値化部2は、読み込まれた画像データに対し
て二値化処理を施す。画像メモリ3は、二値化処理され
た画像データをストアする。
FIG. 2 is a flowchart showing a schematic operation of the image reading apparatus. The operation when the image reading device reads an image including a character string is as follows.
First, a scanner 1 sequentially scans a print image to be read in a fixed direction and reads image data for one image. A binarization unit 2 performs a binarization process on the read image data. Is applied. The image memory 3 stores the binarized image data.

【0035】傾き検出部4は画像メモリ3にストアされ
た1画像分の画像データから、文字の表示領域に相当す
るデータ部分を抽出し(ステップn1 )、次いでその中
から文字列に相当するデータ部分を抽出し(ステップn
2)、さらに文字列のデータ部分からスキャナ1による
画像走査方向に対する文字列の傾き角つまり文字列のス
キューを検出する(ステップn3)。
The tilt detecting section 4 extracts a data portion corresponding to a character display area from the image data of one image stored in the image memory 3 (step n1), and then extracts data corresponding to a character string from the data portion. Extract the part (step n
2) Further, the inclination angle of the character string with respect to the image scanning direction by the scanner 1, that is, the skew of the character string is detected from the data part of the character string (step n3).

【0036】傾き補正部5は、画像メモリ3における1
画像分の蓄積画像データの配列を、傾き検出部4の検出
するスキュー分だけ回転補正する(ステップn4)。こ
れによって画像メモリ3の蓄積画像データの配列は、文
字列の配列方向を走査方向と一致させた状態のもとで読
み取りを行なったときの画像データと同じ配列状態にス
トアされなおすことになる。符号化部6は、補正処理を
施された画像データに対して、たとえばMH、MR、M
MRなどの符号化処理を行なう。(ステップn5)。
The inclination correction unit 5 is configured to store 1 in the image memory 3.
The rotation of the array of the accumulated image data for the image is corrected by the skew detected by the tilt detection unit 4 (step n4). As a result, the arrangement of the stored image data in the image memory 3 is stored again in the same arrangement state as the image data obtained when reading is performed in a state where the arrangement direction of the character string matches the scanning direction. The encoding unit 6 applies, for example, MH, MR, and M to the corrected image data.
Encoding processing such as MR is performed. (Step n5).

【0037】符号化された画像データはそのまま図示さ
れない送信機構を介してたとえば他のファクシミリに送
信されるか、あるいは一旦画像メモリ3にストアされ
る。この様に傾きを補正することにより、符号化時の圧
縮効率が向上する。
The coded image data is transmitted to another facsimile via a transmission mechanism (not shown) as it is, or is temporarily stored in the image memory 3. By correcting the inclination in this way, the compression efficiency at the time of encoding is improved.

【0038】図4は、本願発明の一実施例である画像読
取装置の概略的な構成を示すブロック図である。図4で
示されるスキャナ1、二値化部2、画像メモリ3は、図
1に示されたものと同一である。したがって、ここでは
それらについての詳しい説明は繰り返されない。
FIG. 4 is a block diagram showing a schematic configuration of an image reading apparatus according to an embodiment of the present invention. The scanner 1, the binarizing unit 2, and the image memory 3 shown in FIG. 4 are the same as those shown in FIG. Therefore, detailed description thereof will not be repeated here.

【0039】縦/横検出部104は、画像メモリ3にス
トアされた1画像分の画像データから画像のうちの文字
領域に相当する部分を検出し、さらにその文字領域の文
字の配列方向が横配列方向(走査方向と一致する配列方
向)か縦配列方向(走査方向に対して直交する配列方
向)かを判別し検出する回路部である。
The vertical / horizontal detecting section 104 detects a portion corresponding to a character area in the image from the image data of one image stored in the image memory 3, and furthermore, the character arrangement direction of the character area is changed to horizontal. This is a circuit unit for determining and detecting whether the array direction (array direction coincident with the scan direction) or the vertical array direction (array direction orthogonal to the scan direction).

【0040】回転処理部105は、縦/横検出部104
が縦配列方向を検出した場合に、画像メモリ3における
二値化処理済みの画像データの配列を90度だけ回転補
正して、文字の配列方向を横方向に設定して読み取りを
行なったときの画像データの配列と等しくなるようにす
るための回路部である。補正された画像データは一旦画
像メモリ3にストアされる。
The rotation processing unit 105 includes a vertical / horizontal detection unit 104
Detects the vertical arrangement direction, corrects the rotation of the binarized image data array in the image memory 3 by 90 degrees, sets the character arrangement direction to the horizontal direction, and performs reading. This is a circuit section for making it equal to the array of image data. The corrected image data is temporarily stored in the image memory 3.

【0041】符号化部106は、縦/横検出部104が
縦配列方向を検出した場合には、回転処理部105で回
転補正された画像データに対して、また縦/横検出部1
04が横配列方向を検出した場合には二値化処理された
ままの(回転補正処理されない)画像データに対して符
号化処理を施すための回路部である。符号化された画像
データは一旦画像メモリ3にストアされるかそのまま図
示されない送信機構を介して他のファクシミリなどに送
信される。制御部107は、上述したスキャナ1、二値
化部2、画像メモリ3、縦/横検出部104、回転処理
部105および符号化部106など画像読取装置全体の
制御を行なうための回路部である。
When the vertical / horizontal detecting section 104 detects the vertical arrangement direction, the encoding section 106 applies the vertical / horizontal detecting section 1 to the image data whose rotation has been corrected by the rotation processing section 105.
A circuit unit 04 performs an encoding process on the image data that has been subjected to the binarization process (not subjected to the rotation correction process) when the horizontal arrangement direction is detected. The encoded image data is temporarily stored in the image memory 3 or transmitted to another facsimile or the like via a transmission mechanism (not shown). The control unit 107 is a circuit unit for controlling the entire image reading apparatus, such as the scanner 1, the binarizing unit 2, the image memory 3, the vertical / horizontal detecting unit 104, the rotation processing unit 105, and the encoding unit 106. is there.

【0042】画像読取装置が、文字が横書きされた文書
や文字が縦書きされた文書を画像として読み取るときの
動作を以下に説明する。以下では、横書きの場合にも、
縦書きの場合にも文字の行または列を「文字列」と呼ぶ
ことにする。
The operation when the image reading apparatus reads a document in which characters are written horizontally or a document in which characters are written vertically as an image will be described below. Below, even for horizontal writing,
In the case of vertical writing, a character row or column is called a “character string”.

【0043】ここでは、説明を簡単にするために、横書
き文書はその文字列の方向が走査方向と一致するように
設定されて読み取りが行なわれ、縦書き文書はその文字
列の方向が走査方向と直交するように設定されて読み取
りが行なわれるものとする。
Here, for simplicity of explanation, a horizontally written document is read with its character string direction set to match the scanning direction, and a vertically written document is read with its character string direction set in the scanning direction. It is assumed that reading is performed while being set so as to be orthogonal to.

【0044】まず、読み取り対象である横書き文書や縦
書き文書などに対して、スキャナ1が一定方向に順次走
査して1画像分の画像データを読み込む。二値化部2
は、読み込まれた画像データに対して二値化処理を施
す。画像メモリ3は二値化処理された画像データをスト
アする。
First, the scanner 1 sequentially scans a horizontal writing document, a vertical writing document, or the like to be read in a predetermined direction to read image data of one image. Binarization section 2
Performs a binarization process on the read image data. The image memory 3 stores the binarized image data.

【0045】縦/横検出部104は、画像メモリ3にス
トアされた1画像分の画像データから文字領域に相当す
るデータ部分を抽出し(ステップn11)、その中から
文字列に相当するデータ部分を抽出し(ステップn1
2)、さらにその文字列のデータ部分から文字列の配列
方向がスキャナ1による画像走査方向と一致しているか
直交しているか、つまり横書き文書か縦書き文書かを判
別しその結果を検出する(ステップn13)。
The vertical / horizontal detecting section 104 extracts a data portion corresponding to a character area from the image data of one image stored in the image memory 3 (step n11), and from there, a data portion corresponding to a character string is extracted. (Step n1)
2) Further, from the data portion of the character string, it is determined whether the arrangement direction of the character string matches or orthogonal to the image scanning direction by the scanner 1, that is, whether the document is a horizontal writing document or a vertical writing document, and the result is detected ( Step n13).

【0046】縦/横検出部104が横書き文書を検出し
た場合、すなわち文字の配列方向が走査方向と一致する
横配列方向であると判別された場合、符号化部106
は、読み取られ、補正の行なわれていない画像データに
対して符号化処理を行なう(ステップn14)。
When the vertical / horizontal detection unit 104 detects a horizontally written document, that is, when it is determined that the character arrangement direction is the horizontal arrangement direction that matches the scanning direction, the encoding unit 106
Performs an encoding process on the image data that has been read and has not been corrected (step n14).

【0047】縦/横検出部104が縦書き文書を検出し
た場合、つまり文字の配列方向が走査方向と直交する縦
配列方向であると判別された場合、回転処理部105は
画像メモリ3における1画像分の蓄積画像データの配列
を90度だけ回転補正する(ステップn15)。これに
よって画像メモリ3の蓄積画像データの配列は、横配列
方向つまり文字の配列方向を走査方向と一致させた状態
のもとで読み取りを行なったときの画像データと同じ配
列状態にストアされなおすことになる。
When the vertical / horizontal detection unit 104 detects a vertically written document, that is, when it is determined that the character arrangement direction is a vertical arrangement direction orthogonal to the scanning direction, the rotation processing unit 105 determines whether the The rotation of the array of the accumulated image data for the image is corrected by 90 degrees (step n15). As a result, the arrangement of the stored image data in the image memory 3 is stored again in the same arrangement state as the image data obtained when reading is performed in a state where the arrangement direction of the characters, that is, the arrangement direction of the characters coincides with the scanning direction. become.

【0048】回転補正された画像データに対して、符号
化部106はMH、MR、MMRなどの符号化処理を行
なう(ステップn14)。
The encoding section 106 performs encoding processing such as MH, MR, MMR, etc. on the rotation-corrected image data (step n14).

【0049】符号化された画像データはそのまま図示さ
れない送信機構を介して他のファクシミリに送信される
か、あるいは一旦画像メモリ3にストアされる。
The encoded image data is transmitted to another facsimile via a transmission mechanism (not shown) as it is, or is temporarily stored in the image memory 3.

【0050】このようにすることにより、文字の配列方
向が走査方向と直交する縦配列方向の状態で文書の読み
取りを行なった場合には、読み取られた画像データの符
号化においてデータの圧縮効率が大幅に高まることにな
る。
In this manner, when a document is read in a state where the character arrangement direction is a vertical arrangement direction orthogonal to the scanning direction, the data compression efficiency is reduced in encoding the read image data. It will increase significantly.

【0051】上述の画像読取装置がファクシミリに用い
られた場合には、符号化された画像データが横書き文書
であるか縦書き文書であるかを認識するためのサブデー
タを、その符号化された画像データに付加して送信する
ことができる。この画像データを受信するファクシミリ
では、その画像データの復号に当たり、このサブデータ
を参照して、必要に応じて90度逆回転補正を行なって
画像を再生するようにしてもよい。
When the above-described image reading apparatus is used for facsimile, the sub data for recognizing whether the encoded image data is a horizontal writing document or a vertical writing document is converted into the encoded sub data. It can be added to image data and transmitted. When decoding the image data, the facsimile receiving the image data may refer to the sub-data and perform 90-degree reverse rotation correction as needed to reproduce the image.

【0052】また、画像読取装置が画像データの送信を
行なわない画像ファイル装置の場合でも、縦/横検出部
104の判別結果を符号化された画像データとともにス
トアしておくことができる。その画像データの複号にあ
たり、それが縦書き文書の画像データであると識別され
る場合には、必要に応じて90度逆回転の補正を行なっ
て画像を再生することができる。
Further, even when the image reading apparatus is an image file apparatus that does not transmit image data, the determination result of the vertical / horizontal detecting unit 104 can be stored together with the encoded image data. When decoding the image data, if the image data is identified as image data of a vertically written document, the image can be reproduced by performing 90-degree reverse rotation correction as necessary.

【0053】図6は、本願発明に係る他の実施例である
画像読取装置の概略的な構成を示すブロック図である。
FIG. 6 is a block diagram showing a schematic configuration of an image reading apparatus according to another embodiment of the present invention.

【0054】この実施例の画像読取装置は、文字の配列
方向が横配列方向か縦配列方向かを判別するだけでな
く、横配列方向でも縦配列方向でもその配列方向が走査
方向に対してどれだけの傾き角度をもつかまで検出し
て、読み込まれた画像データの符号化に先立ちその傾き
角度分の補正も行なうようにした点が先の実施例と異な
る。図6において傾き角度検出部108は、読み取られ
た画像データからその文字の配列方向の走査方向に対す
る傾き角度を検出するための回路部である。
The image reading apparatus of this embodiment not only determines whether the character arrangement direction is the horizontal arrangement direction or the vertical arrangement direction, but also determines whether the arrangement direction of the character in the horizontal arrangement direction or the vertical arrangement direction is relative to the scanning direction. This embodiment is different from the previous embodiment in that the inclination angle is detected to have only the inclination angle, and correction for the inclination angle is performed prior to encoding of the read image data. In FIG. 6, an inclination angle detection unit 108 is a circuit unit for detecting an inclination angle with respect to the scanning direction in the arrangement direction of the character from the read image data.

【0055】回転処理部115は、先の実施例の回転処
理部105(図4)と異なり、文字が縦配列方向の場合
だけでなく横方向に配列されている場合にも、読み取ら
れた1画像分の画像データの配置を、上述の傾き角度分
だけ回転補正する機能を持つ回路部である。
The rotation processing unit 115 is different from the rotation processing unit 105 (FIG. 4) of the previous embodiment in that not only the case where the characters are arranged in the vertical direction but also the case where the characters are This is a circuit unit having a function of rotating and correcting the arrangement of image data for an image by the above-described tilt angle.

【0056】他の回路部、すなわちスキャナ1、二値化
部2、画像メモリ3、縦/横検出部104、符号化部1
06、制御部107については、第4図に示される先の
実施例と同じである。したがって、それらについての詳
しい説明はここでは繰り返されない。
Other circuit sections, ie, scanner 1, binarizing section 2, image memory 3, vertical / horizontal detecting section 104, encoding section 1
06 and the control unit 107 are the same as those in the previous embodiment shown in FIG. Therefore, a detailed description of them will not be repeated here.

【0057】図7は、この実施例の画像読取装置による
文書の読み取り操作を示すフローチャートである。図8
はその読み取り操作における文書の文字の配列方向と走
査方向との関係を説明するための図である。
FIG. 7 is a flowchart showing a document reading operation by the image reading apparatus of this embodiment. FIG.
FIG. 4 is a diagram for explaining the relationship between the arrangement direction of the document characters and the scanning direction in the reading operation.

【0058】この実施例の画像読取装置は、読み取り時
には以下のように動作する。読み取り対象である横書き
文書や縦書き文書などに対して、スキャナ1が一定方向
に順次走査して1画像分の画像データを読み込む。二値
化部2は、読み込まれた画像データに対して二値化処理
を施す。画像メモリ3は二値化処理された画像データを
ストアする。
The image reading apparatus of this embodiment operates as follows during reading. The scanner 1 sequentially scans a horizontal writing document, a vertical writing document, or the like to be read in a fixed direction and reads one image data. The binarization unit 2 performs a binarization process on the read image data. The image memory 3 stores the binarized image data.

【0059】縦/横検出部104は、画像メモリ3にス
トアされた1画像分の画像データから文字領域に相当す
るデータ部分を抽出する(ステップn21)。次いで縦
/横検出部104はその中から文字列に相当するデータ
部分を抽出し、その文字列のデータ部分から文字の配列
方向がスキャナ1による画像走査方向とほぼ一致してい
るかほぼ直交しているか、つまり横書きの文書か縦書き
の文書かを判別してその結果を検出する(ステップn2
2)。
The vertical / horizontal detecting unit 104 extracts a data portion corresponding to a character area from the image data of one image stored in the image memory 3 (step n21). Next, the vertical / horizontal detecting unit 104 extracts a data portion corresponding to the character string from the data, and from the data portion of the character string, the character arrangement direction substantially matches the image scanning direction by the scanner 1 or substantially orthogonally. Is determined, that is, whether the document is written horizontally or vertically, and the result is detected (step n2).
2).

【0060】縦/横検出部104による検出が横書き文
書の場合でも縦書き文書の場合でも傾き検出部108
は、その配列方向の走査方向に対する傾き角度を検出す
る(ステップn23)。
Whether the vertical / horizontal detection unit 104 detects a horizontally written document or a vertically written document, the inclination detection unit 108
Detects the inclination angle of the arrangement direction with respect to the scanning direction (step n23).

【0061】読み取られる文書が図8(1)に示される
ように、文字行rを含む横書き文書A1で、その文字行
rの配列方向が走査方向Sにやや傾き(角度α)を持つ
場合、すなわち文字の配列方向が横配列方向の場合、傾
き角度検出部108で検出される角度αは、−45度以
上45度未満の値となる。読み取られる文書が図8
(2)に示されるように、文字列cを含む縦書き文書A
2で、その文字列cの配列方向が走査方向Sに対して直
交する方向よりやや傾き(角度β)を持つ場合、すなわ
ち文字の配列方向が縦配列方向の場合、傾き角度検出部
108で検出される角度βは、45度以上135度未満
の値となる。
As shown in FIG. 8A, when the document to be read is a horizontally written document A1 including a character line r and the arrangement direction of the character line r has a slight inclination (angle α) in the scanning direction S, That is, when the arrangement direction of the characters is the horizontal arrangement direction, the angle α detected by the inclination angle detection unit 108 is a value of −45 degrees or more and less than 45 degrees. The document to be read is shown in FIG.
As shown in (2), a vertically written document A including a character string c
2, when the arrangement direction of the character string c has a slight inclination (angle β) from the direction orthogonal to the scanning direction S, that is, when the arrangement direction of the characters is the vertical arrangement direction, the inclination angle detection unit 108 detects Is a value of 45 degrees or more and less than 135 degrees.

【0062】回転処理部115は、画像メモリ3におけ
る1画像分の蓄積画像データの配列を傾き角度検出部1
08の検出する傾き角度α、βだけ回転補正する(ステ
ップn24)。これにより画像メモリの蓄積画像データ
の配列は、文字の配列方向を走査方向と一致させた状態
のもとで読み取りを行なったときの画像データと同じ配
列状態にストアされなおすことになる。
The rotation processing unit 115 converts the array of the stored image data for one image in the image memory 3 into the tilt angle detection unit 1
The rotation is corrected by the inclination angles α and β detected at step 08 (step n24). As a result, the arrangement of the stored image data in the image memory is stored again in the same arrangement state as the image data obtained when reading is performed in a state where the arrangement direction of the characters matches the scanning direction.

【0063】符号化部106は、補正処理を施された画
像データに対して符号化処理を行なう。符号化された画
像データはそのまま図示されない送信機構を介して他の
ファクシミリに送信されるか、あるいは一旦画像メモリ
3にストアされる。
The encoding section 106 performs an encoding process on the image data that has been subjected to the correction process. The encoded image data is transmitted to another facsimile via a transmission mechanism (not shown) as it is, or is temporarily stored in the image memory 3.

【0064】このように、単に文字の配列方向が縦配列
方向の場合の画像データを横配列方向との読み取りと同
じ配列となるように回転補正するだけでなく、横配列方
向の場合も縦配列方向の場合も、走査方向に対する傾き
角度分だけ蓄積画像データの配列を回転補正してから符
号化が行なわれる。そのため文字列に対して走査ライン
が交差するオーバーラップに起因してデータ圧縮効率の
低下を来すことがない。
As described above, not only the image data in the case where the character arrangement direction is the vertical arrangement direction is not only rotationally corrected so as to have the same arrangement as the reading in the horizontal arrangement direction, but also in the case of the horizontal arrangement direction. Also in the case of the direction, encoding is performed after the rotation of the array of the accumulated image data is corrected by the tilt angle with respect to the scanning direction. Therefore, the data compression efficiency does not decrease due to the overlap where the scanning line intersects the character string.

【0065】この実施例においても、図4に示される装
置と同様に、符号化さた画像データが横書き文書である
か縦書き文書であるか識別するためのサブデータを画像
データに付加しておくことができる。これにより、再生
時に必要に応じて画像データを90度逆回転補正するこ
とができる。
In this embodiment, as in the apparatus shown in FIG. 4, sub-data for identifying whether the encoded image data is a horizontal writing document or a vertical writing document is added to the image data. I can put it. This makes it possible to correct the image data by 90 ° reverse rotation as necessary during reproduction.

【0066】図9は、本願発明のさらに他の実施例に係
るファクシミリ装置の回路ブロック図である。図9を参
照して、このファクシミリ装置は、装置全体の制御を行
なうためのコントロール回路16と、コントロール回路
16に接続された操作パネル18と、コントロール回路
16に制御され、送信されるべき原稿を読み取りのため
に供給するための原稿フィード機構24と、原稿フィー
ド機構24により搬送される原稿を、読み取りのために
照明するための蛍光灯22と、コントロール回路16に
制御され、蛍光灯22の点灯を制御するための点灯回路
20と、蛍光灯22によって照射され、原稿によって反
射された光線を受けて、光電変換により原稿を読み取る
ための読取機構28と、コントロール回路16に接続さ
れ、受信した原稿を記録紙44に印刷するための印刷機
構26と、このファクシミリ装置と電話回線とをインタ
ーフェースするためのLIU(Line Interf
ace Unit)32と、回線を伝送されるアナログ
信号と、コントロール回路16内で取り扱われるデジタ
ル信号とを相互に変換するためのモデム30とを含む。
FIG. 9 is a circuit block diagram of a facsimile apparatus according to still another embodiment of the present invention. Referring to FIG. 9, the facsimile apparatus includes a control circuit 16 for controlling the entire apparatus, an operation panel 18 connected to the control circuit 16, and a document to be transmitted under the control of the control circuit 16. A document feed mechanism 24 for feeding for reading, a fluorescent lamp 22 for illuminating the document conveyed by the document feed mechanism 24 for reading, and a control circuit 16 for controlling the lighting of the fluorescent lamp 22 And a reading mechanism 28 for receiving the light beam emitted from the fluorescent lamp 22 and reflected by the original and reading the original by photoelectric conversion, and connected to the control circuit 16 for controlling the received original. And a facsimile apparatus and a telephone line as an interface. LIU to (Line Interf
ace Unit) 32 and a modem 30 for mutually converting an analog signal transmitted through a line and a digital signal handled in the control circuit 16.

【0067】コントロール回路16は、各部に設けられ
たセンサを制御し、センサからの信号を処理するための
センサ回路64と、操作パネル18をキースキャンする
ことにより各種キー入力を監視したり、操作パネル18
上のLED(Light Emitting Diod
e)の点灯を制御したりするためのパネルコントローラ
66と、原稿や記録紙44の送りを行なうモータなどを
制御したり、印刷機構26の印刷ヘッドや印刷圧力を制
御したりするためのメカニクス/記録制御回路68と、
読取機構28により得られたアナログの画素信号をAG
C(Auto Gain Control)処理により
一定レベルにコントロールしたり、読取機構28に含ま
れる光学系に起因する光学歪みや、CCDイメージセン
サの感度のばらつきによる信号の歪みを補正したりする
ための読取処理回路70と、モデム30によるデータの
伝送処理を制御するための伝送制御回路72とを含む。
The control circuit 16 controls a sensor provided in each section, and monitors a key input by scanning a key on the operation panel 18 and a sensor circuit 64 for processing a signal from the sensor. Panel 18
LED (Light Emitting Diode)
e) a panel controller 66 for controlling lighting, and a mechanics / control for controlling a motor for feeding the original and the recording paper 44, and controlling a print head and a printing pressure of the printing mechanism 26. A recording control circuit 68;
The analog pixel signal obtained by the reading mechanism 28 is
Read processing for controlling to a constant level by C (Auto Gain Control) processing, correcting optical distortion caused by an optical system included in the reading mechanism 28, and signal distortion due to variation in sensitivity of the CCD image sensor. A circuit 70 and a transmission control circuit 72 for controlling data transmission processing by the modem 30 are included.

【0068】このファクシミリ装置はさらに、センサ回
路64とパネルコントローラ66とメカニクス/記録制
御回路68と伝送制御回路72とモデム30とに接続さ
れ、これら各回路で行なわれる各モードの伝送制御手
順、符号化・復号化処理、自己診断モードにおける動作
などのコントロールを行なうためのマイクロコンピュー
タ(「マイコン」と省略する)62と、読取処理回路7
0の出力3する読取画像のデジタル信号を記憶するため
のページメモリ76と、ページメモリ76により記憶さ
れ、マイコン62により本発明の特色である補正が行な
われたデジタルの画像信号を記憶するためのページメモ
リ78、80と、マイコン62とメカニクス/記録制御
回路68と読取処理回路70とページメモリ76、7
8、80とに接続され、マイコン62により制御され
て、ページメモリ76、78、80への画像信号への書
込み、そこからの画像信号の読み出しおよび符号化・復
号化処理を制御するためのページメモリ制御回路74と
を含む。
This facsimile apparatus is further connected to a sensor circuit 64, a panel controller 66, a mechanics / recording control circuit 68, a transmission control circuit 72, and a modem 30. Microcomputer (abbreviated as "microcomputer") 62 for controlling the decoding / decoding process and the operation in the self-diagnosis mode, and the read processing circuit 7
A page memory 76 for storing a digital signal of a read image to be output 0, and a digital image signal stored by the page memory 76 and corrected by the microcomputer 62, which is a characteristic feature of the present invention. Page memories 78, 80, microcomputer 62, mechanics / recording control circuit 68, read processing circuit 70, and page memories 76, 7
8 and 80, and controlled by the microcomputer 62 to control writing of image signals to the page memories 76, 78, 80, reading of image signals therefrom, and encoding / decoding processing. And a memory control circuit 74.

【0069】原稿フィード機構24は、原稿を1枚ずつ
読み取りに供給するための繰り出しローラ34および原
稿分離のためのゴム板38と、図示されないパルスモー
タにより駆動されて原稿を送るための搬送ローラ36
と、繰り出しローラ34とゴム板38との間に原稿の搬
送される平面を挟んで設けられ、原稿がセットされたこ
とを検知してその旨の信号をセンサ回路64に与えるた
めの原稿センサ40と、搬送ローラ36の間で、蛍光灯
22により原稿が照射される位置の直前に設けられ、供
給される原稿の前縁の両端を検知してその旨の信号をセ
ンサ回路64に与えるための原稿端センサとを含む。
The original feed mechanism 24 includes a feed roller 34 for supplying originals one by one for reading and a rubber plate 38 for separating originals, and a transport roller 36 for driving originals by driving a pulse motor (not shown).
And a document sensor 40 provided between the feeding roller 34 and the rubber plate 38 with a plane on which the document is conveyed interposed therebetween to detect that the document has been set and to provide a signal to that effect to the sensor circuit 64. Between the transport rollers 36 and immediately before the position where the document is irradiated by the fluorescent lamp 22, for detecting both ends of the leading edge of the supplied document and providing a signal to that effect to the sensor circuit 64. And a document end sensor.

【0070】印刷機構26は、記録紙44の用紙切れを
検知するための用紙切れセンサ48と、メカニクス/記
録制御回路68に接続され、メカニクス/記録制御回路
68から与えられる信号に従って記録紙44を走査する
ことにより、記録紙44上に画像を形成するためのサー
マルヘッド50と、サーマルヘッド50との間で記録紙
44を挟んで保持するためのローラ52と、ローラ52
を回転させて記録紙44を引き出させるためのパルスモ
ータ46とを含む。
The printing mechanism 26 is connected to an out-of-paper sensor 48 for detecting that the recording paper 44 is out of paper, and a mechanics / recording control circuit 68, and prints the recording paper 44 in accordance with a signal given from the mechanics / recording control circuit 68. A thermal head 50 for forming an image on the recording paper 44 by scanning, a roller 52 for holding the recording paper 44 between the thermal head 50 and the roller 52,
And a pulse motor 46 for pulling out the recording paper 44 by rotating the recording paper 44.

【0071】読取機構28は、蛍光灯22から出射さ
れ、原稿表面で反射された光を反射して、所定の光路に
導くためのミラー56と、ミラー56により反射された
光の光路上に設けられ、原稿からの光線を集光して原稿
の像を結ばせるためのレンズ58と、レンズ58により
結ばれた原稿の像を、光電変換により電気信号に変換し
て読取処理回路70に与えるための、2048ビットの
CCD60と、倍率に応じてレンズ58とCCD60と
を所定の位置に移動させるためのモータ54とを含む。
The reading mechanism 28 is provided on a mirror 56 for reflecting the light emitted from the fluorescent lamp 22 and reflected on the surface of the original document and guiding it to a predetermined optical path, and on the optical path of the light reflected by the mirror 56. A lens 58 for condensing light rays from the original to form an image of the original, and an image of the original formed by the lens 58 for converting the image of the original into an electric signal by photoelectric conversion and providing the electric signal to the reading processing circuit 70 And a motor 54 for moving the lens 58 and the CCD 60 to predetermined positions according to the magnification.

【0072】図10を参照して、図9に示される原稿端
センサ42は、センサ42に供給される原稿10の前縁
の左端を検出するためのセンサ42aと、センサ42a
から、ISOB5サイズの用紙の横幅と同じ距離だけ離
して設けられ、B5サイズの用紙の前縁の右端を検出す
るためのセンサ42bと、センサ42aからISOA4
サイズの用紙の横幅に等しい距離だけ離して設けられ、
A4サイズの用紙の右端の検出を行なうためのセンサ4
2cとを含む。
Referring to FIG. 10, a document end sensor 42 shown in FIG. 9 includes a sensor 42a for detecting the left end of the front edge of document 10 supplied to sensor 42, and a sensor 42a.
, A sensor 42b for detecting the right end of the leading edge of the B5 size sheet, and a sensor 42b for detecting the right end of the leading edge of the B5 size sheet.
It is provided at a distance equal to the width of the paper of the size,
Sensor 4 for detecting the right end of A4 size paper
2c.

【0073】本発明にかかるファクシミリ装置の特徴
は、マイコン62において実行されるプログラムによ
り、単なる原稿の傾きを補正するのみならず、原稿の文
字列の方向を検知し、最も圧縮効率が高くなるように、
ページメモリ76〜80を用いて、読み取った画像信号
を変換する機能を有することである。
A feature of the facsimile apparatus according to the present invention is that the program executed in the microcomputer 62 not only corrects the inclination of the original but also detects the direction of the character string of the original so that the compression efficiency is maximized. To
It has a function of converting a read image signal using the page memories 76 to 80.

【0074】図9〜図15を参照して、本発明に係るフ
ァクシミリ装置は以下のように動作する。まず、本発明
が主として関係する、原稿読み取り時のファクシミリ装
置の動作の原理を説明する。
Referring to FIGS. 9 to 15, the facsimile apparatus according to the present invention operates as follows. First, the principle of operation of the facsimile apparatus at the time of reading a document, to which the present invention mainly relates, will be described.

【0075】操作者は、送信されるべき原稿を繰り出し
ローラ34に接して設けられている図示されない原稿台
にセットする。センサ40は原稿がセットされたことを
検知して、センサ回路64にその旨の信号を与える。さ
らに操作者は、操作パネル18上の、図示されないスタ
ートボタンを押す。パネルコントローラ66は、前述し
たように操作パネル18の各キーをスキャンしているた
め、操作者によりスタートボタンが押されたことを検知
する。パネルコントローラ66は、その旨の信号をマイ
コン62に与える。
The operator sets a document to be transmitted on a document table (not shown) provided in contact with the feeding roller 34. The sensor 40 detects that a document has been set, and sends a signal to that effect to the sensor circuit 64. Further, the operator presses a start button (not shown) on the operation panel 18. The panel controller 66 scans each key of the operation panel 18 as described above, and thus detects that the start button has been pressed by the operator. The panel controller 66 gives a signal to that effect to the microcomputer 62.

【0076】マイコン62は、センサ回路64から送信
原稿がセットされた旨の信号を、パネルコントローラ6
6からスタートボタンが押された旨の信号をそれぞれ受
け取り、以下のように動作する。マイコン62はまず、
ページメモリ制御回路74を制御して、ページメモリ7
6〜80への画像の書き込みができるように、ページメ
モリ76〜80をイネーブル状態にする。マイコン62
はその後、メカニクス/記録制御回路68を制御して、
図示されない原稿搬送のためのパルスモータを動作させ
る。搬送ローラ36がこのパルスモータにより回転され
て、原稿は副走査方向に沿って搬送される。このとき、
ゴム板38により、分離された原稿が読み取りのために
搬送される。
The microcomputer 62 sends a signal from the sensor circuit 64 to the effect that the transmission original has been set, to the panel controller 6.
6 and receives a signal indicating that the start button has been pressed, and operates as follows. First, the microcomputer 62
By controlling the page memory control circuit 74, the page memory 7 is controlled.
The page memories 76 to 80 are enabled so that images can be written to 6 to 80. Microcomputer 62
Then controls the mechanics / recording control circuit 68 to
A pulse motor (not shown) for document conveyance is operated. The transport roller 36 is rotated by the pulse motor, and the document is transported in the sub-scanning direction. At this time,
The separated original is transported by the rubber plate 38 for reading.

【0077】搬送される原稿は、CCD60によって読
み取られる前に、センサ42の前を通過する。図10を
参照して、原稿10の前縁が、主走査方向(原稿の搬送
方向と直交する)に対し、角度θだけ傾いているものと
する。またこの原稿10は、A4サイズであるとする。
傾きθのため、原稿10の前縁の左端と右端には、副走
査方向において距離D1のずれが生じている。
The conveyed document passes before the sensor 42 before being read by the CCD 60. Referring to FIG. 10, it is assumed that the front edge of document 10 is inclined by angle θ with respect to the main scanning direction (perpendicular to the document conveyance direction). The document 10 is assumed to be A4 size.
Due to the inclination θ, a shift of the distance D1 occurs in the sub-scanning direction at the left end and the right end of the front edge of the document 10.

【0078】原稿10の搬送速度は回路68により検知
されており、マイコン62はその速度を予め知ることが
できる。原稿10の横幅もセンサ出力により知られる。
したがって、センサ42aが原稿10の前縁の左端の通
過を検知してから、センサ42cが原稿10の前縁の右
端の通過を検知するまでの時間を知ることにより、容易
に傾きθを知ることができる。
The conveyance speed of the document 10 is detected by the circuit 68, and the microcomputer 62 can know the speed in advance. The width of the document 10 is also known from the sensor output.
Therefore, by knowing the time from when the sensor 42a detects the passage of the left edge of the front edge of the document 10 to when the sensor 42c detects the passage of the right edge of the front edge of the document 10, the inclination θ can be easily known. Can be.

【0079】仮に用紙10がB5サイズである場合に
は、センサ42a、センサ42bの信号によって傾きθ
を知ることができる。
If the paper 10 is of B5 size, the inclination θ is determined by the signals of the sensors 42a and 42b.
You can know.

【0080】センサ42a〜cの信号は、センサ回路6
4に与えられる。センサ回路64は、各センサ42a〜
42cの出力結果をマイコン62に与える。マイコン6
2は、予め定められた演算に従って傾きθを算出する。
The signals of the sensors 42a to 42c are
4 given. The sensor circuit 64 includes the sensors 42a to 42a.
The output result of 42c is given to the microcomputer 62. Microcomputer 6
2 calculates the inclination θ according to a predetermined calculation.

【0081】マイコン62は、点灯回路20を制御し
て、蛍光灯22を点灯させる。蛍光灯22から出射され
た光線は原稿の面上で反射され、ミラー56に達する。
ミラー56で反射された光線はレンズ58によってCC
D60の受光面上に原稿の像を結ぶ。このとき、原稿の
サイズに応じてレンズ58、CCD60の位置がモータ
54によって移動され、像の倍率が調整される。CCD
60は、原稿の像を主走査方向に電気的に走査し、原稿
の面上の輝度に応じたアナログ信号を出力し、読取処理
回路70に与える。
The microcomputer 62 controls the lighting circuit 20 to turn on the fluorescent lamp 22. The light emitted from the fluorescent lamp 22 is reflected on the surface of the original and reaches the mirror 56.
The light beam reflected by the mirror 56 is transmitted to the
An image of the document is formed on the light receiving surface of D60. At this time, the positions of the lens 58 and the CCD 60 are moved by the motor 54 according to the size of the document, and the magnification of the image is adjusted. CCD
Reference numeral 60 electrically scans the image of the document in the main scanning direction, outputs an analog signal corresponding to the luminance on the surface of the document, and supplies the analog signal to the reading processing circuit 70.

【0082】読取処理回路70は、CCD60から与え
られるアナログ信号を、AGC処理によってそのレベル
を一定にし、さらに、CCDの出力する信号に含まれる
光学系歪みや、CCDの感度ばらつきの影響による歪み
を補正し、ページメモリ制御回路74に与える。
The reading processing circuit 70 makes the level of the analog signal supplied from the CCD 60 constant by AGC processing, and further suppresses the optical system distortion included in the signal output from the CCD and the distortion due to the influence of the sensitivity variation of the CCD. The correction is applied to the page memory control circuit 74.

【0083】ページメモリ制御回路74は、図10に示
されるセンサ42aが原稿の前縁の左端の通過を検出す
ると同時に、読取処理回路70の出力のページメモリ7
6への書き込みを開始する。
The page memory control circuit 74 detects the passage of the left edge of the front edge of the document by the sensor 42a shown in FIG.
6 is started.

【0084】ページメモリ76への書き込みは、以下の
ように行なわれる。図11を参照して、ページメモリ7
6は、x方向およびy方向に二次元に配列されたメモリ
セルからなるイメージ記憶領域82を有する。ページメ
モリ76は、1介の主走査により得られた信号を、x方
向の一定のアドレスのメモリセルの、y方向の1行に順
に記憶する。x方向のアドレスは、副走査とともに順に
インクリメントされる。したがって、イメージ格納領域
82には、主走査線の副走査方向の集まりとして原稿イ
メージ84が形成される。
Writing to the page memory 76 is performed as follows. Referring to FIG. 11, page memory 7
6 has an image storage area 82 consisting of memory cells arranged two-dimensionally in the x and y directions. The page memory 76 sequentially stores signals obtained by one main scan in one row in the y direction of memory cells at a fixed address in the x direction. The address in the x direction is incremented sequentially with the sub-scan. Therefore, the original image 84 is formed in the image storage area 82 as a group of main scanning lines in the sub-scanning direction.

【0085】図9および図10を参照して、センサ42
aが原稿10の前縁の左端を検知してから、同じ部分を
CCD60が検知するまでの間には、センサ42の位置
と、実際に原稿がCCD60に読み取られる際の原稿の
位置とのずれに起因して、一定の時間差が生ずる。した
がって、図11に示されるように、原稿イメージ84の
前縁の最左端は、ページメモリ76のイメージ格納領域
82において、x方向のアドレスX1、y方向のアドレ
スY1に記憶される。以後、この原稿の画像は図11に
示されるようなフォームでページメモリ76に格納され
る。
Referring to FIG. 9 and FIG.
The difference between the position of the sensor 42 and the position of the original when the original is actually read by the CCD 60 is between the time when a detects the left end of the leading edge of the original 10 and the time when the CCD 60 detects the same portion. Causes a certain time difference. Therefore, as shown in FIG. 11, the leftmost end of the front edge of the document image 84 is stored at the address X1 in the x direction and the address Y1 in the y direction in the image storage area 82 of the page memory 76. Thereafter, the image of this document is stored in the page memory 76 in a form as shown in FIG.

【0086】図11を参照して、ページメモリ76のイ
メージ格納領域82が、x方向のアドレスx0 〜xn
Y方向のアドレスy0 〜yn を有しているものとする。
ページメモリ76に格納された原稿イメージ84の前縁
の左端がアドレス(x1 、y1 )、原稿イメージ84の
前縁の右端がアドレス(x2 、y2 )を有するものとす
る。アドレス(X1 、Y1 )とアドレス(X2 、Y2
との間の相違は、前述のように原稿の傾きθによるもの
である。
Referring to FIG. 11, image storage area 82 of page memory 76 has addresses x 0 to x n in the x direction,
It assumed to have a Y direction address y 0 ~y n.
Left edge address of the leading edge of the page memory 76 the original image 84 stored in the (x 1, y 1), the right end of the leading edge of the original image 84 is assumed to have an address (x 2, y 2). Address (X 1 , Y 1 ) and address (X 2 , Y 2 )
Is due to the inclination θ of the document as described above.

【0087】原稿の傾きθは、センサ42a、センサ4
2cの出力から、容易に求めることができる。マイコン
62は、求められた傾きθを用い、原稿イメージ84を
座標変換し、ページメモリ78に変換後のデータを書き
込む。この座標変換は、USP4,829,452に開
示された方法を用いて原稿イメージ84をイメージ格納
領域82の所定の点、たとえばアドレス(x0 、y0
の周りに角度θだけ回転するように行なわれる。
The inclination θ of the document is determined by the sensor 42a, the sensor 4
It can be easily obtained from the output of 2c. The microcomputer 62 converts the coordinates of the original image 84 using the obtained inclination θ, and writes the converted data in the page memory 78. This coordinate conversion is performed by using the method disclosed in US Pat. No. 4,829,452 to convert the original image 84 into a predetermined point in the image storage area 82, for example, an address (x 0 , y 0 ).
Is rotated around the angle θ.

【0088】座標変換の結果ページメモリ78に格納さ
れるデータは、図12に示されるように、原稿の4つの
それぞれが、イメージ格納領域82の対応する辺と平行
なものとなっている。その結果、図11に示されるよう
に原稿が供給された場合には、文字の配列方向とページ
メモリのメモリセルの配列の、y方向とが一致する。
As shown in FIG. 12, the data stored in the page memory 78 as a result of the coordinate conversion is such that each of the four originals is parallel to the corresponding side of the image storage area 82. As a result, when a document is supplied as shown in FIG. 11, the arrangement direction of the characters matches the y direction of the arrangement of the memory cells of the page memory.

【0089】原稿の像がこのように変換されることによ
り、この画像信号をページメモリのアドレスのy方向に
沿って読み出せば、原稿が傾き0で挿入された場合の読
み取りと同じ条件で信号の圧縮を行なうことが可能とな
る。そのため、画像信号の圧縮効率は、図11に示され
るような画像信号を圧縮する場合と比較して著しく向上
する。
By converting the image of the original in this way, if this image signal is read out along the y-direction of the address of the page memory, the signal is read under the same conditions as when the original is inserted at an inclination of 0. Can be compressed. Therefore, the compression efficiency of the image signal is significantly improved as compared with the case where the image signal is compressed as shown in FIG.

【0090】図10に示されるように、原稿10上の文
字列12の方向が、画像の主走査方向と小さな角度θだ
けずれるように原稿10が傾いて供給された場合には、
以上説明したような座標変換によってただちに最も圧縮
効率の高い補正後の画像信号を得ることができる。しか
し、原稿がいつもこのような方向でファクシミリ装置に
供給されるとは限らない。
As shown in FIG. 10, when the original 10 is supplied in an inclined manner so that the direction of the character string 12 on the original 10 is shifted from the main scanning direction of the image by a small angle θ,
By the coordinate conversion as described above, a corrected image signal with the highest compression efficiency can be immediately obtained. However, the original is not always supplied to the facsimile machine in such a direction.

【0091】たとえば、図13を参照して、日本語にお
けるように、縦書きした原稿をそのままファクシミリ装
置に供給する場合、あるいは日本語、英語を問わず横書
きした原稿をほぼ90度回転させてファクシミリ装置に
供給した場合には、以上のような補正だけでは画像信号
の圧縮効率は向上しない。すなわち、図10に示される
センサ42a、42cの出力による補正を行なっただけ
では、補正後の画像信号は図14に示されるようなもの
となるに過ぎない。
For example, referring to FIG. 13, when a vertically written original is supplied as it is to a facsimile apparatus as in Japanese, or when a horizontally written original is rotated by almost 90 degrees regardless of Japanese or English, the facsimile is rotated. When the image signal is supplied to the apparatus, the above-described correction alone does not improve the compression efficiency of the image signal. That is, if the correction is performed only by the outputs of the sensors 42a and 42c shown in FIG. 10, the image signal after the correction is merely as shown in FIG.

【0092】図14を参照して、文字が縦方向に配列さ
れた原稿は、上述の補正を行なっただけでは、文字列の
方向と、イメージ格納領域82のy方向とが一致しな
い。この画像をそのままy方向に沿って読み出して圧縮
したとしても、圧縮効率が向上しない。
Referring to FIG. 14, in a document in which characters are arranged in the vertical direction, the direction of the character string does not match the y direction of image storage area 82 only by performing the above-described correction. Even if this image is read as it is along the y direction and compressed, the compression efficiency is not improved.

【0093】そこで本発明にかかるファクシミリ装置の
マイクロコンピュータ62において実行されるプログラ
ムは、前述のようにセンサ42a、42cにより得られ
た原稿の傾きθによる、画像の座標変換を行なう前に、
原稿上の文字列の方向を検出することに特徴がある。文
字列の方向の検知は以下の手順に従って行なわれる。
Therefore, the program executed by the microcomputer 62 of the facsimile apparatus according to the present invention is executed before the coordinate conversion of the image is performed based on the original inclination θ obtained by the sensors 42a and 42c as described above.
It is characterized by detecting the direction of a character string on a document. The detection of the direction of the character string is performed according to the following procedure.

【0094】まずマイクロコンピュータ62は、ページ
メモリ76に格納された原稿イメージを調べ、原稿イメ
ージの各部分における白点と黒点の割合を計算する。文
字列のみが配列された領域(以下これを「文字配列領
域」と称する)における白点と黒点の比率と、文字以外
の画像が形成された領域における白点と黒点との比率と
の間には、特徴的な違いがあることが知られている。し
たがって、原稿イメージ84の白点と黒点の分布の状況
を調べることにより、文字のみが含まれる行イメージ8
6が形成された文字配列領域と、文字以外のイメージが
形成されたイメージ領域88とを区別することができ
る。
First, the microcomputer 62 checks the original image stored in the page memory 76 and calculates the ratio of the white point to the black point in each part of the original image. A ratio between a white point and a black point in a region where only character strings are arranged (hereinafter referred to as a “character arrangement region”) and a ratio between a white point and a black point in a region where an image other than a character is formed Are known to have characteristic differences. Therefore, by examining the distribution of white points and black points in the original image 84, the line image 8 containing only characters
6 can be distinguished from an image area 88 in which images other than characters are formed.

【0095】イメージ領域88は、一般にどの方向に沿
って読み取ったとしても画像の圧縮効率が変化しないと
考えられる。それに対し、前述のように、行イメージ8
6のみが形成された領域を符号化する際には、行イメー
ジ86の延びる方向に沿って原稿を読み取り符号化する
と、それ以外の場合と比べて信号の圧縮効率が著しく向
上することが知られている。したがって、以上のように
して文字配列領域を検知した後、文字配列領域に含まれ
る行イメージ86の方向を検知し、その方向に沿って画
像信号の符号化を行なうようにすれば、符号の圧縮効率
は向上するものと考えられる。
Generally, it is considered that the image compression efficiency of the image area 88 does not change irrespective of the reading direction. On the other hand, as described above, the row image 8
It is known that, when encoding the area where only 6 is formed, if the original is read and encoded along the direction in which the row image 86 extends, the signal compression efficiency is significantly improved as compared with other cases. ing. Therefore, if the direction of the line image 86 included in the character array area is detected after the character array area is detected as described above, and the image signal is encoded along the direction, the code compression can be performed. Efficiency is expected to improve.

【0096】一旦文字配列領域が特定できれば、図11
に示されるような行イメージ86の延びる方向について
は、容易に知ることができる。たとえば、特開平2−2
15269号は、主走査方向における黒ビットの連続性
と、副走査方向の黒ビットの数とに基づいて、主走査方
向の有効画像幅を決定することを特徴とするスキャナ装
置を開示している。この公報に開示された技術を用い、
原稿イメージ84の行イメージ86が延びている概略の
方向を知ることができる。この文字列の配列方向とy軸
とがなす角度をθ1 とする。
Once the character arrangement area can be specified, FIG.
The direction in which the row image 86 extends as shown in FIG. For example, Japanese Patent Laid-Open No. 2-2
No. 15269 discloses a scanner device which determines an effective image width in the main scanning direction based on continuity of black bits in the main scanning direction and the number of black bits in the sub-scanning direction. . Using the technology disclosed in this publication,
It is possible to know the general direction in which the row image 86 of the document image 84 extends. The angle between the arrangement direction of this character string and the y-axis is θ 1 .

【0097】図15を参照して、角度θ1 が−45度と
45度との間にある場合には、原稿は図11に示される
ような状態でファクシミリ装置に供給されたものと判断
される。この場合、画像の補正は、センサ42a、42
cによって検出された角度θについての補正を行なうだ
けで充分である。
[0097] With reference to FIG. 15, if the angle theta 1 is between -45 degrees and 45 degrees, the document is determined to have been supplied to the facsimile apparatus in a state as shown in FIG. 11 You. In this case, the correction of the image is performed by the sensors 42a and 42a.
It is sufficient to make a correction for the angle θ detected by c.

【0098】一方、角度θ1 が45度と135度との間
である場合には、原稿が図13に示されるような状態で
ファクシミリ装置に供給されたものと考えられる。この
場合、前述のようにセンサ42a、42cによる角度θ
の補正を行なう前に、原稿イメージ84は、イメージ格
納領域82の所定の点を中心として90度回転される。
回転された画像信号は、ページメモリ80に格納され
る。90度回転後の原稿イメージは、図11に示される
ものと同様になる。
On the other hand, when the angle θ 1 is between 45 degrees and 135 degrees, it is considered that the original was supplied to the facsimile apparatus in a state as shown in FIG. In this case, as described above, the angle θ by the sensors 42a and 42c
Is corrected, the original image 84 is rotated by 90 degrees about a predetermined point in the image storage area 82.
The rotated image signal is stored in the page memory 80. The original image after the 90-degree rotation is the same as that shown in FIG.

【0099】マイクロコンピュータ62は、図11に示
されるような形に変換された原稿イメージ84に対し、
センサ42a、42cによって検知された角度θを補正
するための処理を行なう。その結果得られる画像は図1
2に示されるようなものとなる。この画像イメージを順
に読み出して符号化することにより、高い効率で画像信
号を圧縮することができる。
The microcomputer 62 converts the original image 84 converted into the form shown in FIG.
A process for correcting the angle θ detected by the sensors 42a and 42c is performed. The resulting image is shown in FIG.
The result is as shown in FIG. By sequentially reading and encoding this image, the image signal can be compressed with high efficiency.

【0100】以上の説明においては、読み込んだ画像信
号を最初に格納するためのページメモリ76、文字列の
方向と主走査方向とのなす角度θ1 が45°と135°
との間である場合に、90度回転された画像信号を格納
するためのページメモリ80と、最終的に補正された画
像信号を格納するためのページメモリ78とが設けられ
ている。しかし、本発明はこれには限定されず、たとえ
ば1つのページメモリの領域を分割することによって、
上述の補正処理を行なうことも考えられる。また、同一
のページメモリを、異なる目的のために使い分けること
も考えられる。
In the above description, the page memory 76 for first storing the read image signal, and the angle θ 1 between the direction of the character string and the main scanning direction is 45 ° and 135 °
A page memory 80 for storing the image signal rotated by 90 degrees and a page memory 78 for storing the finally corrected image signal are provided. However, the present invention is not limited to this. For example, by dividing one page memory area,
It is conceivable to perform the above-described correction processing. It is also conceivable to use the same page memory for different purposes.

【0101】図16〜図23は、上述の実施例のファク
シミリ装置のマイクロコンピュータ62において実行さ
れるプログラムの概略フローチャートである。以下のフ
ローチャートにおいては、処理は複数のサブルーチンに
分割され、メインルーチンからサブルーチンを呼び出す
ことにより処理を行なうような構造を有するプログラム
を示している。しかし、プログラムの構造はこれには限
定されず、たとえばすべてのサブルーチンをそのままメ
インルーチンに組み込むようなプログラムを用いても同
様の効果を得ることができる。
FIGS. 16 to 23 are schematic flowcharts of programs executed by the microcomputer 62 of the facsimile apparatus of the above embodiment. The following flowchart shows a program having a structure in which the processing is divided into a plurality of subroutines and the processing is performed by calling the subroutine from the main routine. However, the structure of the program is not limited to this. For example, a similar effect can be obtained by using a program in which all the subroutines are directly incorporated into the main routine.

【0102】図16を参照して、このプログラムのメイ
ンルーチンは以下のような構造を有する。ステップS0
01において、送信原稿がセットされたことが、センサ
40(図9)によって検知される。
Referring to FIG. 16, the main routine of this program has the following structure. Step S0
At 01, the setting of the transmission original is detected by the sensor 40 (FIG. 9).

【0103】続いてステップS002において、必要な
イニシャル処理が行なわれる。制御はステップS003
に進む。
Subsequently, in step S002, necessary initial processing is performed. The control is performed in step S003
Proceed to.

【0104】ステップS003において、センサ42
(図9)、すなわちセンサ42a、42c(図10)に
より、原稿の前縁が、主走査方向となす角度θ、すなわ
ち原稿の傾きθが検出される。制御はステップS004
に進む。
In step S003, the sensor 42
(FIG. 9), that is, the sensors 42a and 42c (FIG. 10) detect the angle θ between the leading edge of the document and the main scanning direction, that is, the inclination θ of the document. The control is performed in step S004
Proceed to.

【0105】ステップS004において、図示されない
原稿台にセットされたすべての原稿の画像情報が読み込
まれ、ページメモリ76(図9)に格納される。制御は
ステップS005に進む。
In step S004, the image information of all the documents set on the document table (not shown) is read and stored in the page memory 76 (FIG. 9). The control proceeds to step S005.

【0106】ステップS005においては、ページメモ
リ76に格納された原稿イメージにおいて、文字配列領
域がどこであるかが検知される。制御はステップS00
6に進む。
In step S 005, it is detected where the character arrangement area is in the original image stored in page memory 76. Control is step S00
Proceed to 6.

【0107】ステップS006においては、検知された
文字配列領域において、文字がどの方向に配列されてい
るかが検知される。これにより、文字の配列方向と主走
査方向とのなす角度θ1 が求められる。制御はその後ス
テップS007に進む。
In step S006, the direction in which the characters are arranged in the detected character arrangement area is detected. Thus, the angle theta 1 between the arrangement direction and the main scanning direction of the character is determined. Control then proceeds to step S007.

【0108】ステップS007においては、センサ42
a、42cによって求められた原稿の傾きθに基づい
て、画像の傾きを補正するための座標変換処理が行なわ
れる。角度θ1 が−45度〜45度の間である場合に
は、補正結果はページメモリ78に書き込まれる。角度
θ1が45度と135度との間である場合には、補正後
の画像信号はページメモリ80に書き込まれる。制御は
ステップS008に進む。
In step S007, the sensor 42
A coordinate conversion process for correcting the image inclination is performed on the basis of the original inclination θ obtained by a and 42c. If the angle theta 1 is between -45 degrees to 45 degrees, the correction result is written into the page memory 78. When the angle θ1 is between 45 degrees and 135 degrees, the corrected image signal is written to the page memory 80. The control proceeds to step S008.

【0109】ステップS008においては、ステップS
006において検知された角度θ1 に基づき、以下のよ
うな処理が行なわれる。角度θ1 が−45度と45度と
の間である場合には、既にページメモリ78に補正後の
画像信号が格納されている。したがって、それ以上の補
正処理は行なわれない。一方、角度θ1 が45度と13
5度との間である場合には、さらにイメージを90度回
転させることが必要である。マイコン62は、ページメ
モリ80に格納されている画像信号に対して90度の座
標変換を行ない、変換後の画像信号をページメモリ78
に書き込む。したがって、角度θ1 の如何にかかわら
ず、ページメモリ78には図12に示されるようなイメ
ージを表す画像信号が格納される。制御はステップS0
09に進む。
In step S008, step S008
Based on the detected angle theta 1 at 006, the following process is performed. When the angle θ 1 is between −45 degrees and 45 degrees, the corrected image signal is already stored in the page memory 78. Therefore, no further correction processing is performed. On the other hand, when the angle θ 1 is 45 degrees and 13
If it is between 5 degrees, it is necessary to further rotate the image by 90 degrees. The microcomputer 62 performs a 90-degree coordinate conversion on the image signal stored in the page memory 80, and stores the converted image signal in the page memory 78.
Write to. Therefore, regardless of the angle θ 1 , an image signal representing an image as shown in FIG. 12 is stored in the page memory 78. Control is in step S0
Go to 09.

【0110】ステップS009においては、ページメモ
リ78に格納されたデータを順に読み出し、符号化して
送信する処理が行なわれる。送信処理が終了するとこの
プログラムは終了する。
In step S009, the data stored in the page memory 78 is read out sequentially, encoded, and transmitted. When the transmission process ends, the program ends.

【0111】図17を参照して、ステップS002にお
けるイニシャル処理においては、以下のような処理が行
なわれる。ステップS201においては、パネルコント
ローラ66(図9)から、スタートボタンが押された旨
の信号が与えられているか否かが判断される。判断の結
果がNOであれば制御は再びステップS201に戻り、
さもなければ制御はステップS202に進む。
Referring to FIG. 17, in the initial processing in step S002, the following processing is performed. In step S201, it is determined whether or not a signal indicating that the start button has been pressed is given from panel controller 66 (FIG. 9). If the result of the determination is NO, the control returns to step S201 again,
Otherwise, control proceeds to step S202.

【0112】ステップS202においては、画像メモリ
76〜80が、書き込み可能な状態に能動化される。制
御はステップS203に進む。
In step S202, the image memories 76 to 80 are activated so that they can be written. The control proceeds to step S203.

【0113】ステップS203において、メカニクス/
記録制御回路68に対して、原稿の搬送を開始すべき旨
の信号が与えられる。これに応じ、送り出しローラ3
4、搬送ローラ36が回転を始め、読み取り位置への原
稿の搬送が開始した後、制御はメインルーチンに戻る。
In step S203, the mechanics /
A signal is sent to the recording control circuit 68 indicating that conveyance of the document should be started. In response, the delivery roller 3
4. After the conveyance roller 36 starts rotating and the conveyance of the document to the reading position is started, the control returns to the main routine.

【0114】図18を参照して、ステップS003にお
ける処理は、以下のように行なわれる。ステップS30
1において、読み取り位置に供給される原稿の前縁の両
端が、センサ42a、42c(図10)によって、検知
され、その検知の時刻に関する情報がプログラムに通知
される。制御はステップS302に進む。
Referring to FIG. 18, the process in step S003 is performed as follows. Step S30
At 1, both ends of the leading edge of the document supplied to the reading position are detected by the sensors 42a and 42c (FIG. 10), and information on the time of the detection is notified to the program. The control proceeds to step S302.

【0115】ステップS302においては、センサ42
aによる原稿の検知と、センサ42cによる原稿の検知
との間の時間差が算出される。制御はステップS303
に進む。
In step S302, the sensor 42
The time difference between the detection of the original by a and the detection of the original by the sensor 42c is calculated. Control is step S303
Proceed to.

【0116】ステップS303においては、ステップS
302において求められた時間差および供給された原稿
の用紙サイズの情報とに基づいて、マイコン62内のR
OMに予め格納された傾きテーブルのルックアップが行
なわれる。前述のように、センサ42a、42cによる
原稿の検知の時間差が知られれば、一定の計算式に従っ
て原稿の傾きθを知ることができる。しかし、一般的に
予め時間差と傾きθの関係を表にし、ROMに格納して
おくことが行なわれる。このようにすることにより、時
間差と原稿サイズとが得られれば、テーブルをサーチす
ることにより傾きθを高速でルックアップすることがで
きる。
In step S303, step S
Based on the time difference obtained in 302 and the information on the paper size of the supplied original,
A look-up of a tilt table previously stored in the OM is performed. As described above, if the time difference between the detection of the original by the sensors 42a and 42c is known, the inclination θ of the original can be known according to a certain calculation formula. However, in general, the relationship between the time difference and the inclination θ is tabulated and stored in the ROM in advance. In this way, if the time difference and the document size are obtained, the inclination θ can be looked up at high speed by searching the table.

【0117】ステップS304においては、傾きテーブ
ルに格納されたデータから、求める傾き角度θが決定さ
れる。制御はステップS305に進む。
In step S304, a desired tilt angle θ is determined from the data stored in the tilt table. The control proceeds to step S305.

【0118】ステップS305においては、得られた傾
き角度θが、マイコン62内のメモリに格納さる。制御
はメインルーチンに戻る。
In step S305, the obtained inclination angle θ is stored in the memory of the microcomputer 62. Control returns to the main routine.

【0119】図19を参照して、ステップS004にお
ける画像情報の読み込みは、以下のように行なわれる。
ステップS401において、ゴム板38によって分離さ
れて読み取り位置に供給された1頁の原稿がCCD60
によって画情報に変換され、読取処理回路70に与えら
れる。制御はステップS402に進む。
Referring to FIG. 19, reading of image information in step S004 is performed as follows.
In step S401, the one-page document separated by the rubber plate 38 and supplied to the reading position is
Is converted into image information, and is given to the reading processing circuit 70. The control proceeds to step S402.

【0120】ステップS402においては、読取処理回
路70から入力される1頁分の画像信号が、ページメモ
リ76に書き込まれる。制御はステップS403に進
む。
In step S402, an image signal for one page input from the reading processing circuit 70 is written to the page memory 76. The control proceeds to step S403.

【0121】ステップS403においては、全頁の読み
取りが終了したか否かが判断される。この判断は、たと
えば原稿センサ40によって、次に読み込まれるべき原
稿が存在するか否かを検知することにより行なわれる。
判断の答えがNOであれば制御はステップS401に戻
り、さもなければ制御はメインルーチンに戻る。
In step S403, it is determined whether reading of all pages has been completed. This determination is made, for example, by detecting whether or not there is a document to be read next by document sensor 40.
If the answer is no, control returns to step S401, otherwise control returns to the main routine.

【0122】図20を参照して、ステップS006にお
ける文字配列方向の検知は、以下のように行なわれる。
ステップS601において、原稿イメージに含まれる文
字の配列方向と、主走査方向との成す角度θ1 の検出が
行なわれる。制御はステップS602に進む。
Referring to FIG. 20, the detection of the character arrangement direction in step S006 is performed as follows.
In step S601, the arrangement direction of characters in the document image, the angle theta 1 of detection formed by the main scanning direction is performed. The control proceeds to step S602.

【0123】ステップS602においては、θ1 が−4
5度と45度との間であるか否かが判断される。判断の
答えがNOであれば制御はステップS603に進み、さ
もなければ制御はステップS604に進む。
In step S602, θ 1 is −4.
It is determined whether the angle is between 5 degrees and 45 degrees. If the answer to the determination is NO, the control proceeds to step S603, otherwise the control proceeds to step S604.

【0124】ステップS603においては、プログラム
に予め用意された、原稿の文字列方向を示すフラグに1
がセットされる。制御はその後メインルーチンに戻る。
In step S603, the flag indicating the character string direction of the document prepared in advance in the program is set to 1
Is set. Control then returns to the main routine.

【0125】制御がステップS604に進んだ場合に
は、前述のフラグに0がセットされる。制御はその後メ
インルーチンに戻る。
If the control has proceeded to step S604, 0 is set in the aforementioned flag. Control then returns to the main routine.

【0126】容易にわかるように、このフラグが0であ
る場合には文字列の方向と主走査方向とは概ね一致して
おり、フラグが1である場合には文字列の方向と主走査
方向とは概ね直角に交わっている。
As can be easily understood, when this flag is 0, the direction of the character string substantially matches the main scanning direction, and when the flag is 1, the direction of the character string matches the main scanning direction. Intersects at right angles.

【0127】ステップS007における傾き補正の処理
は以下のように行なわれる。ステップS701におい
て、センサ42a、42cによって検出された、原稿の
挿入方向の傾きがあるか否かが判断される。判断の答が
YESであれば制御はステップS702に進み、さもな
ければ制御はメインルーチンに戻る。
The inclination correction processing in step S007 is performed as follows. In step S701, it is determined whether or not there is a tilt in the document insertion direction detected by the sensors 42a and 42c. If the answer is YES, control proceeds to step S702, otherwise control returns to the main routine.

【0128】ステップS702に制御が進んだ場合に
は、図18のステップS305においてメモリに格納さ
れた傾き角度θが、メモリから読み出される。制御はス
テップS703に進む。
When the control proceeds to step S702, the tilt angle θ stored in the memory in step S305 in FIG. 18 is read from the memory. The control proceeds to step S703.

【0129】ステップS703においては、ページメモ
リ76から1頁分の画像の読み出しが行なわれる。制御
はステップS704に進む。
In step S703, one page of image is read from page memory 76. The control proceeds to step S704.

【0130】ステップS704においては、読み出され
た画像信号に対し、傾き角度θを相殺するための補正演
算が行なわれる。この補正演算は、よく知られた回転に
よる座標変換の式に従って行なわれる。演算はあるい
は、USP4,829,452に示される方法に従って
行なわれる。制御はステップS705に進む。
In step S704, a correction operation for canceling the inclination angle θ is performed on the read image signal. This correction operation is performed in accordance with a well-known equation of coordinate conversion by rotation. The operation is alternatively performed according to the method described in US Pat. No. 4,829,452. The control proceeds to step S705.

【0131】ステップS705においては、補正後の画
像信号がページメモリ78、80に書き込まれる。制御
はステップS706に進む。
In step S705, the corrected image signal is written to page memories 78 and 80. The control proceeds to step S706.

【0132】ステップS706においては、ページメモ
リ76に格納された全ページの原稿の画像信号に対して
補正演算が行なわれたか否かが判断される。判断の答が
NOであれば制御はステップS703に戻り、さもなけ
れば制御はメインルーチンに戻る。
In step S706, it is determined whether a correction operation has been performed on the image signals of the originals of all pages stored in page memory 76. If the answer is no, control returns to step S703; otherwise, control returns to the main routine.

【0133】図22を参照して、ステップS008にお
ける文字配列方向に基づく画像信号の補正は、以下のよ
うに行なわれる。ステップS801においては、ステッ
プS006のステップS603、S604においてセッ
トされたフラグの値が0であるか否かが判断される。ス
テップS801における判断の答えがYESであれば、
前述のように原稿の文字の配列方向が、主走査方向とほ
ぼ一致しているということである。したがってこの場合
には補正処理は行なわれず、制御はメインルーチンに戻
される。ステップS801における判断の答えがNOで
あれば、制御はステップS802に進む。
Referring to FIG. 22, the correction of the image signal based on the character arrangement direction in step S008 is performed as follows. In step S801, it is determined whether the value of the flag set in steps S603 and S604 of step S006 is 0. If the answer to the determination in step S801 is YES,
As described above, the arrangement direction of the characters on the document substantially coincides with the main scanning direction. Therefore, in this case, no correction processing is performed, and control returns to the main routine. If the answer to the determination in step S801 is NO, control proceeds to step S802.

【0134】ステップS802に制御が進んだ場合に
は、供給された原稿上の文字の配列方向が、主走査方向
とほぼ90度異なっているということである。ステップ
S802においては、ページメモリ80から、1頁分の
画像信号が読み出される。制御はステップS803に進
む。
If the control has proceeded to step S802, it means that the arrangement direction of the supplied characters on the original document is different from the main scanning direction by approximately 90 degrees. In step S802, an image signal for one page is read from the page memory 80. The control proceeds to step S803.

【0135】ステップS803においては、読み出され
た画像信号に対して、90度の角度で画像を回転する座
標変換の演算が行なわれる。制御はステップS804に
進む。
In step S803, a coordinate transformation for rotating the image at an angle of 90 degrees is performed on the read image signal. The control proceeds to step S804.

【0136】ステップS804においては、ステップS
803において補正された画像信号が、ページメモリ7
8に書き込まれる。制御はステップS805に進む。
In step S804, step S804
The image signal corrected in 803 is stored in the page memory 7.
8 is written. The control proceeds to step S805.

【0137】ステップS805においては、ページメモ
リ80に格納された、すべての原稿の画像信号につい
て、補正演算が行なわれたか否かが判断される。判断の
答えがNOであれば制御ステップS802に戻り、さも
なければ制御はメインルーチンに戻される。
In step S 805, it is determined whether or not the correction operation has been performed on the image signals of all the originals stored in page memory 80. If the answer to the determination is NO, the process returns to the control step S802; otherwise, the control returns to the main routine.

【0138】ステップS007、S008において行な
われる、画像信号の変換をより具体的に説明すれば、以
下のようになる。傾きθ1 が−45度と45度との間で
ある場合には、ページメモリ76に形成される画像信号
は、図11に示されるイメージを表す。この場合、ステ
ップS007のステップS704において行なわれる補
正演算により、画像信号は図12に示されるような原稿
イメージを表すものに変換される。この場合、ステップ
S008における文字配列方向の補正は行なわれない。
したがって、ページメモリ78には、図12に示される
ような原稿イメージを示す画像信号が格納される。
The conversion of the image signal performed in steps S007 and S008 will be described more specifically as follows. When the inclination theta 1 is between -45 and 45 degrees, the image signal is formed in the page memory 76, it represents an image shown in FIG. 11. In this case, the image signal is converted into a signal representing a document image as shown in FIG. 12 by the correction operation performed in step S704 of step S007. In this case, the correction in the character arrangement direction in step S008 is not performed.
Therefore, the page memory 78 stores an image signal indicating a document image as shown in FIG.

【0139】一方、傾きθ1 が45度〜135度の間で
ある場合には、ページメモリ76に格納される画像信号
の表す原稿イメージは、図13に示される。ステップS
007のステップS704(図21)において行なわれ
る補正演算により、ページメモリ80には図14に示さ
れるような原稿イメージを表す画像信号が格納される。
前述のようにこの画像信号は、そのままでは高い効率で
圧縮することはできない。
On the other hand, when the inclination θ 1 is between 45 degrees and 135 degrees, the original image represented by the image signal stored in the page memory 76 is shown in FIG. Step S
By the correction operation performed in step S 704 (FIG. 21) of 007, the page memory 80 stores an image signal representing a document image as shown in FIG.
As described above, this image signal cannot be compressed with high efficiency as it is.

【0140】ステップS008においては、図14に示
される原稿イメージ84が、90度回転されてページメ
モリ78に書き込まれる。したがって、ページメモリ7
8に格納される原稿イメージは、図12に示されるよう
なものとなる。
In step S008, document image 84 shown in FIG. 14 is rotated by 90 degrees and written in page memory 78. Therefore, the page memory 7
The document image stored in 8 is as shown in FIG.

【0141】ステップS009における送信処理は、以
下のように行なわれる。図23を参照して、ステップS
901において、マイコン62はページメモリ制御回路
74に対し、符号化を開始すべき旨の信号を与える。制
御はステップS902に進む。
The transmission processing in step S009 is performed as follows. Referring to FIG. 23, step S
At 901, the microcomputer 62 sends a signal to the page memory control circuit 74 to start encoding. The control proceeds to step S902.

【0142】ステップS902においては、ページメモ
リ制御回路74による、ページメモリ78からの、1頁
分の画像信号の読み出しおよび符号化が行なわれる。符
号化された信号は、図示されない、転送用の専用メモリ
に蓄積される。制御はステップS903に進む。
In step S902, the page memory control circuit 74 reads and encodes a one-page image signal from the page memory 78. The encoded signal is stored in a dedicated transfer memory (not shown). The control proceeds to step S903.

【0143】ステップS903においては、ページメモ
リ78に格納された、原稿のすべての頁に対する符号化
処理が行なわれたか否かが判断される。判断の答えがN
Oであれば制御はステップS902に戻り、さもなけれ
ば制御はステップS904に進む。
In step S903, it is determined whether or not encoding processing has been performed on all pages of the document stored in page memory 78. The answer is N
If O, control returns to step S902; otherwise, control proceeds to step S904.

【0144】ステップS904に制御が進んだ場合に
は、マイコン62は、伝送制御回路72、モデム30に
対し、転送用の専用メモリに蓄積された圧縮後の信号
を、電話回線上に送出すべき旨の信号を与える。伝送制
御回路72、モデム30は、専用メモリに蓄積されてい
た、圧縮された信号をアナログ信号に変換し、所定の手
順に従ってLIU32を介して電話回線上に送出する。
ステップS904における処理が終了した後、プログラ
ムの制御はメインルーチンに戻される。
If the control has proceeded to step S904, the microcomputer 62 should send the compressed signal stored in the dedicated transfer memory to the transmission control circuit 72 and the modem 30 over the telephone line. Give a signal to the effect. The transmission control circuit 72 and the modem 30 convert the compressed signal stored in the dedicated memory into an analog signal, and transmit the analog signal to the telephone line via the LIU 32 according to a predetermined procedure.
After the processing in step S904 ends, the control of the program returns to the main routine.

【0145】ステップS902において行なわれる画像
信号の符号化処理は、図12に示されるような原稿イメ
ージを表す画像信号に対して行なわれる。この原稿イメ
ージにおいては、文字列の延びる方向と、符号化のため
の信号の読出方向(主走査方向)とが一致している。文
字列と文字列との間の空白行の幅は、他の場合と比べて
最も広くなる。したがって、前述のメークアップ符号に
よる空白行の符号化が効率よく行なわれ、原稿全体の圧
縮化率も最大となる。
The encoding process of the image signal performed in step S902 is performed on the image signal representing the original image as shown in FIG. In this document image, the direction in which the character string extends and the direction in which the signal for encoding is read (main scanning direction) match. The width of the blank line between strings is the widest compared to other cases. Therefore, the blank line is efficiently encoded by the above-described makeup code, and the compression rate of the entire original is maximized.

【0146】以上のようにこの発明の実施例のファクシ
ミリ装置によれば、供給される原稿の前縁の両端が、所
定のセンサ前を通過する時間差から、原稿の前縁と主走
査方向とのなす角度が求められる。また、CCDおよび
読取処理回路によってデジタル化されページメモリに記
憶された原稿イメージから、原稿イメージ上の文字列の
延びる方向が検知される。得られた原稿の画像信号は、
送信される原稿の傾きを補正するようにまず座標変換さ
れる。座標変換された画像信号はさらに、画像信号の表
す原稿イメージ上の文字列の延びる方向と、符号化の際
にページメモリから画像信号が読み出される方向(主走
査方向)とが一致するように、必要ならばさらに90度
回転される。これにより、補正後の画像信号を符号化す
る際には、文字列の間の空白行が最も効率良く符号化さ
れ、原稿イメージ全体の圧縮効率も最大となる。
As described above, according to the facsimile apparatus of the embodiment of the present invention, both ends of the leading edge of the supplied document are determined based on the time lag when the leading edge of the document passes in front of the predetermined sensor. The angle to make is required. The direction in which the character string extends on the document image is detected from the document image digitized by the CCD and the reading processing circuit and stored in the page memory. The image signal of the obtained document is
First, coordinate conversion is performed so as to correct the inclination of the transmitted original. The coordinate-converted image signal is further set such that the direction in which the character string on the original image represented by the image signal extends and the direction in which the image signal is read from the page memory during encoding (main scanning direction) match. If necessary, it is further rotated 90 degrees. As a result, when encoding the corrected image signal, blank lines between character strings are encoded most efficiently, and the compression efficiency of the entire original image is maximized.

【0147】以上、この発明が1つの実施例に基づいて
説明されたが、この発明は上述の実施例には限定されな
い。たとえば、以下のような実施例も考えられる。
Although the present invention has been described based on one embodiment, the present invention is not limited to the above-described embodiment. For example, the following embodiment is also conceivable.

【0148】この発明のさらに他の実施例を実現するた
めのファクシミリ装置のハードウエアは、図9に示され
るものと同一である。この実施例が図9に示される実施
例と異なるのは、マイコン62において実行されるプロ
グラムの構造である。
The hardware of a facsimile apparatus for realizing still another embodiment of the present invention is the same as that shown in FIG. This embodiment differs from the embodiment shown in FIG. 9 in the structure of the program executed by the microcomputer 62.

【0149】図24を参照して、この実施例のファクシ
ミリ装置のマイコン62において実行されるプログラム
は、以下の制御構造を有する。ステップS011におい
て、送信されるべき原稿が図示されない原稿台上にセッ
トされたか否かが検知される。この処理は、図16のス
テップS001において行なわれる処理と同一である。
制御はステップS012に進む。
Referring to FIG. 24, the program executed in microcomputer 62 of the facsimile apparatus of this embodiment has the following control structure. In step S011, it is detected whether a document to be transmitted is set on a document table (not shown). This processing is the same as the processing performed in step S001 in FIG.
The control proceeds to step S012.

【0150】ステップS012においては、必要なイニ
シャル処理が行なわれる。この処理は、図16のステッ
プS002において行なわれる処理と同一である。制御
はステップS013に進む。
In step S012, necessary initial processing is performed. This processing is the same as the processing performed in step S002 in FIG. The control proceeds to step S013.

【0151】ステップS013においては、原稿台上に
セットされたすべての原稿について、画像情報の読み込
みが行なわれる。この処理は、図16のステップS00
4において行なわれる処理と同一である。制御はステッ
プS014に進む。
In step S013, image information is read for all the originals set on the original platen. This processing corresponds to step S00 in FIG.
4 is the same as the processing performed in FIG. The control proceeds to step S014.

【0152】ステップS014においては、読み込まれ
た原稿イメージ上において、文字配列領域がどの部分で
あるかが検知される。この処理は、図16のステップS
005において行なわれる処理と同一である。制御はス
テップS015に進む。
In step S014, it is detected which part of the read document image is the character array area. This processing corresponds to step S in FIG.
This is the same as the processing performed in 005. The control proceeds to step S015.

【0153】ステップS015においては、検知された
文字配列領域における、文字列の延びる方向が検知され
る。この処理は、図16のステップS006において行
なわれる処理と概ね同一である。しかし、このステップ
S015においては、先の実施例において行なわれたよ
りもさらに精密に、文字列の延びる方向が検知される。
制御はステップS016に進む。
In step S015, the direction in which the character string extends in the detected character arrangement area is detected. This processing is substantially the same as the processing performed in step S006 in FIG. However, in this step S015, the direction in which the character string extends is detected more precisely than in the previous embodiment.
The control proceeds to step S016.

【0154】ステップS016においては、検知された
文字配列方向に基づき、文字列が、概ね主走査方向と一
致する方向に沿って配列されるように、原稿イメージを
90度回転する処理が(必要なら)行なわれる。この処
理は、図9に示した先の実施例のステップS008にお
いて行なわれる処理と同一である。制御はステップS0
17に進む。
In step S016, a process of rotating the original image by 90 degrees based on the detected character arrangement direction so that the character string is arranged along a direction substantially coincident with the main scanning direction (if necessary). ) Done. This processing is the same as the processing performed in step S008 of the previous embodiment shown in FIG. Control is in step S0
Proceed to 17.

【0155】ステップS017においては、補正後文字
列の延びる方向が主走査方向と概ね一致するように補正
された画像信号が、文字列の延びる方向と主走査方向と
がより正確に一致するように補正される。この処理は、
先の実施例のステップS007において行なわれる処理
と概ね同一である。しかしこの場合、先の実施例と異な
り、補正のための角度はステップS015において得ら
れた文字配列方向から導き出されていることに注意する
べきである。ステップS017の処理がすべての頁の画
像信号に対して行なわれた後、このプログラムは終了す
る。
In step S017, the image signal corrected so that the extending direction of the corrected character string substantially matches the main scanning direction is used so that the extending direction of the character string matches the main scanning direction more accurately. Will be corrected. This process
This is almost the same as the processing performed in step S007 of the previous embodiment. However, in this case, it should be noted that, unlike the previous embodiment, the angle for correction is derived from the character arrangement direction obtained in step S015. After the processing in step S017 has been performed on the image signals of all pages, the program ends.

【0156】以上のような構造を有するプログラムによ
っても、先の実施例と同様の効果を得ることができる。
すなわち、この実施例によっても、ファクシミリ装置に
供給される原稿の方向にかかわらず、高い効率で画像信
号を圧縮することが可能となる。
With the program having the above structure, the same effects as those of the above embodiment can be obtained.
That is, also in this embodiment, it is possible to compress the image signal with high efficiency regardless of the direction of the original supplied to the facsimile apparatus.

【0157】この実施例において、ステップS016と
ステップS017における処理とは、別々のものとして
記載された。しかしながら、この発明はこれには限定さ
れない。たとえば、ステップS015において得られた
文字配列方向と主走査方向とのなす角度を、一度の演算
処理で補正するようにプログラムを作成することも可能
である。
In this embodiment, the processes in step S016 and step S017 are described as separate processes. However, the invention is not so limited. For example, it is also possible to create a program so that the angle between the character arrangement direction and the main scanning direction obtained in step S015 is corrected by one operation.

【0158】以上の各実施例においては、文字列を含む
画像の読み取りの場合について説明した。しかし、本発
明はこれには限定されない。たとえば、文字列に限らず
記号その他のキャラクタの複数個が一定方向に配列され
たキャラクタ列を含む画像であれば、同様の手順によっ
て画像の読み取りと信号の圧縮とが効率良く行なわれ
る。
In each of the above embodiments, the case of reading an image including a character string has been described. However, the present invention is not limited to this. For example, if the image includes not only a character string but also a character string in which a plurality of symbols and other characters are arranged in a certain direction, reading of the image and compression of the signal are efficiently performed by the same procedure.

【0159】[0159]

【発明の効果】以上のように、請求項1に記載の画像読
取装置によれば、符号化前の画像データの配列を、キャ
ラクタ列の配列方向が第1の方向また第2の方向のいず
れか近い方向と一致させた状態のもとで読み取ったとき
と同じ配列になるように補正手段によって補正し、さら
にこの補正した画像データを、補正手段による補正が行
なわれた方向と同じ方向で符号化するように構成してい
る。そのため第1の方向にキャラクタ列が配列された文
書が入力されたときにはキャラクタ列が第1の方向と一
致するように画像データが補正されて第1の方向に符号
化される。また第2の方向にキャラクタが配列された文
書が入力されたときには、キャラクタ列が第2の方向と
一致するように画像データが補正されて第2の方向に符
号化される。いずれの場合にも、キャラクタ列の配列方
向が符号化の方向と一致するので、符号化される画像デ
ータのデータ圧縮効率を高めることができる。
As described above, according to the image reading apparatus of the first aspect, the arrangement of the image data before encoding is determined by changing the arrangement direction of the character string in either the first direction or the second direction. The corrected image data is corrected by the correction means so as to have the same arrangement as when the image is read in a state in which it is matched with the near direction. It is configured to be. Therefore, when a document in which a character string is arranged in the first direction is input, the image data is corrected so that the character string matches the first direction, and is encoded in the first direction. When a document having characters arranged in the second direction is input, the image data is corrected so that the character string matches the second direction, and is encoded in the second direction. In any case, since the arrangement direction of the character string matches the encoding direction, the data compression efficiency of the encoded image data can be increased.

【0160】請求項2に記載の画像読取装置によれば、
読み取り対象である画像のキャラクタ列の配列方向が第
1の方向と直交する第2の方向であるときには、読み取
られた画像の配列を90度回転補正して、キャラクタ列
の配列方向が第1の方向と一致する配列方向のもとで読
み取ったときと同じ配列にし、その後で符号化を行なう
ように構成している。そのため、キャラクタ列が第1の
方向の場合にも、第1の方向と直交する第2の方向の場
合にも、いずれもキャラクタ列が第1の方向に配列され
るようにデータ補正が行なわれてその方向で符号化が行
なわれる。その結果、いずれの場合にも画像データの符
号化の圧縮効率が高くなる。
According to the image reading apparatus of the second aspect,
When the arrangement direction of the character string of the image to be read is the second direction orthogonal to the first direction, the arrangement of the read image is corrected by rotating by 90 degrees, and the arrangement direction of the character string is changed to the first direction. The arrangement is the same as that when reading is performed under the arrangement direction that matches the direction, and then the encoding is performed. Therefore, in both cases where the character string is in the first direction and in the second direction orthogonal to the first direction, data correction is performed so that the character string is arranged in the first direction. Encoding is performed in that direction. As a result, in any case, the compression efficiency of the encoding of the image data increases.

【0161】請求項3に記載のファクシミリ装置によれ
ば、原稿上の文字配列方向が、記憶セルの配列の第1お
よび第2の方向のどちらにより近いかが判断され、必要
ならば画像が予め定める角度だけ回転され、文字配列方
向が第1の方向により近くなるようにされる。信号圧縮
手段は、第1の方向に沿って記憶セルの配列から画像信
号を読み出し符号化する。上述のように画像を回転する
ことにより、第1の方向に沿った白ランおよび黒ランの
平均の長さは、画像を回転しない場合よりも長く、白ラ
ンおよび黒ランの個数は少なくなる。一般的に圧縮符号
化システムにおいては、1つの白ランまたは黒ランが1
つの符号に変換される。したがって、この発明にかかる
ファクシミリ装置によれば、圧縮後の符号数が減少し、
圧縮効率が向上する。また、送信の効率も向上する。
According to the facsimile apparatus of the third aspect, it is determined whether the character arrangement direction on the document is closer to the first or second direction of the arrangement of the memory cells, and if necessary, the image is predetermined. Rotated by an angle so that the character alignment direction is closer to the first direction. The signal compression means reads and encodes an image signal from the array of storage cells along the first direction. By rotating the image as described above, the average length of the white and black runs along the first direction is longer than without rotating the image, and the number of white and black runs is reduced. Generally, in a compression encoding system, one white run or one black run is one.
Is converted to one code. Therefore, according to the facsimile apparatus according to the present invention, the number of codes after compression is reduced,
Compression efficiency is improved. Also, transmission efficiency is improved.

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

【図1】本願発明の前提となる画像読取装置の概略的な
構成を示すブロック図である。
FIG. 1 is a block diagram illustrating a schematic configuration of an image reading apparatus that is a premise of the present invention.

【図2】図1に示される画像読取装置の動作を示すフロ
ーチャートである。
FIG. 2 is a flowchart showing an operation of the image reading apparatus shown in FIG.

【図3】走査方向に対して画像のキャラクタ列が傾いた
状態で読み取られるときの様子を示す説明図である。
FIG. 3 is an explanatory diagram illustrating a state in which a character string of an image is read in a state inclined with respect to a scanning direction.

【図4】本願発明の一実施例である画像読取装置の概略
的な構成を示すブロック図である。
FIG. 4 is a block diagram illustrating a schematic configuration of an image reading apparatus according to an embodiment of the present invention.

【図5】図4に示される画像読取装置の動作を示すフロ
ーチャートである。
FIG. 5 is a flowchart illustrating an operation of the image reading apparatus illustrated in FIG. 4;

【図6】本願発明の他の実施例である画像読取装置の概
略的な構成を示すブロック図である。
FIG. 6 is a block diagram illustrating a schematic configuration of an image reading apparatus according to another embodiment of the present invention.

【図7】図6に示される画像読取装置の動作を示すフロ
ーチャートである。
FIG. 7 is a flowchart illustrating an operation of the image reading apparatus illustrated in FIG. 6;

【図8】図3に示される画像読取装置の動作における文
字の配列方向と走査方向との関係を説明するための図で
ある。
FIG. 8 is a diagram for explaining a relationship between a character arrangement direction and a scanning direction in the operation of the image reading apparatus shown in FIG. 3;

【図9】本願発明のさらに他の実施例に係るファクシミ
リ装置のブロック図である。
FIG. 9 is a block diagram of a facsimile apparatus according to still another embodiment of the present invention.

【図10】ファクシミリ装置に供給される原稿の前縁を
検知するためのセンサの配置を模式的に示す図である。
FIG. 10 is a diagram schematically illustrating an arrangement of sensors for detecting a leading edge of a document supplied to a facsimile apparatus.

【図11】ページメモリに格納された原稿イメージの模
式図である。
FIG. 11 is a schematic diagram of a document image stored in a page memory.

【図12】ページメモリに格納された原稿イメージの模
式図である。
FIG. 12 is a schematic diagram of a document image stored in a page memory.

【図13】ページメモリに格納された原稿イメージの模
式図である。
FIG. 13 is a schematic diagram of a document image stored in a page memory.

【図14】ページメモリに格納された原稿イメージの模
式図である。
FIG. 14 is a schematic diagram of a document image stored in a page memory.

【図15】原稿の文字列の向きと、主走査方向との成す
角度を模式的に示す図である。
FIG. 15 is a diagram schematically illustrating an angle between a direction of a character string of a document and a main scanning direction.

【図16】本願発明の一実施例のファクシミリ装置のマ
イクロコンピュータによって実行されるプログラムのメ
インルーチンのフローチャートである。
FIG. 16 is a flowchart of a main routine of a program executed by a microcomputer of the facsimile apparatus according to one embodiment of the present invention.

【図17】イニシャル処理のフローチャートである。FIG. 17 is a flowchart of an initial process.

【図18】原稿の傾き検出処理のフローチャートであ
る。
FIG. 18 is a flowchart of a document inclination detection process.

【図19】画情報の読込のフローチャートである。FIG. 19 is a flowchart of reading image information.

【図20】文字配列方向の検知のルーチンのフローチャ
ートである。
FIG. 20 is a flowchart of a routine for detecting a character arrangement direction.

【図21】傾き補正のフローチャートである。FIG. 21 is a flowchart of tilt correction.

【図22】文字配列方向補正のルーチンのフローチャー
トである。
FIG. 22 is a flowchart of a character arrangement direction correction routine.

【図23】送信処理のルーチンのフローチャートであ
る。
FIG. 23 is a flowchart of a transmission process routine.

【図24】本願発明のさらに他の実施例のファクシミリ
装置のマイクロコンピュータにおいて実行されるプログ
ラムのメインルーチンのフローチャートである。
FIG. 24 is a flowchart of a main routine of a program executed in a microcomputer of the facsimile apparatus according to still another embodiment of the present invention.

【図25】原稿の模式図である。FIG. 25 is a schematic view of a document.

【図26】原稿の模式図である。FIG. 26 is a schematic diagram of a document.

【図27】MH符号に含まれるターミネイティング符号
の一部を示す図である。
FIG. 27 is a diagram illustrating a part of a terminating code included in the MH code.

【図28】MH符号に含まれるメークアップ符号の一部
を示す図である。
FIG. 28 is a diagram illustrating a part of a makeup code included in the MH code.

【図29】原稿の模式図である。FIG. 29 is a schematic diagram of a document.

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

1 スキャナ 2 二値化部 3 画像メモリ 4 傾き検出部 5 傾き補正部 6 符号化部 7 制御部 10 原稿 16 コントロール回路 40 原稿センサ 42,42a〜42c 原稿端センサ 60 CCDイメージセンサ 62 マイコン 104 縦/横検出部 105 回転処理部 106 符号化部 108 傾き角度検出部 Reference Signs List 1 scanner 2 binarization unit 3 image memory 4 inclination detection unit 5 inclination correction unit 6 encoding unit 7 control unit 10 original 16 control circuit 40 original sensors 42, 42a to 42c original end sensor 60 CCD image sensor 62 microcomputer 104 vertical / Horizontal detection unit 105 Rotation processing unit 106 Encoding unit 108 Inclination angle detection unit

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.6,DB名) H04N 1/387 - 1/393 H04N 1/04 - 1/207──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 6 , DB name) H04N 1/387-1/393 H04N 1/04-1/207

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 画像を一定方向に走査して読み取り、読
み取った画像データを符号化する画像読取装置におい
て、 画像のうち、複数のキャラクタが所定方向に配列されて
いるキャラクタ列の部分を抽出し、そのキャラクタ列の
配列方向を検出する配列方向検出手段と、 検出された前記配列方向が、予め定める第1および第2
の方向のうちどちらにより近いかを判断するための方向
判断手段と、 前記方向判断手段に基づいて、第1または第2のいずれ
か近い方向に画像の傾きを補正する補正手段と、 補正手段で補正された画像データを、前記方向判断手段
で判断された方向で符号化する符号化手段とを備えたこ
とを特徴とする画像読取装置。
An image reading apparatus that scans an image in a certain direction and reads the image, and encodes the read image data, extracts a character string portion in which a plurality of characters are arranged in a predetermined direction from the image. An arrangement direction detecting means for detecting the arrangement direction of the character string, and the detected arrangement directions are determined by first and second predetermined directions.
Direction determining means for determining which of the directions is closer, correction means for correcting the inclination of the image to the first or second closer direction based on the direction determining means, An image reading apparatus comprising: an encoding unit that encodes the corrected image data in the direction determined by the direction determination unit.
【請求項2】 画像を一定方向に走査して読み取り、読
み取った画像データを符号化する画像読取装置におい
て、 画像のうち、複数のキャラクタが所定方向に配列されて
いるキャラクタ列の部分を検出し、キャラクタ列の配列
方向を検出する配列方向検出手段と、 検出された前記配列方向が、予め定める、互いに直交す
る第1および第2の方向のうちどちらにより近いかを判
断するための方向判断手段と、 前記判断手段が第2の方向に近いと判断した場合に、読
み取られた1画像分の画像データを90度回転する補正
手段と、 前記判断手段が第2の方向に近いと判断した場合には補
正手段で補正済みの画像データを第1の方向に符号化
し、前記判断手段が第1の方向に近いと判断した場合に
は補正手段で補正されない読み取ったままの画像データ
を第1の方向に符号化する符号化手段とを備えたことを
特徴とする画像読取装置。
2. An image reading apparatus which scans an image in a predetermined direction and reads the image, and encodes the read image data, detects a character string portion in which a plurality of characters are arranged in a predetermined direction in the image. Arrangement direction detecting means for detecting an arrangement direction of a character string; and direction judging means for judging which of the first and second directions orthogonal to each other is predetermined. Correction means for rotating the read image data of one image by 90 degrees when the determination means determines that the image data is close to the second direction; and when the determination means determines that the image data is close to the second direction. The image data corrected by the correction means is encoded in the first direction, and if the determination means determines that the image data is close to the first direction, the image as read which is not corrected by the correction means is read. Image reading apparatus characterized by comprising an encoding means for encoding over data in the first direction.
【請求項3】 原稿上の画像を、二次元的に配列された
複数個の画素に分割して読み取ることにより、各前記画
素の輝度を各前記画素毎に示す画素信号を生成するため
の画素信号生成手段と、 各々が前記画素信号を、前記画素の1つに論理的に関連
づけて記憶するための複数個の記憶セルを含む画素信号
記憶手段と、 前記複数個の記憶セルは、前記複数個の画素の配列に対
応して、予め定める第1の方向と、前記第1の方向と交
差する第2の方向とに論理的に二次元的に配列されてお
り、 前記画素信号記憶手段に記憶された前記画素信号に基づ
いて、記憶された前記画素信号により表現される前記原
稿上の前記画像に含まれる文字列の、前記複数個の記憶
セルの配列における配列方向を示す文字配列方向を検出
するための文字配列方向検出手段と、 検出された前記文字配列方向が、前記第1およひ前記第
2の方向のうちのどちらにより近いかを判断するための
文字配列方向判断手段と、 前記文字配列方向判断手段の出力に応答して、前記文字
配列方向が、前記第1の方向よりも前記第2の方向に近
い場合に、記憶された前記画素信号により表現される前
記原稿上の前記画像を、前記文字配列方向が前記第1の
方向により近くなるように、記憶された前記画素信号に
より表現される前記原稿上の前記画像を、予め定める角
度だけ回転させるための画像回転手段と、 前記画像回転手段により回転された、記憶された前記画
素信号を、前記画素信号記憶手段から前記第1の方向に
沿って読み出し、圧縮符号により圧縮するための信号圧
縮手段と、 前記信号圧縮手段により圧縮された前記画素信号を、通
信回線を介して他局に送信するための送信手段とを含む
ファクシミリ装置。
3. A pixel for generating a pixel signal indicating the luminance of each pixel by dividing an image on a document into a plurality of two-dimensionally arranged pixels and reading the divided pixels. A signal generation unit; a pixel signal storage unit including a plurality of storage cells each for storing the pixel signal in a logically associated manner with one of the pixels; and the plurality of storage cells, Corresponding to the arrangement of the plurality of pixels, are logically and two-dimensionally arranged in a predetermined first direction and a second direction intersecting the first direction. Based on the stored pixel signal, a character array direction indicating an array direction in the array of the plurality of storage cells of a character string included in the image on the document represented by the stored pixel signal is changed. Character array direction detection method for detecting A step, a character arrangement direction judging means for judging which of the detected character arrangement directions is closer to the first direction and the second direction, and an output of the character arrangement direction judgment means Responsive to the character arrangement direction, when the character arrangement direction is closer to the second direction than the first direction, the image on the document represented by the stored pixel signals is converted to the character arrangement direction. Image rotation means for rotating the image on the document represented by the stored pixel signals by a predetermined angle so that the image direction is closer to the first direction, and the image rotation means Further, the stored pixel signal is read out from the pixel signal storage means along the first direction, and is compressed by a compression code. A facsimile apparatus including a transmission unit for transmitting a pixel signal to another station via a communication line.
JP2401420A 1989-12-12 1990-12-11 Image reading apparatus and facsimile apparatus using this image reading apparatus Expired - Fee Related JP2779553B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2401420A JP2779553B2 (en) 1989-12-12 1990-12-11 Image reading apparatus and facsimile apparatus using this image reading apparatus
US07/802,649 US5359677A (en) 1990-12-11 1991-12-09 Image reader and facsimile machine using such image reader
EP19910121185 EP0490348A3 (en) 1990-12-11 1991-12-10 Image reader and facsimile machine using such image reader

Applications Claiming Priority (5)

Application Number Priority Date Filing Date Title
JP1-322846 1989-12-12
JP1-322845 1989-12-12
JP32284589 1989-12-12
JP32284689 1989-12-12
JP2401420A JP2779553B2 (en) 1989-12-12 1990-12-11 Image reading apparatus and facsimile apparatus using this image reading apparatus

Publications (2)

Publication Number Publication Date
JPH03250866A JPH03250866A (en) 1991-11-08
JP2779553B2 true JP2779553B2 (en) 1998-07-23

Family

ID=27339939

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2401420A Expired - Fee Related JP2779553B2 (en) 1989-12-12 1990-12-11 Image reading apparatus and facsimile apparatus using this image reading apparatus

Country Status (1)

Country Link
JP (1) JP2779553B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004007240A (en) 2002-05-31 2004-01-08 Fujitsu Ltd Image input device, method, and program

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55127764A (en) * 1979-03-26 1980-10-02 Toshiba Corp Facsimile unit
JPS63268081A (en) * 1987-04-17 1988-11-04 インタ−ナショナル・ビジネス・マシ−ンズ・コ−ポレ−ション Method and apparatus for recognizing character of document

Also Published As

Publication number Publication date
JPH03250866A (en) 1991-11-08

Similar Documents

Publication Publication Date Title
US5191438A (en) Facsimile device with skew correction and text line direction detection
US5359677A (en) Image reader and facsimile machine using such image reader
US6995874B1 (en) System for aligning document images when scanned in duplex mode
JPH05324737A (en) Image memory retrieval device
US6407828B1 (en) Document transmission module connectable to data source for transmitting data in standard or high speed modes
JP3004628B2 (en) Image processing method
US5870508A (en) Automically aligning image data in an image processing apparatus
JP2779553B2 (en) Image reading apparatus and facsimile apparatus using this image reading apparatus
US5982955A (en) Optical image indexed document filer
JPH06103410A (en) Picture processor
JPH02101865A (en) Image output method in facsimile communication
JP2002176542A (en) Device and method for reading image
JPH07288676A (en) Image processing apparatus and method
JPH07262312A (en) Image processing device
JPH0721347A (en) Image reading method
JPH07129706A (en) Character recognition processing method, character recognition processing apparatus, and mark sheet used therefor
JPS6311830B2 (en)
JP3178439B2 (en) Image processing method and apparatus, copier, scanner and printer equipped with the same
JPH08242361A (en) Facsimile apparatus and control method thereof
JPH11275342A (en) Facsimile equipment with inclination correction function and its inclination correction method
JPH06149952A (en) Image processing system
JPH0456465A (en) Facsimile equipment
JPH0937050A (en) Image processing device
JPH08139846A (en) Image forming device
JPH01246960A (en) Image processing device

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19980331

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080515

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090515

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100515

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees