Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP2940441B2 - Facsimile machine - Google Patents
[go: Go Back, main page]

JP2940441B2 - Facsimile machine - Google Patents

Facsimile machine

Info

Publication number
JP2940441B2
JP2940441B2 JP7175160A JP17516095A JP2940441B2 JP 2940441 B2 JP2940441 B2 JP 2940441B2 JP 7175160 A JP7175160 A JP 7175160A JP 17516095 A JP17516095 A JP 17516095A JP 2940441 B2 JP2940441 B2 JP 2940441B2
Authority
JP
Japan
Prior art keywords
line
data
error
linear density
image data
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
JP7175160A
Other languages
Japanese (ja)
Other versions
JPH0927899A (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.)
Murata Machinery Ltd
Original Assignee
Murata Machinery Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Murata Machinery Ltd filed Critical Murata Machinery Ltd
Priority to JP7175160A priority Critical patent/JP2940441B2/en
Publication of JPH0927899A publication Critical patent/JPH0927899A/en
Application granted granted Critical
Publication of JP2940441B2 publication Critical patent/JP2940441B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Facsimile Transmission Control (AREA)
  • Editing Of Facsimile Originals (AREA)

Description

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

【0001】[0001]

【発明の属する技術分野】 本発明は、受信画データを
所定倍の線密度に変換して印字するファクシミリ装置に
関するものである。
[0001] 1. Field of the Invention [0002] The present invention relates to a facsimile apparatus for converting received image data to a linear density of a predetermined value and printing the converted data.

【0002】[0002]

【従来の技術】 一般に、ファクシミリ装置では、原稿
の読取りモードとして、ノーマルモード、ファインモー
ド及びスーパーファインモードの3つの読取りモードが
用意されている。そして、ノーマルモードにおいては副
走査方向の読取線密度が3.85ライン/mm、ファイ
ンモードにおいてはその2倍の7.7ライン/mm、ス
ーパーファインモードにおいてはその更に2倍の15.
4ライン/mmの線密度でそれぞれ原稿上の画像の読み
取りが行われる。
2. Description of the Related Art In general, a facsimile apparatus has three reading modes, i.e., a normal mode, a fine mode, and a super fine mode, for reading a document. In the normal mode, the reading linear density in the sub-scanning direction is 3.85 lines / mm, in the fine mode, twice as high as 7.7 lines / mm, and in the super fine mode, twice as high as 15.
An image on a document is read at a line density of 4 lines / mm.

【0003】一方、ファクシミリ装置において、受信画
データを記録紙上に印字する場合、前記ファインモード
に対応する7.7ライン/mm、或いはスーパーファイ
ンモードに対応する15.4ライン/mmの線密度で印
字を行うようにしたものがある。そして、受信画データ
の線密度が記録線密度より低い場合には、受信画データ
の線密度を記録線密度に対応する所定倍の線密度に変換
した状態で、その受信画データの印字を行うようにして
いる。例えば、受信画データの線密度がノーマルモード
に対応する3.85ライン/mmであり、記録線密度が
ファインモードに対応する7.7ライン/mmである場
合には、図5に示すように、受信画データを構成する各
ラインデータを、1つのラインデータにつき2回ずつ連
続させて、受信画データの線密度の2倍、即ち7.7ラ
イン/mmの線密度に変換してから印字するようにして
いる。
On the other hand, in a facsimile apparatus, when printing received image data on recording paper, a line density of 7.7 lines / mm corresponding to the fine mode or 15.4 lines / mm corresponding to the super fine mode is used. Some are designed to print. When the linear density of the received image data is lower than the recording linear density, printing of the received image data is performed in a state where the linear density of the received image data is converted to a linear density twice as large as the recording linear density. Like that. For example, when the linear density of the received image data is 3.85 lines / mm corresponding to the normal mode and the recording linear density is 7.7 lines / mm corresponding to the fine mode, as shown in FIG. The line data constituting the received image data is successively repeated twice for each line data, and converted to a line density of twice the line density of the received image data, ie, 7.7 lines / mm, and then printed. I am trying to do it.

【0004】又、このようなファクシミリ装置におい
て、ある受信ラインにエラーがあった場合には、そのエ
ラーラインに代えて同エラーラインの直前のラインを再
度印字するようにしたものがある。例えば、受信画デー
タの線密度が3.85ライン/mmで記録線密度が7.
7ライン/mmであるとする。この場合、図5に示すよ
うにあるラインBがエラーラインであると、そのエラー
ラインBに代えて同ラインBの直前のラインAが再度2
回印字される。しかしながら、このような処理では、同
じラインAが4回連続して印字されることになり、記録
紙上の印字画像が滑らかでなくなって、画質の低下を来
す等の好ましくない結果を生じていた。
In such a facsimile apparatus, when an error occurs in a certain receiving line, a line immediately before the error line is printed again instead of the error line. For example, the linear density of the received image data is 3.85 lines / mm and the recording linear density is 7.
It is assumed to be 7 lines / mm. In this case, if a certain line B is an error line as shown in FIG. 5, the line A immediately before the same line B is replaced by the error line B again.
Printed multiple times. However, in such a process, the same line A is printed four times in succession, and the printed image on the recording paper becomes unsmooth, resulting in an undesirable result such as a decrease in image quality. .

