JPH05252404A - Picture information processor - Google Patents

Picture information processor

Info

Publication number
JPH05252404A
JPH05252404A JP4984492A JP4984492A JPH05252404A JP H05252404 A JPH05252404 A JP H05252404A JP 4984492 A JP4984492 A JP 4984492A JP 4984492 A JP4984492 A JP 4984492A JP H05252404 A JPH05252404 A JP H05252404A
Authority
JP
Japan
Prior art keywords
image data
pixel
processed
image
image information
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
JP4984492A
Other languages
Japanese (ja)
Inventor
Yasuaki Mitobe
保明 水戸部
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP4984492A priority Critical patent/JPH05252404A/en
Publication of JPH05252404A publication Critical patent/JPH05252404A/en
Pending legal-status Critical Current

Links

Landscapes

  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

PURPOSE:To extract a variation point or an outline of an image, and to compress data with high efficiency by obtaining exclusive OR in order with regard to a picture element to be processed at present and a picture element which is adjacent thereto and is to be processed in the next time. CONSTITUTION:An image reading part 28 contains a one-dimensional image sensor, executes read of picture information on a document, obtains binarized image data, and inputs it to a compressing/expanding circuit part 29. The circuit part 29 obtains exclusive OR between two adjacent picture elements in the main scanning direction. In this case, the picture element to be processed is moved by one picture element each to the right end from the left and at every scanning line, and with regard to the respective picture elements to be processed, exclusive OR to the picture element to be processed in the next time is taken and a signal state is replaced with its result. Accordingly, in the case the signal state of two picture elements is '0' and '1', the state is replaced with image data of '1', and only in the case the signal state in the image data is varied, a variation point consisting of signals '1' of a one-picture element portion is generated, respectively.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は例えばファクシミリ装置
のように画像読取部で読み取られた画像データを圧縮し
たり、圧縮された画像データを伸長したりする画情報処
理装置に係わり、特に高解像度化された2値の画像デー
タの圧縮や伸長に適した画情報処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image information processing apparatus for compressing image data read by an image reading section or expanding the compressed image data, such as a facsimile machine, and particularly to a high resolution. The present invention relates to an image information processing apparatus suitable for compression and expansion of digitized binary image data.

【0002】[0002]

【従来の技術】例えばファクシミリ装置では、1次元イ
メージセンサを使用した画像読取部で原稿上の画情報を
読み取るようになっている。CCITT(国際電信電話
諮問委員会)では、原稿の画像データは走査線上に並ん
だ画素から構成されることを規定している。ここで一番
最初の走査線は原稿の先端に位置づけられ、その左端を
開始点として右端方向に移動するようになっている。次
の走査線は前の走査線のすぐ下に配置され、同様に左端
から右端へ移動するようになっている。以下同様であ
る。画素(ピクセル)は、単位面積の領域であり、読み
取られる画情報の最小単位である。
2. Description of the Related Art For example, in a facsimile machine, image information on a document is read by an image reading section using a one-dimensional image sensor. CCITT (International Telegraph and Telephone Advisory Committee) stipulates that the image data of a document is composed of pixels arranged on a scanning line. Here, the first scanning line is located at the leading edge of the document and is moved toward the right edge with the left edge as the starting point. The next scan line is located immediately below the previous scan line and is also adapted to move from the left edge to the right edge. The same applies hereinafter. A pixel is a unit area area and is the minimum unit of image information to be read.

【0003】画像の読み取りによって得られた各画素の
濃淡を表わしたアナログレベルの画情報は、所定のスレ
ッショルドレベルで2値化される。この結果、それぞれ
の走査線は白または黒の“ラン”が交互に出現する画像
データとなる。ここで“ラン”とは同色の画素が次の異
色の画素まで連なっているものをいう。黒の“ラン”と
白の“ラン”は1つの走査ライン中で必ず交互に配置さ
れるので、各走査ラインでそれぞれ最初の“ラン”の色
が分かれば、以後の“ラン”の色は順に自動的に定ま
る。そこで、最初の“ラン”より後の“ラン”は、それ
らの長さ(同一色の画素の数)に関する情報(ランレン
グス)のみを持つだけでその再現を行うことができる。
The image information of analog level, which represents the shade of each pixel obtained by reading the image, is binarized at a predetermined threshold level. As a result, each scanning line becomes image data in which white or black "runs" alternately appear. Here, "run" means that pixels of the same color are connected to the pixels of the next different color. Black "runs" and white "runs" are always arranged alternately in one scan line, so if the first "run" color is known for each scan line, the subsequent "run" colors will be Determined automatically in order. Therefore, the "run" after the first "run" can be reproduced by only having information (run length) regarding their length (the number of pixels of the same color).

【0004】この点に着目した圧縮方法としては、従来
からMH(モデファイド・ハフマン)符号化方式が有名
である。この他にもこのMH符号化方式を改良したMR
(モデファイド・リード)符号化方式や、MMR(モデ
ファイド・MR)符号化方式が存在している。
The MH (Modified Huffman) coding method has been well known as a compression method focusing on this point. In addition to this, MR which is an improvement of this MH coding method
There are (Modified Read) coding system and MMR (Modified MR) coding system.

【0005】MH符号化方式では、走査線上の白または
黒のランレングスを、“0”から“63”のランレング
スを示したターミネィティング・コードと、“64”×
nのランレングスを示すメークアップ・コードとを組み
合わせて符号化を行うようにしている。この符号化方式
では、“63”以下のランレングスの場合にはターミネ
ィティング・コードのみで符号化を行い、ランレングス
が“64”以上になったらメークアップ・コードとター
ミネィティング・コードの和として符号化を行う。
In the MH coding system, a white or black run length on a scanning line is a terminating code showing a run length of "0" to "63" and "64" ×.
Coding is performed in combination with a makeup code indicating the run length of n. In this encoding method, in the case of a run length of "63" or less, encoding is performed using only the terminating code, and when the run length becomes "64" or more, the makeup code and the terminating code are encoded. Encoding is performed as the sum.

【0006】このようにランレングスが“63”以下の
ものについてターミネィティング・コードのみで符号化
を行うことにしたのは、比較的出現率が高く、かつラン
レングスの短いものに対しては圧縮比を高めるためによ
り短いコードを割り当てるようにしたためである。これ
に対してランレングスが“64”以上の場合には、組合
わされた比較的長いコードを用いても圧縮比がそれ程低
下しない。
As described above, the reason why the encoding is performed only with the terminating code for the run length of "63" or less is that the appearance rate is relatively high and the run length is short. This is because shorter codes are assigned to increase the compression ratio. On the other hand, when the run length is "64" or more, the compression ratio does not decrease so much even when the combined relatively long code is used.

【0007】なおMR符号化方式やMMR符号化方式で
は、現在圧縮を行っている走査ラインのみに着目せず、
これに隣接した参照ラインとの関係で圧縮を行うように
している。本発明では現在圧縮を行う走査ライン自体に
着目した圧縮装置に関するものなので、これら2つの符
号化方式とは直接関係しない。そこでこれらについての
詳細な説明は省略する。
In the MR coding system and the MMR coding system, it is not necessary to pay attention to only the scanning line currently being compressed,
The compression is performed in relation to the adjacent reference line. Since the present invention relates to a compression device that focuses on the scan line itself that is currently being compressed, it is not directly related to these two encoding methods. Therefore, detailed description thereof will be omitted.

