JPH08186717A - Communication equipment - Google Patents

Communication equipment

Info

Publication number
JPH08186717A
JPH08186717A JP47295A JP47295A JPH08186717A JP H08186717 A JPH08186717 A JP H08186717A JP 47295 A JP47295 A JP 47295A JP 47295 A JP47295 A JP 47295A JP H08186717 A JPH08186717 A JP H08186717A
Authority
JP
Japan
Prior art keywords
pixel
encoding
image data
image
pixels
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP47295A
Other languages
Japanese (ja)
Inventor
Koichi Shibata
浩一 柴田
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.)
Kyocera Mita Industrial Co Ltd
Original Assignee
Mita Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mita Industrial Co Ltd filed Critical Mita Industrial Co Ltd
Priority to JP47295A priority Critical patent/JPH08186717A/en
Publication of JPH08186717A publication Critical patent/JPH08186717A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To provide a communication equipment provided with a function for promptly deciding the position of an adaptive template capable of efficiently encoding picture data. CONSTITUTION: A facsimile equipment binarizes the picture data read in a read part 1 in a picture processing part 2, encodes them in an encoding/decoding device 6, outputs them through a modem 7 and an NCU 8 to a telephone line and transmits them to a reception side. Prior to encoding, a control part 3 calculates an autocorrelation coefficient for the picture element block of a prescribed size or the prescribed number of the picture element lines of the binarized picture data, finds a picture element interval for indicating high correlation and defines it as the relative position of an adaptive template picture element and an encoding object picture element. The encoding/decoding device 6 refers to the adaptive template picture element and performs the encoding.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はファクシミリや、データ
伝送機能を備えた電子複写機およびイメージスキャナー
等の通信装置に関するものであり、より詳しくは伝送さ
れる画像データの符号化に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication device such as a facsimile, an electronic copying machine having a data transmission function and an image scanner, and more particularly to encoding of transmitted image data.

【0002】[0002]

【従来の技術】現在広範に普及しているファクシミリに
おいては、2値(0/1、Lレベル/Hレベル等)化さ
れた画像データの伝送が行われる。また、電子複写機に
おいても2値化された画像データが取り扱われ、昨今で
は2値化した画像データを磁気ディスク等の記憶装置に
格納し、必要に応じて読み出して画像を再生することが
行われるようになっている。近年では画像データの多様
化とともに、画像の高解像度化すなわち画素数の高密度
化の要求も高まり、必然的に伝送あるいは格納すべきデ
ータ量も膨大なものになっている。
2. Description of the Related Art In facsimiles, which are now widely used, binary (0/1, L level / H level, etc.) image data is transmitted. Further, binarized image data is also handled in an electronic copying machine, and recently binarized image data is stored in a storage device such as a magnetic disk and can be read out to reproduce an image as needed. It is supposed to be. In recent years, along with the diversification of image data, there has been an increasing demand for higher resolution of images, that is, higher density of the number of pixels, and the amount of data to be transmitted or stored is inevitably huge.

【0003】画像データの伝送を効率よく行うために2
値化データを符号化し圧縮することがなされるが、その
方法として、モディファイドハフマン(MH)、モディ
ファイドリード(MR)、モディファイド・モディファ
イドリード(MMR)方式が標準化され、実用に供され
ている。これらの符号化方式では、原稿画像を走査して
読み取った順序で2値データを符号化するシーケンシャ
ルビルドアップが行われる。シーケンシャルビルドアッ
プは、ファクシミリのように、送信側装置が原稿の紙面
を左から右へ上から下へと走査して送信し、受信側装置
が受信した順序で復号化し紙面上に画像を再生するもの
では、受信側装置に受信したデータを記憶しておく必要
がなく便利である。
In order to efficiently transmit image data, 2
The value-coded data is encoded and compressed, and as its method, the modified Huffman (MH), modified read (MR), and modified / modified read (MMR) methods have been standardized and put into practical use. In these encoding methods, sequential buildup is performed in which binary data is encoded in the order in which the original image is scanned and read. In sequential build-up, like a facsimile, the sending device scans the paper surface of the document from left to right from top to bottom and transmits, and the receiving device decodes in the order received and reproduces the image on the paper surface. This is convenient because it is not necessary to store the received data in the receiving side device.

【0004】一方、高解像度の画像が常に要求されるも
のでもなく、粗い品質でも画像全体を速やかに伝送して
再生することが必要なこともある。しかし、上述のシー
ケンシャルビルドアップでは、これに十分に対処するこ
とは容易ではない。このために、まず粗い画像データを
伝送し、必要に応じて追加データを加えて、次第に再生
画像を高解像度化していくプログレッシブビルドアップ
が注目されてきている。さらに、中間階調の画像の高速
かつ忠実な再生の要求も高まっている。
On the other hand, a high resolution image is not always required, and it may be necessary to quickly transmit and reproduce the entire image even with a rough quality. However, it is not easy to sufficiently deal with this in the above sequential buildup. For this reason, progressive build-up, in which coarse image data is first transmitted, and additional data is added as necessary to gradually increase the resolution of a reproduced image, has been receiving attention. Furthermore, there is an increasing demand for high-speed and faithful reproduction of halftone images.

【0005】このような状況下でJBIG(Joint Bi-l
evel Image Coding Experts Group)が設立され、2値
データの効率的符号化が検討されている。JBIGで
は、プログレッシブビルドアップとシーケンシャルビル
ドアップの並立、高いデータ圧縮効果、情報保存性およ
び高速処理を主な課題とし、このために図6に示した2
値データ符号化のベースシステムを採用している。
Under such circumstances, JBIG (Joint Bi-l
evel Image Coding Experts Group) was established to study efficient coding of binary data. In JBIG, the main issues are parallelization of progressive build-up and sequential build-up, high data compression effect, information storability, and high-speed processing.
The base system of value data encoding is adopted.

【0006】まず、画像縮小によってプログレッシブビ
ルドアップの階層画像(解像度の異なる画像)を作成す
る。次いで、値既知の画素から必然的に値が決定される
画素、すなわち符号化を行う必要のない画素を見いだ
す。これは、例えば全画素が空白なラインのように画像
縮小の方式によらず画素値が決まるものと、画像縮小の
方式に依存して画素値が決まるものに分けて、2段階で
行う。前者が典型的予測であり、後者が決定的予測であ
る。これにより、符号化対象画素の数が減少する。符号
化の対象として残った画素については、テンプレートと
呼ばれる画素群を参照して、算術符号化を行う。算術符
号化にはQMコーダーと呼ばれる方式が採用されてい
る。
First, a progressive build-up hierarchical image (images having different resolutions) is created by image reduction. Next, a pixel whose value is inevitably determined, that is, a pixel which does not need to be encoded is found from pixels whose values are known. This is performed in two steps, for example, a line in which all pixels are blank, in which the pixel value is determined irrespective of the image reduction method, and a line in which the pixel value is determined depending on the image reduction method. The former is a typical prediction and the latter is a definitive prediction. This reduces the number of pixels to be encoded. For the pixels remaining as the encoding target, arithmetic encoding is performed with reference to a pixel group called a template. A method called a QM coder is adopted for arithmetic coding.

【0007】符号化対象画素(以下単に符号化画素とも
いう)の符号化に際して参照するテンプレートには、モ
デルテンプレートとアダプティブテンプレート(AT)
がある。モデルテンプレートは符号化画素の近傍に位置
する符号化済みの画素の集合であり、モデルテンプレー
トを構成する画素の数と符号化画素に対する位置関係は
定められている。例えば、プログレッシブビルドアップ
における最低解像度の層の画像には、図7にMで示した
9画素からなる2ラインのものと、図8にMで示した9
画素からなる3ラインのものとが用いられる。両図にお
いてCは符号化画素である。より解像度の高い層では、
構成画素数の異なる他のモデルテンプレートが用意され
ている。シーケンシャルビルドアップにおいては、ただ
1つの階層が存在するのみであり、図7、8のモデルテ
ンプレートが使用される。
A model template and an adaptive template (AT) are used as templates to be referred to when encoding a pixel to be encoded (hereinafter also simply referred to as an encoded pixel).
There is. The model template is a set of coded pixels located in the vicinity of the coded pixels, and the number of pixels forming the model template and the positional relationship with the coded pixels are defined. For example, the image of the lowest resolution layer in the progressive build-up has two lines of 9 pixels shown by M in FIG. 7 and 9 lines shown by M in FIG.
The one with three lines of pixels is used. In both figures, C is a coded pixel. For higher resolution layers,
Other model templates having different numbers of constituent pixels are prepared. In sequential build-up, there is only one hierarchy and the model templates in Figures 7 and 8 are used.

【0008】一方、アダプティブテンプレートは、符号
化画素に対する位置関係を固定されたものではなく、画
像に応じて位置を設定することができる。最低解像度の
層の画像におけるアダプティブテンプレートのデフォル
ト位置を図7および図8のAに示す。アダプティブテン
プレートは、画素間に周期的な相関がある画像に対して
符号化効率の改善を図るものであり、画素の相関を考慮
して選出される。特に、中間階調の画像を所定の閾値と
比較して2値化したディザ画像のように、画素値に一定
周期で強い相関がある画像に用いて、符号化効率を向上
させるものである。
On the other hand, the adaptive template does not have a fixed positional relationship with respect to the coded pixels, but the position can be set according to the image. The default position of the adaptive template in the lowest resolution layer image is shown in FIGS. 7 and 8A. The adaptive template aims to improve the coding efficiency for an image having a periodic correlation between pixels, and is selected in consideration of the correlation of pixels. In particular, it is used for an image having a strong correlation in a pixel value at a constant cycle, such as a dither image obtained by binarizing an image of a halftone with a predetermined threshold value, to improve coding efficiency.