【0005】一方、ファクシミリ装置において、受信画
データを印字するとき、その画データにおける各画素デ
ータの白黒を、その画素データの周囲に存在する複数の
画素データの白黒に応じて決定する平滑化処理を行うも
のがある。この平滑化処理においては、例えば連続する
3ラインを用い、中間のラインの各画素データの白黒を
そのラインの前後のラインの各画素データの白黒に対し
てより自然に調和する方に決定するといった処理がなさ
れる。従って、この平滑化処理によれば、滑らかで質の
高い印字画像を得ることができる。
On the other hand, in the facsimile apparatus, when printing received image data, a smoothing process for determining the black and white of each pixel data in the image data in accordance with the black and white of a plurality of pixel data existing around the pixel data. There is something to do. In this smoothing process, for example, three consecutive lines are used, and the black and white of each pixel data of the intermediate line is determined to be more naturally harmonized with the black and white of each pixel data of the lines before and after that line. Processing is performed. Therefore, according to this smoothing process, a smooth and high quality printed image can be obtained.

【0006】そこで、前述のようなエラー処理を行うよ
うな場合において、エラー処理された画データを平滑化
処理すれば、そのエラー処理された画データを滑らかな
ものとすることができる。例えば、前述した図5に示す
ように、受信画データの線密度が3.85ライン/mm
であり、記録線密度が7.7ライン/mmであり、受信
ラインBがエラーラインであったとする。この場合に
は、平滑化処理を行うための回路に対して、Z,Z,
A,A,A,A,C,C・・・のように、線密度変換さ
れたラインデータが平滑化処理のために順次入力され
る。そして、例えば入力された3本のラインZZAを用
いて平滑化処理が行われる場合には、その中間のライン
Zの各画素データの白黒は、その前後のラインZ及びA
の各画素データの白黒に対してより自然に調和する方に
決定される。従って、前述のエラー処理によって滑らか
でなくなった画データを、このような平滑化処理によっ
て滑らかにすることが可能となる。
Therefore, in the case where the above-described error processing is performed, if the error-processed image data is smoothed, the error-processed image data can be smoothed. For example, as shown in FIG. 5, the line density of the received image data is 3.85 lines / mm.
It is assumed that the recording linear density is 7.7 lines / mm and the receiving line B is an error line. In this case, Z, Z,
As shown in A, A, A, A, C, C,..., Line density-converted line data is sequentially input for smoothing processing. For example, when the smoothing process is performed using the three input lines ZZA, the black and white of each pixel data of the intermediate line Z is determined by the lines Z and A
Is determined to be more naturally harmonized with the black and white of each pixel data. Therefore, image data that has become unsmooth due to the above-described error processing can be smoothed by such smoothing processing.

【0007】[0007]

【発明が解決しようとする課題】 ところが、図5に示
すように、エラーラインBをその直前のラインAに置き
換えた場合には、平滑化処理に用いられる3本のライン
データがAAAというように全て同じラインになる場合
があり、しかもそれが2回連続する場合がある。そし
て、このような同じ3本のラインデータに基づいて平滑
化処理を複数回連続して行った場合には、平滑化処理の
効果は殆ど期待できず、エラー処理を行った箇所を十分
に滑らかなものとすることができなくて、画質の低下を
十分に防止することができなかった。
However, as shown in FIG. 5, when the error line B is replaced with the line A immediately before the error line B, the three line data used for the smoothing process are AAA. All lines may be the same line, and may be continuous twice. When the smoothing process is continuously performed a plurality of times based on the same three line data, the effect of the smoothing process can hardly be expected, and the portion where the error process is performed is sufficiently smoothed. Therefore, it was not possible to sufficiently prevent the deterioration of the image quality.

【0008】本発明は、上記問題点を解消するためにな
されたものであって、その目的は線密度変換された受信
画データを平滑化処理するものにおいて、受信ラインに
エラーがあった場合でも、平滑化処理の効果を十分に発
揮することができて、画質を向上させることができるフ
ァクシミリ装置を提供することにある。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problem, and an object of the present invention is to smooth received image data subjected to linear density conversion. Another object of the present invention is to provide a facsimile apparatus which can sufficiently exhibit the effect of the smoothing process and improve the image quality.

【0009】[0009]

【課題を解決するための手段】 上記の目的を達成する
ために、請求項1に記載のファクシミリ装置では、受信
画データを構成する各ラインデータを所定回ずつ連続さ
せて所定倍の線密度に変換して出力する変換手段と、線
密度変換された画データを平滑化処理する平滑化手段と
を備えたファクシミリ装置において、前記変換手段は、
2n(nは自然数)倍の線密度に変換するものであっ
て、受信ラインがエラーラインの場合には、そのエラー
ラインに代えて同ラインの前後のラインデータをn回ず
つ出力することにより線密度変換を行う。
In order to achieve the above object, a facsimile apparatus according to claim 1 receives a facsimile.
Each line data that composes image data is continuously
Conversion means for converting the linear density to a predetermined density and outputting the same;
A smoothing means for performing a smoothing process on the density-converted image data;
In the facsimile apparatus provided with, the conversion means,
2n (n is a natural number) times the linear density.
If the receiving line is an error line,
Instead of the line, line data before and after the same line is not repeated n times
The linear density conversion is performed by outputting the data.

【0010】[0010]

【0011】請求項に記載の発明では、請求項1に
載のファクシミリ装置において、平滑化手段は、各ライ
ンデータにおける各画素データの白黒を、その画素デー
タの周囲に存在する複数の画素データの白黒に応じて決
定する。
[0011] In the invention described in claim 2 is the facsimile machine of the serial <br/> mounting in claim 1, the smoothing means, the monochrome pixel data in each line data, present around the pixel data Is determined according to the black and white of a plurality of pixel data to be processed.

