JPH02274177A - Data compression method - Google Patents

Data compression method

Info

Publication number
JPH02274177A
JPH02274177A JP1096864A JP9686489A JPH02274177A JP H02274177 A JPH02274177 A JP H02274177A JP 1096864 A JP1096864 A JP 1096864A JP 9686489 A JP9686489 A JP 9686489A JP H02274177 A JPH02274177 A JP H02274177A
Authority
JP
Japan
Prior art keywords
data
white
black
pattern
image
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.)
Granted
Application number
JP1096864A
Other languages
Japanese (ja)
Other versions
JP2800252B2 (en
Inventor
Toshio Tsuboi
壺井 俊雄
Hiroichi Yamada
博一 山田
Akio Nakajima
昭夫 中島
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.)
Minolta Co Ltd
Original Assignee
Minolta 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 Minolta Co Ltd filed Critical Minolta Co Ltd
Priority to JP1096864A priority Critical patent/JP2800252B2/en
Priority to US07/483,381 priority patent/US5121197A/en
Publication of JPH02274177A publication Critical patent/JPH02274177A/en
Application granted granted Critical
Publication of JP2800252B2 publication Critical patent/JP2800252B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To compress a halftone picture data efficiently by changing the data of a noticed block into a black level or white level when a prescribed pattern taking the noticed block as a white or black level isolated point takes place and applying the data compression. CONSTITUTION:After at two-dimension dot is converted into a linear density pattern, when a white or black isolated point exists as to a picture data reconstituted while being arranged adjacently to a prescribed location, smoothing processing is applied. Thus, the prescribed number of blocks including the noticed block in the data compression direction are referenced and when a prescribed pattern taking the noticed block as the isolated point takes place, the data of the noticed block is revised so that no isolated point takes place. Then a pattern having white and black levels caused alternately is reduced and the data compression efficiency is improved.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、中間調画像のデータ圧縮法に関する。[Detailed description of the invention] (Industrial application field) The present invention relates to a data compression method for halftone images.

(従来の技術) ファクシミリ等で画像を送る時、通常は送信側で圧縮、
受信側で伸長という処理を行ない、実際に送るビット数
を画像のビット数よりも少なくなるようにして、通信時
間の短縮を実現している。
(Conventional technology) When sending images by facsimile, etc., the sending side usually compresses and
A process called decompression is performed on the receiving side so that the number of bits actually sent is smaller than the number of bits in the image, thereby reducing communication time.

この圧縮・伸長は一定のルール(MH法、MR法など)
に基づいて行なわれておりこのルールは一般的な原稿(
文字や図形等が描かれたもの)を送る時に効率がよくな
るように設計されている。
This compression/expansion follows certain rules (MH method, MR method, etc.)
This rule is based on the general manuscript (
It is designed to be more efficient when sending items (with characters, figures, etc. drawn on them).

即ち、このような原稿は白又は黒(特に白)のドツトが
連続する確率が非常に多く、発生頻度の高い連続ドツト
についてはより少ないビット数のデータに変換する事で
圧縮を行なっている。しかし、かかる圧縮方法では、発
生確率の低い数ドツト以下の場合、圧縮変換後のデータ
のビット数が逆に増加するという現象がある。全体とし
ては圧縮効率をよくしているので通常はこの欠点は問題
とはならない。
That is, such a document has a very high probability of consecutive white or black (especially white) dots, and compression is performed by converting frequently occurring consecutive dots into data with a smaller number of bits. However, in such a compression method, there is a phenomenon in which the number of bits of data after compression conversion increases when the probability of occurrence is a few dots or less. This shortcoming usually does not pose a problem since overall compression efficiency is improved.

ところで、最近、ファクシミリを使って写真等の中間調
を含んだ画像を送る要望が増えており、ファクシミリで
ら写真モードを持つものがある。
Incidentally, recently there has been an increasing demand for sending images containing halftones, such as photographs, using facsimiles, and some facsimiles have a photo mode.

ビット単位では、白又は黒の表現しかできないため、中
間調画像に対しては中間調処理を行ない、1つの画素を
複数個のビット(通常はNXN個)として扱い、その画
素の中での白黒比によって、中間調を表現している。
Since only white or black can be expressed in bit units, halftone processing is performed on halftone images, and one pixel is treated as multiple bits (usually NXN bits), and the black and white within that pixel is The ratio expresses intermediate tones.

ファクシミリで中間調画像を送ろうとした場合、このよ
うな画像データは、一般の文字原稿に比較して白又は黒
が連続する確率が低く、従来通りの圧縮を行なうと、効
率が悪く、逆にビット数が増加する可能性もある。
If you try to send a halftone image by facsimile, such image data has a lower probability of continuous white or black than a general text document, so conventional compression is inefficient and conversely There is also a possibility that the number of bits will increase.

本出願人け、別の出願において(特願平1−44139
号)中間調画像を効率よく圧縮できるデータ圧縮法を開
示している。このデータ圧縮法では、データ圧縮の前処
理として、画像を複数の段階の濃度に対応する2次元的
に広がりを有する複数のドツトにより表現し、この表現
した画像に対応する1次元の濃度パターンを定めておく
。また、1次元の濃度パターンを隣接して並ぶように画
像データの再構成位置を定めておく。こうして、2次元
的ドツトを所定位置の1次元の濃度パターンに変換する
。こうして再構成した画像データをデータ圧縮する。1
次元の濃度パターンを隣接して並べるので、白または黒
ドツトがデータ圧縮方向に連続しやすくなり、効率よく
圧縮できる。
In another application (Japanese Patent Application No. 1-44139)
Issue) discloses a data compression method that can efficiently compress halftone images. In this data compression method, as a preprocessing for data compression, an image is represented by a plurality of dots that have a two-dimensional spread corresponding to multiple levels of density, and a one-dimensional density pattern corresponding to this represented image is created. Let's decide. Furthermore, the reconstruction position of the image data is determined so that the one-dimensional density patterns are arranged adjacently. In this way, two-dimensional dots are converted into a one-dimensional density pattern at a predetermined position. The image data thus reconstructed is compressed. 1
Since the two-dimensional density patterns are arranged adjacent to each other, white or black dots tend to be continuous in the data compression direction, allowing efficient compression.