【0009】図7および図8において、x、yは符号化
画素Cを原点としたときの座標軸で、xの矢印は主走査
方向の前方、yの矢印は副走査方向の後方を表す。符号
化が進むにつれて、符号化画素は主走査方向に1画素ず
つ移動するが、これに応じてモデルテンプレートとアダ
プティブテンプレートの画素位置も1画素ずつ移動し、
画像の周辺部領域を除き符号化画素に対するテンプレー
トの相対位置は一定に保たれる。画像データの周辺部領
域に存在する符号化画素については、モデルテンプレー
トおよびアダプティブテンプレートの相対位置を一定に
保つことはできなくなるが、これについては別に例外規
定が定められている。
In FIGS. 7 and 8, x and y are coordinate axes when the coded pixel C is the origin, the arrow x indicates the front in the main scanning direction, and the arrow y indicates the rear in the sub scanning direction. As the encoding progresses, the encoded pixel moves by one pixel in the main scanning direction, and the pixel positions of the model template and the adaptive template also move by one pixel accordingly.
The relative position of the template with respect to the coded pixel is kept constant except for the peripheral area of the image. For the coded pixels existing in the peripheral area of the image data, the relative positions of the model template and the adaptive template cannot be kept constant, but an exception is defined separately for this.

【0010】モデルテンプレートの選択および符号化画
素に対するアダプティブテンプレートの位置の決定は、
送信側が伝送する画像に応じて行う。選択されたモデル
テンプレートおよびアダプティブテンプレート位置は符
号化に用いる他の情報とともにヘッダーに記述されて、
画像データに先だって送信される。受信側では符号化さ
れた画像データをヘッダーに記された情報に基づいて復
号化する。したがって、送信側で原稿を走査して読み取
った画像データが、受信側で確実に再生されることにな
る。
The selection of the model template and the determination of the position of the adaptive template with respect to the coded pixel are
It is performed according to the image transmitted by the transmitting side. The selected model template and adaptive template position are described in the header along with other information used for encoding,
It is sent before the image data. The receiving side decodes the encoded image data based on the information written in the header. Therefore, the image data obtained by scanning and reading the original on the transmitting side is surely reproduced on the receiving side.

【0011】画像データの圧縮率は種々の方法で表すこ
とができるが、式(1)で表すのが最も一般的である。
式(1)は符号化前の画像データの大きさに対する符号
化後の画像データの大きさを表しており、数値が小さい
ほど圧縮率が高いことを意味する。
The compression rate of image data can be expressed by various methods, but the most general expression is expressed by the equation (1).
Expression (1) represents the size of the image data after encoding with respect to the size of the image data before encoding, and the smaller the value, the higher the compression rate.

【0012】[0012]

【数1】 [Equation 1]

【0013】CCITT(国際電信電話諮問委員会)の
No.1原稿画像を符号化した場合、MH、MR、MM
RおよびJBIG方式ではそれぞれ、0.14、0.1
3、0.035および0.028という圧縮率が得られ
ている。同原稿画像は文字、表、グラフ等からなる画像
データであり、いずれの方式によっても良好に圧縮され
る。しかしながら、従来の前3者の方式は中間階調の画
像データを対象としたものではないため、このような画
像データに対しては圧縮効率が著しく低下し、圧縮率が
1以上になって逆にデータ量が増大することが知られて
いる。これに対し、JBIG方式では中間階調の画像デ
ータに対しても圧縮率が0.1程度の良好な圧縮ができ
ると期待されている。
CCITT (International Telegraph and Telephone Consultative Committee) No. When one original image is encoded, MH, MR, MM
In the R and JBIG systems, 0.14 and 0.1, respectively.
Compression ratios of 3, 0.035 and 0.028 have been obtained. The original document image is image data composed of characters, tables, graphs, etc., and is compressed well by any method. However, the former three methods are not intended for the image data of the intermediate gradation, so that the compression efficiency is significantly reduced for such image data, and the compression rate becomes 1 or more and the reverse It is known that the amount of data increases. On the other hand, the JBIG method is expected to achieve good compression with a compression rate of about 0.1 even for image data of halftone.

【0014】[0014]

【発明が解決しようとする課題】前述のように、アダプ
ティブテンプレートは画素間に周期的相関がある画像を
効率よく符号化し圧縮するために参照されるものである
が、JBIGではアダプティブテンプレート画素の存在
範囲を規定してはいるものの、アダプティブテンプレー
ト画素の位置の決定方法に関しては指示していない。ま
た、アダプティブテンプレート画素位置の決定方法を示
す従来技術は見あたらない。
As described above, the adaptive template is referred to in order to efficiently encode and compress an image having a periodic correlation between pixels. In JBIG, the adaptive template pixel exists. Although it defines the range, it does not give instructions on how to determine the position of the adaptive template pixel. Further, there is no conventional technique showing a method of determining the adaptive template pixel position.

【0015】アダプティブテンプレートとしては、その
目的からして、符号化画素との相関が高い画素を用いる
ことが重要である。符号化画素と相関の低い画素をアダ
プティブテンプレートとしたときには、符号化の効率が
低下し圧縮率も低下する。その一方、アダプティブテン
プレート位置決定に長時間を要するときには、たとえ符
号化の効率が向上しても、画像データの伝送全体として
の効率低下を招く恐れがある。
For the purpose of the adaptive template, it is important to use a pixel having a high correlation with the coded pixel. When the adaptive template is a pixel having a low correlation with the coded pixel, the coding efficiency is lowered and the compression rate is also lowered. On the other hand, when it takes a long time to determine the position of the adaptive template, even if the coding efficiency is improved, the efficiency of the entire transmission of the image data may be lowered.

【0016】本発明は、画像データの符号化を効率よく
なし得るアダプティブテンプレート画素の位置を速やか
に決定する機能を備えた通信装置を提供することを目的
とする。
It is an object of the present invention to provide a communication device having a function of rapidly determining the position of an adaptive template pixel which can efficiently encode image data.

【0017】[0017]

【課題を解決するための手段】上記目的を達成するため
に、本発明では、JBIG符号化方式に従って画像デー
タを符号化する通信装置において、一列に連続して並ぶ
複数画素を画素ラインとし、所定数の画素ラインそれぞ
れについて、画素値の自己相関係数を算出して最大の相
関係数を与える画素間隔を求めるアルゴリズムを遂行す
る手段と、前記画素間隔のうち最大出現頻度の画素間隔
に基づいてアダプティブテンプレート画素の位置を決定
し、画像データを符号化する符号化手段とを備える構成
とする。
In order to achieve the above object, according to the present invention, in a communication device for encoding image data according to the JBIG encoding method, a plurality of pixels lined up in a row are defined as pixel lines, A means for performing an algorithm for calculating a pixel interval that gives a maximum correlation coefficient for each of a number of pixel lines, and based on the pixel interval having the maximum appearance frequency among the pixel intervals. Coding means for deciding positions of adaptive template pixels and coding image data.

【0018】また、2値化された画素からなる画像デー
タを符号化して伝送する通信装置において、画素が一列
に連続して並ぶ画素ラインの複数の画素ラインそれぞれ
について、画素値の自己相関係数を算出して最大の相関
係数を与える画素間隔を求める手段と、前記画素間隔の
うち最も高頻度で出現したものを参照間隔として、符号
化対象画素から参照間隔だけ離れた位置にある画素を参
照して符号化対象画素の符号化を行う符号化手段とを備
える。
In addition, in a communication device that encodes and transmits image data composed of binarized pixels, the autocorrelation coefficient of the pixel value of each of a plurality of pixel lines in which the pixels are continuously arranged in a line. To obtain a pixel interval that gives the maximum correlation coefficient, and a pixel located at a position separated from the encoding target pixel by the reference interval with the one that appears most frequently among the pixel intervals as the reference interval. And a coding unit that codes the pixel to be coded with reference.

【0019】さらに、2値化された画素からなる画像デ
ータを符号化して伝送する通信装置において、画素が縦
方向と横方向に連続して並ぶ画素ブロックについて、画
素値の2次元自己相関係数を算出して最大の相関係数を
与える縦方向の画素間隔と横方向の画素間隔を求める手
段と、符号化対象画素から縦方向と横方向にそれぞれ前
記縦方向の画素間隔と横方向の画素間隔だけ離れた位置
にある画素を参照して符号化対象画素の符号化を行う符
号化手段とを備える構成とする。
Further, in a communication device which encodes and transmits image data composed of binarized pixels, a two-dimensional autocorrelation coefficient of pixel values of a pixel block in which pixels are continuously arranged in a vertical direction and a horizontal direction. For obtaining the maximum correlation coefficient to obtain the vertical pixel interval and the horizontal pixel interval, and the vertical pixel interval and the horizontal pixel from the encoding target pixel in the vertical direction and the horizontal direction, respectively. Coding means for coding a pixel to be coded with reference to pixels located at a distance.

【0020】具体的には、ファクシミリ装置において上
記構成を実現する。
Specifically, the above configuration is realized in a facsimile machine.

【0021】また、原稿読み取り手段と、原稿読み取り
手段によって読み取られた画像データを処理するととも
に画像データを符号化手段に与える画像処理手段と、符
号化手段によって符号化された画像データを記憶装置へ
送信する送信手段とを備える複写機およびイメージスキ
ャナーにおいて上記構成を実現してもよい。
Further, a document reading unit, an image processing unit for processing the image data read by the document reading unit and giving the image data to the encoding unit, and the image data encoded by the encoding unit to the storage device. The above configuration may be realized in a copying machine and an image scanner that include a transmitting unit that transmits.

【0022】[0022]