【0008】図14はMH符号化方式で画像の読み取り
を行う際における読み取りの対象としての原稿の一例を
表わしたものである。この例の原稿11には画情報とし
てA、B、C、D、……という文字が書き込まれている
ものとする。矢印12はこの原稿11の読取方向として
の主走査方向を表わす。画像の読み取りを行う図示しな
い1次元イメージセンサはこの方向に配置されている。
他の矢印13は主走査方向と直交する副走査方向を表わ
している。
FIG. 14 shows an example of a manuscript to be read when an image is read by the MH coding system. It is assumed that the characters A, B, C, D, ... Are written as image information on the original 11 in this example. The arrow 12 represents the main scanning direction as the reading direction of the document 11. A one-dimensional image sensor (not shown) for reading an image is arranged in this direction.
The other arrow 13 represents the sub-scanning direction orthogonal to the main scanning direction.

【0009】図15は、図14における文字“E”を読
み取って2値化した場合の画像データの様子を表わした
ものである。この図に示されている升の1つ1つが画素
14である。白の画素は例えば信号“0”で表わされ
る。この場合、黒の画素は信号“1”で表わされること
になる。
FIG. 15 shows a state of image data when the character "E" in FIG. 14 is read and binarized. Each of the boxes shown in this figure is a pixel 14. White pixels are represented by a signal "0", for example. In this case, the black pixel is represented by the signal "1".

【0010】図16はMH符号化方式における白のラン
レングスとそれらの符号ワード、および黒のランレング
スとそれらの符号ワードをそれぞれ表わしたテーブルで
ある。例えば白の画素が4つ連続したランレングス
“4”の場合の符号ワードは“1100”であり、黒の
画素が4つ連続したランレングス“4”の場合の符号ワ
ードは“011”である。
FIG. 16 is a table showing white run lengths and their code words, and black run lengths and their code words in the MH coding system. For example, the code word in the case where the run length is “4” in which four white pixels are continuous is “1100”, and the code word in the case where the run length is “4” in which four black pixels are continuous is “011”. ..

【0011】図17は図15に矢印15で示した走査ラ
インについて図16に示したテーブルで符号化を行う際
の信号処理の様子を表わしたものである。このうち図1
7(a)は、図15の矢印15で示した走査ラインにお
ける画情報の様子を表わしたものである。ここでは最初
の3画素が白色Wであり、次の20画素が黒色Bであ
り、残り4画素が再び白色Wである。
FIG. 17 shows a state of signal processing when the scanning line indicated by the arrow 15 in FIG. 15 is encoded by the table shown in FIG. Of these, Figure 1
7A shows a state of image information on the scanning line shown by the arrow 15 in FIG. Here, the first 3 pixels are white W, the next 20 pixels are black B, and the remaining 4 pixels are white W again.

【0012】図17(b)は画像の読み取りを行い2値
化処理を行った後の画像データを表わしたものである。
圧縮前なので、最初の3画素分が信号“0”に、次の2
0画素分が信号“1”に、最後の4画素分が信号“0”
で表わされている。図17(c)は、MH符号化方式で
符号化した後の画像データの様子を表わしたものであ
る。ランレングス“3”の白色は“1011”で、ラン
レングス“20”の黒色は“0000100”で、また
ランレングス“4”の白色は“1100”でそれぞれ表
わされる。この結果、同図(b)に示した27ビットの
画像データは結局、15ビットの画像データ“1011
00001001100”に符号化されることになる。
FIG. 17B shows image data after the image is read and binarized.
Since it has not been compressed yet, the first three pixels become the signal "0" and the next two pixels
0 pixel is signal “1”, last 4 pixels is signal “0”
It is represented by. FIG. 17C shows a state of the image data after being encoded by the MH encoding method. The run length "3" is represented by white as "1011", the run length "20" is represented by black as "0000100", and the run length "4" is represented as white as "1100". As a result, the 27-bit image data shown in FIG.
Will be encoded as 0000101100.

【0013】[0013]

【発明が解決しようとする課題】ところで、ISDN
(サービス総合ディジタル網)の普及と共に、大量のデ
ータを高速かつ安価に伝送できる時代が到来している。
そこで、例えばファクシミリ装置においても従来と比べ
て単に原稿の伝送時間を短縮するだけでなく、その解像
度を大幅に向上させることが期待されている。
By the way, ISDN
With the spread of (service integrated digital network), an era has arrived where a large amount of data can be transmitted at high speed and at low cost.
Therefore, for example, in a facsimile apparatus, it is expected that not only the transmission time of the original document will be shortened but also the resolution thereof will be significantly improved as compared with the related art.

【0014】ところが、このように解像度を向上させた
ファクシミリ装置に従来と同様の圧縮方式を採用する
と、圧縮比が向上しにくいという問題がある。すなわち
仮に解像度が従来の10倍向上するものとすると、ラン
レングスが従来わずか“7”の画像領域でもランレング
スが“70”に増大してしまい、ターミネィティング・
コードのみで符号化を行うことができなくなってしま
う。すなわち、走査ラインにおけるほとんどのランレン
グスがメークアップ・コードとターミネィティング・コ
ードの和として符号化されてしまい、圧縮比がかなり低
下してしまうといった問題があった。
However, if the same compression method as the conventional one is adopted for the facsimile apparatus having the improved resolution, there is a problem that the compression ratio is difficult to improve. That is, if the resolution is improved by 10 times compared with the conventional one, the run length is increased to “70” even in the image area where the run length is only “7” in the related art, and the termination
It becomes impossible to encode using only the code. That is, most of the run lengths in the scan line are coded as the sum of the makeup code and the terminating code, and the compression ratio is considerably lowered.

【0015】そこで本発明の目的は、画情報の解像度が
向上しても高圧縮率を確保することのできる画情報処理
装置を提供することにある。
Therefore, an object of the present invention is to provide an image information processing apparatus capable of ensuring a high compression rate even if the resolution of image information is improved.

【0016】本発明の他の目的は、このような高圧縮率
で処理された画像データを元の画情報に復元することの
できる画情報処理装置を提供することにある。
Another object of the present invention is to provide an image information processing apparatus capable of restoring the image data processed at such a high compression rate to the original image information.

【0017】[0017]

【課題を解決するための手段】請求項1記載の発明で
は、2値化された画像データを走査方向に順次画素単位
で入力する画像データ入力手段と、この画像データにお
ける現在処理すべき画素とこれに隣接した次に処理すべ
き画素との排他的論理和をとる論理回路と、この論理回
路の出力を符号化する符号化手段とを画情報処理装置に
具備させる。
According to a first aspect of the present invention, image data input means for sequentially inputting binarized image data in pixel units in the scanning direction, and a pixel to be currently processed in this image data. The image information processing apparatus is provided with a logic circuit that performs an exclusive OR with a pixel to be processed next, which is adjacent thereto, and a coding unit that codes the output of the logic circuit.