【0012】従って、上記請求項1及び2に記載の発明
は次の作用を奏する。請求項1に記載のファクシミリ装
置では、エラーラインがあった場合でも、そのエラーラ
インの部分が同ラインの前後のラインで埋められるの
で、同じラインデータが他のラインデータに比べて極端
に多く連続することはない。このため、平滑化処理の効
果を十分に発揮することが可能となる。また、受信ライ
ンがエラーラインであった場合、そのラインに代えて同
ラインの前後のラインを同本ずつ用いて線密度変換が行
われる。
Accordingly, the first and second aspects of the present invention have the following effects. In the facsimile apparatus according to the first aspect, even if there is an error line, the error line portion is filled with the lines before and after the same line, so that the same line data is significantly more continuous than other line data. I will not do it. Therefore, the effect of the smoothing process can be sufficiently exhibited. The receiving line
If the error line is an error line,
Line density conversion is performed using the same line before and after the line.
Will be

【0013】[0013]

【0014】請求項に記載のファクシミリ装置では、
平滑化処理において、ある画素データの白黒はその画素
データの周囲に存在する複数の画素データの白黒に対し
てより自然に調和する方に決定される。
[0014] In the facsimile apparatus according to claim 2,
In the smoothing process, the black and white of certain pixel data is determined to be more naturally harmonized with the black and white of a plurality of pixel data existing around the pixel data.

【0015】[0015]

【発明の実施の形態】以下、本発明を具体化した実施の
一形態を図面に基づいて説明する。図1に、本実施の一
形態のファクシミリ装置の回路構成を示す。CPU(中
央処理装置)1には、装置全体の動作を制御するための
プログラム等を記憶したROM(リードオンリメモリ)
2、及び各種情報を一時的に記憶するRAM(ランダム
アクセスメモリ)3が接続されている。NCU(ネット
ワークコントロールユニット)4は、電話回線との接続
を制御するとともに、相手先のファックス番号に対応し
たダイヤルパルスの送出、及び着信を検出する機能等を
備えている。モデム5は送受信データの変調、復調を行
う。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 shows a circuit configuration of a facsimile apparatus according to one embodiment. A CPU (Central Processing Unit) 1 has a ROM (Read Only Memory) storing a program and the like for controlling the operation of the entire apparatus.
2, and a RAM (random access memory) 3 for temporarily storing various information. The NCU (network control unit) 4 has a function of controlling connection with a telephone line, transmitting dial pulses corresponding to the fax number of the other party, and detecting an incoming call. The modem 5 modulates and demodulates transmission and reception data.

【0016】読取部6は、原稿台(図示せず)にセット
された原稿上の画像を読み取る。モデムバッファ7は送
受信データを一時的に記憶するためのものであり、送信
に際して画データをモデム5に転送したり、受信に際し
てモデム5から転送されてくる画データを一時的に記憶
したりする。
The reading section 6 reads an image on a document set on a document table (not shown). The modem buffer 7 temporarily stores transmission / reception data, and transfers image data to the modem 5 when transmitting, and temporarily stores image data transferred from the modem 5 when receiving.

【0017】CPU1は符号化/復号手段を構成し、送
信画データをモディファイドハフマン方式(MH方式)
等の符号化方式で符号化してモデムバッファ7に転送す
るとともに、モデムバッファ7から転送されてくる受信
画データを白黒のランレングスに復号してイメージデー
タとしてバッファメモリ8に転送する。バッファメモリ
8は図3に示すように、例えば3本の第1〜第3ライン
メモリ8a,8b,8cよりなり、前記イメージデータ
を3ライン分一時的に記憶する。平滑化手段としての平
滑化処理回路9はバッファメモリ8から転送されてくる
3ライン分のラインデータを用いて平滑化処理(詳しく
は後述する)を行う。記録部10は平滑化処理回路9か
ら出力される画データに基づいて記録紙上に1ライン分
ずつ印字を行う。尚、本実施の一形態において、記録部
10は、ファインモードに対応する7.7ライン/mm
の線密度で印字を行うように構成されている。
The CPU 1 constitutes an encoding / decoding means for transmitting transmission image data by a modified Huffman system (MH system).
And the like, and transfers it to the modem buffer 7, decodes the received image data transferred from the modem buffer 7 into a black and white run-length, and transfers it to the buffer memory 8 as image data. As shown in FIG. 3, the buffer memory 8 includes, for example, three first to third line memories 8a, 8b, and 8c, and temporarily stores the image data for three lines. A smoothing processing circuit 9 as a smoothing means performs a smoothing process (to be described in detail later) using line data for three lines transferred from the buffer memory 8. The recording unit 10 prints one line at a time on recording paper based on the image data output from the smoothing processing circuit 9. Note that, in the present embodiment, the recording unit 10 is 7.7 lines / mm corresponding to the fine mode.
It is configured to print at a linear density of.

【0018】前記CPU1は変換手段を構成し、バッフ
ァメモリ8に記憶された各ラインデータを記録線密度に
対応する所定倍の線密度に変換して平滑化処理回路9に
転送する。例えば、受信画データの線密度がノーマルモ
ードに対応する3.85ライン/mmの場合には、CP
U1はバッファメモリ8内の各ラインデータを1つのラ
インデータにつき2回ずつ出力させる。
The CPU 1 constitutes a conversion means, converts each line data stored in the buffer memory 8 into a predetermined line density corresponding to the recording line density, and transfers it to the smoothing processing circuit 9. For example, when the line density of the received image data is 3.85 lines / mm corresponding to the normal mode, the CP
U1 outputs each line data in the buffer memory 8 twice for one line data.