【作用】JBIG符号化方式に従って画像データを符号
化する通信装置において、一列に連続して並ぶ複数画素
を画素ラインとし、所定数の画素ラインそれぞれについ
て、画素値の自己相関係数を算出して最大の相関係数を
与える画素間隔を求めるアルゴリズムを遂行する手段
と、前記画素間隔のうち最大出現頻度の画素間隔に基づ
いてアダプティブテンプレート画素の位置を決定し、画
像データを符号化する符号化手段とを備える構成とした
ときには、最大の相関を有する画素間隔が画素ラインご
とに求められる。この画素間隔は画素ラインごとに異な
るが、所定数の画素ラインについて頻度高く出現するも
のは、その画像全体に亙って出現率が高いものと期待で
きる。最大出現頻度の画素間隔に基づいて位置を決定さ
れるアダプティブテンプレート画素は符号化される画素
との相関の確率が極めて高くなる。
In a communication device that encodes image data according to the JBIG encoding method, a plurality of pixels arranged in a row in a row is used as a pixel line, and an autocorrelation coefficient of pixel values is calculated for each of a predetermined number of pixel lines. Means for executing an algorithm for obtaining a pixel interval giving the maximum correlation coefficient, and encoding means for deciding the position of the adaptive template pixel based on the pixel interval having the maximum appearance frequency among the pixel intervals and encoding the image data. When the configuration is provided with, the pixel interval having the maximum correlation is obtained for each pixel line. Although this pixel interval differs for each pixel line, it can be expected that a pixel that frequently appears in a predetermined number of pixel lines has a high appearance rate over the entire image. An adaptive template pixel whose position is determined based on the pixel interval of the maximum appearance frequency has a very high probability of correlation with the pixel to be encoded.

【0023】また、2値化された画素からなる画像デー
タを符号化して伝送する通信装置において、画素が一列
に連続して並ぶ画素ラインの複数の画素ラインそれぞれ
について、画素値の自己相関係数を算出して最大の相関
係数を与える画素間隔を求める手段と、前記画素間隔の
うち最も高頻度で出現したものを参照間隔として、符号
化対象画素から参照間隔だけ離れた位置にある画素を参
照して符号化対象画素の符号化を行う符号化手段とを備
えるときは、最大の相関を有する画素間隔が画素ライン
ごとに求められる。この画素間隔のうち複数の画素ライ
ンにおいて最高頻度で出現した参照間隔は、画像データ
のうち実際に相関を算出しない画素においても、強い相
関がある画素同士の間隔を示す確率が高い。したがっ
て、符号化対象画素から参照間隔だけ離れた位置にある
画素は符号化対象画素と高い確率で相関する。
Further, in a communication device for encoding and transmitting image data composed of binarized pixels, an autocorrelation coefficient of pixel values is obtained for each of a plurality of pixel lines in which pixels are continuously arranged in a line. To obtain a pixel interval that gives the maximum correlation coefficient, and a pixel located at a position separated from the encoding target pixel by the reference interval with the one that appears most frequently among the pixel intervals as the reference interval. When a coding unit for coding the pixel to be coded by reference is provided, the pixel interval having the maximum correlation is obtained for each pixel line. Of the pixel intervals, the reference interval that appears at the highest frequency in a plurality of pixel lines has a high probability of indicating the interval between pixels having a strong correlation even in the pixels of the image data for which the correlation is not actually calculated. Therefore, the pixel located at the reference distance from the pixel to be encoded correlates with the pixel to be encoded with high probability.

【0024】さらに、2値化された画素からなる画像デ
ータを符号化して伝送する通信装置において、画素が縦
方向と横方向に連続して並ぶ画素ブロックについて、画
素値の2次元自己相関係数を算出して最大の相関係数を
与える縦方向の画素間隔と横方向の画素間隔を求める手
段と、符号化対象画素から縦方向と横方向にそれぞれ前
記縦方向の画素間隔と横方向の画素間隔だけ離れた位置
にある画素を参照して符号化対象画素の符号化を行う符
号化手段とを備える構成では、画素ブロック内で最大の
相関をもつ画素間隔が縦方向、横方向ともに求められ
る。縦方向、横方向にこれらと同じ画素間隔で位置する
2つの画素は、画素ブロック外においても相関する確率
が高い。したがって、符号化対象画素の符号化に際し、
高い確率で相関する画素が参照されることになる。
Further, in a communication device which encodes and transmits image data composed of binarized pixels, a two-dimensional autocorrelation coefficient of pixel values of a pixel block in which pixels are continuously arranged in a vertical direction and a horizontal direction. For obtaining the maximum correlation coefficient to obtain the vertical pixel interval and the horizontal pixel interval, and the vertical pixel interval and the horizontal pixel from the encoding target pixel in the vertical direction and the horizontal direction, respectively. In a configuration including a coding unit that codes a pixel to be coded by referring to pixels located at positions separated by an interval, the pixel interval having the maximum correlation in a pixel block is obtained in both the vertical and horizontal directions. . Two pixels located in the vertical direction and the horizontal direction at the same pixel interval as each other have a high probability of correlation even outside the pixel block. Therefore, when encoding the pixel to be encoded,
Pixels that are highly correlated will be referenced.

【0025】具体的にファクシミリ装置において上記構
成を実現すると、符号化に際して参照される画素が符号
化対象画素と高い確率で相関するため、符号化効率が高
くなり圧縮率も向上して、ファクシミリ装置の画像デー
タの伝送時間が短縮される。
When the above configuration is specifically realized in the facsimile apparatus, the pixel referred to at the time of encoding correlates with the pixel to be encoded with a high probability, so that the encoding efficiency is increased and the compression rate is also improved. The transmission time of the image data is shortened.

【0026】また、原稿読み取り手段と、原稿読み取り
手段によって読み取られた画像データを処理するととも
に画像データを符号化手段に与える画像処理手段と、符
号化手段によって符号化された画像データを記憶装置へ
送信する送信手段とを備える複写機およびイメージスキ
ャナーにおいて上記構成を実現すると、原稿読み取り手
段により読み取られ画像処理手段により処理された画像
データは、相関の高い画素を参照して符号化されること
になり、効率よく符号化され圧縮される。したがって、
複写機およびイメージスキャナーの送信手段から記憶装
置への伝送時間が短縮されるとともに、記憶装置に記憶
されるデータ量が減少する。
Further, an original reading means, an image processing means for processing the image data read by the original reading means and giving the image data to the encoding means, and the image data encoded by the encoding means to the storage device. When the above-described configuration is realized in a copying machine and an image scanner including a transmitting unit for transmitting, the image data read by the document reading unit and processed by the image processing unit is coded with reference to highly correlated pixels. Therefore, it is efficiently encoded and compressed. Therefore,
The transmission time from the transmission means of the copying machine and the image scanner to the storage device is shortened, and the amount of data stored in the storage device is reduced.

【0027】[0027]

【実施例】本発明をファクシミリに適用した第1の実施
例の構成を図1のブロック図に示す。本実施例のファク
シミリ装置は、原稿画像を読み取る読み取り部1、読み
取り部1の画像データ出力を処理する画像処理部2、装
置全体の制御を行う制御部3、制御用のプログラム等を
格納するROM4、画像データ等を一時格納するRAM
5、画像データの符号化と復号化を行う符号化復号化装
置6、符号化された画像データの変調および復調を行う
モデム7、電話回線との接続およびデータ伝送を行うN
CU(ネットワークコントロールユニット)8、使用者
が制御部3に指示を与える操作部9、および画像データ
を記録紙に出力する記録部10を有している。
1 is a block diagram showing the configuration of a first embodiment in which the present invention is applied to a facsimile. The facsimile apparatus according to the present exemplary embodiment includes a reading unit 1 that reads a document image, an image processing unit 2 that processes image data output from the reading unit 1, a control unit 3 that controls the entire apparatus, and a ROM 4 that stores a control program and the like. RAM for temporarily storing image data, etc.
5, encoding / decoding device 6 for encoding and decoding image data, modem 7 for modulating and demodulating encoded image data, N for connecting to a telephone line and transmitting data
It has a CU (network control unit) 8, an operation unit 9 for a user to give an instruction to the control unit 3, and a recording unit 10 for outputting image data on a recording sheet.

【0028】読み取り部1は光源とCCD(電荷結合素
子)を備えており、光源から原稿画像に光を照射し反射
光をCCDで検出することで、原稿の画像を読み取る。
画像の読み取りは、横方向への走査(主走査)を所定の
ピッチで縦方向に繰り返して(副走査)行われる。CC
Dは検出した光を画素ごとのアナログ信号として出力す
る。
The reading unit 1 is equipped with a light source and a CCD (charge coupled device). The image of the original is read by irradiating the original image with light from the light source and detecting the reflected light with the CCD.
The image is read by repeating scanning in the horizontal direction (main scanning) in the vertical direction at a predetermined pitch (sub scanning). CC
D outputs the detected light as an analog signal for each pixel.

【0029】画像処理部2は読み取り部1のCCDから
のアナログ出力に対して、CCDの感度のばらつきに起
因する補正等のシェーディング処理をした後、所定の閾
値と比較して画像データを画素ごとに2値化する。ま
た、2種類のディザマトリックスを有しており、中間階
調の画像に対しては2値化に際して、これらのマトリッ
クスを用いてディザ処理を行う。
The image processing unit 2 performs shading processing such as correction on the analog output from the CCD of the reading unit 1 due to variations in CCD sensitivity, and then compares the image data with a predetermined threshold value for each pixel. Binarize to. Further, it has two types of dither matrices, and when binarizing an image of an intermediate gradation, dither processing is performed using these matrices.

【0030】ROM4は、装置制御用のプログラムに加
えて、図6に示したJBIGの種々の処理を行うプログ
ラムやモデルテンプレートをはじめとする各種テーブル
を格納している。RAM5は画像処理部2で2値化され
た画像データを送信時まで記憶保持するとともに、制御
部3で行われる種々の演算結果を一時的に格納するもの
である。また、受信した画像データを記憶保持する。符
号化復号化装置6は、送信用の画像データに対しては、
QMコーダーによって算術符号化を行う。受信した画像
データに対しては、符号化されている画像データを逆の
手順で復号化して、画像を再生する。モデム7およびN
CU8は、公知の標準的方法によって画像データの送信
と受信を行う。
In addition to the device control program, the ROM 4 stores various tables including programs and model templates for performing various JBIG processes shown in FIG. The RAM 5 stores and holds the image data binarized by the image processing unit 2 until transmission, and also temporarily stores various calculation results performed by the control unit 3. Also, the received image data is stored and held. The encoding / decoding device 6 receives the image data for transmission,
Arithmetic coding is performed by the QM coder. For the received image data, the encoded image data is decoded in the reverse procedure to reproduce the image. Modem 7 and N
The CU 8 transmits and receives image data by a known standard method.