【0018】すなわち請求項1記載の発明では、2値化
された画像データについて1画素ずつずらしながら隣接
する2画素の排他的論理和を順にとっていって、隣接す
る2画素の色が異なる点(変化点)を検出する。このよ
うにして元の画像の輪郭を抽出し、これを符号化するこ
とでランレングスが1画素となった画像データを増加さ
せ、解像度が向上しても高圧縮率を達成することができ
るようにし、前記した最初の目的を達成する。
That is, according to the first aspect of the invention, the exclusive OR of the two adjacent pixels is sequentially taken while shifting the binarized image data pixel by pixel, and the colors of the two adjacent pixels are different ( Change point) is detected. In this way, the contour of the original image is extracted and coded to increase the image data with a run length of 1 pixel, so that a high compression rate can be achieved even if the resolution is improved. And achieve the first objective described above.

【0019】請求項2記載の発明では、2値化された画
像データの現在処理すべき画素とこれに隣接した次に処
理すべき画素との排他的論理和を順にとることによって
得られた画像データをライン単位で入力し、所定色の1
画素でそれぞれ構成された変化点を検出する変化点検出
手段と、この変化点検出手段で検出されたそれぞれの変
化点を所定方向に辿ったときに交互に信号状態が反転す
るようにそれぞれの点から次の点までを一色の信号に置
き換えることで画情報を復元する画情報復元手段とを画
情報処理装置に具備させる。
According to the second aspect of the present invention, an image obtained by sequentially taking the exclusive OR of the pixel to be currently processed of the binarized image data and the pixel to be processed next adjacent to this pixel. Enter the data in line units, and enter 1 of the specified color.
A change point detecting means for detecting a change point formed of each pixel and each point so that the signal state is alternately inverted when the respective change points detected by the change point detecting means are traced in a predetermined direction. The image information processing device is provided with image information restoring means for restoring the image information by replacing the signal from the following point to a signal of one color.

【0020】すなわち請求項2記載の発明では、画像の
輪郭線を形成する変化点を検出し、これらの変化点ごと
に信号状態が反転するようにそれぞれの点から次の点ま
でを一色の信号に置き換えることによって元の画像を再
現することにして、前記した2番目の目的を達成する。
That is, according to the second aspect of the present invention, the change points forming the contour line of the image are detected, and a signal of one color is supplied from each point to the next point so that the signal state is inverted at each of these change points. By recreating the original image by substituting for, the second objective described above is achieved.

【0021】請求項3記載の発明では、原稿を1ライン
ずつ走査して画情報の読み取りを行う読取手段と、この
読取手段によって読み取られ2値化された画像データに
おける現在処理すべき画素と同一ラインでこれに隣接し
た次に処理すべき画素との排他的論理和をとる論理回路
と、この論理回路の出力を所定の圧縮方式で符号化する
符号化手段と、符号化後の画像データを送信する送信手
段と、他の装置から同様に処理されて送られてきた画像
データを受信する受信手段と、この受信した画像データ
を入力し、所定色の1画素でそれぞれ構成された変化点
を検出する変化点検出手段と、この変化点検出手段で検
出された各ラインの最初の変化点と次の変化点との間を
その直前の信号状態以外の信号状態に置き換え、これ以
後は交互に信号状態が反転するようにそれぞれの点から
次の点までを一色の信号に置き換えて画情報の復元を行
う画情報復元手段とを画情報処理装置に具備させる。
According to a third aspect of the present invention, the reading unit that scans the document line by line to read the image information, and the pixel to be currently processed in the binarized image data read by the reading unit are the same. A logic circuit that takes an exclusive OR with the pixel to be processed next adjacent to this on the line, an encoding means that encodes the output of this logic circuit by a predetermined compression method, and the image data after encoding Transmitting means for transmitting, receiving means for receiving image data similarly processed and transmitted from another device, and inputting the received image data, a change point constituted by one pixel of a predetermined color The change point detecting means for detecting and the first change point and the next change point of each line detected by this change point detecting means are replaced with a signal state other than the signal state immediately before, and thereafter, alternately. Signal There is provided in the image processing apparatus and an image information restoring means to restore the image information from each point to the next point by replacing the color of the signal to invert.

【0022】すなわち請求項3記載の発明では、原稿の
読み取りを行う読取手段を設け、読み取られた画像デー
タについて論理回路で排他的論理和をとって変化点を抽
出すると共に、この論理回路の出力した画像データを符
号化して送信し、同様の原理で符号化された画像データ
を受信した場合には各走査ラインの変化点を検出し、所
望の変化点同士を黒等の1色で塗り潰すことにして原稿
上の画情報の再現を行うようにした。
That is, according to the third aspect of the present invention, the reading means for reading the original is provided, and the change point is extracted by taking the exclusive OR of the read image data with the logic circuit, and the output of this logic circuit is obtained. When the encoded image data is encoded and transmitted, and when the encoded image data is received by the same principle, the change points of each scanning line are detected and the desired change points are filled with one color such as black. I decided to reproduce the image information on the manuscript.

【0023】[0023]

【実施例】以下実施例につき本発明を詳細に説明する。EXAMPLES The present invention will be described in detail below with reference to examples.

【0024】図1は本発明の一実施例の圧縮装置を使用
したファクシミリ装置の回路構成の概要を表わしたもの
である。このファクシミリ装置は画像データの圧縮処理
等の各種処理を実行するためのCPU(中央処理装置)
21を搭載している。CPU21はデータバス等のバス
22を介して各種の回路装置と接続されている。
FIG. 1 shows an outline of a circuit configuration of a facsimile apparatus using a compression apparatus according to an embodiment of the present invention. This facsimile apparatus is a CPU (central processing unit) for executing various processing such as image data compression processing.
It is equipped with 21. The CPU 21 is connected to various circuit devices via a bus 22 such as a data bus.

【0025】このうちROM23は圧縮処理の制御やそ
の他一般的なファクシミリ通信を行うための制御につい
てのプログラムや、メークアップ・コードとターミネィ
ティング・コードを表わしたテーブル等を格納したリー
ド・オンリ・メモリである。作業用メモリ24はCPU
21が各種作業を実行する上で一時的に必要とされるデ
ータを格納するランダム・アクセス・メモリである。操
作パネル25は通信操作を行うためのパネルであり、こ
こには各種のキースイッチや液晶表示パネルが配置され
ている。通信制御部26は回線27と接続され、ファク
シミリ信号の送受信を行うようになっている。
Of these, the ROM 23 is a read only program that stores a program for controlling compression processing and other general facsimile communication control, and a table representing make-up codes and terminating codes. It is a memory. The working memory 24 is a CPU
Reference numeral 21 is a random access memory for storing data that is temporarily required for executing various operations. The operation panel 25 is a panel for performing a communication operation, and various key switches and a liquid crystal display panel are arranged here. The communication control unit 26 is connected to the line 27 so as to transmit and receive a facsimile signal.

【0026】画像読取部28は、1次元イメージセンサ
を内蔵しており原稿上の画情報の読み取りを行うように
なっている。圧縮・伸長回路部29は画情報の圧縮を行
ったり伸長を行う回路で構成されている。画像記録部3
0は例えばレーザプリンタで構成されており、受信した
画像等の記録を行うようになっている。
The image reading section 28 has a built-in one-dimensional image sensor and reads image information on a document. The compression / expansion circuit unit 29 is composed of a circuit for compressing or expanding image information. Image recording unit 3
Reference numeral 0 denotes a laser printer, for example, which records received images and the like.