(発明が解決しようとする課題) 上記のデータ圧縮法により白または黒のドツトがデータ
圧縮方向に連続的に発生しやすくなり中&’[画像デー
タの圧縮効率を改善することができる。
(Problems to be Solved by the Invention) The above data compression method tends to cause white or black dots to occur continuously in the data compression direction, making it possible to improve the compression efficiency of image data.

しかし、1次元濃度パターンへの変換によっても中間調
画像中に白または黒のドツトが孤立して存在すると白黒
交互のパターンが発生しやすく、データ圧縮の効率がそ
の付近で改善されない。たとえば、MH法では、白の1
ドツトは6倍のデータに、黒の!ドツトは3倍のデータ
に変換されてしまい、データ数が増えてしまう。
However, even with conversion to a one-dimensional density pattern, if white or black dots exist isolated in a halftone image, a pattern of alternating black and white tends to occur, and data compression efficiency cannot be improved in the vicinity. For example, in the MH method, white 1
The dot is 6 times the data, and the black one is! The dots are converted into three times as much data, increasing the number of data.

本発明の目的は、中間調画像データをさらに効率よく圧
縮できるデータ圧縮法を提供することである。
An object of the present invention is to provide a data compression method that can compress halftone image data more efficiently.

(課題を解決するための手段) 本発明に係るデータ圧縮法は、画像を複数の段階の濃度
に対応する2次元的に広がりを有する複数のドツトによ
り表現し、この表現した画像を【次元のドツトパターン
に変換し、この1次元ドツトパターンを隣接して所定の
順に並べ、こうして並べかえた画像データについてデー
タ圧縮方向の1ラインごとに、順次1つのブロックに注
目し、そのブロックの前後の所定数のブロックのデータ
を参照して、その注目ブロックを白又は黒の孤立点とす
る所定のパターンが発生している場合、その注目ブロッ
クのデータを黒又は白に変更し、次にデータ圧縮を行う
ことを特徴とする。
(Means for Solving the Problems) The data compression method according to the present invention expresses an image by a plurality of dots having a two-dimensional spread corresponding to a plurality of levels of density, and converts this expressed image into a Convert it to a dot pattern, arrange these one-dimensional dot patterns adjacently in a predetermined order, focus on one block in turn for each line in the data compression direction of the rearranged image data, and calculate a predetermined number of blocks before and after that block. If a predetermined pattern in which the block of interest is a white or black isolated point occurs, the data of the block of interest is changed to black or white, and then data compression is performed. It is characterized by

(作用) 2次元的ドツトを1次元の濃度パターンに変換した後に
、所定位置に隣接して並べて再構成した画像データにつ
いて、白又は黒の孤立点がある場合にスムージング処理
を行う。このため、データ圧縮方向に注目ブロックを含
む所定数のブロックを参照し、その注目ブロックを孤立
点とする所定のパターンが発生している場合は注目ブロ
ックのデータを孤立点が発生しないように変更する。こ
れにより、白黒が交互に発生するようなパターンは少な
くなり、データ圧縮の効率が改善される。
(Operation) After converting two-dimensional dots into a one-dimensional density pattern, smoothing processing is performed on the reconstructed image data arranged adjacent to a predetermined position if there is an isolated white or black point. For this reason, a predetermined number of blocks including the block of interest are referenced in the data compression direction, and if a predetermined pattern with the block of interest as an isolated point occurs, the data of the block of interest is changed so that the isolated point does not occur. do. This reduces the number of patterns in which black and white patterns occur alternately, improving the efficiency of data compression.

(実施例) 以下、添付の図面を参照して本発明の詳細な説明する。(Example) Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

1画素を2x2の4ドツトで構成し中間調画像を表現す
る濃度パターン法の場合について説明する。この場合、
5段階で表現した画素の濃度(0〜4)に対応して4ド
ツトのうち所定個のドツトを黒で表現するので、たとえ
ば第1図に示すように、濃度が増すにつれ黒くなる5N
類の濃度パターン(黒ドツトをハツチング部分で表わす
)で画素を表現できる。
The case of the density pattern method in which one pixel is composed of four 2×2 dots to express a halftone image will be explained. in this case,
Since a predetermined number of dots out of 4 dots are expressed in black corresponding to the pixel density (0 to 4) expressed in 5 levels, for example, as shown in Figure 1, 5N becomes blacker as the density increases.
Pixels can be expressed using similar density patterns (black dots are represented by hatched areas).

従って、読み取った中間調画像は、この濃度パターンの
集合で表現され、その一部を抽出すると、たとえば第2
図のようになる。
Therefore, the read halftone image is expressed as a set of density patterns, and if a part of it is extracted, for example, the second
It will look like the figure.

第2図の中間調画像データをそのまま従来のデータ圧縮
法(たとえばMH法)で圧縮する場合は以下の如き不都
合が生じる。たとえば第2図の横力向の最上ラインおよ
び第3ラインについてはほとんど!ドツトごとに白黒の
反転が起っている。この場合、白の1ビツトは6倍のデ
ータに、黒の1ドツトは3倍のデータに変換されてしま
うため、結果的にデータの数は4,5倍となり、データ
圧縮の目的に対して逆効果となってしまう。
If the halftone image data shown in FIG. 2 is compressed as is using a conventional data compression method (for example, the MH method), the following disadvantages occur. For example, the top line and third line in the direction of lateral force in Figure 2 are almost the same! The black and white are reversed for each dot. In this case, 1 white bit is converted to 6 times as much data, and 1 black dot is converted to 3 times as much data, resulting in 4 or 5 times the amount of data, which is not suitable for the purpose of data compression. This will have the opposite effect.

中間調画像データの圧縮を有効に行うため、本実施例で
は、2次元の2×2ドツトの濃度パターンを第3図に示
す4X1ドツトの1次元の濃度パターンに変換し、次に
第8図に示すようにスムージングを行う。
In order to effectively compress halftone image data, in this embodiment, a two-dimensional 2×2 dot density pattern is converted to a 4×1 dot one-dimensional density pattern shown in FIG. 3, and then the density pattern shown in FIG. Perform smoothing as shown in .

この変換においては、第4図に示すように、2×2ドツ
トの濃度パターンのドツト位置と4XIドツトの濃度パ
ターンのドツト位置とを、4X1ドツトの濃度パターン
において下から順に連続的に黒ドツトになるように対応
させる。そして、二の4X1ドツトの1次元パターンを
データ圧縮方向に隣接して並べる。この隣接配置により
、黒ドツト、白ドツトになりやすい位置が隣接するよう
になる。
In this conversion, as shown in Fig. 4, the dot positions of the 2 x 2 dot density pattern and the dot positions of the 4XI dot density pattern are successively converted to black dots in the 4 x 1 dot density pattern from the bottom. Correspond accordingly. Then, two one-dimensional patterns of 4×1 dots are arranged adjacent to each other in the data compression direction. Due to this adjacent arrangement, positions where black dots and white dots are likely to occur are adjacent to each other.

この1次元パターンを用いての画像の再構成において、
4Xl ドツトのパターンは2×2ドツトのパターンの
2個分でデータ圧縮方向に直交する1辺の長さ(4ドツ
ト)が同じになる。そこで、再構成画像をたとえば元の
画像と同じ大きさにするため、第5図に示すように、4
ライン分の画像データを2×2ドツトのパターン(すな
わち1画素)の単位で左側から上下の順で取り出して、
4×1ドツトのパターンに変換して右方向に並べる。こ
の1次元パターンの隣接した配列により、黒ドツトまた
は白ドツトになりやすい位置が隣接して並ぶことになる
In image reconstruction using this one-dimensional pattern,
The 4Xl dot pattern is two 2×2 dot patterns, and the length of one side (4 dots) perpendicular to the data compression direction is the same. Therefore, in order to make the reconstructed image the same size as the original image, for example, as shown in FIG.
Extract the image data for the line in units of 2 x 2 dot patterns (that is, 1 pixel) in order from the left side to the top and bottom,
Convert it to a 4×1 dot pattern and arrange it to the right. Due to the adjacent arrangement of this one-dimensional pattern, positions where black dots or white dots are likely to occur are lined up adjacently.

第6図に、第2図の中間調画像のデータについての画像
再構成結果を示す。第7図は、第2図のドツト位置(i
Dとの対応を示す。数字ijは、第(i+ 1)列の(
j+1)番目のデータを示す。
FIG. 6 shows the image reconstruction results for the halftone image data of FIG. 2. Figure 7 shows the dot position (i) in Figure 2.
The correspondence with D is shown. The number ij is (
j+1)th data is shown.

第6図の再構成画像は、第2図の元の画像データに比べ
て横方向(データ圧縮方向)に白または黒が比較的連続
して発生していることが明らかである。従って、この再
構成画像データについて従来の一般的なデータ圧縮法(
MH法など)を用いると、データ圧縮が有効に行える。
It is clear that in the reconstructed image of FIG. 6, compared to the original image data of FIG. 2, white or black appears relatively continuously in the horizontal direction (data compression direction). Therefore, the conventional general data compression method (
MH method etc.), data compression can be effectively performed.

次に、再構成された画像データにおいて白または黒の孤
立した点をなくしてデータ圧縮効率をよくするため、ス
ムージングを行う。本実施例では、パターン変換を行っ
たデータを読出し、注目するブロックの前後各2ブロッ
クを参照し、第8図の左側に示す6個のパターンが発生
した場合にのみ注目ブロックのデータを変更する。これ
らのパターン以外のときは変更しない。これらのパター
ンは、注目ブロックの荷扱の3ブロツクないし4ブロツ
クがいずれら白または黒である場合である。
Next, smoothing is performed to eliminate isolated white or black points in the reconstructed image data to improve data compression efficiency. In this embodiment, the pattern-converted data is read out, the two blocks before and after the block of interest are referred to, and the data of the block of interest is changed only when the six patterns shown on the left side of FIG. 8 occur. . Do not change anything other than these patterns. These patterns are cases in which three or four blocks of the block of interest are either white or black.

なお、!ラインの先頭の2ブロツクと後端の2ブロツク
は、参照ブロックがない場合を“0“(白)としてスム
ージングを行う。
In addition,! The two blocks at the beginning and the two blocks at the end of the line are smoothed by setting them to "0" (white) if there is no reference block.

第9図は、第6図の再構成画像について第8図に示す例
によりスムージングを行った結果を示す。
FIG. 9 shows the result of smoothing the reconstructed image of FIG. 6 using the example shown in FIG.

たとえば、第1ラインの黒の孤立点の場合は、ooto
ooのパターンに該当するので、白データに変更される
。第2ラインの先頭の黒の孤立点の場合は、“0010
1“のパターンに該当するので、白データに変更される
。次の白の孤立点の場合は、“01010″のパターン
は存在しないので、変更は行われない。次の黒の孤立点
の場合は、10100”のパターンに該当するので、白
データに変更される。以下、同様にスムージングを行う
。ここで、toolotのパターンに該当する2つの黒
の孤立点では、白データに変更される。
For example, for a black isolated point on the first line, ooto
Since it corresponds to the pattern oo, it is changed to white data. In the case of a black isolated point at the beginning of the second line, “0010
1", so it is changed to white data. In the case of the next white isolated point, the pattern "01010" does not exist, so no change is made. In the case of the next black isolated point corresponds to the pattern 10100'', so it is changed to white data. Hereafter, smoothing is performed in the same way. Here, the two black isolated points corresponding to the toolot pattern are changed to white data.

また、“0101ビのパターンに該当する2つの白の孤
立点では、黒データに変更される。以上のスムージング
により白黒が交互に出るパターンはなくなっている。
Furthermore, the two white isolated points corresponding to the "0101 bi pattern" are changed to black data.The above smoothing eliminates the pattern in which black and white appear alternately.

従って、スムージングの後に従来の一般的なデータ圧縮
法(MH法など)を用いると、データ圧縮がさらに有効
に行える。
Therefore, if a conventional general data compression method (such as the MH method) is used after smoothing, data compression can be performed more effectively.

また、元の画像に復元するときは、4X1ドツトのデー
タを2×2ドツトのデータに戻す逆の変換を行えばよい
Furthermore, when restoring the original image, the reverse conversion from 4×1 dot data to 2×2 dot data may be performed.

なお、1次元パターンを第5図のように2列の画素を交
互に並べる代わりに、【列の画素をそのまま並べてもよ
い。再構成画像は元の画像と異なる大きさになるが、受
信側で元の画像に戻すことができる。
Note that instead of arranging two rows of pixels alternately in the one-dimensional pattern as shown in FIG. 5, the pixels in the [rows] may be arranged as they are. Although the reconstructed image has a different size from the original image, it can be restored to the original image on the receiving side.

以上のように、2次元の画像データを1次元パターンに
変換してから必要な場合にスムージングを行った後、デ
ータを圧縮する事で従来のデータ圧縮方法を使用しても
比較的効率よく圧縮でき、高速の伝送や少ないメモリ領
域への格納に効果があられれる。
As described above, by converting two-dimensional image data into a one-dimensional pattern, performing smoothing if necessary, and then compressing the data, compression is relatively efficient even when using conventional data compression methods. It is effective for high-speed transmission and storage in a small memory area.

次に、以上に説明したデータ圧縮法を実現するファクシ
ミリ装置の構成を第1O図に示す。このファクシミリ装
置の送信側においては、読取部!で、画像を読取り、画
素当たりの濃度をデジタル値に変換し、中間調処理部2
で、このデジタル濃度値を2×2ドツトの中間調画像デ
ータに変換し、2次元/1次元変換部3で、上に説明し
たように2×2ドツトの中間調画像を4X1ドツトの画
像に変換し、圧縮処理部4で、一般のデータ圧縮法(た
とえばMH法)で変換データを圧縮し、送信する。また
、送信データを記憶部5に記憶しておき、送信する。
Next, FIG. 1O shows the configuration of a facsimile machine that implements the data compression method described above. On the sending side of this facsimile machine, there is a reading section! reads the image, converts the density per pixel into a digital value, and sends it to the halftone processing section 2.
Then, this digital density value is converted into 2×2 dot halftone image data, and the 2D/1D converter 3 converts the 2×2 dot halftone image into a 4×1 dot image as explained above. The compression processing unit 4 compresses the converted data using a general data compression method (for example, the MH method) and transmits it. Further, the transmission data is stored in the storage unit 5 and transmitted.

゛受信側においては、通信データを必要ならば記憶部5
に格納しておき、伸長処理部6で圧縮データを変換デー
タに戻し、1次元/2次元変換部7で変換データを中間
調データに変換し、出力部8で用紙に画像を印字する。
゛On the receiving side, the communication data is stored in the storage unit 5 if necessary.
The decompression processing section 6 converts the compressed data into converted data, the one-dimensional/two-dimensional conversion section 7 converts the converted data into halftone data, and the output section 8 prints the image on paper.

第1O図に示すファクシミリ装置の構成において従来の
ファクシミリ装置と異なる点は、2次元/1次元変換部
3と1次元/2次元変換部7を備えることである。その
他の部分、たとえばデータ圧縮、伸長用の圧縮処理部4
、伸長処理部6などは、従来と同じである。
The configuration of the facsimile machine shown in FIG. 1O differs from conventional facsimile machines in that it includes a two-dimensional/one-dimensional conversion section 3 and a one-dimensional/two-dimensional conversion section 7. Other parts, such as the compression processing unit 4 for data compression and decompression
, the decompression processing section 6, etc. are the same as those of the prior art.

次に、2次元/1次元変換部3においてCPU(図示せ
ず)により制御される変換回路について、第11図〜第
13図の回路を用いて説明する。
Next, a conversion circuit controlled by a CPU (not shown) in the two-dimensional/one-dimensional conversion section 3 will be explained using the circuits shown in FIGS. 11 to 13.

第2図に示した中間調画像を第9図に示す再構成画像に
変換するには、第1I図の書込回路により画像データを
メモリに書き込み、次に、第12図の続出回路によりメ
モリのデータを読みだして第6図のように再構成を行う
。実際には、両図の回路は併せて1つの回路として構成
することができる。最後に、所定のパターンに該当する
場合は、第13図のスムージング回路によりスムージン
グを行う。
To convert the halftone image shown in FIG. 2 into the reconstructed image shown in FIG. 9, the image data is written into the memory by the writing circuit shown in FIG. The data is read out and reconstructed as shown in FIG. In reality, the circuits in both figures can be configured together as one circuit. Finally, if the pattern corresponds to a predetermined pattern, smoothing is performed by the smoothing circuit shown in FIG. 13.

第11図に示す書込回路においては、2次元/1次元変
換部3を制御するCPUのアドレスバス、データバスお
よびライト信号(WR)が4個のメモリ21.22.2
3.24のアドレス端子、データ端子、蔭端子に接続さ
れる。各メモリ21.22.23.24は、それぞれ、
中間調画像の第1列、第2列、第3列、第4列のデータ
を記憶する。このため、アドレスバスの信号をデコーダ
25でデコードしてチップセレクト信号を生成し、各メ
モリのC8端子に人力して1つのメモリだけを選択する
。こうして、4列の信号が、1列ごとにメモリ21.2
2,23.24の順に書き込まれる。
In the write circuit shown in FIG. 11, the address bus, data bus, and write signal (WR) of the CPU that controls the two-dimensional/one-dimensional converter 3 are connected to four memories 21, 22, 2.
3. Connected to the address terminal, data terminal, and shadow terminal of 24. Each memory 21.22.23.24 is
The data of the first, second, third, and fourth columns of the halftone image is stored. Therefore, the address bus signal is decoded by the decoder 25 to generate a chip select signal, and only one memory is selected by manually inputting the signal to the C8 terminal of each memory. In this way, four columns of signals are stored in memory 21.2 for each column.
They are written in the order of 2, 23, and 24.

メモリ21 22,23.24のデータは、第12図に
示す続出回路で読出され、再構成される。
The data in the memories 21, 22, 23, and 24 are read out and reconfigured by the follow-up circuit shown in FIG.

このとき各列のデータは、読み出された後で並べかえる
必要がある。第7図に示すように、第1ラインの出力デ
ータ(出力データの場合は「ラインコを用いて、入力デ
ータの場合の「列」との混同を避ける)は、第1列と第
3列の半分の人力データを並べかえたものである。そこ
で、第12図の回路において出力ラインを指定するデコ
ーダ25のデコード信号が第1ラインに対する第1ライ
ン出力信号である場合、負論理ORゲート31.33を
介してチップセレクト信号をメモリ21.23のCS端
子に同時に出力する。これにより、メモリ2123のデ
ータがCPUからのリード信号に対応して同時に読み出
されることになる。また、第7図に示すように、続出さ
れたデータは、第1列の奇数番目ビット(’01,03
.・・・)と第3列の奇数番目ビット(21,23,・
・・)を組合わせて第7図に示すように交互に並べねば
ならない。そこで、メモリ21とメモリ23のそれぞれ
の奇数番目のビット(データ端子!、3,5.7)が第
7図に示す出力データの順に並べられて3−ステートゲ
ート35の入力端子に接続される。このゲート35の出
力端子はスムージング回路(第13図)に接続される。
At this time, the data in each column must be rearranged after being read. As shown in Figure 7, the output data of the first line (use "line" for output data to avoid confusion with "column" for input data) is the output data of the first and third columns. This is a rearrangement of half of the human data. Therefore, in the circuit of FIG. 12, if the decoded signal of the decoder 25 that specifies the output line is the first line output signal for the first line, the chip select signal is sent to the memory 21.23 via the negative logic OR gate 31.33. simultaneously output to the CS terminal of As a result, data in the memory 2123 is simultaneously read out in response to read signals from the CPU. Furthermore, as shown in FIG.
.. ) and the odd-numbered bits of the third column (21, 23, .
) must be arranged alternately as shown in Figure 7. Therefore, the odd-numbered bits (data terminals !, 3, 5.7) of each of the memories 21 and 23 are arranged in the order of output data shown in FIG. 7 and connected to the input terminal of the 3-state gate 35. . The output terminal of this gate 35 is connected to a smoothing circuit (FIG. 13).

ゲート35もデコーダ25の第1ライン出力信号をゲー
トコントロール信号として選択される。
The gate 35 is also selected with the first line output signal of the decoder 25 as the gate control signal.

こうして、メモリ21.23のデータをアドレスに対応
して順次読出して第1ラインの出力データに再構成する
In this way, the data in the memories 21 and 23 are sequentially read out in accordance with the addresses and reconstructed into the output data of the first line.

第2ラインの出力も同様に行われる。この場合、メモリ
22の第2列データの偶数番目ビット(10,12,・
・つとメモリ24の第4列データの偶数番目ビット(3
0,32,・・・)とを組合わせて出力する。このため
、メモリ22.24を第2ライン出力の際に同時に選択
するため、デコーダの第2ライン出力信号をORゲート
32.34を介してメモリ22.24のC8端子に出力
する。−方、メモリ22とメモリ24の偶数番目ビット
(データ端子0,2,4.6)を組合わせてゲート36
を介してスムージング回路(第13図)に接続する。
The output of the second line is performed in the same manner. In this case, even-numbered bits (10, 12, . . .
・Even-numbered bits (3
0, 32,...) are combined and output. Therefore, in order to simultaneously select the memory 22.24 at the time of outputting the second line, the second line output signal of the decoder is outputted to the C8 terminal of the memory 22.24 via the OR gate 32.34. - On the other hand, the even-numbered bits (data terminals 0, 2, 4.6) of the memories 22 and 24 are combined to form the gate 36.
The smoothing circuit (FIG. 13) is connected to the smoothing circuit (FIG. 13).

ゲート3Gは、デコーダ25の第2ライン出力信号で選
択される。
Gate 3G is selected by the second line output signal of decoder 25.

第3ラインの出力も同様に行われる。この場合、メモリ
22の第2列データの奇数番目ビット(11’、13.
・・・)とメモリ24の第4列データの奇数番目ビット
(31,33,・・・)とを組合わせて出力する。この
ため、メモリ22.24を第3ライン出力の際に同時に
選択するため、デコーダの第3ライン出力信号をORゲ
ート32゜34を介してメモリ22.24のC8端子に
出力する。
The output of the third line is performed in the same manner. In this case, the odd-numbered bits (11', 13 . . .
) and the odd-numbered bits (31, 33, . . . ) of the fourth column data of the memory 24 are combined and output. Therefore, in order to simultaneously select the memories 22.24 at the time of outputting the third line, the third line output signal of the decoder is outputted to the C8 terminal of the memory 22.24 via the OR gate 32.34.

方、メモリ22とメモリ24の奇数番目ビット(データ
端子比3,5.7)を組合わせてゲート37を介してス
ムージング回路(第13図)に接続する。
On the other hand, the odd-numbered bits (data terminal ratio 3, 5.7) of the memories 22 and 24 are combined and connected to a smoothing circuit (FIG. 13) via a gate 37.

ゲート37は、デコーダ25の第3ライン出力信号で選
択される。
Gate 37 is selected by the third line output signal of decoder 25.

第4ラインの出力も同様に行われる。この場合、メモリ
21の第1列データの偶数番目ビット(00,02,・
・・)とメモリ23の第3列データの偶数番目ビット(
20,22,・・・)とを組合わせて出力する。このた
め、メモリ2鳳23を第4ライン出力の際に同時に選択
するため、デコーダの第4ライン出力信号をORゲート
31.33を介してメモリ21.23のC8端子に出力
する。
The output of the fourth line is performed in the same manner. In this case, even-numbered bits (00, 02, . . .
) and even-numbered bits of the third column data of the memory 23 (
20, 22,...) are combined and output. Therefore, in order to simultaneously select the memory 2 23 at the time of outputting the 4th line, the 4th line output signal of the decoder is outputted to the C8 terminal of the memory 21.23 via the OR gate 31.33.

方、メモリ21とメモリ23の偶数番目ビット(データ
端子0,2,4.6)を組合わせてゲート38を介して
スムージング回路(第13図)に接続する。
On the other hand, the even-numbered bits (data terminals 0, 2, 4.6) of the memories 21 and 23 are combined and connected to the smoothing circuit (FIG. 13) via the gate 38.

ゲート38は、デコーダ25の第4ライン出力信号で選
択される。
Gate 38 is selected by the fourth line output signal of decoder 25.

第13図に示すスムージング回路では、第12図の回路
で読み出した8ビツトのデータP/S変換器51により
パラレルデータからシリアルデータに変換され、5個の
ラッチ52〜56にクロックに対応して順次ラッチされ
る。なお、1ラインの先頭のデータが送られる前と、最
後のデータの後には、2つの白データ(“0“)が送ら
れる。ラッチ52〜56に上げラッチされたデータは、
ROM57のアドレス端子に送られる。このROM57
には、第8図に示したパターンの場合のみデータのスム
ージングを行うようにデータが記憶されている。必要な
場合にスムージングが行われたデータが、次にS/P変
換器58に送られ、8ビ・ソトのパラレルデータに変換
された後、圧縮処理部4に送られる。
In the smoothing circuit shown in FIG. 13, the 8-bit data read out by the circuit shown in FIG. latched sequentially. Note that two pieces of white data (“0”) are sent before the first data of one line is sent and after the last data. The data latched in latches 52 to 56 is
It is sent to the address terminal of ROM57. This ROM57
Data is stored in such a manner that data smoothing is performed only in the case of the pattern shown in FIG. The data, which has been smoothed if necessary, is then sent to the S/P converter 58, converted into 8-bit parallel data, and then sent to the compression processing section 4.

本実施例では、スムージング回路(第13図)において
、スムージング処理によるデータ変換は他のブロックの
処理に無関係であるようにしたが、データ変換後のデー
タを他のブロックの処理に用いるようにすることも可能
である。
In this embodiment, in the smoothing circuit (Fig. 13), data conversion by smoothing processing is unrelated to processing of other blocks, but data after data conversion is used for processing of other blocks. It is also possible.

復調時の1次元/2次元変換部7におけるデータ続出と
データ書込も、以上に説明した書込回路と続出回路を逆
に用いることで可能になる。 (但し、スムージング回
路は不必要であるので用いない。) 次に、変形実施例について説明する。本発明に係るデー
タ圧縮法を用いてデータを再構成して送信した場合、受
信側で元の画像に変換できない通常のファクシミリ装置
を使用していることがありうる。かかる場合でもある程
度画像を再現できることが望ましい。
Data successive output and data writing in the one-dimensional/two-dimensional converter 7 during demodulation are also possible by using the write circuit and the successive output circuit described above in reverse. (However, since the smoothing circuit is unnecessary, it is not used.) Next, a modified example will be described. When data is reconstructed and transmitted using the data compression method according to the present invention, the receiving side may use a normal facsimile machine that cannot convert the data to the original image. Even in such a case, it is desirable to be able to reproduce the image to some extent.

第3図、第4図のようにドツト位置を変換した場合、黒
ドツトは、横方向だけでなく、縦方向にち並びやすくな
る。そこで、1次元データへの変換の方式を、第3図の
ように縦方向に黒ドツトを集中する型ではなく、たとえ
ば第14図に示すような黒ドツトを分散する型を用いる
方がよい。第14図の場合、5段階の濃度θ〜4に対応
して2×2のドツトを4X1ドツトの1次元データに変
換するとき、第15図のように黒ドツトを縦方向に分散
するように構成する。
When the dot positions are converted as shown in FIGS. 3 and 4, the black dots tend to line up not only horizontally but also vertically. Therefore, it is better to use a method of converting into one-dimensional data that disperses black dots, as shown in FIG. 14, instead of a method that concentrates black dots in the vertical direction as shown in FIG. In the case of Fig. 14, when converting 2 x 2 dots into one-dimensional data of 4 x 1 dots corresponding to 5 levels of density θ ~ 4, black dots are distributed vertically as shown in Fig. 15. Configure.

第2図の中間調画像について、第14図の方式でデータ
を再構成すると、第16図のように変換される。さらに
、第8図に示したスムージング方式を用いると、第17
図に示すように、白黒交互のパターンが少ない画像に再
構成できる。従って、この再構成画像を圧縮して送信し
た場合、そのまま受信側で伸長して1次元/2次元変換
部7を用いずに再現しても、第6図の黒ドツトを集中す
る型の再構成画像と比べると、横の白または黒のライン
が目立ちにくくなっている。従って、マクロ的に見れば
ある程度の元の画像(第2図)の認識が効果的にできる
When the data of the halftone image in FIG. 2 is reconstructed using the method shown in FIG. 14, the data is converted as shown in FIG. 16. Furthermore, if the smoothing method shown in FIG.
As shown in the figure, it is possible to reconstruct an image with fewer alternating black and white patterns. Therefore, if this reconstructed image is compressed and transmitted, even if it is decompressed on the receiving side and reproduced without using the one-dimensional/two-dimensional converter 7, the type of reproduction that concentrates the black dots in FIG. Compared to the constituent images, the horizontal white or black lines are less noticeable. Therefore, from a macroscopic perspective, it is possible to effectively recognize the original image (FIG. 2) to some extent.

具体的な画像再構成の回路は、第1I図と第12図にお
いて、デコーダ25の出力からのチップセレクト信号と
ゲートコントロール信号との選び方を変更するだけでよ
い。
For a specific image reconstruction circuit, it is only necessary to change the selection of the chip select signal and gate control signal from the output of the decoder 25 in FIGS. 1I and 12.

以上では、2×2の濃度パターンを4xlの濃度パター
ンに変換する場合について説明したか、一般に、NXN
ドツト(Nは2以上の整数)の濃度パターンをN’X 
1ドツトの濃度パターンに変換する場合も同様にデータ
再構成を行えばよい。
Above, we have explained the case of converting a 2x2 density pattern to a 4xl density pattern.
The density pattern of dots (N is an integer of 2 or more) is N'X
When converting to a one-dot density pattern, data reconstruction may be performed in the same manner.

本実施例ではファクシミリの場合について説明したが、
その他にも例えばファイリングシステムのように画像デ
ータをメモリに格納する時の圧縮に応用することができ
る。
In this example, the case of facsimile was explained, but
It can also be applied to compression when storing image data in memory, such as in a filing system.

また1画素の構成がNXN以外(例えば、N×Mや非矩
形のもの)でも同様の処理によって効果を得ることがで
きると共に、濃度パターン法に限らず、デイザ法への応
用も可能である。
Further, even if the configuration of one pixel is other than NXN (for example, N×M or non-rectangular), similar effects can be obtained by the same processing, and it is also possible to apply not only the density pattern method but also the dither method.

(発明の効果7) 1次元の濃度パターンを隣接して中間調画像を再構成し
、さらに白または黒の孤立点があった場合に孤立点がな
くなるようにデータをスムージングするので、白ドツト
又は黒ドツトがデータ圧縮方向に連続しやすくなる。従
って、通常のデータ圧縮法(MH法など)を用いて画像
データを圧縮してもさらに効率よく圧縮できるようにな
る。
(Effect 7 of the invention) A halftone image is reconstructed by adjacent one-dimensional density patterns, and furthermore, if there is an isolated white or black point, the data is smoothed so that the isolated point disappears. Black dots become more likely to continue in the direction of data compression. Therefore, even if image data is compressed using a normal data compression method (such as the MH method), the image data can be compressed more efficiently.

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

第1図は、2×2ドツトの濃度パターンの一例を示す図
である。 第2図は、中間調処理後の画像の一例の図である。 第3図は、画像再構成のための1次元濃度パターンの一
例の図である。 第4図は、2×2濃度パターンと4×1a度パターンの
対応を示す図である。 第5図は、画像再構成におけるデータ変換位置の対応を
示す図である。 第6図は、第2図の画像の再構成画像の図である。 第7図は、′?JS2図の中間調画像と第6図の中間調
画像とのドツトの対応を示す図である。 第8図は、スムージングパターンの図である。 第9図は、スムージングを行った再構成画像の図である
。 第10図は、ファクシミリ装置のブロック図である。 第11図は、2次元/1次元変換部の書込回路の図であ
る。 第12図は、2次元/1次元変換部の続出回路の図であ
る。 第13図は、スムージング回路の図である。 第14図は、画像再構成のための1次元パターンの変形
例の図である。 第15図は、2×2a度パターンと4X1;i11度パ
ターンの対応を示す図である。 第16図は、再構成画像の変形例の図である。 3・・・2次元/1次元変換部、 7・・・1次元/2次元変換部。 特許出頼人  ミノルタカメラ株式会社代 理 人  
弁理士 前出 葆ほかI名第 図 第 図 第 図 第14図 第15図 第16図 第17図 手粘に荊−II正書 (方式) 1、事件の表示 平成 1年 特19願 第096864号 2、発明の名称 データ圧縮法 3゜補正をする者 事件との関係
FIG. 1 is a diagram showing an example of a 2×2 dot density pattern. FIG. 2 is a diagram of an example of an image after halftone processing. FIG. 3 is a diagram of an example of a one-dimensional density pattern for image reconstruction. FIG. 4 is a diagram showing the correspondence between a 2×2 density pattern and a 4×1a degree pattern. FIG. 5 is a diagram showing correspondence of data conversion positions in image reconstruction. FIG. 6 is a diagram of a reconstructed image of the image of FIG. 2. Figure 7 shows '? FIG. 6 is a diagram showing the correspondence of dots between the halftone image of FIG. JS2 and the halftone image of FIG. 6; FIG. 8 is a diagram of a smoothing pattern. FIG. 9 is a diagram of a reconstructed image that has been smoothed. FIG. 10 is a block diagram of a facsimile machine. FIG. 11 is a diagram of the write circuit of the two-dimensional/one-dimensional converter. FIG. 12 is a diagram of a continuation circuit of the two-dimensional/one-dimensional conversion section. FIG. 13 is a diagram of the smoothing circuit. FIG. 14 is a diagram of a modified example of a one-dimensional pattern for image reconstruction. FIG. 15 is a diagram showing the correspondence between the 2×2a degree pattern and the 4×1;i11 degree pattern. FIG. 16 is a diagram of a modified example of the reconstructed image. 3...2-dimensional/1-dimensional conversion section, 7...1-dimensional/2-dimensional conversion section. Patent source Minolta Camera Co., Ltd. Agent
Patent Attorneys: Suho et al., Figure 14, Figure 15, Figure 16, Figure 17, Teku-ni-Jiku-II (method) 1. Indication of the case, 1999 Special Application No. 096864 No. 2, Name of the invention Data compression method 3゜Relationship with the case of the person making the amendment

Claims (1)

【特許請求の範囲】[Claims] (1)画像を複数の段階の濃度に対応する2次元的に広
がりを有する複数のドットにより表現し、この表現した
画像を1次元のドットパターンに変換し、この1次元ド
ットパターンを隣接して所定の順に並べ、こうして並べ
かえた画像データについてデータ圧縮方向の1ラインご
とに、順次1つのブロックに注目し、そのブロックの前
後の所定数のブロックのデータを参照して、その注目ブ
ロックを白又は黒の孤立点とする所定のパターンが発生
している場合、その注目ブロックのデータを黒又は白に
変更し、次にデータ圧縮を行うことを特徴とするデータ
圧縮法。
(1) An image is represented by a plurality of dots with two-dimensional spread corresponding to multiple levels of density, this represented image is converted into a one-dimensional dot pattern, and this one-dimensional dot pattern is After arranging the image data in a predetermined order, focus on one block for each line in the data compression direction of the rearranged image data, refer to the data of a predetermined number of blocks before and after that block, and change the block of interest to white or white. A data compression method characterized in that when a predetermined pattern of black isolated points occurs, the data of the block of interest is changed to black or white, and then data compression is performed.
JP1096864A 1989-02-23 1989-04-17 Data compression method Expired - Lifetime JP2800252B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP1096864A JP2800252B2 (en) 1989-04-17 1989-04-17 Data compression method
US07/483,381 US5121197A (en) 1989-02-23 1990-02-22 Method for processing half tone images to improve efficiency of data compression

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1096864A JP2800252B2 (en) 1989-04-17 1989-04-17 Data compression method

Publications (2)

Publication Number Publication Date
JPH02274177A true JPH02274177A (en) 1990-11-08
JP2800252B2 JP2800252B2 (en) 1998-09-21

Family

ID=14176314

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1096864A Expired - Lifetime JP2800252B2 (en) 1989-02-23 1989-04-17 Data compression method

Country Status (1)

Country Link
JP (1) JP2800252B2 (en)

Also Published As

Publication number Publication date
JP2800252B2 (en) 1998-09-21

Similar Documents

Publication Publication Date Title
JP2656897B2 (en) Image data compression and decompression device
JP2922680B2 (en) Compressed image storage method for high-resolution computer graphics
JPH02288984A (en) Bit map changing method
JP2967011B2 (en) Image processing method and apparatus
JP3201448B2 (en) Encoding / decoding device, encoding device, and decoding device
DE19835636A1 (en) Image scanning apparatus e.g. for facsimile apparatus
JP2738136B2 (en) Blocking device
JPH02274177A (en) Data compression method
US5121197A (en) Method for processing half tone images to improve efficiency of data compression
JP3563838B2 (en) Image encoding / decoding device
JP2800230B2 (en) Data compression method
JPH02274176A (en) Data compression method
JP2800250B2 (en) Data compression method
JPH01140883A (en) Data coding method
JP4219079B2 (en) Image processing device
JP2002084425A (en) Multi-level image data compression device
JP2744229B2 (en) Image processing device
JPH06101792B2 (en) Image data combiner
JP2744231B2 (en) Image processing device
JP3996965B2 (en) Video signal compression coding apparatus
JP2917732B2 (en) Compressed image memory controller
JPS635485A (en) Image data compression circuit
JP2000069281A (en) Image reduction device, its method and computer-readable recording medium recorded with program
JPH0446465A (en) Picture information encoding system
JPH02252364A (en) Picture signal processor

Legal Events

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

Free format text: PAYMENT UNTIL: 20080710

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20080710

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20090710

Year of fee payment: 11

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090710

Year of fee payment: 11