【0031】制御部3はマイクロコンピュータからな
り、ROM4に格納されたプログラムを読み込んでファ
クシミリ装置全体の制御を行う。また、符号化の際に参
照されるアダプティブテンプレート画素の位置を決定す
る。制御部3には、使用者が指定した時刻に画像データ
の送信を行うタイマー送信のためにタイマー回路11が
備えられている。
The control unit 3 is composed of a microcomputer and reads the program stored in the ROM 4 to control the entire facsimile apparatus. Moreover, the position of the adaptive template pixel referred to at the time of encoding is determined. The control unit 3 includes a timer circuit 11 for timer transmission that transmits image data at a time designated by the user.

【0032】図2に操作部9の一部外観を示す。操作部
9は、ファクシミリ番号等の数値を入力するテンキー5
1、原稿読み取り開始を指示するスタートキー52、動
作中止を指示するストップキー53、RAM5に保持さ
れている受信データの記録部10による出力の開始を指
示するメモリープリントキー54、送信時刻の指定開始
を指示するタイマーキー55等の諸キーとともに、LC
D(液晶表示装置)からなる表示パネル56を有してい
る。
FIG. 2 shows a partial external view of the operation section 9. The operation unit 9 is a numeric keypad 5 for inputting a numerical value such as a facsimile number.
1, a start key 52 for instructing the start of reading an original, a stop key 53 for instructing to stop the operation, a memory print key 54 for instructing the output of the received data held in the RAM 5 by the recording unit 10, a start of designation of the transmission time Together with various keys such as the timer key 55 to indicate the
It has a display panel 56 made of D (liquid crystal display device).

【0033】テンキー51から入力された送信先ファク
シミリ番号は表示パネル56に表示され、確認すること
ができる。入力した番号に誤りがあった場合は、カーソ
ルキー57により表示パネル56のカーソルをその桁に
移動させて、テンキー51から数字を再入力し、設定キ
ー58で確定する。タイマー送信を行うときには、タイ
マーキー55を操作した後テンキー51から送信時刻を
入力する。入力された送信時刻は表示パネル56に表示
され、ファクシミリ番号と同様にカーソルキー57等の
操作により変更することができる。表示パネル56は操
作に関する簡単なメッセージも表示して、使用者の入力
操作を援助する。
The destination facsimile number input from the ten keys 51 is displayed on the display panel 56 and can be confirmed. If there is an error in the entered number, the cursor key 57 is used to move the cursor on the display panel 56 to that digit, the numeric keypad 51 is used to re-enter a number, and the setting key 58 is used to confirm. When performing timer transmission, the timer key 55 is operated and then the transmission time is input from the ten keys 51. The input transmission time is displayed on the display panel 56, and can be changed by operating the cursor key 57 or the like, like the facsimile number. The display panel 56 also displays a simple message regarding the operation to assist the user in the input operation.

【0034】操作部9には、装置の状況を表示する状況
表示部59、原稿の画像濃度を指示するための濃度指定
部60、原稿画像の画質を指示するための画質指定部6
1が備えられている。状況表示部59はLED(発光ダ
イオード)を有しており、装置に異常あるいは使用者の
誤操作があったとき、記録部10の記録紙がなくなった
とき、受信した画像データがRAM5に保持されている
とき、自動受信モードになっているときには、それぞ
れ、エラー、用紙補給、メモリー、自動受信に対応する
LEDが点灯して使用者に知らせる。メモリーのLED
62が点灯している場合、メモリープリントキー54を
操作することにより、RAM5に保持された画像データ
は記録部10から記録紙に出力される。
The operation section 9 includes a status display section 59 for displaying the status of the apparatus, a density designating section 60 for instructing the image density of the original, and an image quality designating section 6 for instructing the image quality of the original image.
1 is provided. The status display unit 59 has an LED (light emitting diode), and the received image data is held in the RAM 5 when there is an abnormality in the device or a user's erroneous operation, when the recording paper in the recording unit 10 runs out. When the automatic reception mode is set, the LEDs corresponding to error, paper supply, memory, and automatic reception are turned on to notify the user. Memory LED
When 62 is lit, by operating the memory print key 54, the image data stored in the RAM 5 is output from the recording unit 10 to the recording paper.

【0035】濃度指定部60は濃度指定キー63と3つ
のLED64を有しており、濃度指定キー63が操作さ
れるごとにLED64の点灯が切り換わる。使用者は原
稿画像に応じて、濃い、普通、薄いの3段階で濃度を指
定する。画像処理部2は読み取り部1の出力を2値化す
る際に、ここで指定された段階に対応して閾値を設定す
る。これにより、原稿ごとに画像濃度のばらつきがあっ
ても画像データの適切な2値化がなされる。
The density designating section 60 has a density designating key 63 and three LEDs 64, and the LED 64 is switched on each time the density designating key 63 is operated. The user specifies the density in three levels of dark, normal, and light according to the original image. When binarizing the output of the reading unit 1, the image processing unit 2 sets a threshold value corresponding to the stage specified here. As a result, the image data is appropriately binarized even if the image density varies from document to document.

【0036】画質指定部61は画質指定キー65と5つ
のLED66を有しており、画質指定キー65が操作さ
れるたびにLED66の点灯が切り換わる。使用者は原
稿の画質に応じた選択を行う。すなわち、原稿画像が文
字画像のときにはノーマル、ファインまたはスーパーフ
ァインを指定する。これにより最高解像度層の画素密度
が決定される。原稿画像が中間階調のときには、ハーフ
トーンまたはスーパーハーフトーンを指定する。画像処
理部2は2種類のディザマトリックスを備えており、こ
こでの指定に応じてマトリックスを選択してディザ処理
を行い、読み取り部1の出力を2値化する。
The image quality designating section 61 has an image quality designating key 65 and five LEDs 66, and the LED 66 is switched on each time the image quality designating key 65 is operated. The user makes a selection according to the image quality of the document. That is, when the original image is a character image, normal, fine or super fine is designated. This determines the pixel density of the highest resolution layer. When the original image has halftone, halftone or super halftone is designated. The image processing unit 2 is provided with two types of dither matrices, and selects a matrix according to the designation here and performs dither processing, and binarizes the output of the reading unit 1.

【0037】記録部10は、感光体ドラムの表面に画像
の静電潜像を形成し、これにトナーを付着させて現像し
た後、記録紙に転写する方式を採用している。
The recording unit 10 employs a system in which an electrostatic latent image of an image is formed on the surface of a photosensitive drum, toner is attached to the electrostatic latent image to develop the image, and then the image is transferred to recording paper.

【0038】上記構成のファクシミリ装置においては、
読み取り部1により読み込まれ画像処理部2により2値
化された画像データはすべてRAM5に一旦格納され
る。RAM5に格納された画像データの一部は制御部3
によって読み出され、符号化する際に参照されるアダプ
ティブテンプレートの位置の決定が行われる。このアダ
プティブテンプレート位置の決定方法については後に詳
述する。プログレッシブビルドアップでは、RAM5に
格納された画像データは制御部3に読み出されて画像縮
小が行われ、縮小された画像データはRAM5に格納さ
れる。
In the facsimile apparatus having the above structure,
All the image data read by the reading unit 1 and binarized by the image processing unit 2 are temporarily stored in the RAM 5. A part of the image data stored in the RAM 5 is the control unit 3.
The position of the adaptive template that is read out by the above and referred to when encoding is determined. The method of determining the adaptive template position will be described in detail later. In the progressive build-up, the image data stored in the RAM 5 is read by the control unit 3 to reduce the image, and the reduced image data is stored in the RAM 5.

【0039】送信時には、決定されたアダプティブテン
プレート位置や選択されるモデルテンプレート等の符号
化に用いる情報はヘッダーに記されて、モデム7で変調
されてNCU8を介して送信される。次いで、RAM5
に格納された画像データは順次読み出され、符号化復号
化装置6によってモデルテンプレートとアダプティブテ
ンプレートを参照して符号化される。符号化された画像
データはモデム7で変調されて、NCU8から電話回線
に出力され受信側に送信される。
At the time of transmission, information used for encoding the determined adaptive template position and selected model template is written in the header, modulated by the modem 7 and transmitted via the NCU 8. Then RAM5
The image data stored in is sequentially read and encoded by the encoding / decoding device 6 with reference to the model template and the adaptive template. The encoded image data is modulated by the modem 7, output from the NCU 8 to the telephone line, and transmitted to the receiving side.

【0040】一方、NCU8を介して受信したデータは
まずモデム7で復調される。受信データの先頭にはヘッ
ダーが付加されており、制御部3はモデルテンプレー
ト、アダプティブテンプレート等の符号化時の情報をヘ
ッダーから読み出す。符号化復号化装置6はこれらの情
報を参照して、復調された画像データを順次復号化す
る。これにより、送信側装置が符号化する前の2値の画
像データが再生される。2値化された画像データは、シ
ーケンシャルビルドアップでは記録部10によって直ち
に記録紙に出力され、プログレッシブビルドアップでは
一旦RAM5に格納された後、操作部9のメモリープリ
ントキー54の操作により、または、最高解像度の画像
が再生された時点で、記録部10により記録紙に出力さ
れる。
On the other hand, the data received via the NCU 8 is first demodulated by the modem 7. A header is added to the beginning of the received data, and the control unit 3 reads out information at the time of encoding such as a model template and an adaptive template from the header. The encoding / decoding device 6 refers to these pieces of information and sequentially decodes the demodulated image data. As a result, the binary image data before being encoded by the transmission side device is reproduced. The binarized image data is immediately output to the recording paper by the recording unit 10 in the sequential buildup, once stored in the RAM 5 in the progressive buildup, and then by the operation of the memory print key 54 of the operation unit 9, or When the image with the highest resolution is reproduced, the recording unit 10 outputs the image on recording paper.