【0027】このような構成の画情報処理装置の画像読
取部28で、図14に示した原稿11の読み取りを行
い、図15に示したような文字“E”についての2値化
した画像データが得られたものとする。ただし、ここで
は文字“E”についての画像の読取密度が従来のものと
同一であるという仮定をとっている。
The image reading unit 28 of the image information processing apparatus having such a configuration reads the original 11 shown in FIG. 14 and binarizes the image data of the character "E" as shown in FIG. Shall be obtained. However, here, it is assumed that the image reading density for the character "E" is the same as the conventional one.

【0028】図2はこの画像データを図1に示した圧縮
・伸長回路部に入力し、主走査方向の隣接する2画素間
で排他的論理和をとった結果得られた画像データを表わ
したものである。各走査ラインごとに左端から右端へと
処理すべき画素を1画素ずつ移動させていき、それぞれ
の処理すべき画素について次に処理すべき画素との排他
的論理和をとってその結果に信号状態を置き換えるよう
にする。すなわち、排他的論理和をとる2画素の信号状
態が“0”と“1”の2つの状態に分かれている場合に
は信号状態が“1”(黒色)の画像データに置き換えら
れ、その他の場合には信号状態が“0”(白色)の画像
データに置き換えられる。このようにして、画像データ
における信号状態が変化する場所だけにそれぞれ1画素
分の信号“1”からなる変化点が現われることになる。
FIG. 2 shows image data obtained as a result of inputting this image data to the compression / decompression circuit section shown in FIG. 1 and taking an exclusive OR between two adjacent pixels in the main scanning direction. It is a thing. The pixel to be processed is moved one pixel at a time from the left end to the right end for each scanning line, and the exclusive OR of each pixel to be processed with the pixel to be processed next is calculated, and the result is signal state. To be replaced. That is, when the signal states of the two pixels that take the exclusive OR are divided into two states of “0” and “1”, the signal state is replaced with the image data of “1” (black), and other In this case, the signal state is replaced with image data of "0" (white). In this way, the change points each consisting of the signal "1" for one pixel appear only at the places where the signal state in the image data changes.

【0029】図3は、このようにして得られた画像デー
タを符号化するためのテーブルを表わしたものである。
このテーブルは図16に示したテーブルと白のランレン
グスについては基本的に同一となっている。黒のランレ
ングスについては、図2で示したように変化点ごとにラ
ンレングス“1”のデータが現われるだけなので、これ
を最短ビット長のデータ“1”で表わすことにしてい
る。
FIG. 3 shows a table for encoding the image data thus obtained.
This table is basically the same as the table shown in FIG. 16 with respect to the white run length. As for the black run length, only the data of the run length "1" appears at each change point as shown in FIG. 2, so this is represented by the data "1" of the shortest bit length.

【0030】図4は、図2に矢印35で示した走査ライ
ンについて図3に示したテーブルで符号化を行う際の信
号処理の様子を表わしたものである。このうち図4
(a)はこの走査ラインにおけるテーブルで変換される
画像データの様子を表わしたものである。ここでは最初
の2画素が白色Wであり、次の1画素が変化点としての
黒色Bである。次の19画素は本来黒色の部分であるが
白色Wに置き換えられている。その次に1画素分の変化
点としての黒色Bが存在し、残り4画素が本来の白色W
である。
FIG. 4 shows the state of signal processing when the scanning line indicated by the arrow 35 in FIG. 2 is encoded by the table shown in FIG. Of these, Figure 4
(A) shows the state of the image data converted by the table in this scanning line. Here, the first two pixels are white W, and the next one pixel is black B as a change point. The next 19 pixels are originally black, but are replaced by white W. Next, there is a black color B as a change point for one pixel, and the remaining four pixels are the original white color W
Is.

【0031】図4(b)はこの画像データの信号波形を
表わしたものである。白色Wの画像データが信号“0”
で、黒色Bの画像データが信号“1”でそれぞれ表わさ
れている。図4(c)は、図3に示したテーブルを用い
て符号化した後の画像データの様子を表わしたものであ
る。ランレングス“2”の白色は“1000”で、ラン
レングス“1”の黒色は“1”で、またランレングス
“19”の白色は“10”で、次のランレングス“1”
の黒色は“1”で、最後のランレングス“4”の白色は
“1100”でそれぞれ表わされる。この結果、同図
(b)に示した27ビットの画像データは結局、12ビ
ットの画像データ“100011011100”に符号
化されることになる。
FIG. 4B shows a signal waveform of this image data. Image data of white W is signal “0”
The black B image data is represented by the signal "1". FIG. 4C shows a state of the image data after being encoded using the table shown in FIG. The run length "2" has a white color of "1000", the run length "1" has a black color of "1", and the run length "19" has a white color of "10", and the next run length "1".
The black color is represented by "1", and the white color of the last run length "4" is represented by "1100". As a result, the 27-bit image data shown in FIG. 9B is eventually encoded into the 12-bit image data "100011011100".

【0032】この例では文字“E”の符号化に際して従
来と解像度が同一であると仮定して圧縮処理を行った
が、解像度が向上しても本実施例では黒の画像部分の
“縁”が変化点として抽出され、これらについてはそれ
ぞれ1ビットの信号で表示されるので、解像度が向上し
た場合には従来と比べてより高い比率で圧縮が行われる
ことになる。
In this example, when the character "E" was encoded, the compression process was performed on the assumption that the resolution was the same as the conventional one. However, even if the resolution is improved, the "edge" of the black image portion is used in this embodiment. Are extracted as change points, and these are displayed as 1-bit signals. Therefore, when the resolution is improved, compression is performed at a higher ratio than in the conventional case.

【0033】図5は、図2に示したような変化点を抽出
するための変化点抽出回路の構成を表わしたものであ
る。図1に示した圧縮・伸長回路部29には第1〜第
(n−1)の排他的論理和ゲート411 、412 、……
41n-1 が配置されている。これらには同一走査ライン
で互いに隣接する2つの画素の画像データPが入力され
るようになっている。ここで、第1の排他的論理和ゲー
ト411 には、第1の画素の画像データP1 と第2の画
素の画像データP2 が入力され、第2の排他的論理和ゲ
ート412 には、第2の画素の画像データP2 と第3の
画素の画像データP 3 が入力される。以下同様にして第
(n−1)の排他的論理和ゲート41n-1 には、第(n
−1)の画素の画像データPn-1 と第nの画素の画像デ
ータPn が入力されるようになっている。
FIG. 5 extracts the change points as shown in FIG.
Is a configuration of a change point extraction circuit for
It The compression / expansion circuit unit 29 shown in FIG.
(N-1) exclusive OR gate 411, 412, ……
41n-1Are arranged. These have the same scan line
The image data P of two pixels adjacent to each other is input at
It has become so. Here, the first exclusive OR gate
To 411Is the image data P of the first pixel.1And the second picture
Raw image data P2Is input, the second exclusive OR
412Is the image data P of the second pixel.2And the third
Pixel image data P 3Is entered. Similarly below
(N-1) exclusive OR gate 41n-1In the (n
-1) Pixel image data Pn-1And the image data of the nth pixel
Data PnIs entered.