【0019】次に、前記平滑化処理回路9の構成につい
て説明する。図3に示すように、平滑化処理回路9は、
バッファメモリ8から転送されてくるラインデータを図
示しないラインバッファに3ライン分格納すると、各ラ
インデータ中からそれぞれ3個の画素データPdを取り
出す、つまり3ライン分のラインデータ中から3×3個
の画素データPdをマトリクス状に取り出す。そして、
それら画素データPdを判定処理回路11へパラレルに
出力する。このとき、マトリクスの中心に位置する画素
データPdは、注目画素データXとなる。そして、この
注目画素データXの周囲の8個の画素データPdの白黒
のパターンに応じて、判定処理回路11は、注目画素デ
ータXが取るべき白黒の何れかのデータを判定する。
Next, the configuration of the smoothing processing circuit 9 will be described. As shown in FIG. 3, the smoothing processing circuit 9
When three lines of line data transferred from the buffer memory 8 are stored in a line buffer (not shown), three pieces of pixel data Pd are extracted from each line data, that is, 3 × 3 pieces of line data from three lines of line data. Of pixel data Pd are extracted in a matrix. And
The pixel data Pd is output to the determination processing circuit 11 in parallel. At this time, the pixel data Pd located at the center of the matrix becomes the target pixel data X. Then, in accordance with the black and white pattern of the eight pieces of pixel data Pd around the target pixel data X, the determination processing circuit 11 determines any of the black and white data to be taken by the target pixel data X.

【0020】例えば、注目画素データXが取るべきデー
タを判定する際に参照されるデータとして、前記ROM
2には、図示しないテーブルデータが予め記憶されてい
る。このテーブルデータには、マトリクスの中心の注目
画素データXの周囲に存在する8個の画素データPdの
白黒の各パターンに対応して、注目画素データXが取る
べき白黒の何れかの画素データが設定されている。
For example, the data referred to when determining the data to be taken by the target pixel data X is the ROM
2 stores in advance table data (not shown). In this table data, one of black and white pixel data to be taken by the target pixel data X corresponds to each of the black and white patterns of the eight pixel data Pd existing around the target pixel data X at the center of the matrix. Is set.

【0021】従って、マトリクス状に取り出された9個
の画素データPdが判定処理回路11に入力されると、
同判定処理回路11は、テーブルデータに従って、入力
された画素データPdの白黒のパターンに対応する白黒
の何れかのデータを選択する。そして、そのデータを平
滑化処理後の画素データPdXとして、前記記録部10
に出力する。
Therefore, when the nine pixel data Pd extracted in a matrix are input to the determination processing circuit 11,
The determination processing circuit 11 selects one of black and white data corresponding to the black and white pattern of the input pixel data Pd according to the table data. Then, the data is used as the pixel data PdX after the smoothing process,
Output to

【0022】このようにして、平滑化処理回路9は、3
ライン分のラインデータの中から、3×3個の画素デー
タPdをマトリクス状に順次取り出して平滑化処理し、
その処理後の画素データPdXを記録部10に順次出力
する。
As described above, the smoothing processing circuit 9
From the line data for the lines, 3 × 3 pieces of pixel data Pd are sequentially taken out in a matrix and smoothed,
The pixel data PdX after the processing is sequentially output to the recording unit 10.

【0023】次に、前記のように構成されたファクシミ
リ装置において、受信画データの線密度変換処理時の動
作を図2に示すフローチャートに従って説明する。尚、
このフローチャートでは、発信側の原稿の読取線密度、
つまり受信画データの線密度がノーマルモードに対応す
る3.85ライン/mmであるとしてその説明を行って
いる。又、フローチャートには示していないが、受信画
データの線密度に関する情報は、画データの通信前に発
信側との間で行われるファクシミリ手順信号のやりとり
によって、予め受信側に知らされている。
Next, the operation of the facsimile apparatus configured as described above during the linear density conversion processing of the received image data will be described with reference to the flowchart shown in FIG. still,
In this flowchart, the reading line density of the original on the transmitting side is
That is, the description is made on the assumption that the linear density of the received image data is 3.85 lines / mm corresponding to the normal mode. Although not shown in the flowchart, the information on the linear density of the received image data is notified to the receiving side in advance by exchanging a facsimile procedure signal with the transmitting side before the image data communication.

【0024】図2に示すように、発信側から所定の符号
化方式にて符号化されている画データが送信されてき
て、その画データを受信すると、CPU1は1ライン分
の受信画データを白黒のランレングスに復号して、イメ
ージデータとしてバッファメモリ8の所定のラインメモ
リ8a〜8cに記憶させる(ステップS1〜S2)。次
に、CPU1は、そのイメージデータに復号されたライ
ンデータがエラーラインであるか否かの判断を行う(ス
テップS3)。この判断は、符号化データを復号する
際、例えばその符号化データがMH方式にて符号化され
ているものであれば、その符号化データがMH方式で定
義されている符号中に存在するか否かや、符号化データ
を1ライン分復号した結果、ランレングスの合計、言い
換えれば1ライン分の画素データの合計数が規定の数に
なったか否か等によって行われる。
As shown in FIG. 2, when image data encoded by a predetermined encoding method is transmitted from the transmitting side and the image data is received, the CPU 1 transmits the received image data for one line. The data is decoded into a black and white run length and stored as image data in predetermined line memories 8a to 8c of the buffer memory 8 (steps S1 and S2). Next, the CPU 1 determines whether or not the line data decoded into the image data is an error line (step S3). This decision is made when decoding the encoded data, for example, if the encoded data is encoded in the MH system, whether the encoded data exists in the code defined in the MH system. The determination is made based on whether or not the sum of the run lengths, in other words, the total number of pixel data of one line has reached a prescribed number as a result of decoding the encoded data for one line.