【0041】符号化に際しては、符号化の対象となって
いる画素と強く相関する画素を参照することが、符号化
効率を高めるために重要である。本実施例のファクシミ
リ装置では、以下の方法によって画素同士の相関を算出
し、これに基づいてアダプティブテンプレートの位置を
定める。
At the time of encoding, it is important to refer to a pixel having a strong correlation with the pixel to be encoded in order to improve the encoding efficiency. In the facsimile apparatus of this embodiment, the correlation between pixels is calculated by the following method, and the position of the adaptive template is determined based on the calculated correlation.

【0042】主走査方向に1列に連続して並ぶm個の画
素を画素ラインとし、式(2)によって1次元自己相関
係数ψ(k)を求める。
The m number of pixels lined up continuously in one line in the main scanning direction is set as a pixel line, and the one-dimensional autocorrelation coefficient ψ (k) is obtained by the equation (2).

【0043】[0043]

【数2】 [Equation 2]

【0044】ここでXiは、その画素ラインにおける0
〜m−1の画素のうち第i番目の画素の値である。式
(2)の右辺分子では、間隔kだけ離れた位置の2画素
の積が算出されて総和が求められている。この総和には
2つの画素の値がともに1(Hレベル)である組み合わ
せのみが寄与する。分母はその画素ラインにおける値1
を有する画素の総数を表す。こうして求めたm個の自己
相関係数ψ(0)、ψ(1)・・・ψ(m-1)のうち、最大値を
与える画素間隔kを選出し、これをこの画素ラインにお
ける代表間隔とする。
Here, X i is 0 in the pixel line.
It is the value of the i-th pixel of the pixels from to m-1. In the numerator on the right side of Expression (2), the product of two pixels at positions separated by an interval k is calculated to obtain the sum. Only the combination in which the values of the two pixels are both 1 (H level) contributes to this sum. The denominator is the value 1 at that pixel line
Represents the total number of pixels having. Of the m autocorrelation coefficients ψ (0), ψ (1) ... ψ (m-1) thus obtained, the pixel interval k giving the maximum value is selected, and this is selected as the representative interval in this pixel line. And

【0045】上記の自己相関係数算出と代表間隔の選出
を、副走査方向に連続するn本の画素ラインについて行
い、n個の代表間隔を求める。次いで、これらの代表間
隔のうち最も高頻度で出現したものを参照間隔とし、符
号化画素とアダプティブテンプレート画素の間隔として
用いる。符号化画素と参照間隔だけ離れた画素は走査方
向の前方と後方に2つ存在するが、走査方向後方で既に
符号化がなされた方の画素がアダプティブテンプレート
画素として参照される。このようにして符号化画素に対
するアダプティブテンプレート画素の相対位置を決定す
る。
The calculation of the autocorrelation coefficient and the selection of the representative intervals are performed for n consecutive pixel lines in the sub-scanning direction to obtain n representative intervals. Next, of these representative intervals, the one that appears most frequently is used as the reference interval and is used as the interval between the coded pixel and the adaptive template pixel. There are two pixels which are separated from the coded pixel by the reference interval in the front and rear in the scanning direction, but the pixel already coded in the rear in the scanning direction is referred to as an adaptive template pixel. In this way, the relative position of the adaptive template pixel with respect to the coded pixel is determined.

【0046】なお、最大出現頻度の代表間隔が0のと
き、すなわち参照間隔が0のときにはデフォルトの位置
にアダプティブテンプレート画素を設定する。たとえ
ば、最低解像度層の画像データの場合には、図7、8の
Aで示した位置をアダプティブテンプレート画素とす
る。
When the representative interval of the maximum appearance frequency is 0, that is, when the reference interval is 0, the adaptive template pixel is set at the default position. For example, in the case of the image data of the lowest resolution layer, the position indicated by A in FIGS. 7 and 8 is the adaptive template pixel.

【0047】本実施例においては、画素ラインを構成す
る画素数mを20、画素ラインの本数nを10とし、R
OM4に記憶保持している。これらの設定は任意である
が、画素ラインを構成する画素数および画素ライン数
は、自己相関係数算出に直接反映しアダプティブテンプ
レート位置の決定に影響する。これらを大きく設定する
ほど画像データの相関がより広範囲に亙って調べられ
て、適切なアダプティブテンプレート画素位置が決定さ
れるが、その反面、アダプティブテンプレート画素の決
定に要する時間が増大する。画素数mおよび画素ライン
数nを操作部9から入力して設定するようにしてもよ
い。
In this embodiment, the number m of pixels forming a pixel line is 20, the number n of pixel lines is 10, and R
It is stored in OM4. Although these settings are arbitrary, the number of pixels forming the pixel line and the number of pixel lines are directly reflected in the calculation of the autocorrelation coefficient and influence the determination of the adaptive template position. The larger these are set, the more extensively the correlation of the image data is examined, and the appropriate adaptive template pixel position is determined. On the other hand, however, the time required to determine the adaptive template pixel increases. The number of pixels m and the number of pixel lines n may be input from the operation unit 9 and set.

【0048】また、画素ラインの設定位置も任意である
が、1ページ分の画素データの周辺部に画素ラインを設
定した場合には、これから求められた相関係数および代
表間隔は、その画像データ全体を代表するものとはなら
ない恐れがある。たとえば、第1ページの上部には、通
常、送信先の名前や送信日時等を定型的に記すのに用い
られ、他の部位に比べて空白の多い状態になっている。
したがって、この部位の画像データに基づいて決定した
アダプティブテンプレート画素の位置は、全画像データ
の符号化に用いるのに適さない可能性が高い。本実施例
では、このような点を考慮して、全画像データのうち第
1ページの中央部付近の画像データを画素ラインに用い
る。
Although the setting position of the pixel line is also arbitrary, when the pixel line is set in the peripheral portion of the pixel data for one page, the correlation coefficient and the representative interval obtained from this are the same as the image data. It may not be representative of the whole. For example, the upper part of the first page is usually used for stylizing the name of the destination, the date and time of transmission, etc., and has a lot of blank spaces as compared with other parts.
Therefore, there is a high possibility that the position of the adaptive template pixel determined based on the image data of this portion will not be suitable for use in encoding all the image data. In this embodiment, in consideration of such a point, the image data in the vicinity of the central portion of the first page among all the image data is used for the pixel line.

【0049】本実施例のファクシミリ装置の送信時の処
理を図3のフローチャートに示す。まず、ステップ#1
05において読み取り部1によって原稿画像を読み取
り、画像処理部2によって画像データを画素ごとに2値
化し、RAM5に格納する。この動作は原稿の全ページ
の読み込みが終了するまで反復される。次いで、#11
0で画像データの第1ページをRAM5から制御部3に
読み出す。
The transmission process of the facsimile apparatus of this embodiment is shown in the flowchart of FIG. First, step # 1
In 05, the document image is read by the reading unit 1, the image data is binarized for each pixel by the image processing unit 2, and stored in the RAM 5. This operation is repeated until the reading of all pages of the document is completed. Then # 11
At 0, the first page of the image data is read from the RAM 5 to the control unit 3.

【0050】#115で制御部3は、読み出した画像デ
ータの大きさ、すなわちページの大きさに応じて最初の
画素ライン位置を決定し、#120で画素ラインの番号
を表す変数nを初期値1に設定する。ステップ#125
において、式(2)に従って第n番目の画素ラインの自
己相関係数ψn(k)、(k=0,1,2,・・・,19)を算出する。#1
30で、これら20個の自己相関係数のうちの最大値に
対応するkをknとして格納する。#135でnに1を
加え、#140でnが10以下であるか否かを判定す
る。nが10以下のときには#125に戻る。この反復
動作によりk1〜k10が求められる。
In # 115, the control section 3 determines the first pixel line position according to the size of the read image data, that is, the size of the page, and in # 120, sets the variable n representing the pixel line number to the initial value. Set to 1. Step # 125
In, the autocorrelation coefficient ψ n (k), (k = 0, 1, 2, ..., 19) of the n-th pixel line is calculated according to the equation (2). # 1
At 30, the k corresponding to the maximum value of these 20 autocorrelation coefficients is stored as kn. In # 135, 1 is added to n, and in # 140, it is determined whether n is 10 or less. When n is 10 or less, the process returns to # 125. By this iterative operation, k1 to k10 are obtained.

【0051】#140でnが10を超えたと判定される
と#145で、k1〜k10のうち最も出現頻度の高いも
の見い出して、これを参照間隔kmaxとし、#150で
符号化画素から主走査方向後方に画素数kmaxだけ離れ
た位置をアダプティブテンプレート画素の位置として決
定する。kmaxが0のときにはアダプティブテンプレー
ト画素はデフォルト位置に定める。
When it is determined in step # 140 that n exceeds 10, in step # 145, the one with the highest appearance frequency out of k1 to k10 is found, and this is set as the reference interval kmax. A position separated by the number of pixels kmax in the backward direction is determined as the position of the adaptive template pixel. When kmax is 0, the adaptive template pixel is set at the default position.

【0052】次いで、ステップ#155で、アダプティ
ブテンプレート画素位置等の復号化に必要な情報を含む
ヘッダーを作成して送信する。#160でRAM5から
画像データを順次読み出して、符号化復号化装置6でテ
ンプレート操作により符号化画素を符号化する。#16
5で符号化された画像データを送信する。
Then, in step # 155, a header including information necessary for decoding such as adaptive template pixel position is created and transmitted. In # 160, the image data is sequentially read from the RAM 5, and the encoding / decoding device 6 encodes the encoded pixel by the template operation. # 16
The image data encoded in 5 is transmitted.

【0053】上記の方法によると、相関の大きい画素間
隔を画素ラインごとに求め、そのうち全画素ラインにお
いて最も出現頻度の高いものが参照間隔として選出され
るため、画素ラインに含まれていない画像データおいて
もこの参照間隔で強い相関を示す確率が高くなる。した
がって、この参照間隔でアダプティブテンプレート画素
を設定するときには、符号化画素とアダプティブテンプ
レート画素とが高い確率で相関し、符号化効率が向上す
る。すなわち、符号化に要する時間が短縮されるととも
に、画像データの圧縮率が向上する。しかも、所定数の
画素についてのみ自己相関係数を求めるため、短時間で
アダプティブテンプレート画素の位置が決定される。
According to the above method, the pixel interval having a large correlation is obtained for each pixel line, and the one having the highest appearance frequency in all pixel lines is selected as the reference interval, so that the image data not included in the pixel line is selected. Even in this case, there is a high probability that a strong correlation will occur at this reference interval. Therefore, when the adaptive template pixel is set at this reference interval, the coded pixel and the adaptive template pixel correlate with high probability, and the coding efficiency is improved. That is, the time required for encoding is shortened and the compression rate of image data is improved. Moreover, since the autocorrelation coefficient is obtained only for a predetermined number of pixels, the position of the adaptive template pixel is determined in a short time.