【0034】なお、数値nは各走査ラインに対する全画
素と等しい必要はなく、これよりも少ない所定の数値で
あってよい。この場合には、1つの走査ラインの画像デ
ータを幾つかに分割して図5に示した変化点抽出回路に
順次入力し、n画素分ずつのデータ処理を行うようにす
ることになる。今、仮に数値nが図15に示した領域の
走査線の画素数に想到する“27”であり、矢印15で
示した走査ラインについて各排他的論理和ゲート4
1 、412 、……41n-1 が排他的論理和をとったも
のとすると、図5の右端に示したような“0”または
“1”の組み合わせからなる論理結果が得られることに
なる。
It should be noted that the numerical value n does not have to be equal to all pixels for each scan line, and may be a predetermined numerical value smaller than this. In this case, the image data of one scanning line is divided into several pieces, which are sequentially input to the change point extraction circuit shown in FIG. 5 to perform data processing for each n pixels. Now, suppose that the numerical value n is "27" which corresponds to the number of pixels of the scanning line in the area shown in FIG.
Assuming that 1 1 , 41 2 , ... 41 n-1 take an exclusive OR, a logical result consisting of a combination of “0” or “1” as shown at the right end of FIG. 5 can be obtained. become.

【0035】このようにして変化点検出後の画像データ
は図3に示したテーブルによって符号化され、図1に示
した通信制御部26からファクシミリ信号として回線2
7に送り出され、相手側のファクシミリ装置(図示せ
ず)に伝送されることになる。
In this way, the image data after the change point is detected is encoded by the table shown in FIG. 3, and the communication control unit 26 shown in FIG.
7 and is transmitted to the facsimile machine (not shown) on the other side.

【0036】図6は、このような画像送信時における画
情報処理装置の処理の流れを表わしたものである。図1
で示したCPU21は原稿の送信準備を行う指示を受け
ると、画像読取部28で1ライン分の画像の読み取りを
行ってそのイメージを2値化して作業用メモリ24に展
開する(ステップS101)。そして、所定長の画像デ
ータに区分けして、これらを順に図5に示した変化点抽
出回路に入力し、排他的論理和(EXOR)をとった画
像データに置き換える(ステップS102)。このよう
にして1ライン分の処理が終了したら、1ページ分の全
主走査ラインの処理が終了するまで、この作業を繰り返
す(ステップS103)。
FIG. 6 shows the flow of processing of the image information processing apparatus during such image transmission. Figure 1
When receiving the instruction to prepare the transmission of the original document, the CPU 21 shown by means of the image reading unit 28 reads an image for one line, binarizes the image, and expands it in the working memory 24 (step S101). Then, the image data is divided into image data of a predetermined length, which are sequentially input to the change point extraction circuit shown in FIG. 5 and replaced with image data obtained by exclusive OR (EXOR) (step S102). When the processing for one line is completed in this way, this operation is repeated until the processing for all main scanning lines for one page is completed (step S103).

【0037】1ページ分の画像データが作成されたら、
各ラインの画像データに対して白のランレングスおよび
黒のランレングスを抽出する(ステップS104)。そ
して、それらのランレングスを図3のテーブルを用いて
符号化する(ステップS105)。符号化された1ペー
ジ分の画像データは作業用メモリ24に送信が行われる
まで蓄積される。
When the image data for one page is created,
A white run length and a black run length are extracted from the image data of each line (step S104). Then, those run lengths are encoded using the table of FIG. 3 (step S105). The encoded image data for one page is accumulated in the work memory 24 until it is transmitted.

【0038】このようにして1ページ分の画像データの
符号化が終了したら、CPU21は送信する次のページ
(原稿)が存在するかどうかを判別し(ステップS10
6)、存在する場合には(Y)、ステップS101に戻
ってそのページの処理を行う。すべてのページの処理が
終了したら(ステップS106;Y)、送信準備が終了
する(エンド)。
When the encoding of the image data for one page is completed in this way, the CPU 21 determines whether or not the next page (original) to be transmitted exists (step S10).
6) If it exists (Y), the process returns to step S101 to process the page. When the processing of all pages is completed (step S106; Y), the preparation for transmission is completed (END).

【0039】図7は、このような符号化処理を行ったフ
ァクシミリ信号が受信された場合の1ページ分の伸長処
理の流れを表わしたものである。通信制御部26で受信
した受信データは図3に示したテーブルを参照しながら
圧縮・伸長回路部29によって1ライン分だけ伸長さ
れ、(ステップS201)、次に同一ライン上の1ビッ
ト(黒)で挟まれた領域を1つ置きに黒く塗り潰す(ス
テップS202)。この際、1ラインの最初の部分は白
の画素として処理されるようになっている。塗り潰しの
処理については後に詳しく説明する。
FIG. 7 shows a flow of decompression processing for one page when a facsimile signal subjected to such coding processing is received. The reception data received by the communication control unit 26 is expanded by one line by the compression / expansion circuit unit 29 while referring to the table shown in FIG. 3 (step S201), and then one bit (black) on the same line. Every other area sandwiched by is painted black (step S202). At this time, the first part of one line is processed as a white pixel. The filling process will be described later in detail.

【0040】1ラインにおける回答箇所の塗り潰しが終
了したら、CPU21は1ページの全ラインの処理につ
いて同様の処理が終了したかどうかをチェックして(ス
テップS203)、終了していなければステップS20
1に戻って次の1ラインの処理を行う。このようにして
1ページ分の伸長処理を終了させる(エンド)。複数ペ
ージの受信が行われる場合には、この図7に示した処理
がそのページ分だけ繰り返されることになる。
When the filling of the answer portion on one line is completed, the CPU 21 checks whether or not the same processing has been completed for the processing of all the lines on one page (step S203), and if not completed, step S20.
The process returns to 1 and the next one line is processed. In this way, the expansion process for one page is completed (END). When a plurality of pages are received, the processing shown in FIG. 7 is repeated for that page.

【0041】ところで、以上の伸長処理で処理の対象と
なる画像データは信号“0”または信号“1”からなる
シリアルなデータ列である。このデータ列では、図3に
示したテーブルからも明らかなように1つの色に対応す
るビット列の長さが必ずしも一定していない。そこで、
どの位置でこれらを区切り、テーブルと対応付けて画像
データとして再現するかについて説明する。
By the way, the image data to be processed by the above expansion processing is a serial data string composed of the signal "0" or the signal "1". In this data string, as is clear from the table shown in FIG. 3, the length of the bit string corresponding to one color is not always constant. Therefore,
A description will be given of at which position these are separated and reproduced as image data in association with the table.

【0042】図3に示したテーブルに示された符号ワー
ドは、それぞれ固有のものであり、他の色や他のランレ
ングスで同一の符号ワードが出現することはない。ま
た、各走査ラインについて本実施例では白の画素から開
始し、順に黒、白、黒、白と繰り返されるようになって
いる。画像データの伸長に際しては、先頭のビットから
順に1ビットずつ図3のテーブルを参照していき、一致
しないビットが出現した時点を白と黒の画素の境目とす
るようにしている。
The code words shown in the table shown in FIG. 3 are unique to each other, and the same code word does not appear in other colors or run lengths. In this embodiment, each scan line starts from a white pixel, and is sequentially repeated black, white, black, and white. When decompressing the image data, the table of FIG. 3 is referred to bit by bit from the leading bit in order, and the time when the unmatched bits appear is set as the boundary between the white and black pixels.