【0025】前記ステップ3において、復号ラインデー
タがエラーラインでない場合には、CPU1は、そのラ
インの直前の復号ラインがエラーラインであったか否か
の判断を行う(ステップS4)。ここで、直前の復号ラ
インがエラーラインでなかった場合には、CPU1は、
前記ステップS2でバッファメモリ8に記憶されたライ
ンデータを、平滑化処理回路9に2回出力する(ステッ
プS5)。言い換えれば、3.85ライン/mmの線密
度である受信画データを、7.7ライン/mmという記
録線密度に対応する線密度に変換する。例えば図4に示
すように、エラーラインでなく且つその直前のラインも
エラーラインでないと判断された1本のラインデータZ
或いはAは、線密度変換により2本にされる。
If it is determined in step 3 that the decoded line data is not an error line, the CPU 1 determines whether the immediately preceding decoded line is an error line (step S4). Here, when the immediately preceding decoding line is not an error line, the CPU 1
The line data stored in the buffer memory 8 in step S2 is output twice to the smoothing processing circuit 9 (step S5). In other words, the received image data having a linear density of 3.85 lines / mm is converted into a linear density corresponding to the recording linear density of 7.7 lines / mm. For example, as shown in FIG. 4, one line data Z that is not an error line and the line immediately before that is determined not to be an error line.
Alternatively, A is reduced to two by the linear density conversion.

【0026】一方、前記ステップ3において、復号ライ
ンデータがエラーラインの場合には、CPU1は、その
エラーラインに代えて同ラインの直前にバッファメモリ
8に記憶された復号ラインデータを1回出力する(ステ
ップS6)。例えば図4に示すように、エラーラインで
あると判断された1本のラインデータBは無効化され、
代わりにその直前の正常なラインデータAが前回の2回
の出力の後に更に1回出力されて3本にされる。
On the other hand, if the decoded line data is an error line in step 3, the CPU 1 outputs once the decoded line data stored in the buffer memory 8 immediately before the line in place of the error line. (Step S6). For example, as shown in FIG. 4, one line data B determined to be an error line is invalidated,
Instead, the immediately preceding normal line data A is output once more after the previous two outputs, and is made three lines.

【0027】一方、前記ステップ4において、直前の復
号ラインがエラーラインであった場合には、CPU1
は、前記ステップS2でバッファメモリ8に記憶された
ラインデータを、平滑化処理回路9に3回出力する(ス
テップS7)。例えば図4に示すように、エラーライン
であると判断されたラインデータBの直後の正常な1本
のラインデータCは3本にされる。つまり、1本のライ
ンデータCは、線密度変換のための2本と、エラーライ
ンBの部分を同ラインBの直前のラインデータAとで1
本ずつ埋めるための1本との合計3本にされる。その結
果、線密度変換後のデータにおいて、エラーラインB
は、同ラインBの直前のラインデータAと同ラインBの
直後のラインデータCとに置き換えられる。
On the other hand, if the immediately preceding decoding line is an error line in step 4, the CPU 1
Outputs the line data stored in the buffer memory 8 in step S2 to the smoothing processing circuit 9 three times (step S7). For example, as shown in FIG. 4, the number of normal line data C immediately after the line data B determined to be an error line is reduced to three. That is, one line data C is composed of two lines for line density conversion and one line data A immediately before the line B for the error line B.
There is a total of three, one for filling each book. As a result, in the data after the linear density conversion, the error line B
Is replaced by the line data A immediately before the line B and the line data C immediately after the line B.

【0028】前記ステップS5,S6,S7の処理後、
CPU1は、1ページ分の画データの受信が終了したか
否かの判断を行い(ステップS8)、終了していない場
合には、前記ステップS2に戻って、ステップS2〜S
8の処理を繰り返す。1ページ分の画データの受信が終
了した場合には、CPU1は、次ページの受信画データ
が有るか否かの判断を行い(ステップS9)、次ページ
のデータが有る場合にはステップS2〜S9の処理を繰
り返し、次ページのデータがない場合には全ての処理を
終了する。
After the processing in steps S5, S6 and S7,
The CPU 1 determines whether or not the reception of the image data for one page has been completed (step S8). If the reception has not been completed, the CPU 1 returns to the step S2 and repeats the steps S2 to S2.
Step 8 is repeated. When the reception of the image data of one page is completed, the CPU 1 determines whether or not there is the received image data of the next page (step S9). The process of S9 is repeated, and if there is no data of the next page, all processes are ended.