【0054】本実施例のファクシミリ装置によって種々
の画像データについて符号化を行ったところ、前述の式
(1)による圧縮率が0.02〜0.4という結果が得
られている。CCITTのNo.1原稿では、圧縮率は
0.02であった。また、ディザ処理され画素値に周期
的に相関がある画像データにおいても、0.08程度ま
で圧縮率が向上している。このように本方法では2値化
された画像データを効率よく符号化することができる。
When various image data were encoded by the facsimile apparatus of the present embodiment, the compression ratio of 0.02 to 0.4 obtained by the above equation (1) was obtained. CCITT No. The compression ratio of one original was 0.02. Further, even in the image data that is subjected to the dither processing and the pixel values have a periodic correlation, the compression rate is improved to about 0.08. As described above, according to this method, binarized image data can be efficiently coded.

【0055】本発明の第2の実施例によるファクシミリ
装置について説明する。本実施例のファクシミリ装置は
図1に示した第1の実施例と同様のハードウェア構成で
あり、重複する説明は省略する。本実施例ではアダプテ
ィブテンプレート画素の位置を次のようにして決定す
る。
A facsimile apparatus according to the second embodiment of the present invention will be described. The facsimile apparatus according to the present embodiment has the same hardware configuration as that of the first embodiment shown in FIG. 1, and duplicate description will be omitted. In this embodiment, the position of the adaptive template pixel is determined as follows.

【0056】横方向(主走査方向)にm個、縦方向(副
走査方向)にn個連続して並ぶ画素の集まりを画素ブロ
ックとし、この画素ブロックについて式(3)に従って
2次元自己相関係数を算出する。
A pixel block is a set of m pixels arranged in the horizontal direction (main scanning direction) and n pixels arranged in the vertical direction (sub scanning direction), and a two-dimensional self-correlation is calculated for this pixel block according to the equation (3). Calculate the number.

【0057】[0057]

【数3】 (Equation 3)

【0058】ここでXi,jは画素ブロック内で横方向に
i番目、縦方向にj番目に位置する画素の値を表す。右
辺分子では、横方向にk1、縦にk2隔たった2つの画素
の積が算出されて、その総和が求められている。この総
和には2つの画素の値がともに1(Hレベル)である組
み合わせのみが寄与する。分母は画素ブロックにおいて
値1を有する画素の総数を表す。
Here, X i , j represents the value of the pixel located i-th in the horizontal direction and j-th in the vertical direction in the pixel block. In the right-hand side numerator, the product of two pixels, which are separated by k1 in the horizontal direction and k2 in the vertical direction, is calculated, and the total sum is obtained. Only the combination in which the values of the two pixels are both 1 (H level) contributes to this sum. The denominator represents the total number of pixels having the value 1 in the pixel block.

【0059】式(3)によりm×n個の自己相関係数ψ
(0,0)、ψ(1,0)・・・ψ(m-1,n-1)が求められる。この
うちの最大値に対応する画素間隔k1、k2をそれぞれ横
方向の参照間隔、縦方向の参照間隔とし、符号化画素に
対するアダプティブテンプレート画素の横方向の相対位
置、縦方向の相対位置と定める。なお、k1とk2がとも
に0のときに自己相関係数が最大になった場合、すなわ
ちψ(0,0)が最大の場合には、アダプティブテンプレー
ト画素はデフォルト位置に設定する。
From equation (3), m × n autocorrelation coefficients ψ
(0,0), ψ (1,0) ... ψ (m-1, n-1) are obtained. Pixel intervals k1 and k2 corresponding to the maximum value among these are defined as a horizontal reference interval and a vertical reference interval, respectively, and are defined as a horizontal relative position and a vertical relative position of the adaptive template pixel with respect to the encoded pixel. When the autocorrelation coefficient becomes maximum when both k1 and k2 are 0, that is, when ψ (0,0) is maximum, the adaptive template pixel is set to the default position.

【0060】本実施例においては、画素ブロックの大き
さを、mを20、nを10とし、ROM4に記憶保持し
ている。これらの設定は任意であるが、画素ブロックの
大きさはアダプティブテンプレート位置の決定に影響す
る。これを大きく設定するほど画像データの相関がより
広範囲に亙って調べられて適切なアダプティブテンプレ
ート画素位置が決定されるが、その反面、アダプティブ
テンプレート画素の決定に要する時間が増大する。ま
た、画素ブロックの設定位置も任意であるが、第1の実
施例で述べた理由により、全画像データのうち第1ペー
ジの中央部付近の画像データを画素ブロックに用いる。
なお、m、nを操作部9から入力して画素ブロックの大
きさを設定するようにしてもよい。
In the present embodiment, the size of the pixel block is set to 20 for m and 10 for n, and is stored and held in the ROM 4. Although these settings are arbitrary, the size of the pixel block influences the determination of the adaptive template position. The larger this value is set, the more extensively the correlation of the image data is examined and the appropriate adaptive template pixel position is determined, but on the other hand, the time required to determine the adaptive template pixel increases. Further, the setting position of the pixel block is also arbitrary, but for the reason described in the first embodiment, the image data in the vicinity of the central portion of the first page among all the image data is used for the pixel block.
Note that m and n may be input from the operation unit 9 to set the size of the pixel block.

【0061】上記方法により符号化画素に対する相対位
置を決定されるアダプティブテンプレート画素は、全画
像データに亙って高い確率で符号化画素と相関する。し
たがって、画素の符号化効率が向上し、画像データの圧
縮率も高くなる。
The adaptive template pixel whose relative position to the coded pixel is determined by the above method has a high probability of being correlated with the coded pixel over the entire image data. Therefore, the pixel coding efficiency is improved and the image data compression rate is also increased.

【0062】本実施例のファクシミリ装置の送信時の処
理を図4のフローチャートに示す。まず、ステップ#2
05において、読み取り部1によって原稿画像を読み取
り、画像処理部2によって画像データを画素ごとに2値
化し、RAM5に格納する。この動作は原稿の全ページ
の読み込みが終了するまで反復される。次いで、#21
0で画像データの第1ページをRAM5から制御部3に
読み出す。
The processing of the facsimile apparatus of this embodiment at the time of transmission is shown in the flowchart of FIG. First, step # 2
In 05, the document image is read by the reading unit 1, the image data is binarized for each pixel by the image processing unit 2, and stored in the RAM 5. This operation is repeated until the reading of all pages of the document is completed. Then, # 21
At 0, the first page of the image data is read from the RAM 5 to the control unit 3.

【0063】#215で制御部3は読み出した画像デー
タの大きさ、すなわちページの大きさに応じて20×1
0画素の画素ブロックの位置を決定する。次いでステッ
プ#220において、式(3)に従っての画素ブロック
の2次元自己相関係数ψ(k1,k2)、(k1=0,1,2,・・・,19, k
2=0,1,2,・・・9)を算出する。#225で、これら200
個の自己相関係数のうちの最大値を与えるk1、k2を見
い出し、それぞれを横方向の参照間隔、縦方向の参照間
隔とする。これらの参照間隔に基づき、符号化画素に対
するアダプティブテンプレート画素の相対位置を定め
る。
In # 215, the control section 3 sets 20 × 1 according to the size of the read image data, that is, the size of the page.
The position of the pixel block of 0 pixels is determined. Next, in step # 220, the two-dimensional autocorrelation coefficients ψ (k1, k2), (k1 = 0,1,2, ..., 19, k of the pixel block according to the equation (3) are calculated.
Calculate 2 = 0, 1, 2, ... 9). # 225, these 200
Among these autocorrelation coefficients, k1 and k2 that give the maximum value are found, and they are set as the reference interval in the horizontal direction and the reference interval in the vertical direction. Based on these reference intervals, the relative position of the adaptive template pixel with respect to the coded pixel is determined.

【0064】ステップ#230で、アダプティブテンプ
レート画素位置等の復号化に必要な情報を含むヘッダー
を作成して送信する。#235でRAM5から画像デー
タを順次読み出して、符号化復号化装置6でテンプレー
ト操作により符号化画素を符号化する。#240で符号
化された画像データを送信する。
In step # 230, a header including information necessary for decoding the adaptive template pixel position and the like is created and transmitted. In step # 235, the image data is sequentially read from the RAM 5, and the encoding / decoding device 6 encodes the encoded pixel by the template operation. The image data encoded in # 240 is transmitted.

【0065】本発明の第3の実施例である電子複写機の
構成を図5のブロック図に示す。本複写機はスキャナー
31、画像処理部32、プリンタ33、制御部34、操
作部35、符号化復号化部36、送受信部37および記
憶装置38を備えている。スキャナー31で原稿画像を
読み取り、読み取った画像データに対して画像処理部3
2でシェーディング、2値化等の処理を行って、プリン
タ33により記録紙に出力する。
The block diagram of FIG. 5 shows the configuration of the electronic copying machine according to the third embodiment of the present invention. The copying machine includes a scanner 31, an image processing unit 32, a printer 33, a control unit 34, an operation unit 35, an encoding / decoding unit 36, a transmission / reception unit 37, and a storage device 38. The original image is read by the scanner 31, and the image processing unit 3 operates on the read image data.
In step 2, shading, binarization and the like are performed, and the printer 33 outputs the recording sheet.