【0043】図8は一例としてある画情報とその圧縮デ
ータの関係を表わしたものである。ここでは図3に示し
たテーブルとは切り離して原理的な説明を行う。図8
(a)は読み取られた画素の状態を表わしており、最初
の3つが白の画素W、次の4つが黒の画素B、次の4つ
が白の画素Wというような状態となっている。同図
(b)は、これによって得られた圧縮データを表わして
いる。
FIG. 8 shows the relationship between certain image information and its compressed data as an example. Here, the principle will be described separately from the table shown in FIG. Figure 8
(A) shows the state of the read pixels. The first three are white pixels W, the next four are black pixels B, and the next four are white pixels W. FIG. 2B shows the compressed data obtained by this.

【0044】図9および図10はこの圧縮データを伸長
する際のテーブルの参照の原理を表わしたものである。
これらの図でテーブル51(図3のテーブルとは異な
る。)の左半分が黒の符号ワードの体系としてのツリー
構造を表わしており、右半分が白の符号ワードの体系と
してのツリー構造を表わしている。これらのツリー構造
ではそれらの一番上からワードを形作る個々の信号状態
が順にサーチされる。破線52は、それらの位置でツリ
ーが途切れることを示している。
FIGS. 9 and 10 show the principle of referring to the table when decompressing the compressed data.
In these figures, the left half of the table 51 (different from the table of FIG. 3) represents the tree structure as the system of black code words, and the right half represents the tree structure as the system of white code words. ing. In these tree structures, the individual signal states forming the word are searched in order from the top of them. The dashed line 52 indicates that the tree is broken at those positions.

【0045】さて、図8bで圧縮データの先頭が信号
“1”なので、図9に示した最初の段階では右半分の白
の符号ワードが参照される。そして、“1”、“0”、
“1”、“1”と順に辿って行き、4番目の信号でツリ
ーが途切れるので、4つの符号ワード“1011”で示
される白のランレングスであると判別する。
Since the head of the compressed data is the signal "1" in FIG. 8B, the right half white code word is referred to in the first stage shown in FIG. And "1", "0",
Since the tree is interrupted by the fourth signal by sequentially tracing "1" and "1", it is determined that the run length is white indicated by the four code words "1011".

【0046】次に図10に進んで、今度は左半分に位置
する黒の符号ワードが参照される。この場合には、
“0”、“1”、“1”と順に辿って行き、3番目の信
号でツリーが途切れるので、3つの符号ワード“01
1”で示される黒のランレングスであると判別する。更
に次には右半分に位置する白の符号ワードが参照される
ことになる。このようにして、それぞれのワードの長さ
が異なっても、白および黒のランレングスを再現するこ
とができる。
Turning now to FIG. 10, the black codeword, which is now located in the left half, is referenced. In this case,
Since the tree is interrupted by the third signal by going through “0”, “1”, “1” in order, three code words “01”
It is determined to be a black run length indicated by 1 ". Next, the white code word located in the right half is referred to. In this way, the length of each word is different. Even white and black run lengths can be reproduced.

【0047】以上図3のテーブルとは異なる一般的なテ
ーブル51における符号ワードについての体系を説明し
た。この例では黒のランレングスについて先頭を信号
“0”とし、黒の場合には先頭を信号“1”としたが、
走査ラインの最初が何色のランレングスで構成されるか
が判る場合には、必ずしも先頭の信号状態と色の関係が
1対1に設定される必要はない。図3に示したテーブル
では黒のランレングスが“1”の場合の符号ワードが
“1”となっているが、他の黒のランレングスの符号ワ
ードはすべて信号“0”から開始しているので、他の符
号ワードと区別することができることになる。
The system of code words in the general table 51 different from the table of FIG. 3 has been described above. In this example, the head is the signal "0" for the black run length, and the head is the signal "1" for black.
When it is known how many run lengths the scan line is composed of, the relationship between the signal state at the beginning and the color does not necessarily have to be set to one-to-one. In the table shown in FIG. 3, the code word when the black run length is "1" is "1", but the code words of the other black run lengths all start from the signal "0". Therefore, it can be distinguished from other code words.

【0048】ところで、以上説明した変化点あるいは黒
色の輪郭抽出および画情報の復元が走査ライン上の同一
色の連続する画素数の数に係わりなく問題ない行われる
かどうかが問題となる。これは、元々1画素しかない細
線を画像読取部28が読み取った場合でも、画像の再現
を正しく行うかどうかという問題である。そこで、これ
を通常の画像データの場合と比較しながら、これについ
て本実施例の画情報処理装置が問題なく動作することを
検証する。
By the way, whether or not the extraction of the changing point or the black contour and the restoration of the image information described above are performed regardless of the number of consecutive pixels of the same color on the scanning line is a problem. This is a problem as to whether or not the image is correctly reproduced even when the image reading unit 28 reads a thin line that originally has only one pixel. Therefore, while comparing this with the case of normal image data, it is verified that the image information processing apparatus of the present embodiment operates without any problem.

【0049】図11は3画素以上が連続する通常の場合
の画像データの処理の様子を表わしたものである。この
例で、ある走査ラインの画情報は同図(a)に示したよ
うに1番目および2番目の画素、が白、3番目〜5
番目の画素〜が黒、6番目および7番目の画素、
が白である。すなわち、この例では黒の画素〜が
3つ連続したものとなっている。
FIG. 11 shows how the image data is processed in a normal case where three or more pixels are continuous. In this example, the image information of a certain scanning line is white for the first and second pixels as shown in FIG.
The th pixel ~ is black, the sixth and seventh pixels are,
Is white. That is, in this example, three black pixels are consecutive.

【0050】図1に示した圧縮・伸長回路部29は、隣
り合った画素ごとに排他的論理和をとり、この結果、同
図(b)に示すような画像データを得る。この状態で図
3のテーブルを用いて画像データを圧縮し、これを画情
報の再現時に伸長すると(同図(c)、(d))、同図
(e)に示したような画像データが得られる。これを塗
り潰せば、同図(f)に示したように元の画情報が再現
される。ただし、ここでの塗り潰しの処理は、すでに説
明したように信号“1”に挟まれた信号“0”を単純に
塗り潰すのではなく、最初の信号“1”の箇所は白の画
情報に置き換える処理が行われる。
The compression / expansion circuit unit 29 shown in FIG. 1 takes an exclusive OR for each adjacent pixel, and as a result, obtains image data as shown in FIG. In this state, the image data is compressed using the table of FIG. 3 and expanded when the image information is reproduced ((c) and (d) in FIG. 3), and the image data as shown in (e) in FIG. can get. If this is filled in, the original image information is reproduced as shown in FIG. However, the filling process here does not simply fill the signal “0” sandwiched between the signals “1” as described above, but the first signal “1” is converted into white image information. The replacement process is performed.

【0051】図12は2画素が連続する場合の画像デー
タの処理の様子を表わしたものである。この例で、ある
走査ラインの画情報は同図(a)に示したように1番目
および2番目の画素、が白、3番目と4番目の画素
、が黒、5番目〜7番目の画素〜が白である。
すなわち、この例では黒の画素、が2つ連続したも
のとなっている。この図で(a)〜(f)は図11で示
したと同様の処理過程を表わしている。このように、こ
の場合にも黒の2つの連続した画素が間違いなく再現さ
れる。
FIG. 12 shows how the image data is processed when two pixels are continuous. In this example, the image information of a certain scanning line is, as shown in FIG. 7A, the first and second pixels, white is the third pixel, the fourth pixel is the black, and the fifth to seventh pixels ~ Is white.
That is, in this example, two black pixels are continuous. In this figure, (a) to (f) show the same processing steps as shown in FIG. Thus, also in this case, two consecutive black pixels are reproduced without fail.