【0029】以上の処理によれば、平滑化処理回路9に
対して、Z,Z,A,A,A,C,C,C・・・のよう
に、線密度変換されたラインデータが平滑化処理のため
に順次入力される。そして、この場合には、平滑化処理
に用いられる3本のラインデータがAAA或いはCCC
という全て同じラインになる場合はあるが、それが複数
回連続することはない。このため、エラー処理を行った
箇所についての平滑化処理の効果を極力高めることがで
き、受信ラインにエラーがあった場合でも、平滑化処理
の効果を十分に発揮して、画像を滑らかなものとするこ
とができ、画質を向上させることができる。
According to the above processing, the line data subjected to line density conversion such as Z, Z, A, A, A, C, C, C. Are sequentially input for the conversion process. In this case, the three line data used for the smoothing process are AAA or CCC.
May be all the same line, but it does not continue more than once. For this reason, the effect of the smoothing process on the place where the error processing is performed can be enhanced as much as possible. And image quality can be improved.

【0030】しかも、上記効果を達成するために、処理
の複雑な平滑化処理方式を変更しているわけではなく、
単にエラーラインに代えてその前後のラインを用いて線
密度変換を行っているだけなので、構成が簡単である。
In addition, in order to achieve the above-mentioned effects, the smoothing processing method having complicated processing is not changed.
Since the line density conversion is simply performed using the lines before and after the error line instead of the error line, the configuration is simple.

【0031】しかも、エラーラインの前後のラインは同
本ずつ均等に用いられるので、そのエラーラインの部分
を最もバランス良く埋めることができて、画質の低下を
極力抑えることができる。
Moreover, since the lines before and after the error line are equally used one by one, the portion of the error line can be filled with the best balance, and the deterioration of the image quality can be suppressed as much as possible.

【0032】尚、前述のフローチャートでは説明しなか
ったが、バッファメモリ8の第1〜第3ラインメモリ8
a〜8cは、復号されたラインデータの記憶のために順
次使用される。例えば、復号ラインデータが第1ライン
メモリ8aに記憶されると、次の復号ラインデータは第
2ラインメモリ8bに記憶され、次の復号ラインデータ
は第3ラインメモリ8cに記憶される。そして、次の復
号ラインデータは再び第1ラインメモリ8aに記憶され
る。このように、第1〜第3ラインメモリ8a〜8cは
順次繰り返して使用される。しかし、復号ラインデータ
がエラーラインの場合には、そのエラーラインが記憶さ
れたラインメモリ8a〜8cに次の復号ラインデータが
重ね書きされる。
Although not described in the above-mentioned flowchart, the first to third line memories 8 of the buffer memory 8 are not described.
a to 8c are sequentially used for storing the decoded line data. For example, when the decoded line data is stored in the first line memory 8a, the next decoded line data is stored in the second line memory 8b, and the next decoded line data is stored in the third line memory 8c. Then, the next decoded line data is stored again in the first line memory 8a. As described above, the first to third line memories 8a to 8c are used repeatedly in order. However, if the decoded line data is an error line, the next decoded line data is overwritten on the line memories 8a to 8c storing the error line.

【0033】又、実際には、ラインデータを復号してラ
インメモリ8a〜8cに記憶する処理と、ラインメモリ
8a〜8c内のラインデータを平滑化処理回路11に出
力する処理とは並行して行われる。しかも、平滑化処理
回路11に対するラインデータの出力は、3本のライン
メモリ8a〜8cのうち、2本のラインメモリ内に復号
ラインデータが記憶されて、残りのラインメモリに対す
る復号ラインデータの記憶が開始された時点で開始され
る。
In practice, the process of decoding the line data and storing it in the line memories 8a to 8c and the process of outputting the line data in the line memories 8a to 8c to the smoothing processing circuit 11 are performed in parallel. Done. Moreover, the output of the line data to the smoothing processing circuit 11 is such that the decoded line data is stored in two of the three line memories 8a to 8c, and the decoded line data is stored in the remaining line memories. Is started at the time when is started.

【0034】例えば、復号ラインデータが第3ラインメ
モリ8cに記憶されるのと並行して、第1ラインメモリ
8a内のラインデータが平滑化処理回路11に2回出力
される。そして、第3ラインメモリ8cに記憶されたラ
インデータがエラーラインであった場合には、次の復号
ラインデータは第3ラインメモリ8cに再度記憶される
が、その復号ラインの記憶処理と並行して、第2ライン
メモリ8b内のエラーライン直前のラインデータは、平
滑化処理回路11に3回出力される。このとき、ライン
データの出力が3回終了する前に第3ラインメモリ8c
に対する復号ラインデータの記憶が終了してしまうと、
次の復号ラインデータは、既に平滑化処理回路11に対
する出力の終了した第1ラインメモリ8aに記憶され
る。更に、第3ラインメモリ8c内のエラーライン直後
のラインデータが平滑化処理回路11に3回出力される
間に第1ラインメモリ8aに対する復号ラインデータの
記憶が終了してしまうと、次の復号ラインデータは、既
に平滑化処理回路11に対する出力の終了した第2ライ
ンメモリ8bに記憶される。
For example, in parallel with the decoding line data being stored in the third line memory 8c, the line data in the first line memory 8a is output to the smoothing processing circuit 11 twice. If the line data stored in the third line memory 8c is an error line, the next decoded line data is stored again in the third line memory 8c. The line data immediately before the error line in the second line memory 8b is output to the smoothing processing circuit 11 three times. At this time, before the output of the line data is completed three times, the third line memory 8c
When the storage of the decryption line data for
The next decoded line data is stored in the first line memory 8a whose output to the smoothing processing circuit 11 has already been completed. Further, when the storage of the decoded line data in the first line memory 8a is completed while the line data immediately after the error line in the third line memory 8c is output to the smoothing processing circuit three times, the next decoding is performed. The line data is stored in the second line memory 8b whose output to the smoothing processing circuit 11 has already been completed.