【0066】制御部34は複写機全体の制御を行う。操
作部35はテンキーをはじめ種々のキーを備えており、
使用者は操作部35のキー操作によって、記録紙のサイ
ズ選定、複写枚数、画像の拡大/縮小、画像濃度の設定
等の指示を制御部34に与える。また、操作部35は表
示パネルを有しており、操作に関するメッセージとテン
キー入力のエコーバック表示を行って、使用者の操作を
援助する。記憶装置38は複写機本体の外部に設けられ
ており、データ線39を介して送受信部37に接続され
ている。記憶装置38の記憶媒体としては、たとえばR
AM、磁気ディスクあるいは光ディスクが用いられる。
The control unit 34 controls the entire copying machine. The operation unit 35 includes various keys such as a numeric keypad,
By operating the keys of the operation unit 35, the user gives instructions to the control unit 34 such as recording paper size selection, number of copies, image enlargement / reduction, and image density setting. Further, the operation unit 35 has a display panel, and displays a message relating to the operation and an echo back display of the ten-key input to assist the operation of the user. The storage device 38 is provided outside the main body of the copying machine and is connected to the transmission / reception unit 37 via a data line 39. As a storage medium of the storage device 38, for example, R
AM, a magnetic disk or an optical disk is used.

【0067】符号化復号化部36は2値化された画像デ
ータをJBIG方式に従って符号化する。送受信部37
は符号化復号化部36によって符号化された画像データ
をデータ線39に出力し記憶装置38に送信する。記憶
装置38は受信したデータを記憶格納する。また、送受
信部37は記憶装置38から格納している画像データを
データ線39を介して受信する。受信データは符号化復
号化部36で復号化される。
The encoding / decoding unit 36 encodes the binarized image data according to the JBIG method. Transmitter / receiver 37
Outputs the image data encoded by the encoding / decoding unit 36 to the data line 39 and transmits it to the storage device 38. The storage device 38 stores and stores the received data. Further, the transmitting / receiving unit 37 receives the image data stored in the storage device 38 via the data line 39. The received data is decoded by the encoding / decoding unit 36.

【0068】符号化復号化部36による画像データの符
号化には、モデルテンプレートおよびアダプティブテン
プレートが参照されるが、アダプティブテンプレート画
素の位置は第1の実施例または第2の実施例に示した方
法によって決定される。すなわち、複数の画素ラインそ
れぞれについて式(2)により1次元自己相関係数を求
め、最大の相関係数を与える画素間隔のうち最高出現頻
度のものを参照間隔とする。または、画素ブロックに対
して式(3)により2次元自己相関係数を算出し、最大
の相関係数を与える画素間隔を縦方向および横方向につ
いて求めて、これらを縦方向および横方向の参照間隔と
する。
The model template and the adaptive template are referred to when the image data is encoded by the encoding / decoding unit 36, and the position of the adaptive template pixel is determined by the method shown in the first embodiment or the second embodiment. Determined by That is, the one-dimensional autocorrelation coefficient is calculated for each of the plurality of pixel lines by the equation (2), and the pixel interval having the highest appearance frequency among the pixel intervals giving the maximum correlation coefficient is set as the reference interval. Alternatively, the two-dimensional autocorrelation coefficient is calculated for the pixel block by the equation (3), the pixel interval giving the maximum correlation coefficient is obtained in the vertical and horizontal directions, and these are referred to in the vertical and horizontal directions. Interval

【0069】このようにして求めた参照間隔を、符号化
画素とアダプティブテンプレート画素の間隔としてアダ
プティブテンプレート画素位置を定める。アダプティブ
テンプレート画素の位置はヘッダーに記されて画像デー
タとともに記憶装置38に記憶され、復号化の際に符号
化復号化部36によって参照される。
The adaptive template pixel position is determined using the reference interval thus obtained as the interval between the coded pixel and the adaptive template pixel. The position of the adaptive template pixel is written in the header, stored in the storage device 38 together with the image data, and referred to by the encoding / decoding unit 36 at the time of decoding.

【0070】上記構成の複写機においては、スキャナー
31によって読み込まれ画像処理部32で処理された画
像データを、プリンタ33によって記録紙に出力するこ
とができるし、符号化して記憶装置38に格納すること
もできる。使用者は操作部35のキーを操作することに
よって、記録紙への出力と記憶装置38への格納を選択
する。また、記憶装置38に格納された画像データを読
み出して、プリンタ33により記録紙に出力することも
随時行われる。これも操作部35のキー操作によってな
される。
In the copying machine having the above-mentioned structure, the image data read by the scanner 31 and processed by the image processing unit 32 can be output to the recording paper by the printer 33, or can be encoded and stored in the storage device 38. You can also The user operates the keys of the operation unit 35 to select output to recording paper and storage in the storage device 38. Further, the image data stored in the storage device 38 is read out and output to the recording paper by the printer 33 at any time. This is also performed by the key operation of the operation unit 35.

【0071】前述の方法で符号化画素に対する相対位置
を決定されるアダプティブテンプレート画素は、符号化
画素と高い確率で相関するため、画像データが効率よく
符号化され、圧縮率が向上する。これにより、送受信部
37と記憶装置38間の画像データの伝送時間が短縮さ
れるとともに、記憶すべきデータ量が減少して、記憶装
置38において画像データが占める物理的記憶領域が小
さくなる。
The adaptive template pixels whose relative position to the coded pixel is determined by the above-described method correlates with the coded pixel with a high probability, so that the image data is coded efficiently and the compression rate is improved. As a result, the transmission time of the image data between the transmitter / receiver 37 and the storage device 38 is shortened, the amount of data to be stored is reduced, and the physical storage area occupied by the image data in the storage device 38 is reduced.

【0072】なお、本実施例では記憶装置38を複写機
本体の外部に設置する構成としたが、記憶装置38を複
写機本体内部に配設してもよい。また、上記複写機から
プリンタ33を除いた構成はイメージスキャナーとして
機能するものであり、本発明はイメージスキャナーにも
適用可能である。
Although the storage device 38 is installed outside the main body of the copying machine in this embodiment, the storage device 38 may be installed inside the main body of the copying machine. Further, the configuration excluding the printer 33 from the copying machine functions as an image scanner, and the present invention is also applicable to an image scanner.

【0073】[0073]

【発明の効果】以上説明したように、本発明によるとき
には、JBIG符号化方式に従って画像データを符号化
する通信装置において、所定数の画素ラインそれぞれに
ついて最大の相関を示す画素間隔が求められ、そのうち
最も出現頻度の高いものに基づいてアダプティブテンプ
レート画素の位置が決定されるため、アダプティブテン
プレートと符号化対象画素が高い確率で相関することに
なる。このため符号化効率が向上して、符号化に要する
時間が短縮されるとともにデータ圧縮率が高まり、短時
間で画像データを伝送することが可能になる。この効果
はディザ画像のように一定周期で強い相関が現れる画像
データに対して一層顕著になる。さらに、全画素の相関
を算出するのではなく限られた所定数の画素の相関を求
めるため、アダプティブテンプレートの位置決定に要す
る時間も短くてよい。
As described above, according to the present invention, in the communication device that encodes image data according to the JBIG encoding method, the pixel interval exhibiting the maximum correlation is obtained for each of the predetermined number of pixel lines. Since the position of the adaptive template pixel is determined based on the one having the highest appearance frequency, the adaptive template and the pixel to be coded correlate with high probability. Therefore, the coding efficiency is improved, the time required for the coding is shortened, the data compression rate is increased, and the image data can be transmitted in a short time. This effect becomes more remarkable for image data in which a strong correlation appears in a constant cycle such as a dither image. Furthermore, since the correlation of a limited number of pixels is calculated instead of calculating the correlation of all pixels, the time required to determine the position of the adaptive template may be short.

【0074】また、請求項2の通信装置によるときに
は、複数の画素ラインそれぞれについて最大の相関係数
を与える画素間隔を求めて、そのうち最高出現頻度のも
のを参照間隔とするため、符号化対象画素から参照間隔
だけ離れた位置にある画素は符号化対象画素と高い確率
で相関することになる。したがって、2値化された画像
データの符号化効率が高まり、符号化時間が短縮される
とともに、圧縮率が高くなって通信装置間のデータの伝
送効率も向上する。参照間隔の決定に要する時間も短
い。
Further, according to the communication device of the second aspect, the pixel interval giving the maximum correlation coefficient is calculated for each of the plurality of pixel lines, and the pixel interval having the highest appearance frequency among them is set as the reference interval. Pixels located at a reference interval away from are highly likely to be correlated with the encoding target pixel. Therefore, the coding efficiency of the binarized image data is increased, the coding time is shortened, the compression rate is increased, and the data transmission efficiency between the communication devices is also improved. The time required to determine the reference interval is also short.

【0075】請求項3の構成によるときは、画素ブロッ
ク内で2次元自己相関係数が算出されるため、広い範囲
で画素同士の相関が調べられることになる。このうち最
大の相関を示す画素間隔が縦方向、横方向ともに求めら
れて、符号化対象画素と参照する画素の相対位置とされ
るため、両画素が相関する確率が高い。したがって、2
値化データの符号化に要する時間が短縮されるととも
に、画像データの圧縮率が高まり、通信装置間のデータ
の伝送効率も向上する。
According to the third aspect of the invention, since the two-dimensional autocorrelation coefficient is calculated within the pixel block, the correlation between pixels can be investigated in a wide range. Among these, the pixel interval showing the maximum correlation is obtained in both the vertical direction and the horizontal direction, and is set as the relative position of the pixel to be encoded and the pixel to be referred to, so that there is a high probability that both pixels are correlated. Therefore, 2
The time required for encoding the binarized data is shortened, the compression rate of the image data is increased, and the data transmission efficiency between the communication devices is also improved.

【0076】請求項4のファクシミリ装置では、送信側
装置において符号化を行う際に符号化対象画素と高い確
率で相関する画素が参照されるため、符号化効率、圧縮
率が高くなる。これに伴い、送信側装置から受信側装置
に画像データを伝送する時間が短縮されて、伝送効率が
向上する。
In the facsimile apparatus according to the fourth aspect, when the transmission side apparatus performs encoding, the pixel which is highly likely to be correlated with the encoding target pixel is referred to, so that the encoding efficiency and the compression rate are increased. Along with this, the time for transmitting the image data from the transmission side device to the reception side device is shortened, and the transmission efficiency is improved.