【0052】最後に図13は1画素が孤立した場合の画
像データの処理の様子を表わしたものである。この例
で、ある走査ラインの画情報は同図(a)に示したよう
に1番目〜3番目の画素〜が白、4番目の画素が
黒、5番目〜7番目の画素〜が白である。すなわ
ち、この例では黒の画素が1つだけ孤立している。こ
の図でも(a)〜(f)は図11で示したと同様の処理
過程を表わしている。このように、この場合にも黒の1
つの画素が消失したり伸長されることなく正確に再現さ
れる。
Finally, FIG. 13 shows how the image data is processed when one pixel is isolated. In this example, the image information of a certain scanning line is, as shown in FIG. 3A, that the first to third pixels are white, the fourth pixel is black, and the fifth to seventh pixels are white. is there. That is, in this example, only one black pixel is isolated. Also in this figure, (a) to (f) represent the same processing steps as shown in FIG. Thus, in this case too, the black one
One pixel is accurately reproduced without disappearing or stretching.

【0053】以上説明した実施例では画情報処理装置と
してファクシミリ装置を例に挙げて説明したが、画像デ
ータを圧縮してファイルに格納し、必要に応じてこれを
読み出して元の画像を再現するような他の画情報処理装
置にも本発明を同様に適用することができることは当然
である。また、実施例ではMH符号化方式を例に挙げて
説明したが、他の符号化方式に対しても本発明を同様に
適用することができることはいうまでもない。
In the above-described embodiments, the facsimile apparatus is taken as an example of the image information processing apparatus, but the image data is compressed and stored in a file, and if necessary, this is read and the original image is reproduced. It goes without saying that the present invention can be similarly applied to such other image information processing apparatuses. Further, although the embodiment has been described by taking the MH coding method as an example, it goes without saying that the present invention can be similarly applied to other coding methods.

【0054】[0054]

【発明の効果】このように請求項1記載の発明では、2
値化された画像データを走査方向に順次画素単位で入力
し、現在処理すべき画素とこれに隣接した次に処理すべ
き画素とについて順に排他的論理和をとることにしたの
で、画像の変化点あるいは輪郭を抽出することができ
る。したがって、これを符号化する際に変化点に対応す
る符号の長さを短く設定することで、データを高効率で
圧縮することができるという効果がある。
As described above, according to the invention described in claim 1, 2
Since the binarized image data is sequentially input pixel by pixel in the scanning direction, and the pixel to be currently processed and the pixel to be processed next adjacent to this pixel are exclusively ORed in order, the image change Points or contours can be extracted. Therefore, when encoding this, by setting the length of the code corresponding to the change point to be short, the data can be compressed with high efficiency.

【0055】また、請求項2記載の発明によれば、所定
の1画素で構成された変化点を検出し、それぞれの変化
点を所定方向に辿ったときに交互に信号状態が反転する
ようにそれぞれの点から次の点までを一色の信号に置き
換える処理を行うようにしたので、圧縮された2値の画
像データを正確に元の画像データに復元することができ
る。
According to the second aspect of the present invention, the change points composed of predetermined one pixel are detected, and the signal states are alternately inverted when the respective change points are traced in the predetermined direction. Since the processing from each point to the next point is replaced with the signal of one color, the compressed binary image data can be accurately restored to the original image data.

【0056】更に請求項3記載の発明によれば、読取手
段によって読み取られ2値化された画像データにおける
現在処理すべき画素と同一ラインでこれに隣接した次に
処理すべき画素との排他的論理和をとり、これを符号化
して送信する一方、このような符号化処理後の画像デー
タを受信し、所定色の1画素でそれぞれ構成された変化
点を検出して、各ラインの最初の変化点と次の変化点と
の間をその直前の信号状態以外の信号状態に置き換え、
これ以後は交互に信号状態が反転するようにそれぞれの
点から次の点までを一色の信号に置き換えて画情報の復
元を行うようにしたので、画像データをより少ない情報
量で送受信することができ、通信コストの削減と通信時
間の短縮化を実現することができる。
According to the third aspect of the invention, the pixel to be processed next in the same line as the pixel to be processed in the image data read and binarized by the reading means is exclusive to the pixel to be processed next. While taking the logical sum and encoding and transmitting this, the image data after such encoding processing is received, the change point composed of one pixel of a predetermined color is detected, and the first of each line is detected. Replace between the change point and the next change point with a signal state other than the signal state immediately before it,
From this point onward, the image information is restored by replacing each point to the next point with a signal of one color so that the signal states are alternately inverted, so image data can be transmitted and received with a smaller amount of information. Therefore, it is possible to reduce the communication cost and the communication time.

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

【図1】本発明の一実施例における画情報処理装置の回
路構成の要部を示すブロック図である。
FIG. 1 is a block diagram showing a main part of a circuit configuration of an image information processing apparatus according to an embodiment of the present invention.

【図2】本実施例で文字“E”を読み取った2値画像に
ついて排他的論理和をとった後の画像データを表わした
説明図である。
FIG. 2 is an explanatory diagram showing image data after an exclusive OR is performed on a binary image in which a character “E” is read in the present embodiment.

【図3】本実施例で画像データを圧縮および伸長を行う
ために使用されるテーブルの内容を表わした説明図であ
る。
FIG. 3 is an explanatory diagram showing contents of a table used for compressing and decompressing image data in this embodiment.

【図4】本実施例である走査ラインについて符号化を行
う際の信号処理の様子を表わした説明図である。
FIG. 4 is an explanatory diagram showing a state of signal processing at the time of encoding a scanning line according to the present embodiment.

【図5】本実施例で変化点抽出回路の構成を表わした回
路図である。
FIG. 5 is a circuit diagram showing a configuration of a change point extraction circuit in this embodiment.

【図6】本実施例で画像送信時における画情報処理装置
の処理の流れを表わした流れ図である。
FIG. 6 is a flowchart showing a processing flow of the image information processing apparatus at the time of image transmission in this embodiment.

【図7】本実施例で符号化処理を行ったファクシミリ信
号が受信された場合の1ページ分の伸長処理の流れを表
わした流れ図である。
FIG. 7 is a flowchart showing a flow of decompression processing for one page when a facsimile signal subjected to the coding processing in this embodiment is received.

【図8】ある画情報とその圧縮データの関係を表わした
説明図である。
FIG. 8 is an explanatory diagram showing the relationship between certain image information and its compressed data.

【図9】図8に示した例で第1段階目でのテーブル参照
の様子を表わした説明図である。
9 is an explanatory diagram showing a state of referring to a table in the first stage in the example shown in FIG.

【図10】図8に示した例で第2段階目でのテーブル参
照の様子を表わした説明図である。
10 is an explanatory diagram showing a state of table reference in the second stage in the example shown in FIG.

【図11】本実施例で3画素以上が連続する通常の場合
の画像データの処理の過程を表わした説明図である。
FIG. 11 is an explanatory diagram showing a process of image data processing in a normal case where three or more pixels are continuous in the present embodiment.

【図12】本実施例で2画素以上が連続する場合の画像
データの処理の過程を表わした説明図である。
FIG. 12 is an explanatory diagram showing a process of processing image data when two or more pixels are continuous in the present embodiment.