【0035】つまり、バッファメモリ8を2本のライン
メモリで構成した場合には、エラーラインの発生によ
り、そのエラーライン直後のラインデータを一方のライ
ンメモリから通常の2回より多い3回出力している間
に、他方のラインメモリに対する次の復号ラインデータ
の記憶が終了してしまう場合がある。そして、このよう
な場合には、一方のラインメモリからのラインデータの
3回の出力完了を待ってからでないと、次のラインデー
タの復号に移行できない。このため、復号処理がスムー
ズに行われなくなる。しかも、受信画データは連続して
送信されてくるので、受信されたラインデータの復号が
中断されている間、その受信ラインを一時的に蓄えるた
めに、その分モデムバッファ7の記憶容量を大きくする
必要が生じる。
That is, when the buffer memory 8 is composed of two line memories, the line data immediately after the error line is output from one line memory three times more than the normal two times due to the occurrence of the error line. During this operation, the storage of the next decoded line data in the other line memory may be terminated. In such a case, it is necessary to wait for the completion of the output of the line data from one line memory three times before the next line data can be decoded. For this reason, the decoding process is not performed smoothly. Moreover, since the received image data is continuously transmitted, while the decoding of the received line data is interrupted, the storage capacity of the modem buffer 7 is increased by that amount to temporarily store the received line. Need to be done.

【0036】しかし、本実施の一形態のように、バッフ
ァメモリ8を3本のラインメモリ8a〜8cで構成した
場合には、エラーラインが発生して同じラインデータを
3回出力する必要が生じても、その3回の出力のために
復号処理を中断するという必要はない。従って、復号処
理をスムーズに行うことができるとともに、モデムバッ
ファ7の記憶容量を大きくするといった必要は生じな
い。
However, when the buffer memory 8 is composed of three line memories 8a to 8c as in this embodiment, an error line occurs and it is necessary to output the same line data three times. However, there is no need to interrupt the decoding process for the three outputs. Therefore, the decoding process can be performed smoothly, and there is no need to increase the storage capacity of the modem buffer 7.

【0037】なお、この発明は、次のように変更して具
体化することも可能である。 (1) 平滑化処理の方式として、前記実施の一形態と
は異なる方式を用いること。例えば、平滑化処理に用い
られる3本のラインデータのうち、中間のラインデータ
のランレングスを、その前後のラインデータのランレン
グスの平均値とするといったような平滑化処理を行う。
この場合も、前記実施の一形態の場合と同様に滑らかで
高品質な画像が得られる。又、平滑化処理に用いるライ
ンデータを4本以上としたり、前記実施の一形態の平滑
化処理回路9におけるマトリクスを4×4以上のものと
したりすること。このようにすれば、所定の画素データ
の白黒を、その周囲の画素データの白黒のパターンをよ
り広く取り入れて決定することが可能となり、更に画像
を滑らかで高品質なものとすることができる。
The present invention can be embodied with the following modifications. (1) As a method of the smoothing processing, a method different from the above-described embodiment is used. For example, among the three line data used for the smoothing process, the smoothing process is performed such that the run length of the intermediate line data is set to the average value of the run lengths of the preceding and succeeding line data.
Also in this case, a smooth and high-quality image can be obtained as in the case of the first embodiment. Further, the number of line data used for the smoothing process is set to four or more, and the matrix in the smoothing processing circuit 9 of the embodiment is set to 4 × 4 or more. In this way, it is possible to determine the black and white of the predetermined pixel data by adopting the black and white pattern of the surrounding pixel data more widely, and it is possible to make the image smoother and of higher quality.

【0038】(2) エラーラインが2回以上連続した
場合も同様に、そのエラーラインの部分を前後の正常な
ラインデータを同数本ずつ用いて埋めること。 (3) 本実施の一形態のように、ノーマルモードから
ファインモード、即ち2倍の線密度変換を行う場合のみ
ならず、ノーマルモードからスーパーファインモード、
即ち4倍の線密度変換を行う場合も同様にエラーライン
の前後のラインを均等に用いること。又、2倍の線密度
変換として、ファインモードからスーパーファインモー
ドの場合についても適用すること。
(2) Similarly, when an error line continues two or more times, the error line portion is similarly filled with the same number of normal line data before and after the error line. (3) As in the embodiment, not only the case where the normal mode is changed to the fine mode, that is, the case where the double linear density conversion is performed, but also the case where the normal mode is changed to the super fine mode,
In other words, the lines before and after the error line are similarly used even when performing the quadruple line density conversion. In addition, the conversion from the fine mode to the super fine mode should be applied as the double linear density conversion.

【0039】この場合も前記実施の一形態と同様な効果
が得られる。
In this case, the same effect as in the first embodiment can be obtained.

【0040】[0040]

【発明の効果】 この発明は、以上のように構成されて
いるため、次のような効果を奏する。請求項1に記載の
発明によれば、線密度変換された受信画データを平滑化
処理するものにおいて、受信ラインにエラーがあった場
合でも、平滑化処理の効果を十分に発揮することがで
、更に、エラーラインの前後のラインを用いて線密度
変換を行う場合、前後のラインを均等に用いるため、
質を向上させることができる。
Since the present invention is configured as described above, it has the following effects. According to the first aspect of the present invention, in the smoothing processing of the received image data subjected to the linear density conversion, even if there is an error in the receiving line, the effect of the smoothing processing can be sufficiently exhibited. , And the line density using the lines before and after the error line.
When performing the conversion, the front and rear lines are used equally, so that the image quality can be improved.