【0077】また、請求項5の複写機および請求項6の
イメージスキャナーによるときには、符号化対象画素と
高い確率で相関する画素を参照して符号化が行われるた
め、符号化の効率が高くなり、データ圧縮率も高くなっ
て記憶装置への画像データ伝送時間が短縮される。さら
に、画像データを記憶するために要する記憶装置の記憶
領域が縮減される。
Further, in the copying machine according to the fifth aspect and the image scanner according to the sixth aspect, since the encoding is performed with reference to the pixel having a high probability of being correlated with the pixel to be encoded, the encoding efficiency is improved. The data compression rate is also increased, and the image data transmission time to the storage device is shortened. Further, the storage area of the storage device required to store the image data is reduced.

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

【図1】 本発明の第1の実施例のファクシミリ装置の
構成を示すブロック図。
FIG. 1 is a block diagram showing the configuration of a facsimile apparatus according to a first embodiment of the present invention.

【図2】 第1の実施例のファクシミリ装置の操作部の
外観を示す図。
FIG. 2 is a diagram showing an appearance of an operation unit of the facsimile apparatus according to the first embodiment.

【図3】 第1の実施例のファクシミリ装置の送信時の
処理を示すフローチャート。
FIG. 3 is a flowchart showing a process at the time of transmission of the facsimile apparatus of the first embodiment.

【図4】 本発明の第2の実施例のファクシミリ装置の
送信時の処理を示すフローチャート。
FIG. 4 is a flowchart showing a process at the time of transmission of the facsimile apparatus according to the second embodiment of the present invention.

【図5】 本発明の第3の実施例の電子複写機の構成を
示すブロック図。
FIG. 5 is a block diagram showing the configuration of an electronic copying machine according to a third embodiment of the present invention.

【図6】 JBIGのベースシステムの概要を示すブロ
ック図。
FIG. 6 is a block diagram showing an outline of a JBIG base system.

【図7】 最低解像度層の画像の2ラインモデルテンプ
レートとアダプティブテンプレートのデフォルト位置を
示す図。
FIG. 7 is a diagram showing default positions of a two-line model template and an adaptive template of an image of a lowest resolution layer.

【図8】 最低解像度層の画像の3ラインモデルテンプ
レートとアダプティブテンプレートのデフォルト位置を
示す図。
FIG. 8 is a diagram showing default positions of a 3-line model template and an adaptive template of an image of a lowest resolution layer.

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

1 読み取り部 2 画像処理部 3 制御部 4 ROM 5 RAM 6 符号化復号化装置 7 モデム 8 NCU 9 操作部 10 記録部 1 reading unit 2 image processing unit 3 control unit 4 ROM 5 RAM 6 encoding / decoding device 7 modem 8 NCU 9 operation unit 10 recording unit

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 JBIG符号化方式に従って画像データ
を符号化する通信装置において、 一列に連続して並ぶ複数画素を画素ラインとし、所定数
の画素ラインそれぞれについて、画素値の自己相関係数
を算出して最大の相関係数を与える画素間隔を求めるア
ルゴリズムを遂行する手段と、 前記画素間隔のうち最大出現頻度の画素間隔に基づいて
アダプティブテンプレート画素の位置を決定し、画像デ
ータを符号化する符号化手段とを備えることを特徴とす
る通信装置。
1. A communication device for encoding image data according to the JBIG encoding method, wherein a plurality of pixels lined up in a row are defined as pixel lines, and an autocorrelation coefficient of pixel values is calculated for each of a predetermined number of pixel lines. Means for performing an algorithm for obtaining a pixel interval that gives a maximum correlation coefficient, and a code for deciding the position of the adaptive template pixel based on the pixel interval having the maximum appearance frequency among the pixel intervals and encoding the image data. And a communication unit.
【請求項2】 2値化された画素からなる画像データを
符号化して伝送する通信装置において、 画素が一列に連続して並ぶ画素ラインの複数の画素ライ
ンそれぞれについて、画素値の自己相関係数を算出して
最大の相関係数を与える画素間隔を求める手段と、 前記画素間隔のうち最も高頻度で出現したものを参照間
隔として、符号化対象画素から前記参照間隔離れた位置
にある画素を参照して符号化対象画素の符号化を行う符
号化手段とを備えることを特徴とする通信装置。
2. A communication device for encoding and transmitting image data composed of binarized pixels, wherein an autocorrelation coefficient of pixel values is provided for each of a plurality of pixel lines in which the pixels are arranged in a row. To obtain a pixel interval that gives a maximum correlation coefficient, and a pixel located at a position distant from the encoding target pixel by the reference interval with a reference interval being the one that appears most frequently among the pixel intervals. A communication device, comprising: an encoding unit that refers to and encodes a pixel to be encoded.
【請求項3】 2値化された画素からなる画像データを
符号化して伝送する通信装置において、 画素が縦方向と横方向に連続して並ぶ画素ブロックにつ
いて、画素値の2次元自己相関係数を算出して最大の相
関係数を与える縦方向の画素間隔と横方向の画素間隔を
求める手段と、 符号化対象画素から縦方向と横方向にそれぞれ前記縦方
向の画素間隔と横方向の画素間隔だけ離れた位置にある
画素を参照して符号化対象画素の符号化を行う符号化手
段とを備えることを特徴とする通信装置。
3. A communication device for encoding and transmitting image data composed of binarized pixels, wherein a two-dimensional autocorrelation coefficient of pixel values is provided for a pixel block in which pixels are continuously arranged in a vertical direction and a horizontal direction. And a means for calculating the vertical pixel interval and the horizontal pixel interval that give the maximum correlation coefficient, and the vertical pixel interval and the horizontal pixel from the encoding target pixel in the vertical direction and the horizontal direction, respectively. A communication device, comprising: an encoding unit that encodes a pixel to be encoded by referring to pixels located at a distance.
【請求項4】 請求項1、2または3に記載の通信装置
はファクシミリ装置である。
4. The communication device according to claim 1, 2 or 3 is a facsimile device.
【請求項5】 請求項1、2または3に記載の通信装置
は、 原稿読み取り手段と、 前記原稿読み取り手段によって読み取られた画像データ
を処理するとともに、該画像データを前記符号化手段に
与える画像処理手段と、 前記符号化手段によって符号化された画像データを記憶
装置へ送信する送信手段とを備える複写機であることを
特徴とする。
5. The communication device according to claim 1, 2 or 3, wherein a document reading unit, an image data read by the document reading unit, and an image which gives the image data to the encoding unit. A copying machine comprising a processing means and a transmission means for transmitting the image data encoded by the encoding means to a storage device.
【請求項6】 請求項1、2または3に記載の通信装置
は、 原稿読み取り手段と、 前記原稿読み取り手段によって読み取られた画像データ
を処理するとともに、該画像データを前記符号化手段に
与える画像処理手段と、 前記符号化手段によって符号化された画像データを記憶
装置へ送信する送信手段とを備えるイメージスキャナー
であることを特徴とする。
6. The communication device according to claim 1, 2 or 3, wherein an image is read from a document reading unit, an image data read by the document reading unit is processed, and the image data is given to the encoding unit. It is an image scanner comprising a processing means and a transmission means for transmitting the image data encoded by the encoding means to a storage device.
JP47295A 1995-01-06 1995-01-06 Communication equipment Pending JPH08186717A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP47295A JPH08186717A (en) 1995-01-06 1995-01-06 Communication equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP47295A JPH08186717A (en) 1995-01-06 1995-01-06 Communication equipment

Publications (1)

Publication Number Publication Date
JPH08186717A true JPH08186717A (en) 1996-07-16

Family

ID=11474739

Family Applications (1)

Application Number Title Priority Date Filing Date
JP47295A Pending JPH08186717A (en) 1995-01-06 1995-01-06 Communication equipment

Country Status (1)

Country Link
JP (1) JPH08186717A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002054758A1 (en) * 2000-12-28 2002-07-11 Evolvable Systems Research Institute, Inc. Adaptive prediction codeing/decoding method and device, and adapttive prediction codeintg/decoding program
KR100476389B1 (en) * 1997-07-10 2005-06-10 주식회사 팬택앤큐리텔 Binary Data Encoding Method of Image Signal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100476389B1 (en) * 1997-07-10 2005-06-10 주식회사 팬택앤큐리텔 Binary Data Encoding Method of Image Signal
WO2002054758A1 (en) * 2000-12-28 2002-07-11 Evolvable Systems Research Institute, Inc. Adaptive prediction codeing/decoding method and device, and adapttive prediction codeintg/decoding program

Similar Documents

Publication Publication Date Title
EP0738070A2 (en) Image processing method and apparatus
JPS59223073A (en) Picture processor
EP0613290B1 (en) Method and apparatus for binary image data compression
US5422734A (en) Method for arithmetically encoding half-tone image in image processing system
US5424854A (en) Image processing apparatus for half-tone processing and reproducing high speed images of different resolutions
JPH0591313A (en) Facsimile equipment
US5594555A (en) Image processing method and apparatus empolying the same
JP2756371B2 (en) Image processing device
US4794461A (en) Method and apparatus for block coding vertical mode codes for enhanced compression of image data
JPH08186717A (en) Communication equipment
JPH0122665B2 (en)
JPH08191395A (en) Communication equipment
JP3085932B2 (en) Apparatus for generating predicted image using mask and apparatus for compressing, transmitting and restoring binary image using the same
US5745245A (en) Communication apparatus
JPS63182973A (en) Pseudo half-tonal image transmission method for facsimile equipment
JP3364348B2 (en) Communication device
JPH08186716A (en) Communication equipment
JPH08191396A (en) Communication equipment
JPH08186719A (en) Communication equipment
JPH08186718A (en) Communication equipment
JPH08191393A (en) Communication equipment
JPH1155528A (en) Image coder
JPH0951441A (en) Image processing unit
JP2006173957A (en) Image processing apparatus
KR0159418B1 (en) Apparatus for improving the transmission picture quality in the facsimile system and method thereof