JPH02126773A - Mr encoder - Google Patents
Mr encoderInfo
- Publication number
- JPH02126773A JPH02126773A JP27984588A JP27984588A JPH02126773A JP H02126773 A JPH02126773 A JP H02126773A JP 27984588 A JP27984588 A JP 27984588A JP 27984588 A JP27984588 A JP 27984588A JP H02126773 A JPH02126773 A JP H02126773A
- Authority
- JP
- Japan
- Prior art keywords
- line
- change point
- encoded
- encoding
- point detector
- 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
Links
- 238000000034 method Methods 0.000 claims description 30
- 239000000872 buffer Substances 0.000 description 10
- 238000010586 diagram Methods 0.000 description 5
- 238000012545 processing Methods 0.000 description 5
- 230000000694 effects Effects 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 239000003795 chemical substances by application Substances 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、2値画偉の符号化装置に関し、特にMR符号
化装置に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a binary image encoding device, and particularly to an MR encoding device.
近年、社会の高度情報化により情報の重要性は益々高ま
ってきている。これにともない、情報をより多く、より
速く通信する必要性が高まシつつある。この様な状況下
で、イメージを伝送するファクタ<’)の分野では、C
CITT(国際電信電話di間委員会)に於てイメージ
をより効率的に通信するための画像の符号化方式の標準
化が進められ、現在、MH方式とMR方式とが標準に定
められている。In recent years, the importance of information has been increasing due to the advanced informationization of society. Along with this, the need to communicate more information faster is increasing. Under these circumstances, in the field of image transmission factors <'), C
The CITT (International Telegraph and Telephone Intercommunication Commission) is working to standardize image encoding methods for more efficient image communication, and currently the MH method and the MR method have been established as standards.
MH方式(1次元符号化方式)はイメージの水平方向の
統計的性質に着目し、各ラインの白または黒のラン長を
符号化するものである。その際、Huffman符号化
法を用いて出現頻度の高いランには短い符号、出現頻度
の低いランには長い符号を割り当てる。この結果、C:
CITTのテストチャート(A4版、1728x237
6ドツト)の情報量をMH符号化することにより約1/
8の情報量に圧縮することができる。The MH method (one-dimensional encoding method) focuses on the horizontal statistical properties of an image and encodes the white or black run length of each line. At this time, Huffman encoding is used to assign short codes to frequently occurring runs and long codes to infrequently occurring runs. As a result, C:
CITT test chart (A4 size, 1728x237
6 dots) is reduced by approximately 1/
The amount of information can be compressed to 8.
MR方式(2次元符号化方式)ではさらに、イメージの
垂直方向の統計的性質にも着目し、符号化しようとする
ライン(符号化ライン)上の画素が白から黒、または黒
から白へと変化する点(変化点)と、そのすぐ上のライ
ン(参照ライン)上の変化点との相対的位置関係を符号
化する。これにより、MR方式では先のCCI T ’
i”のテストチャートを約1714の情報量にまで圧縮
することができる。The MR method (two-dimensional encoding method) also focuses on the statistical properties of the image in the vertical direction, and changes the pixels on the line to be encoded (encoding line) from white to black or from black to white. The relative positional relationship between a changing point (change point) and a change point on the line immediately above it (reference line) is encoded. As a result, in the MR method, the previous CCI T'
i'' test chart can be compressed to about 1714 pieces of information.
ところで、MH方式はイメージメモリ上に格納された画
像情報を一度読み出すだけで符号化処理が実現できる。By the way, in the MH method, encoding processing can be realized by simply reading out the image information stored on the image memory once.
これに対しMl(1方式では、符号化ラインと参照ライ
ンを読み出すためlラインにつき2度読み出さなくては
ならない。従って、MR方式ではMH方式に比べてメモ
リアクセス回数が2倍必要となる。On the other hand, in the Ml (1 method), each line must be read twice in order to read the encoded line and the reference line. Therefore, the MR method requires twice as many memory accesses as the MH method.
このようにメモリアクセス回数がMl(方式に比べ2倍
必要であるということは、符号化処理時間自体がこのメ
モリアクセス時間以上には高速にならないという欠点を
有ゴることになる。The fact that the number of memory accesses is twice as many as in the Ml method has the drawback that the encoding processing time itself cannot be faster than this memory access time.
さらにイメージメモリへのアクセスが多いということは
、いくつかの装置によってこのイメージメモリを共有し
ている場合に、符号化装置がアクセスすることによって
他の&置を待機場ぜる確率が高く4ジ、システム全体と
じての性能を低下させるという欠点を有している。Furthermore, the fact that there are many accesses to the image memory means that if this image memory is shared by several devices, there is a high probability that the encoder will access the memory and leave other memory locations in the queue. However, it has the disadvantage of reducing the performance of the entire system.
このような状況に対して、ラインバッファを内蔵したM
R符号化装置がある。For such situations, M with built-in line buffer
There is an R encoding device.
第4図にこの例を示す。第4図のM RF3号化装置は
イメージメモリ401.コー)”メモ1j402゜符号
化ライン変化点検出器403.参照ライン変化点検出器
404.MR符号化器405.ラインバッファ406よ
り構成される。An example of this is shown in FIG. The M RF3 encoding device shown in FIG. 4 includes an image memory 401. 402° Encoding line change point detector 403. Reference line change point detector 404. MR encoder 405. Line buffer 406.
このM凡符号化装置の動作は以下の通りである。The operation of this M-base encoding device is as follows.
符号化ライン変化点検出器403はイメージメモリ40
1から符号化ラインのデータを読み出し、画素の値が変
化する位置(変化点)を検出し、その変化点アドレスを
MR符号化器405に出力する。また、読み出したデー
タをそのままラインバッファ406にも出力する。The encoded line change point detector 403 is connected to the image memory 40.
The encoded line data is read from 1 to 1, the position where the pixel value changes (change point) is detected, and the change point address is output to the MR encoder 405. Further, the read data is output to the line buffer 406 as is.
ラインバッファ406は少なくとも2ライン分の画像デ
ータを格納するだけの容量を持ち、符号化ライン変化点
検出器403より送られてくる符号化ラインの画像デー
タをライン単位で格納する。The line buffer 406 has a capacity to store at least two lines of image data, and stores the image data of the encoded line sent from the encoded line change point detector 403 line by line.
また、ラインバッファ406は、参照ライン変化点検出
器404からの要求に従って前ラインの符号化時に格納
した1ライン分の画像データを順に参照ライン変化点検
出器404に出力する。Further, the line buffer 406 sequentially outputs one line of image data stored during encoding of the previous line to the reference line change point detector 404 in accordance with a request from the reference line change point detector 404 .
参照ライン変化点検出器404はラインバッファ406
に対し画像データを要求し、ラインパ。Reference line change point detector 404 is line buffer 406
Request image data from the liner.
ファ406より出力されるデータを参照ラインとみなし
てそのラインの変化点を検出し、その変化点アドレスを
MR符号化器405に出力する。The data output from the filter 406 is regarded as a reference line, the change point of the line is detected, and the change point address is output to the MR encoder 405.
MR符号化器405は符号化ライン変化点検出器403
と参照ライン変化点検出器404より出力される変化点
アドレスからMR符号を生成し、そのデータをコードメ
モリ402に書き込む。MR encoder 405 is encoded line change point detector 403
An MR code is generated from the change point address output from the reference line change point detector 404 and the data is written into the code memory 402.
従って、このようなMR符号化装置では、符号化に必要
なイメージメモリへのデータアクセス回数をMH方式と
同じにする゛ことができる。Therefore, in such an MR encoding device, the number of data accesses to the image memory required for encoding can be made the same as in the MH method.
しかしながら、上述した従来のラインバッファを内蔵し
た符号化装置には、1ラインのデータを完全に格納する
ために、大容量のメモリを用意しなければならない欠点
を有している。すなわち、例えば1++s+を16本の
分解能でスキャンする場合、A4版の画像ならlライン
につき3456ビツトのラインバッファが必要となシ、
このような符号化装置のイメージメモリ、コードメモリ
以外の部分をLSI化する場合の大きな障害となる。However, the above-mentioned conventional encoding device incorporating a line buffer has the drawback that a large capacity memory must be prepared in order to completely store one line of data. For example, when scanning 1++s+ with a resolution of 16 lines, an A4 size image requires a line buffer of 3456 bits per line.
This becomes a major obstacle when converting parts other than the image memory and code memory of such an encoding device into an LSI.
硝
本発明のMR符号化装置は、2値画像情報を採納するた
めのイメージメモリと、モディファイド・リード(以下
MRと略す)符号化方式によって符号化されたコードを
格納するためのコードメモリと、前記イメージメモリよ
り符号化ラインを読み出して変化点を検出し該検出した
変化点のアドレスを出力する符号化ライン変化点検出器
と、前記イメージメモリより参照ラインを読み出して変
化点を検出し該検出した変化点のアドレスを出力する参
照ライン変化点検出器と、前記符号化ライン変化点検出
器より出力される符号化ラインの変化点アドレスと前記
参照ライン変化点検出器より出力される参照ラインの変
化点アドレスから符号化ラインのMR符号を生成し前記
コードメモリに書き込むMR符号化器によって構成され
るMR符号化装置において、前記符号化ライン変化点検
出器によって前記イメージメモリから読み出された1ラ
イン分の符号化ラインがすべて同じ値の画素によって構
成されていたかどうかを監視し、該符号化ラインがすべ
て同じ値の画素によって構成されていたか否かを示す情
報を出力する符号化ライン監視器を有するものである。The MR encoding device of the present invention comprises: an image memory for storing binary image information; a code memory for storing codes encoded by a modified read (hereinafter abbreviated as MR) encoding method; an encoded line change point detector that reads an encoded line from the image memory, detects a change point, and outputs an address of the detected change point; and an encoded line change point detector that reads a reference line from the image memory, detects a change point, and detects the change point. a reference line change point detector that outputs the address of the change point of the encoded line; a change point address of the encoded line output from the encoded line change point detector; and a reference line change point address output from the reference line change point detector; In an MR encoding device including an MR encoder that generates an MR code of a coded line from a change point address and writes it into the code memory, the coded line change point detector reads out an MR code from the image memory. A coding line monitor that monitors whether or not all coding lines are composed of pixels with the same value, and outputs information indicating whether the coding line is composed of pixels with the same value. It has the following.
〔実施例1〕 本発明について、図面を参照して説明する。[Example 1] The present invention will be explained with reference to the drawings.
第1図は本発明のブロック構成図である。本発明は、イ
メージメモリ101.コードメモリ102゜符号化ライ
ン変化点検出器103.参照ライン変化点検出器104
.MB、符号化器105.符号化ライン監視器106と
各ブロックを接続するデータバス110〜116によっ
て構成されている。FIG. 1 is a block diagram of the present invention. The present invention provides image memory 101. Code memory 102° Encoding line change point detector 103. Reference line change point detector 104
.. MB, encoder 105. It is composed of an encoded line monitor 106 and data buses 110 to 116 connecting each block.
また、符号化ライン監視器106の実施例1における内
部構成を第2図に示す。実施例1の符号化ライン監視器
106はOR,回路202と1ビツトのレジスタ203
によって構成される。Further, the internal configuration of the encoded line monitor 106 in the first embodiment is shown in FIG. The encoded line monitor 106 of the first embodiment is an OR circuit 202 and a 1-bit register 203.
Consisted of.
本実施例のMR符号化装置による符号化処理について駅
間する。The encoding process by the MR encoding device of this embodiment will be explained between stations.
符号化ライン変化点検出器103は、イメージメモリ1
01より符号化ラインの画像データを順に読み出し、変
化点を検出する。そして検出した変化点の位置を変化点
アドレスとしてMR符号化器105に出力する。変化点
アドレスは変化した画素の位置を表すもので、ラインの
先頭画素をアドレスlとし、ラインの最後の画素のアド
レスは1ラインの画素数となる。また、イメージメモリ
101から画像データを読み出す場合は固定長のデータ
に区切って行う。本実施例では仮に8ビット単位で読み
出すこととする。The encoded line change point detector 103 is connected to the image memory 1
The image data of the encoded line is sequentially read from 01 and the change point is detected. The position of the detected change point is then output to the MR encoder 105 as a change point address. The change point address indicates the position of a pixel that has changed, and the first pixel of the line is the address l, and the address of the last pixel of the line is the number of pixels in one line. Furthermore, when reading image data from the image memory 101, it is divided into fixed length data. In this embodiment, it is assumed that reading is performed in units of 8 bits.
参照ライン変化点検出器104も符号化ライン変化点検
出器103と同様にイメージメモリ101より参照ライ
ンの画像情報を頭に読み出し、変化点を検出して変化点
アドレスをMR符号化器105に出力する。イメージメ
モリ101から読み出すデータ長は符号化ライン変化点
検出器103と同様8ビツトとする。Similarly to the encoded line change point detector 103, the reference line change point detector 104 also reads the image information of the reference line from the image memory 101, detects the change point, and outputs the change point address to the MR encoder 105. do. The data length read from the image memory 101 is 8 bits, similar to the encoded line change point detector 103.
MR符号化器105は2つの変化点検出器103゜10
4より出力された符号化ラインと参照ラインの変化点ア
ドレスからMR符号を生成し、コードメモリ102に順
に書き込む。The MR encoder 105 has two change point detectors 103゜10.
An MR code is generated from the change point address of the encoded line and the reference line outputted from 4, and is sequentially written into the code memory 102.
以上は従来のMR符号化処理である。The above is the conventional MR encoding process.
つぎに符号化ライン監視器106を含めた場合について
説明する。Next, a case in which the encoded line monitor 106 is included will be explained.
符号化ライン変化点検出器103は前述したようにイメ
ージメモリ101より符号化ラインを8ビツトずつ読み
出すが、この読み出したデータをそのまま符号化ライン
監視器106にも出力する。The encoded line change point detector 103 reads the encoded line 8 bits at a time from the image memory 101 as described above, and also outputs the read data as is to the encoded line monitor 106.
出力されたデータは第2図のデータバス116を経て符
号化ライン監視器内の0几回路202に入力される。O
R1回路202は9ピツトのデータのOR論理を出力す
る。出力された信号は1ビツトのレジスタ203にラッ
チされる。またこの1ビツトのレジスタ203の保持し
ているデータは0凡回路202の入力にもなっている。The output data is input to the zero filter circuit 202 in the encoded line monitor via the data bus 116 of FIG. O
The R1 circuit 202 outputs OR logic of 9-pit data. The output signal is latched into a 1-bit register 203. The data held in this 1-bit register 203 also serves as an input to the 0-ordin circuit 202.
つまり、符号化ライン監視器106は符号化ラインの画
素すべてに対してOR論理をとることになり、1ライン
分のデータの読み込みが終了したときに信号線117上
に出力されているレジスタ203のイ直がOであればそ
のラインはすべて“0”“の値で構成されていたことを
示す。つまり符号化ラインは白ラインであったととくな
る。In other words, the encoded line monitor 106 performs OR logic on all pixels of the encoded line, and when reading of data for one line is completed, the register 203 output on the signal line 117 If the line is O, it means that the line was composed of all values of "0".In other words, the encoded line was a white line.
参照ライン変化点検出器104ではlラインの符号化処
理が開始されるとすぐに符号化ライン監視器106が信
号線117上に出力している信号を受は取る。この動作
が終了した後で各変化点検出器103.104はイメー
ジメモリ101からデータを読み出す。ここでもし、参
照ライン変化点検出器104が受は取った信号117が
0であれば、参照ライン変化点検出器104はこれから
読み出すべき参照ラインが白ラインであると判断し、そ
の1ライン符号化処理におけるイメージメモリ101か
らの読み出しを行わない。そして変化点アドレスとして
lラインの画素数に当たる値をMR符号化器105に出
力して処理を終了する。The reference line change point detector 104 receives the signal output on the signal line 117 from the encoded line monitor 106 as soon as the encoding process of the l line is started. After this operation is completed, each change point detector 103, 104 reads data from the image memory 101. Here, if the signal 117 received by the reference line change point detector 104 is 0, the reference line change point detector 104 determines that the reference line to be read from now is a white line, and the 1 line code Reading from the image memory 101 is not performed during the conversion process. Then, a value corresponding to the number of pixels in the l line is outputted to the MR encoder 105 as a change point address, and the process is terminated.
従って、本実施例では符号化ラインが白ラインであるか
どうかを監視し、白ラインであった場合にはつぎのライ
ンの符号化処理の時に、参照ラインが白ラインであると
判断して参照ラインの変化点アドレスとしてlラインの
画素数を出力し、イメージメモリから参照ラインを読み
出すことなく符号化処理を行う。また、白ラインでない
場合は前述した通常のMR符号化処理を行う。Therefore, in this embodiment, it is monitored whether the encoded line is a white line, and if it is a white line, it is determined that the reference line is a white line and the reference line is changed when encoding the next line. The number of pixels in the l line is output as a change point address, and encoding processing is performed without reading the reference line from the image memory. If the line is not a white line, the normal MR encoding process described above is performed.
〔実施例2〕 次に、実施例2について図面を参照して説明する。[Example 2] Next, Example 2 will be described with reference to the drawings.
本実施例も実施例1と同じ第1図に示すブロック構成が
基本構成であるが、実施例1と異なるのは符号化ライン
監視器106である。符号化ライン監視器106の実施
例2における内部構成を第3図に示す。実施例2の符号
化ライン監視器106はOB回路302.AND回路3
03、それに2と、トのレジスタ304によって構成さ
れる。The basic configuration of this embodiment is the same as that of the first embodiment, as shown in FIG. 1, but the difference from the first embodiment is the encoded line monitor 106. FIG. 3 shows the internal configuration of the encoded line monitor 106 in the second embodiment. The encoded line monitor 106 of the second embodiment includes an OB circuit 302. AND circuit 3
03, 2, and 304.
本実施例のMR符号化装置による符号化処理について説
明する。Encoding processing by the MR encoding device of this embodiment will be described.
本実施例においても通常のMl符号化処理については前
述の実施例1のMR符号化装置と同じであシ、これにつ
いては説明を省く。In this embodiment as well, the normal Ml encoding process is the same as that of the MR encoding apparatus of the first embodiment described above, and a description thereof will be omitted.
符号化ライン監視器106を含めた場合について説明す
る。A case in which the encoded line monitor 106 is included will be explained.
本実施例においても実施例1と同じく、符号化ライン変
化点検出器103はイメージメモリ101より読み出し
九データをそのまま符号化ライン監視器106にも出力
する。出力されたデータは第3図のデータバス116を
経て符号化ライン監視器内のOR回路302とAND回
路303に入力される。OR回路302とAND回路3
03はそれぞれ9ビ、トのデータのOR論理、AND論
理を信号線311,312に出力する。信号線311゜
312上に出力された2つの信号は2ビ、トレジスタ3
04にラッチされる。またこの2ビツトレジスタ304
の保持しているデータはそれぞれ対応する論理回路の入
力にもなっている。In this embodiment, as in the first embodiment, the encoded line change point detector 103 reads nine data from the image memory 101 and outputs the data as is to the encoded line monitor 106. The output data is input to an OR circuit 302 and an AND circuit 303 in the encoded line monitor via the data bus 116 shown in FIG. OR circuit 302 and AND circuit 3
03 outputs OR logic and AND logic of 9-bit data to signal lines 311 and 312, respectively. The two signals output on the signal lines 311 and 312 are 2-bit, register 3.
It is latched to 04. Also, this 2-bit register 304
The data held by each is also input to the corresponding logic circuit.
つまり、符号化ライン監視器106は符号化ラインの画
素すべてに対してOR論理とAND論理をとった結果を
出力することになり、1ライン分のデータの読み込みが
終了したときに信号線117A上に出力される信号が0
であれば符号化ラインが白ラインであったことを示し、
また信号線117B上に出力される信号が1であれば符
号化ラインが黒ラインであったことを示す。第1図の信
号線117は2ビツトで構成され、その値がOOであれ
ば白ライン、11であれば黒ラインであったことになる
。In other words, the encoded line monitor 106 outputs the results of OR logic and AND logic for all the pixels of the encoded line, and when the reading of data for one line is completed, the signal line 117A is output. The signal output to
If so, it indicates that the encoded line was a white line,
Further, if the signal output on the signal line 117B is 1, it indicates that the encoded line is a black line. The signal line 117 in FIG. 1 is composed of 2 bits, and if the value is OO, it is a white line, and if the value is 11, it is a black line.
参照ライン変化点検出器104では1ラインの符号化処
理が開始されるとすぐに符号化ライン監視器106が信
号線117上に出力している2ビツトの信号を受は取る
。この動作が終了した後で各変化点検出器103,10
4はイメージメモリ101からデータを読み出す。The reference line change point detector 104 receives the 2-bit signal output on the signal line 117 from the encoded line monitor 106 as soon as the encoding process for one line is started. After this operation is completed, each change point detector 103, 10
4 reads data from the image memory 101.
ここでもし、参照ライン変化点検出器104が受は取っ
た信号が00であれば、参照ライン変化点検出器104
はこれから読み出すべき参照ラインが白ラインであると
判断し、その1ライン符号化処理におけるイメージメモ
IJ 101からの読み出しを行わない。そして変化点
アドレスとして1ラインの画素数に当たる値をMR符号
化器105に出力して処理を終了する。Here, if the signal received by the reference line change point detector 104 is 00, the reference line change point detector 104
determines that the reference line to be read from now is a white line, and does not read from the image memo IJ 101 in the one-line encoding process. Then, a value corresponding to the number of pixels in one line is outputted to the MR encoder 105 as a change point address, and the process ends.
また、参照ライン変化点検出器104が受は取り良信号
が11であれば、参照ライン変化点検出器104はこれ
から読み出すべき参照ラインが黒ラインであると判断し
、その1ライン符号化処理におけるイメージメモリ10
1からの読み出しを行わない。そして変化点アドレスと
して0と1ラインの画素数に当たる値をMR符号化器1
05に出力して処理を終了する。Further, if the reference line change point detector 104 receives a good signal of 11, the reference line change point detector 104 determines that the reference line to be read from now is a black line, and in the one line encoding process. image memory 10
Do not read from 1. Then, the MR encoder 1 uses values corresponding to the number of pixels of 0 and 1 line as change point addresses.
05 and ends the process.
従って、本実施例では符号化ラインが白ラインまたは黒
ラインであるかどうかを監視し、白ラインであった場合
にはつきのラインの符号化処理の時に、参照ラインが白
ラインであると判断して参照ラインの変化点アドレスと
して1ラインの画素数を出力し、イメージメモリから参
照ラインを読み出すことなく符号化処理を行う。ま死点
ラインであった場合にはつぎのラインの符号化処理の時
に、参照ラインが黒ラインであると判断して参照ライン
の変化点アドレスとして0と1ラインの画素数の2つの
変化点アドレスを出力し、イメージメモリから参照ライ
ンを読み出すことなく符号化処理を行う。白ライン、黒
ラインでない場合は前述した通常のMR符号化処理を行
う。Therefore, in this embodiment, it is monitored whether the encoded line is a white line or a black line, and if it is a white line, it is determined that the reference line is a white line when encoding the next line. The number of pixels in one line is output as a change point address of the reference line, and encoding processing is performed without reading out the reference line from the image memory. If it is a dead center line, when encoding the next line, it is determined that the reference line is a black line, and the two change point addresses of the number of pixels of 0 and 1 line are used as the change point address of the reference line. is output and the encoding process is performed without reading the reference line from the image memory. If the line is not a white line or a black line, the normal MR encoding process described above is performed.
以上、2つの実施例ではMR方式の符号化のみについて
説明したが、本発明はMR方式の復号化についても適用
されることは明かである。In the above two embodiments, only MR type encoding has been described, but it is clear that the present invention is also applicable to MR type decoding.
以上説明したように本発明は、符号化ラインが白ライン
または黒ラインであるかどうかを監視し、その監視結果
により白ラインまたは黒ラインであった場合には次ライ
ンの符号化時に参照ラインをイメージメモリから読み出
す必要がなくなる。さらにこのような場合には参照ライ
ンの変化点アドレスを容易に生成することができる。As explained above, the present invention monitors whether an encoded line is a white line or a black line, and if the monitoring result shows that it is a white line or a black line, a reference line is used when encoding the next line. There is no need to read from image memory. Furthermore, in such a case, the change point address of the reference line can be easily generated.
この効果はライン上に1つでも変化点がある場合には発
揮されないが、前述したように文書画像のような2値画
像では白ラインの占める割合か大きい(画素値を反転さ
れた画像では黒ラインの占める割合が大きい。)。This effect does not occur if there is even one change point on the line, but as mentioned above, in binary images such as document images, the proportion of white lines is large (in images with inverted pixel values, black lines occupy a large proportion). (The line occupies a large proportion.)
従って、画像全体の符号化を行う場合にはラインバッフ
ァを持たなくとも十分にメモリアクセス回数を減少させ
ることができる。Therefore, when encoding the entire image, the number of memory accesses can be sufficiently reduced without providing a line buffer.
また、本発明の2つの実施例から明らかなようにライン
バッファに比べ、大幅にハードウェアを縮小することが
でき、かつ制御も容易であることからメモリ以外の部分
をLSI化することが容易となり、装置全体の小型化が
図れる。Furthermore, as is clear from the two embodiments of the present invention, compared to line buffers, hardware can be significantly reduced and control is easier, making it easier to incorporate parts other than memory into LSI. , the entire device can be made smaller.
第1図は本発明のブロック構成図、第2図は本発明の実
施例1における符号化ライン監視器内部の構成図、第3
図は本発明の実施例2における符号化ライン監視器内部
の構成図、第4図は従来例を示すプロ、り構成図である
。
101−−°−イメージメモリ、102・・・・・・コ
ードメモリ、103・・・・・・符号化ライン変化点検
出器、104・・・・・・参照ライン変化点検出器、1
05・・・・・・MR符号化器、106・・・・・・符
号化ライン監視器、110〜117・・・・・・データ
バス。
代理人 弁理士 内 原 晋
第
図
第
囚
第
えFIG. 1 is a block configuration diagram of the present invention, FIG. 2 is an internal configuration diagram of the encoded line monitor in Embodiment 1 of the present invention, and FIG.
FIG. 4 is a diagram showing the internal configuration of a coding line monitor according to a second embodiment of the present invention, and FIG. 4 is a diagram showing the configuration of a conventional example. 101--°-Image memory, 102...Code memory, 103...Encoding line change point detector, 104...Reference line change point detector, 1
05...MR encoder, 106... Encoding line monitor, 110-117... Data bus. Agent: Patent Attorney Susumu Uchihara
Claims (1)
符号化方式によって符号化されたコードを格納するため
のコードメモリと、前記イメージメモリより符号化ライ
ンを読み出して変化点を検出し該検出した変化点のアド
レスを出力する符号化ライン変化点検出器と、前記イメ
ージメモリより参照ラインを読み出して変化点を検出し
該検出した変化点のアドレスを出力する参照ライン変化
点検出器と、前記符号化ライン変化点検出器より出力さ
れる符号化ラインの変化点アドレスと前記参照ライン変
化点検出器より出力される参照ラインの変化点アドレス
から符号化ラインのMR符号を生成し前記コードメモリ
に書き込むMR符号化器によって構成されるMR符号化
装置において、前記符号化ライン変化点検出器によって
前記イメージメモリから読み出された1ライン分の符号
化ラインがすべて同じ値の画素によって構成されていた
かどうかを監視し、該符号化ラインがすべて同じ値の画
素によって構成されていたか否かを示す情報を出力する
符号化ライン監視器を有することを特徴とするMR符号
化装置。An image memory for storing binary image information, and an MR
a code memory for storing a code encoded by the encoding method; and a coded line change point detector that reads the coded line from the image memory, detects a change point, and outputs the address of the detected change point. a reference line change point detector that reads a reference line from the image memory, detects a change point, and outputs an address of the detected change point; and a coded line change point detector output from the encoded line change point detector. An MR encoding device comprising an MR encoder that generates an MR code of an encoded line from a change point address and a reference line change point address output from the reference line change point detector and writes it into the code memory, The encoded line change point detector monitors whether one encoded line read from the image memory is composed of pixels having the same value, and determines whether the encoded line is composed of pixels having the same value. 1. An MR encoding device characterized by having an encoding line monitor that outputs information indicating whether or not the MR encoding device has been configured.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP27984588A JPH02126773A (en) | 1988-11-04 | 1988-11-04 | Mr encoder |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP27984588A JPH02126773A (en) | 1988-11-04 | 1988-11-04 | Mr encoder |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH02126773A true JPH02126773A (en) | 1990-05-15 |
Family
ID=17616736
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP27984588A Pending JPH02126773A (en) | 1988-11-04 | 1988-11-04 | Mr encoder |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH02126773A (en) |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0248860A (en) * | 1988-08-10 | 1990-02-19 | Nec Corp | Mr coding device |
| JPH0695729A (en) * | 1992-06-30 | 1994-04-08 | Yuasa Shoji Kk | Machine tool control system |
-
1988
- 1988-11-04 JP JP27984588A patent/JPH02126773A/en active Pending
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0248860A (en) * | 1988-08-10 | 1990-02-19 | Nec Corp | Mr coding device |
| JPH0695729A (en) * | 1992-06-30 | 1994-04-08 | Yuasa Shoji Kk | Machine tool control system |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5402248A (en) | Image encoding apparatus and method | |
| JP2611637B2 (en) | Image compression / decompression device | |
| EP0597698B1 (en) | Image processing apparatus and method therefore | |
| US4955061A (en) | Method and apparatus for processing an image signal | |
| EP0229379A2 (en) | Digital picture signal coding/decoding circuit | |
| US6473527B1 (en) | Module and method for interfacing analog/digital converting means and JPEG compression means | |
| JP2776284B2 (en) | Image coding device | |
| US20020034331A1 (en) | Image display device and method | |
| JPH0248860A (en) | Mr coding device | |
| JPH0494267A (en) | Mr decoder | |
| US5452092A (en) | Changing pixel detector for coding of image data | |
| US7616820B2 (en) | System and method for reducing discontinuity of gray level in an image buffer memory | |
| JP3200864B2 (en) | Inter-frame prediction coding / decoding device | |
| JPS5883473A (en) | Picture signal encoding system | |
| JPH01303873A (en) | Picture transmission method | |
| JP3244549B2 (en) | Image input device | |
| JPS61251275A (en) | Processing circuit for picture signal | |
| JPH03175875A (en) | Code data conversion device | |
| JPS60182875A (en) | Picture data compressing circuit | |
| JPS6365271B2 (en) | ||
| JP2002221953A (en) | Image display device | |
| JPH04192674A (en) | Image restoring device | |
| JPS6362944B2 (en) | ||
| JPS6219978A (en) | data processing equipment | |
| JPS61251274A (en) | Processor of picture signal |