【0041】[0041]

【0042】請求項に記載の発明によれば、平滑化処
理時において、ある画素データの白黒がその画素データ
の周囲の複数の画素データの白黒に対してより自然に調
和する方に決定されるため、画質を向上できる。
According to the second aspect of the present invention, during the smoothing process, the black and white of a certain pixel data is determined to be more naturally harmonized with the black and white of a plurality of pixel data surrounding the pixel data. Therefore, the image quality can be improved.

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

【図1】 実施の一形態を示すファクシミリ装置のブロ
ック回路図。
FIG. 1 is a block circuit diagram of a facsimile apparatus showing one embodiment.

【図2】 受信時における線密度変換処理を示すフロー
チャート。
FIG. 2 is a flowchart showing a linear density conversion process at the time of reception.

【図3】 平滑化処理回路による処理動作を概略的に示
す説明図。
FIG. 3 is an explanatory diagram schematically showing a processing operation by a smoothing processing circuit.

【図4】 線密度変換処理を概略的に示す説明図。FIG. 4 is an explanatory diagram schematically showing a linear density conversion process.

【図5】 従来の線密度変換処理を概略的に示す説明
図。
FIG. 5 is an explanatory view schematically showing a conventional linear density conversion process.

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

1…変換手段を構成するCPU、2…ROM、3…RA
M、8…バッファメモリ、9…平滑化手段としての平滑
化処理回路、10…記録部、11…判定処理回路。
1. CPU constituting conversion means, 2. ROM, 3. RA
M, 8: buffer memory, 9: smoothing processing circuit as smoothing means, 10: recording unit, 11: determination processing circuit.

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 受信画データを構成する各ラインデータ
を所定回ずつ連続させて所定倍の線密度に変換して出力
する変換手段と、線密度変換された画データを平滑化処
理する平滑化手段とを備えたファクシミリ装置におい
て、前記変換手段は、2n(nは自然数)倍の線密度に
変換するものであって、受信ラインがエラーラインの場
合には、そのエラーラインに代えて同ラインの前後のラ
インデータをn回ずつ出力することにより線密度変換を
行うファクシミリ装置。
1. A conversion means for continuously converting each line data constituting received image data a predetermined number of times, converting the line data to a predetermined double line density and outputting the same, and a smoothing unit for performing a smoothing process on the line density converted image data. A facsimile apparatus comprising: means for converting the linear density to 2n (n is a natural number) times the linear density;
If the receiving line is an error line
In that case, replace the error line with the lines before and after the line.
Outputting in-data n times enables linear density conversion.
Facsimile machine to do .
【請求項2】 前記平滑化手段は、各ラインデータにお
ける各画素データの白黒を、その画素データの周囲に存
在する複数の画素データの白黒に応じて決定する請求項
1に記載のファクシミリ装置。
2. The image processing apparatus according to claim 1, wherein the smoothing means determines black and white of each pixel data in each line data according to black and white of a plurality of pixel data existing around the pixel data.
The facsimile apparatus according to claim 1 .
JP7175160A 1995-07-11 1995-07-11 Facsimile machine Expired - Fee Related JP2940441B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7175160A JP2940441B2 (en) 1995-07-11 1995-07-11 Facsimile machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7175160A JP2940441B2 (en) 1995-07-11 1995-07-11 Facsimile machine

Publications (2)

Publication Number Publication Date
JPH0927899A JPH0927899A (en) 1997-01-28
JP2940441B2 true JP2940441B2 (en) 1999-08-25

Family

ID=15991318

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7175160A Expired - Fee Related JP2940441B2 (en) 1995-07-11 1995-07-11 Facsimile machine

Country Status (1)

Country Link
JP (1) JP2940441B2 (en)

Also Published As

Publication number Publication date
JPH0927899A (en) 1997-01-28

Similar Documents

Publication Publication Date Title
US6034786A (en) Apparatus and method for enlarging or reducing an image in an image processing system
US5787239A (en) Image processing/communication system
US4688100A (en) Video data encoding/decoding apparatus
EP0621720B1 (en) Facsimile apparatus and method of outputting results of facsimile communication
US20050074173A1 (en) Image processing apparatus and method of using the same
JP2940441B2 (en) Facsimile machine
US5329380A (en) Image processing machine
EP0596644A2 (en) Image processing apparatus
US6061151A (en) Image processing method and apparatus
JP3265100B2 (en) Facsimile machine
JP3537589B2 (en) Image processing device
JP3347944B2 (en) Image encoding method and apparatus
JP3308995B2 (en) Image receiving device
EP0496619B1 (en) Image processing machine
JP2604188B2 (en) Facsimile machine
US4716467A (en) Speed-up method and apparatus for two-dimensional facsimile coding and decoding
JP2945017B2 (en) Control system for facsimile machine
JP2810838B2 (en) Binary image transmission device
JP4219079B2 (en) Image processing device
JP3032265B2 (en) Image processing method for facsimile machine
JPH07336532A (en) Facsimile equipment
JP2869104B2 (en) Facsimile machine with storage function
JPH06197189A (en) Fax machine
JP3060450U (en) Fax reception data processor
JP2695501B2 (en) Facsimile machine

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080618

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20110618

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20110618

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20120618

Year of fee payment: 13

LAPS Cancellation because of no payment of annual fees