【図13】本実施例で1画素が孤立した場合の画像デー
タの処理の過程を表わした説明図である。
FIG. 13 is an explanatory diagram showing a process of processing image data when one pixel is isolated in the present embodiment.

【図14】MH符号化方式で画像の読み取りを行う際に
おける読み取りの対象としての原稿の一例を表わした平
面図である。
FIG. 14 is a plan view showing an example of an original document to be read when an image is read by the MH encoding method.

【図15】図14における文字“E”を読み取って2値
化した場合の画像データの様子を表わした説明図であ
る。
FIG. 15 is an explanatory diagram showing a state of image data when the character “E” in FIG. 14 is read and binarized.

【図16】MH符号化方式における従来使用されたテー
ブルの内容を表わした説明図である。
FIG. 16 is an explanatory diagram showing the contents of a conventionally used table in the MH encoding system.

【図17】図16に示したテーブルで符号化を行う際の
信号処理の様子を表わした説明図である。
17 is an explanatory diagram showing a state of signal processing when encoding is performed using the table shown in FIG.

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

21…CPU、23…ROM、24…作業用メモリ、2
5…操作パネル、26…通信制御部、28…画像読取
部、29…圧縮・伸長回路部、41…排他的論理和ゲー
ト、B…黒の画素、W…白の画素
21 ... CPU, 23 ... ROM, 24 ... Working memory, 2
5 ... Operation panel, 26 ... Communication control section, 28 ... Image reading section, 29 ... Compression / expansion circuit section, 41 ... Exclusive OR gate, B ... Black pixel, W ... White pixel

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 2値化された画像データを走査方向に順
次画素単位で入力する画像データ入力手段と、 この画像データにおける現在処理すべき画素とこれに隣
接した次に処理すべき画素との排他的論理和をとる論理
回路と、 この論理回路の出力を符号化する符号化手段とを具備す
ることを特徴とする画情報処理装置。
1. An image data input means for sequentially inputting binarized image data in the scanning direction pixel by pixel, a pixel to be currently processed in this image data and a pixel to be processed next adjacent to the pixel. An image information processing apparatus comprising: a logic circuit that takes an exclusive OR, and a coding unit that codes an output of the logic circuit.
【請求項2】 2値化された画像データの現在処理すべ
き画素とこれに隣接した次に処理すべき画素との排他的
論理和を順にとることによって得られた画像データをラ
イン単位で入力し、所定色の1画素でそれぞれ構成され
た変化点を検出する変化点検出手段と、 この変化点検出手段で検出されたそれぞれの変化点を所
定方向に辿ったときに交互に信号状態が反転するように
それぞれの点から次の点までを一色の信号に置き換える
ことで画情報を復元する画情報復元手段とを具備するこ
とを特徴とする画情報処理装置。
2. The image data obtained by sequentially taking the exclusive OR of the pixel to be currently processed of the binarized image data and the pixel to be processed next adjacent thereto is input in line units. Then, a change point detecting means for detecting a change point composed of one pixel of a predetermined color, and a signal state alternately inverted when the respective change points detected by the change point detecting means are traced in a predetermined direction. As described above, the image information restoration device that restores image information by replacing each point to the next point with a signal of one color.
【請求項3】 原稿を1ラインずつ走査して画情報の読
み取りを行う読取手段と、 この読取手段によって読み取られ2値化された画像デー
タにおける現在処理すべき画素と同一ラインでこれに隣
接した次に処理すべき画素との排他的論理和をとる論理
回路と、 この論理回路の出力を所定の圧縮方式で符号化する符号
化手段と、 符号化後の画像データを送信する送信手段と、 前記符号化処理後の画像データを受信する受信手段と、 この受信した画像データを入力し、所定色の1画素でそ
れぞれ構成された変化点を検出する変化点検出手段と、 この変化点検出手段で検出された各ラインの最初の変化
点と次の変化点との間をその直前の信号状態以外の信号
状態に置き換え、これ以後は交互に信号状態が反転する
ようにそれぞれの点から次の点までを一色の信号に置き
換えて画情報の復元を行う画情報復元手段とを具備する
ことを特徴とする画情報処理装置。
3. A reading unit that scans an original document line by line to read image information, and a pixel to be currently processed in the image data read by the reading unit and binarized is adjacent to the reading line on the same line. A logic circuit that takes an exclusive OR with the pixel to be processed next, a coding means that codes the output of this logic circuit by a predetermined compression method, and a transmission means that transmits the image data after coding, Receiving means for receiving the image data after the encoding processing, changing point detecting means for inputting the received image data, and detecting changing points each constituted by one pixel of a predetermined color, and this changing point detecting means Replace the signal state between the first transition point and the next transition point of each line detected by the above with a signal state other than the signal state immediately before, and after that, change the signal state alternately from the next to the next. To the point 2. An image information processing apparatus, comprising: an image information restoring unit that restores the image information by replacing (1) with a signal of one color.
JP4984492A 1992-03-06 1992-03-06 Picture information processor Pending JPH05252404A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4984492A JPH05252404A (en) 1992-03-06 1992-03-06 Picture information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4984492A JPH05252404A (en) 1992-03-06 1992-03-06 Picture information processor

Publications (1)

Publication Number Publication Date
JPH05252404A true JPH05252404A (en) 1993-09-28

Family

ID=12842383

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4984492A Pending JPH05252404A (en) 1992-03-06 1992-03-06 Picture information processor

Country Status (1)

Country Link
JP (1) JPH05252404A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6888968B1 (en) 2000-09-21 2005-05-03 Kabushiki Kaisha Toshiba Image processing apparatus and image processing method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6888968B1 (en) 2000-09-21 2005-05-03 Kabushiki Kaisha Toshiba Image processing apparatus and image processing method
US7545987B2 (en) 2000-09-21 2009-06-09 Kabushiki Kaisha Toshiba Image processing apparatus and image processing method

Similar Documents

Publication Publication Date Title
EP0680016B1 (en) System and method for compressing images
US5159468A (en) Image reduction system
US5271072A (en) Image reduction of binary images using filtering processing
JPS63236472A (en) Picture information encoding processing system
JPH06125454A (en) Image processing device
JPS6096079A (en) Multilevel image encoding method
US5424854A (en) Image processing apparatus for half-tone processing and reproducing high speed images of different resolutions
EP0902398B1 (en) Method and system for compressing and decompressing binary representations of dithered images
US5406282A (en) Data coding and decoding with improved efficiency
WO1996017469A1 (en) Methods performing 2-dimensional maximum differences coding and decoding during real-time facsimile image compression and apparatus
JPH07264417A (en) Image coding method
JP3201448B2 (en) Encoding / decoding device, encoding device, and decoding device
JP4371026B2 (en) Printing system and printer
JP3901514B2 (en) Image compression method, decompression method and program
JP2000217000A (en) Image processor, image processing method and recording medium
JPH05252404A (en) Picture information processor
JP4260908B2 (en) Run-length encoding method and image processing apparatus
JP3736107B2 (en) Image processing device
KR900007566B1 (en) Image data conversion device and method
JP3321226B2 (en) Encoding / decoding method
JPH02252364A (en) Picture signal processor
JP2755463B2 (en) Image data compression method
JP3295507B2 (en) Binary image encoding / decoding method
JPH0322759A (en) Information processing device with pseudo-halftone image processing function
JPH06292021A (en) Image compression device