JPH0879531A - Preprocessing method for dither image data compression - Google Patents

Preprocessing method for dither image data compression

Info

Publication number
JPH0879531A
JPH0879531A JP6228568A JP22856894A JPH0879531A JP H0879531 A JPH0879531 A JP H0879531A JP 6228568 A JP6228568 A JP 6228568A JP 22856894 A JP22856894 A JP 22856894A JP H0879531 A JPH0879531 A JP H0879531A
Authority
JP
Japan
Prior art keywords
pattern
values
point image
dither
video data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP6228568A
Other languages
Japanese (ja)
Inventor
Kinhyo Rin
錦標 林
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to JP6228568A priority Critical patent/JPH0879531A/en
Publication of JPH0879531A publication Critical patent/JPH0879531A/en
Pending legal-status Critical Current

Links

Landscapes

  • Compression Of Band Width Or Redundancy In Fax (AREA)

Abstract

PURPOSE: To improve the transmission efficiency of video data by forming a continuous dot pattern by dividing an original picture by using one dither pattern and collecting the dot values in one group, and then, binarizing and compression-coding the dot values. CONSTITUTION: An original picture is divided into an XxY dot pattern A and a dither pattern B having the same size (same numbers of rows and lines) as that of the pattern A is set. Then the dot values of the pattern A are collected in one group. Then the dot values in the same set are divided, namely, binarized by the element of the dither pattern B of the same size held by the group correspondingly to the element, namely, to a threshold and, when the dot values are larger than the element (threshold), the values are binarized into '1'. When the values are smaller than the element, the values are binarized into '0'. Then the original picture is compressed by changing the arranging order of binarized video data to be compressed entirely by arranging each binarized set in order.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、一種のディザー映像デ
ータ圧縮の前処理法に関し、特に一種の映像データに符
合化圧縮を進行する前に使用し、圧縮後の数量をさらに
少なくし、これにより 映像データの伝送効率を高める
処理方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a kind of preprocessing method for dither video data compression, and more particularly to a kind of video data used before advancing coding compression to reduce the quantity after compression. The present invention relates to a processing method for improving the transmission efficiency of video data.

【0002】[0002]

【従来の技術】映像データの発生は、主に、電荷結合素
子(CCD)のような光学部品で原稿の文字や図形に対
して走査を行い獲得した連続アナログ信号を、さらにア
ナログ−ディジタル変換器で変換し、連続2進数ディジ
タルデータ(1は白、0は黒とする)を発生することに
よる。その最も典型的なものは、ファクシミリの使用で
あり、また、膨大な映像データを速やかに伝送完了する
ために、映像データは全てまずデータ圧縮符合化の処理
を経て、圧縮後のデータ量を減少し、よって伝送効率を
高めている。
2. Description of the Related Art Image data is mainly generated by scanning an analog character such as a charge-coupled device (CCD) with respect to a character or a figure of an original to obtain a continuous analog signal and further converting the analog signal into an analog-digital converter. By converting and generating continuous binary digital data (1 is white and 0 is black). The most typical one is the use of a facsimile, and in order to complete the transmission of a huge amount of video data quickly, all the video data undergoes a data compression encoding process to reduce the amount of data after compression. Therefore, the transmission efficiency is improved.

【0003】ところで映像データの来源は、簡単な文字
原稿のほか、明暗の色層を有する画像或いは写真である
場合もある。前者は走査を経て発生するデータの大部分
がはっきりと分けられる2色階であり、この場合は、伝
統的なファクシミリのデータ処理及び圧縮は非常に適合
する。なぜなら伝統的なファクシミリは全て重文であっ
て不重画であり、そのために一般のファクシミリの設定
する様式(デフォルトセッティング)においては、全て
2色階の黒白様式(Black/WhiteThres
holded mode)である。しかし、色層を有す
る写真あるいは画像については、はっきりした2色階で
はないため、これをさらに一般の2色階の様式で処理す
ると、ファクシミリで送られるものが判読できなくな
る。ゆえに、伝統的なファクシミリは全てディザー方
法、或いは誤差拡散法(error diffusio
n Method)、或いは周辺濃度集積再分配法(a
rrelative density assigum
ent of a djacent pixels −
CAPIX等)などの、一つの半色調様式を提供するこ
とでこの問題の解決を図っている。但し、このような方
法で発生する映像データは、伝統的な圧縮符合処理には
非常に不適当であった。というのは、若し画像が背景に
色を有していれば、いかなる半色調様式により発生する
映像データを用いても、黒点と白点が交互に出現する周
波数回数が2色階黒白様式が発生するものに比べはるか
に多いからである。
The source of the video data may be a simple text original or an image or photograph having light and dark color layers. The former is a two-color scale where most of the data generated through scanning is clearly separated, in which case traditional facsimile data processing and compression is very well suited. Because all the traditional facsimiles are heavy sentences and non-weighted images, therefore, in the general facsimile setting style (default setting), all the two-color black and white style (Black / WhiteThres) is used.
a held mode). However, for photographs or images with color layers, they are not clearly two-tone, so if they are processed in a more general two-tone format, they will be unreadable by a facsimile. Therefore, all traditional facsimiles are dithered or error diffusive.
n Method) or peripheral concentration integrated redistribution method (a
rrrelative density assigum
ent of a djacent pixels-
This problem is addressed by providing a single halftone style, such as CAPIX). However, the image data generated by such a method is very unsuitable for the traditional compression coding process. This is because, if the image has a color in the background, the frequency frequency at which black dots and white dots alternate appears in the two-color black-and-white mode even if the image data generated by any half-tone mode is used. It is much more than what is generated.

【0004】このような黒点と白点の間の映像データ
を、もし常用されているランレングス符合化のうち、G
3型のファクシミリで使用する一桁符合化MH(Mod
ified huffman)で処理する場合を例に挙
げると以下に述べるような、映像データの圧縮効果が得
られる: 1.一桁符合化MHは、単一の水平走査線を一回の符合
化単位とし、垂直方向に逐次累進して、1ページの図片
の映像とする。その符合化表は、図1に示されるよう
に、白線段の冗長度は白点連続出現の数を代表し、黒線
段の冗長度は、黒点連続出現の数を代表する、その後に
対応する符合化値は、一桁符合化MHを経て発生する結
果である。 2.図2に示されるのは、一つの走査例であり、光学部
材の走査を経てさらにディジタル信号に変換された原走
査データ表示は、01000111(1は白点、0は黒
点)であり、その総数データ量は、8ビットである。こ
れを一桁符合化MHで圧縮すると総データ量は、15ビ
ットとなる。
The image data between the black point and the white point as described above can be converted into G among the commonly used run length coding.
One-digit coded MH (Mod
Taking as an example the case of processing with the "improved huffman", the following compression effects of the image data can be obtained: In the single-digit coded MH, a single horizontal scanning line is used as a single coded unit, and progressively progressively processed in the vertical direction to form a video image of one page. In the encoding table, as shown in FIG. 1, the redundancy of the white line stage represents the number of consecutive white point appearances, and the redundancy of the black line stage represents the number of consecutive black point appearances, and corresponds thereafter. The coded value is the result generated through the one-digit coded MH. 2. FIG. 2 shows one scanning example, and the original scanning data display converted into a digital signal through scanning of the optical member is 00001111 (1 is a white dot, 0 is a black dot), and the total number thereof is shown. The data amount is 8 bits. If this is compressed by the one-digit coded MH, the total data amount becomes 15 bits.

【0005】以上の説明からお分かりのように、一桁符
合化MH処理後の総データ量は減るどころか却って増え
ており、明らかに我々の圧縮の目的と反している。この
現象が、ファクシミリで図片や写真を伝送するときに遭
遇する欠点であり、往々にして、1枚のA4サイズの図
片をディザー処理後、伝送開始から伝送完了まで少なく
とも7分(伝送速度9600 bpsを例とする)程
度、或いはそれ以上かかる。反対に、一枚の同じサイズ
の文字原稿では数秒の時間しかかからず、その間の違い
は大きかった。
As can be seen from the above description, the total amount of data after the single-digit coded MH processing is increasing rather than decreasing, which clearly defeats the purpose of our compression. This phenomenon is a drawback that is encountered when transmitting drawing sheets or photographs by facsimile, and often after dithering one A4 size drawing sheet, it takes at least 7 minutes (transmission speed) from the start of transmission to the end of transmission. It takes about 9600 bps) or more. On the other hand, a single manuscript of the same size took only a few seconds, and the difference between them was great.

【0006】このため、各一つの黒と白の間のデータ形
態は、01の2ビット010000111の9個のビッ
トのデータ量を発生し、このためデータ量は4.5倍に
増加する。ただし、我々の使用する符合化の目的は、我
々が伝送するデータ量を圧縮することであり、膨張させ
ることではない。このため、一桁符合化MH或いは二桁
符合化MR或いはMMRであるかを問わず、有効な解決
方法とすることはできない。
Therefore, each data form between black and white produces a data amount of 9 bits of 01 2 bits 010000111, which increases the data amount by a factor of 4.5. However, the purpose of the encoding we use is to compress the amount of data we transmit, not to expand it. Therefore, regardless of whether it is the one-digit coded MH, the two-digit coded MR or the MMR, it cannot be an effective solution.

【0007】このため、一般のファクシミリは、半色調
様式においては受信者の理想にかなうものではなかっ
た。また、発生されて出てくる半色調は、その粒子が荒
く、粒子が荒いために、一つの連続的な黒白点の間を発
生する可能性が大きく減少した。このため、確かに符合
化時の圧縮効率は高められても、受信者の図形解析度が
大幅に低下するという問題があり、ファクシミリのこの
一つの様式、すなわち半色調様式はその使用価値を大き
く低めることになった。
For this reason, ordinary facsimiles have not met the recipient's ideal in halftone mode. Also, the generated semi-tones are greatly reduced in the possibility of occurring between one continuous black-and-white spot because the particles are rough and the particles are rough. For this reason, even if the compression efficiency at the time of encoding is increased, there is a problem that the graphic analysis of the receiver is significantly reduced, and this one mode of the facsimile, that is, the halftone mode has a great use value. I decided to lower it.

【0008】この外に、一種のパターンランレングス
(pattern RUN length)の方法があ
る。これは、コンピュータによく用いられる方法であ
り、仮に連続的データがあるとすると、一つのパターン
を探し出し、この一つのパターンは皆が共用するもの
で、データの前に設けられる一つの標記とし、同時にパ
ターンを放入し、さらにデータ中に幾つの同じパターン
があるかを示すものである。前面の例のように、もし資
料が、 010101010101..... であれば、我々はそのパターンを、55Hとすることが
でき、さらにいくつの55Hがあるかを計算し、このよ
うに、大きく圧縮比を改善することができる。その外に
も幾多の方法があるが、それらも以下の2つの欠点を有
する: 1.もし図形が階層変化を有するときは、大部分の方法
は効果がない。なぜなら、この種の図形はその規律性が
通常比較的低く、相当に複雑な数学的演算を経なけれ
ば、理想的な結果を得ることができないためである。 2.現在行われているMH、MR、MMR圧縮方法とは
完全に異なるため、現在の一桁符合化の利点及び普遍性
を利用することができない、このため、新たな符合化方
式を定義する必要がある。すなわちパターンランレング
ス法では、いかにEOFを定義し、いかにデータと制御
符合とを混在させないか、ノイズがある時に、1條の線
のデータの遺漏があるか否か、後のデータは符合解読で
きるか否か等、同時に相当多くの証明を必要とする。こ
れに対し、新たな方法は、伝送上問題なく、しかも確定
圧縮効率に相当多くの改善をなすものでなければ、ファ
クシミリの符合化もあまり意味がないものとなる。一
方、現在使用者の需要はいよいよ強烈なものになり、受
信の解析度が高く、伝送時間が短く、300dpi或い
は400dpiのスーパーファィンモード(super
fine mode)を求め、ここに至ってカラーの
ファクシミリを求めている。現在は電話の伝送速度は9
600 Baud rate から14400 Bau
d rate(V.17)に達しており、このため、デ
ータの圧縮方法上も適当な進歩により、現在のファクシ
ミリのただ文字形態において使用できる状況を突破する
ことが求められているが、現在は未だ色層或いはカラー
の文件を送ることはできない。
In addition to this, there is a kind of pattern run length method. This is a method that is often used in computers, and if there is continuous data, one pattern is searched for, this one pattern is shared by all, and it is one mark placed before the data, At the same time, the patterns are released and it is shown how many same patterns are in the data. As in the example on the front, if the material is 010101010101. . . . . Then, we can make the pattern 55H, calculate how many 55H there are, and thus improve the compression ratio significantly. There are many other methods, but they also have two drawbacks: Most methods are ineffective if the graphic has hierarchical changes. This is because figures of this kind usually have a relatively low discipline, and an ideal result cannot be obtained without considerably complicated mathematical operations. 2. Since it is completely different from the MH, MR, and MMR compression methods currently used, it is not possible to take advantage of the advantages and generality of the current single-digit encoding. Therefore, it is necessary to define a new encoding method. is there. That is, in the pattern run length method, how to define EOF, how to prevent data and control code from being mixed, whether there is omission of data of one jojo line when noise is present, and subsequent data can be code-deciphered. Whether or not it requires a lot of proofs at the same time. On the other hand, if the new method does not cause any problems in transmission and does not significantly improve the definite compression efficiency, the facsimile coding will be meaningless. On the other hand, the demand of users has become more and more intense at the present time, the analysis of reception is high, the transmission time is short, and the superfine mode (superfine mode) of 300 dpi or 400 dpi is achieved.
Fine mode) is reached, and a color facsimile is reached up to this point. Currently, telephone transmission speed is 9
600 Baud rate to 14400 Bau
d rate (V.17) has been reached, and as a result, appropriate progress has been made in the method of compressing data, and it is required to break through the situation in which the current facsimile can be used only in the character form. It is not possible to send a color layer or color statement yet.

【0009】[0009]

【発明が解決しようとする課題】本発明の主な目的は、
映像データの伝送効率を高めることで、これは映像デー
タの圧縮効率を高めることといってもよい。また、もう
一つの目的は、ファクシミリ、コンピュータ類の情報機
器が映像データの伝送を進行する前に、本発明の方法を
利用することで、映像データを重行配列して一種の優れ
た連続性を有する映像データとし、後続の圧縮データ量
を大幅に少なくし、よって高い伝送効率を獲得すること
である。
The main object of the present invention is to:
It can be said that this increases the compression efficiency of the video data by increasing the transmission efficiency of the video data. Another object is to use the method of the present invention before an information device such as a facsimile or a computer progresses the transmission of video data, and arranges the video data in a row to provide a kind of excellent continuity. It is to obtain a high transmission efficiency by significantly reducing the amount of subsequent compressed data as the video data that it has.

【0010】[0010]

【課題を解決するための手段】本発明は、一種のディザ
ー映像データ圧縮の前処理法であり、主に原図を分割し
てX×Y個の連続して原図全体に配列された点像パター
ン〔A〕とし、並びに一つの該点像パターン〔A〕と同
じサイズ(同列同行)のディザーパターン[B〕を設置
し、且つ該点像パターン〔A〕の各元素は共に該ディザ
ーパターン〔B〕の元素にカバーされる点像パターン
〔A〕により、各一つの点像パターン内同期(同行同列
或いは僅かに同行)の点像値を析出して集めて一つのグ
ループとなしたものとし、各一つのグループは全て、相
対応する一つのディザーパターン〔B〕の元素を有し、
さらにこの元素をスレショルドとなし、同一のグループ
内で所有する点像値に対して2値化処理(2色階の処
理)を行い、組分けして一種の2値化(‘1’或いは
‘0’)処理を行い、並びに伝統の圧縮符合化により圧
縮される映像データを提供することができる、ディザー
映像データ圧縮の前処理法を提供する。
SUMMARY OF THE INVENTION The present invention is a kind of preprocessing method for dither video data compression, and mainly divides an original image into X × Y continuous point image patterns arranged over the entire original image. [A], and a dither pattern [B] having the same size (same column and row) as one point image pattern [A] is provided, and each element of the point image pattern [A] is the dither pattern [B]. ] By the point image pattern [A] covered by the element of [1], it is assumed that each one point image value within the point image pattern is synchronized (in the same row or slightly in the same row) and collected to form a group. Each one group has one corresponding dither pattern [B] element,
Further, this element is used as a threshold, and the point spread values possessed in the same group are subjected to binarization processing (processing of two color scales) and grouped into a kind of binarization ('1' or '). 0 ') processing, as well as providing a pre-processing method for dither video data compression, which can provide video data compressed by traditional compression coding.

【0011】[0011]

【作用】本発明のディザー映像データ圧縮の前処理法
は、主に、原画を一つのディザーパターンで分割して連
続的な点像パターンとし、さらに各一つの点像パターン
内同期(横向きを列、縦向きを行とし、同行同列、或い
は僅かに同行)の点像値を析出して集めて一つのグルー
プとなし、各一つのグループが全て有する一つのディザ
ーパターンの元素を相対応させ、この元素をスレショル
ドとなす。同じ一つの集合内に所有の点像値に対しては
2進符合化の処理(2色階の処理)を行い、組分けして
一種の2進符合化(0或いは1)の映像データを形成す
る。この方法により発生する映像データは極めて良い連
続性を有し、同一組の映像データ値は大部分が1或いは
0とされるため、さらにこの種の映像データを伝統的な
圧縮コード圧縮を経てその圧縮データ量を未だこの方法
で処理されずに直接圧縮されたデータ量に較べて少なく
し、よって映像データの伝送効率を高める。
In the preprocessing method for dither image data compression of the present invention, the original image is mainly divided into one dither pattern to form a continuous point image pattern, and each one point image pattern is synchronized (horizontally in a horizontal direction). , Vertical direction as rows, same point, same column, or slightly same row) are deposited and collected to form one group, and each one group has one dither pattern element corresponding to each other. Element is a threshold. Binary encoding processing (processing of two color scales) is performed on the point image values owned in the same one set, and a kind of binary encoding (0 or 1) image data is grouped. Form. The video data generated by this method has a very good continuity, and most of the video data values of the same set are 1 or 0. The amount of compressed data is reduced as compared with the amount of data that has not been processed by this method and is directly compressed, thereby increasing the transmission efficiency of video data.

【0012】[0012]

【実施例】図3に示すように、本発明の処理方法の執行
は、まず一枚の走査伝送したい図片を分割して連続する
点像パターン〔A〕に分割する。そのうち点像パターン
〔A〕内にある各元素は、全て図片上を走査して得られ
る点像値であり、この点像値は、すなわち図片上の画像
の元素位置での明暗程度を代表する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS As shown in FIG. 3, in order to carry out the processing method of the present invention, first, one piece of a figure to be scanned and transmitted is divided into continuous point image patterns [A]. Each of the elements in the point image pattern [A] is a point image value obtained by scanning the figure piece, and this point image value represents the lightness or darkness at the element position of the image on the figure piece. .

【0013】次に、本発明はさらに一つ(唯一の一つ)
の、前述の所有の点像パターン〔A〕と同列同行(同じ
サイズ)のディザーパターン〔B〕を、所有する点像パ
ターン〔A〕を切割る基準とする。その意味はこの一つ
のディザーパターン〔B〕の各一つの元素を、任意の一
つの点像パターン〔A〕内同期、すなわち同列同行の点
像値と対応させるか、或いは唯一の一つのディザーパタ
ーン〔B〕と判断できるもので、逐一図片上の各一つの
同じサイズの点像パターン〔A〕を覆うことである。
Next, the present invention is further one (only one).
The dither pattern [B] in the same column and row (same size) as the above-mentioned owned point image pattern [A] is used as a reference for dividing the owned point image pattern [A]. The meaning is that each element of this one dither pattern [B] is made to correspond to synchronization within any one point image pattern [A], that is, the point image value of the same column and the same row, or only one dither pattern. [B] can be judged, and each point image pattern [A] of the same size is covered.

【0014】この説明における所有の点像パターン
〔A〕中の各一つの元素は、それぞれ直接図片上の走査
により得られる点像値であり、いわゆる図片上の映像の
明暗度を示すものである。また、一般のファクシミリが
走査により得たアナログ信号がアナログ−ディジタル変
換器を経て変換された後のディジタルデータは8ビット
の幅を有するため、直接図片上を走査して得られる点像
値は共に2 256個の灰階度(その値は0〜255
の間で、当然この総灰階度の値はアナログ−ディジタル
変換のデータの幅のサイズにより異なる)を有し、図片
上の1條の水平走査線により得られる点像値は、図8か
ら図15中の不規則な波線に示されるように、0〜25
5の間の値で、並びに異なる水平走査線による得られる
値は全て異なる。
In this description, each one element in the owned point image pattern [A] is a point image value directly obtained by scanning on the figure piece, and indicates the so-called brightness of the image on the figure piece. . Also, since the digital data after the analog signal obtained by scanning by a general facsimile is converted through the analog-to-digital converter has a width of 8 bits, the point image values obtained by directly scanning the figure are both 2 8 256 ash levels (its value is 0-255
Of course, the value of this total gray scale depends on the size of the width of the data of the analog-to-digital conversion), and the point image value obtained by one horizontal scanning line on the drawing piece is from FIG. As shown by the irregular wavy lines in FIG.
Values between 5 as well as the values obtained with different horizontal scan lines are all different.

【0015】図4に示されるように、本発明で、実施上
設けるディザーパターン〔B〕の一つの例である。この
ディザーパターン〔B〕は8×8のパターンであり、こ
のため、対応する点像値も同行同列の8×8パターンで
ある。ディザーパターン〔B〕が8×8のパターンであ
るため、共有する64個の組成元素は、また64個数の
スレショルドを有し、またこの64個のスレショルドは
全部で256個の灰階度の点像値を切割る必要がある。
このため、図中に示されるように、各一つのスレショル
ドの間は共に4個の灰階度の差があり、このため64個
のスレショルドがもし0から開始して4、8のように等
差で増えて252に至って且つ重複しない値であると
き、そのディザーパターン〔B〕内における配置位置
は、使用者が任意に設定できる。
As shown in FIG. 4, this is an example of a dither pattern [B] provided in practice in the present invention. This dither pattern [B] is an 8 × 8 pattern, and therefore the corresponding point image values are also 8 × 8 patterns in the same row and the same column. Since the dither pattern [B] is an 8 × 8 pattern, the 64 shared composition elements also have 64 thresholds, and these 64 thresholds have a total of 256 gray scale points. It is necessary to cut the image value.
For this reason, as shown in the figure, there is a difference of 4 gray scales between each one of the thresholds, so that 64 thresholds start from 0 and are equal to 4, 8, etc. When the value increases by the difference and reaches 252 and the value does not overlap, the user can arbitrarily set the arrangement position in the dither pattern [B].

【0016】図4中の第1列のスレショルド、0、12
8、32、160、8、136、40、168は第1條
水平走査線を切割りして得られる点像値の例である。こ
の点像値がスレショルドより大きいときは、ディザー処
理方法を経て‘1’(白点)を出力し、反対の時は、
‘0’(黒点)を出力する。この種の切割り処理が2値
化、すなわち‘0’或いは‘1’とする方法は、伝統的
なディザー方法の処理の原則である。このため、第一行
の8個のスレショルドが発現することができる。これら
の隣り合うものの差は極めて大きく、故に非常に細密な
図形を切割ることができる。
Thresholds 0, 12 in the first column in FIG.
8, 32, 160, 8, 136, 40, 168 are examples of point image values obtained by cutting the first horizontal scanning line. When this point spread value is larger than the threshold value, '1' (white point) is output through the dither processing method, and in the opposite case,
Outputs "0" (black dot). The method of binarizing this kind of slitting process, that is, "0" or "1" is the principle of the process of the traditional dither method. Therefore, the eight thresholds in the first row can be expressed. The difference between these adjacent ones is very large, and therefore very fine figures can be cut.

【0017】第1列内の8個のスレショルドは、その隣
り合う差が非常に大きいため、もし直接前述のディザー
法で処理して2値化の映像データとすると、01010
101の結果になる。これでは、前述の従来の技術で述
べた、一桁符合化MHを経て圧縮後にその総データ量が
却って増えて反圧縮効果を有することになってしまう。
The eight thresholds in the first column have a very large difference between adjacent ones, so if they are directly processed by the above-mentioned dither method to be binarized video data, 01010
The result is 101. In this case, the total amount of data is rather increased after the compression through the one-digit coded MH described in the above-mentioned conventional technique, and the anti-compression effect is provided.

【0018】ただし、我々は、点像パターン〔A〕中の
単数行と2つの行を分けて二つの4×8のパターン(図
5に示す)と成す。我々は、0、32、8、40、16
8がそれらの間の振動の幅であり、並びにあまり大きく
ないことに気づき、128、160、136、168も
同じである。もし2×8或いは1×8(図6又は図7に
示す)と改めると、いくらかは振動がなく(図6)、或
いは完全に振動がない(図7)ことがわかった。このた
め、本発明はこの特性を運用して映像データ圧縮率を高
める目的の達成に供する。
However, we divide the single line and the two lines in the point image pattern [A] into two 4 × 8 patterns (shown in FIG. 5). We are 0, 32, 8, 40, 16
Notice that 8 is the width of the vibration between them, as well as not too great, so is 128, 160, 136, 168. If changed to 2 × 8 or 1 × 8 (shown in FIG. 6 or FIG. 7), it was found that there was some vibration (FIG. 6) or no vibration (FIG. 7). Therefore, the present invention provides the achievement of the purpose of increasing the video data compression rate by operating this characteristic.

【0019】本発明の処理法は、1×8の点像パターン
〔A〕を例にとると、各一つの点像パターン〔A〕(同
行同列或いは僅かに同行)の点像値を析出して一つのグ
ループとなし、且つ各一つのグループが有する同じサイ
ズのディザーパターン〔B〕の元素、即ちスレショルド
と相対応し、さらにこの元素で同一集合内の所有点像値
を切割り、すなわち2値化(0或いは1)の処理を行
い、この点像値が該元素(スレショルド)より大きいと
きは2値化により1とし、反対の場合は0となす。その
後各々2値化された後の各集合を順に共に配列し、この
ときもともとの全体の圧縮を進行したい2値化映像デー
タ順序は変化する。このため、発生する各1つの集合内
で全て黒点或いは全て白点となされる可能性があり、こ
の方法により発生する映像データは極めてよい連続性を
有する。この結果は一桁符合化MHの圧縮に最も適して
いる。
Taking the 1 × 8 point image pattern [A] as an example, the processing method of the present invention deposits the point image values of each one point image pattern [A] (in the same row or in the same row). Corresponding to the element of the dither pattern [B] of the same size that each group has, that is, the threshold, and further divides the possessed point image value in the same set by this element, that is, 2 A binarization (0 or 1) process is performed, and when this point spread value is larger than the element (threshold), it is binarized to be 1, and in the opposite case, it is set to 0. After that, the respective binarized sets are sequentially arranged together, and at this time, the order of the binarized video data for which the original overall compression is desired to be changed. For this reason, there is a possibility that all black points or all white points will be formed in each generated set, and the video data generated by this method has extremely good continuity. This result is most suitable for compression of single digit coded MH.

【0020】図8から図15に示される1系列の8枚の
図面中に明確であるように、この種の処理方法で、もし
8×8のディザーパターンにより切割りを進行すると、
発生する結果は、これら8枚の図面の順に図片上の上か
ら下の8條水平走査線で代表する。走査開始から本発明
の処理が完成するまでの結果は、これにより本発明中の
点像値を8行8列を例として図8で説明を行い、並びに
前述の図4の点像値を組み合わせて本発明の処理方法を
以下に述べる。
As is clear in the series of eight drawings shown in FIGS. 8 to 15, in this type of processing method, if cutting is progressed by an 8 × 8 dither pattern,
The results produced are represented in the order of these eight drawings by the top to bottom eight horizontal scanning lines on the figure. The results from the start of scanning to the completion of the processing of the present invention will be described with reference to FIG. 8 by taking the point image values in the present invention as an example of 8 rows and 8 columns, and combining the point image values of FIG. 4 described above. The processing method of the present invention will be described below.

【0021】まず、ディザーパターン〔B」内の第1列
の8個のスレショルド、0、128、32、160、
8、136、40、168(図8中の連続する矩形の波
線)で、同一水平走査線上の全ての点像パターン〔A〕
の、その中の同期の点像値(図8の連続する不規則な波
線)に対して2値化処理を行う。この波形線値、即ち点
像値がスレショルドより大きいときは2値化により
‘1’とし、反対では2値化により‘0’とする。これ
は即ち、水平走査線上の第1、9、17...点の点像
値が全てディザーパターン〔B〕内の同期元素0をスレ
ショルドとし、水平走査線上の第2、10、18...
点の点像値はディザーパターン〔B〕内の同期元素12
8をスレショルドとするということである。この外も類
推し、0でスレショルドが発生する2値化映像データ全
てを析出して第1個のグループとし、128をスレショ
ルドとして発生する2値化映像データ全てを析出して第
2個のグループとして順に処理して8個のグループとす
る。このため、各1つの集合は大部分が‘1’或いは
‘0’の映像データとされ、且つ極めて良い連続性を有
し、この結果、一桁符合化MH圧縮後のデータ量を大幅
に少なくすることができ、伝送効率を高めることができ
る。
First, the eight thresholds in the first column in the dither pattern [B], 0, 128, 32, 160,
8, 136, 40, 168 (continuous rectangular wavy lines in FIG. 8), all point image patterns [A] on the same horizontal scanning line
Binarization processing is performed on the synchronous point image values (continuous irregular wavy lines in FIG. 8) therein. When this waveform line value, that is, the point spread value is larger than the threshold value, it is set to "1" by binarization, and on the contrary, it is set to "0" by binarization. This is the first, 9, 17 ,. . . All the point image values of the points have the synchronization element 0 in the dither pattern [B] as the threshold value, and the second, 10, 18 ,. . .
The point image value of the point is the synchronization element 12 in the dither pattern [B].
It means that 8 is the threshold. By analogy with this as well, all the binarized video data with a threshold value of 0 are deposited into the first group, and all the binarized video data with a threshold value of 128 are deposited into the second group. Are sequentially processed into 8 groups. For this reason, most of each one set is video data of "1" or "0" and has very good continuity, and as a result, the data amount after the single digit coded MH compression is significantly reduced. It is possible to improve the transmission efficiency.

【0022】また、図9から図15の7枚の図面に示さ
れるように、我々は同一の水平走査線により得られる点
像値(図中の不規則な波線)を例として、比較を行う
と、同一の水平走査線で得られる点像値は7列の異なる
スレショルド(図中の矩形波線、且つ各図で皆異なる)
による切割りを経過し、それぞれ同一の集合に帰属した
後、最後に最下方で完成する2値化データは、その配列
順序は異なる集合放入するために変化するとはいえ、却
ってよい連続性を有し、この連続性が良好な映像データ
を、本発明の処理方法で新たに処理の後、さらにファク
シミリの圧縮により得られる圧縮データ量は、本発明の
処理を経ず直接圧縮したものに較べ、5倍も減少してい
る。
Further, as shown in the seven drawings of FIGS. 9 to 15, we compare the point image values (irregular wavy lines in the figures) obtained by the same horizontal scanning line as an example. And the point image values obtained with the same horizontal scanning line have different thresholds in seven columns (rectangular wave lines in the figure, and different in each figure)
Although the binarized data finally completed at the lowermost part after passing through the division by each other and belonging to the same set, the sequence order changes due to injecting different sets, but rather contiguous continuity The amount of compressed data obtained by newly processing the video data having good continuity with the processing method of the present invention and further by compressing the facsimile is higher than that of the data directly compressed without the processing of the present invention. It has decreased five times.

【0023】本発明は実際に執行するときには、伝送す
る側では、最終送出する圧縮映像データが、その配列順
序ともとの走査時の順序がすでに異なり、それぞれ一つ
一つの処理順序に従って完成されたグループ内に集中
し、図16から図21に示されるのは、1枚の図片原稿
(図16)を本発明の処理を経て4個のグループとして
但しなお未だ重整していない時の出力結果(図17)
と、図18から図21までは、各一つのグループの拡大
図であり、拡大された図中から同一のグループ内におけ
る明暗部分は全て相当良い連続性を有することがわか
る。このため、分けて各グループを伝送するのが速やか
に行われる。ただしこれは伝送時に有する情形であり、
受信方が受信後に完全な原図を獲得することができるた
めに、伝送したいデータ前に一つの制御符合(cont
rol code)を加え、受信方にその受信データが
数個のグループに分けられた圧縮データであることを教
える。その後、一桁符合化MH、或いは二桁符合化MR
などを経て発生する映像圧縮データを伝送開始する。受
信方は、ただ一つの制御符合を受信すると、受信した圧
縮データを改めてもともとの配列順序に還元すればよ
い。この制御コードは現在のプログラム化されたハード
設備にとっても困難でななく、すでに完成された技術で
あり、並びに本発明で論じる範疇ではないので、ここで
は詳細な説明を省略する。
When the present invention is actually executed, on the transmitting side, the compressed video data to be finally sent out is already different in the arrangement order and the order at the time of scanning, and is completed in accordance with each processing order. Focusing on the group, as shown in FIGS. 16 to 21, the output of one figure piece original (FIG. 16) into four groups through the processing of the present invention, but not yet overlaid Results (Figure 17)
Then, FIGS. 18 to 21 are enlarged views of each one group, and it can be understood from the enlarged view that all the light and dark portions in the same group have considerably good continuity. Therefore, it is possible to quickly transmit each group separately. However, this is the form that we have when transmitting,
In order for the receiver to obtain the complete original drawing after receiving, one control code (cont
roll code) is added, and the receiving party is informed that the received data is compressed data divided into several groups. After that, one-digit coded MH or two-digit coded MR
The transmission of the compressed video data that occurs after the above is started. When receiving only one control code, the receiving method may reduce the received compressed data to the original arrangement order again. Since this control code is not difficult even for the current programmed hardware equipment, is a completed technology, and is beyond the scope of the present invention, detailed description thereof is omitted here.

【0024】最後に、本発明で設けるディザーパターン
〔B〕の方法について説明を行う。まず、この一つのデ
ィザーパターン〔B〕のサイズは図片上で分割して連続
関係をなす点像パターン〔A〕と同じサイズであり、さ
らにディザーパターン〔B〕とディザーパターン〔B〕
は同列同行のパターンであることが必要である。
Finally, the method of the dither pattern [B] provided in the present invention will be described. First, the size of this one dither pattern [B] is the same as that of the point image pattern [A] which is divided on the drawing piece and has a continuous relationship, and further, the size of the dither pattern [B] and the dither pattern [B].
Must be in the same column and in the same row.

【0025】その次に、ディザーパターン〔B〕の所有
する組成元素数(もし、8×8のパターンならば64個
の元素数)は、かならずアナログ−ディジタル変換を経
て完全に切割った後の総灰階度(もしアナログ−ディジ
タル変換のデータ幅が8ビットならば、総灰階度は2
=256個)である必要がある。これは即ち、ディザー
パターン〔B〕が若し8×8のパターンとされるなら
ば、その64個の組成元素は必ず256個の灰階度に完
全に切割られなければならず、また、即ち該64個の組
成元素の値は等差遞増する関係で配列され、256個の
灰階度の分配が完了して終わりとし、もしこの一つのデ
ィザーパターン〔B〕の行列数に改変があれば、その各
組成元素(スレショルド)の差と総灰階度には下に述べ
る数学的関係を有する: (アナログ−ディジタル変換後のデータ幅をXビットと
すると、総灰階度=2) 隣り合うスレショルドの差=総灰階度/スレショルドの
総量(元素の総数=行数×列数)。 最後に、ディザーパターン〔B〕中の所有元素の配列方
式は、使用者が自分で配置設定を行えることも特色の一
つである。
Next, the number of compositional elements possessed by the dither pattern [B] (the number of 64 elements in the case of an 8 × 8 pattern) is always after being completely cut through analog-digital conversion. Total gray scale (If the analog-to-digital conversion data width is 8 bits, the total gray scale is 2 8
= 256). This means that if the dither pattern [B] is an 8 × 8 pattern, its 64 compositional elements must be completely cut into 256 ash grades, and The values of the 64 composition elements are arranged in a relationship of increasing by equal difference, and the distribution of 256 ash levels is completed and ended, and if the number of matrices of this one dither pattern [B] is modified, For example, the difference between each composition element (threshold) and the total gray scale have the following mathematical relationship: (If the data width after analog-digital conversion is X bits, the total gray scale = 2 x ) Difference between adjacent thresholds = total gray scale / total amount of thresholds (total number of elements = number of rows x number of columns). Finally, the arrangement method of the possessed elements in the dither pattern [B] is one of the features that the user can set the arrangement by himself.

【0026】[0026]

【発明の効果】本発明のディザー映像データ圧縮の前処
理法により発生する映像データは極めて良い連続性を有
し、同一組の映像データ値は大部分が1或いは0とされ
るため、さらにこの種の映像データを伝統的な圧縮コー
ド圧縮を経てその圧縮データ量を未だこの方法で処理さ
れずに直接圧縮されたデータ量に較べて少なくし、よっ
て映像データの伝送効率を高める。
The video data generated by the preprocessing method for dither video data compression of the present invention has extremely good continuity, and most video data values of the same set are 1 or 0. The kind of image data is subjected to the traditional compression code compression, and the amount of compressed data is reduced as compared with the amount of data directly compressed without being processed by this method, thereby improving the transmission efficiency of the image data.

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

【図1】従来の技術である、一桁符合化MHによる、部
分符合化表である。
FIG. 1 is a partial encoding table by a one-digit encoding MH which is a conventional technique.

【図2】従来の技術である、一桁符合化MH圧縮方法を
説明する、原理説明図である。
FIG. 2 is a principle explanatory diagram for explaining a conventional one-digit coded MH compression method.

【図3】本発明の、一枚の図片を分割して点像パターン
〔A〕とする方法の原理説明図である。
FIG. 3 is a diagram illustrating the principle of a method of dividing one drawing piece into a point image pattern [A] according to the present invention.

【図4】本発明の、ディザーパターン〔A〕の切割値の
配置図である。
FIG. 4 is a layout diagram of cut values of a dither pattern [A] according to the present invention.

【図5】本発明の第1実施例におけるディザーパターン
の切割値の配置図である。
FIG. 5 is a layout diagram of cut values of a dither pattern in the first embodiment of the present invention.

【図6】本発明の第2実施例におけるディザーパターン
の切割値の配置図である。
FIG. 6 is a layout diagram of cut values of a dither pattern according to a second embodiment of the present invention.

【図7】本発明の第3実施例におけるディザーパターン
の切割値の配置図である。
FIG. 7 is a layout diagram of cut values of a dither pattern according to a third embodiment of the present invention.

【図8】図7の処理結果表示図である。8 is a processing result display diagram of FIG. 7. FIG.

【図9】本発明の異なる切割値が1條の水平走査線上に
所有する格子点値の切割結果表示図である。
FIG. 9 is a view showing a result of cutting of lattice point values possessing different cutting values on one horizontal scanning line according to the present invention.

【図10】本発明の異なる切割値が1條の水平走査線上
に所有する格子点値の切割結果表示図である。
FIG. 10 is a diagram showing a result of cutting of lattice point values possessing different cutting values on one horizontal scanning line according to the present invention.

【図11】本発明の異なる切割値が1條の水平走査線上
に所有する格子点値の切割結果表示図である。
FIG. 11 is a view showing a result of cutting of lattice point values possessing different cutting values on one horizontal scanning line according to the present invention.

【図12】本発明の異なる切割値が1條の水平走査線上
に所有する格子点値の切割結果表示図である。
FIG. 12 is a view showing a result of cutting of lattice point values possessing different cutting values on one horizontal scanning line according to the present invention.

【図13】本発明の異なる切割値が1條の水平走査線上
に所有する格子点値の切割結果表示図である。
FIG. 13 is a view showing a result of cutting of lattice point values possessing different cutting values on one horizontal scanning line according to the present invention.

【図14】本発明の異なる切割値が1條の水平走査線上
に所有する格子点値の切割結果表示図である。
FIG. 14 is a view showing a result of cutting of lattice point values possessed by different cutting values on one horizontal scanning line according to the present invention.

【図15】本発明の異なる切割値が1條の水平走査線上
に所有する格子点値の切割結果表示図である。
FIG. 15 is a view showing a result of cutting of lattice point values possessing different cutting values on one horizontal scanning line according to the present invention.

【図16】本考案の実施結果を示す結果表示図である。FIG. 16 is a result display diagram showing an implementation result of the present invention.

【図17】本考案の実施結果を示す結果表示図である。FIG. 17 is a result display diagram showing the implementation result of the present invention.

【図18】本考案の実施結果を示す結果表示図である。FIG. 18 is a result display diagram showing an implementation result of the present invention.

【図19】本考案の実施結果を示す結果表示図である。FIG. 19 is a result display diagram showing an implementation result of the present invention.

【図20】本考案の実施結果を示す結果表示図である。FIG. 20 is a result display diagram showing an implementation result of the present invention.

【図21】本考案の実施結果を示す結果表示図である。FIG. 21 is a result display diagram showing the implementation result of the present invention.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 一種のディザー映像データ圧縮の前処理
法であり、主に原図を分割してX×Y個の連続して原図
全体に配列された点像パターン〔A〕とし、並びに一つ
の該点像パターン〔A〕と同じサイズ(同列同行)のデ
ィザーパターン〔B〕を設置し、且つ該点像パターン
〔A〕の各元素は共に該ディザーパターン〔B〕の元素
にカバーされるものとし、各一つの点像パターン内同期
(同行同列或いは僅かに同行)の点像値を析出して集め
て一つのグループとし、各一つのグループは全て、一つ
のディザーパターン〔B〕の元素と相対応し、さらにこ
の元素をスレショルドとなし、同一のグループ内で所有
する点像値に対して2値化処理(2色階の処理)を行
い、組分けして一種の2値化(‘1’或いは‘0’)を
行い、伝統の圧縮符合化による映像データ圧縮に供する
ことができる、ディザー映像データ圧縮の前処理法。
1. A kind of pre-processing method for dither video data compression, which is mainly divided into an X × Y continuous point image pattern [A] arranged over the entire original figure, and one A dither pattern [B] having the same size (same row and in the same row) as the point image pattern [A] is provided, and each element of the point image pattern [A] is covered by the element of the dither pattern [B]. Then, the point image values of the synchronization within each point image pattern (in the same row or in the same row) are deposited and collected into one group, and each one group is composed of the elements of one dither pattern [B]. Corresponding to each other, this element is used as a threshold, and the point image values possessed in the same group are subjected to binarization processing (processing of two color levels) and grouped into a kind of binarization ('1'or'0') by traditional compression coding A preprocessing method for dither video data compression that can be used for video data compression.
JP6228568A 1994-08-19 1994-08-19 Preprocessing method for dither image data compression Pending JPH0879531A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6228568A JPH0879531A (en) 1994-08-19 1994-08-19 Preprocessing method for dither image data compression

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6228568A JPH0879531A (en) 1994-08-19 1994-08-19 Preprocessing method for dither image data compression

Publications (1)

Publication Number Publication Date
JPH0879531A true JPH0879531A (en) 1996-03-22

Family

ID=16878408

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6228568A Pending JPH0879531A (en) 1994-08-19 1994-08-19 Preprocessing method for dither image data compression

Country Status (1)

Country Link
JP (1) JPH0879531A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61247165A (en) * 1985-04-25 1986-11-04 Nippon Telegr & Teleph Corp <Ntt> Method for dither picture coding

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61247165A (en) * 1985-04-25 1986-11-04 Nippon Telegr & Teleph Corp <Ntt> Method for dither picture coding

Similar Documents

Publication Publication Date Title
CA1241606A (en) System for reproducing mixed images
Howard et al. The emerging JBIG2 standard
JPS6198069A (en) Image processor
EP0613290A1 (en) Method and apparatus for binary image data compression
JPS59156070A (en) Picture processing device
JPH0354506B2 (en)
US5424854A (en) Image processing apparatus for half-tone processing and reproducing high speed images of different resolutions
JPH0879531A (en) Preprocessing method for dither image data compression
JPS63182973A (en) Pseudo half-tonal image transmission method for facsimile equipment
JP3117331B2 (en) Image data processing device
JP4446797B2 (en) Document restoration apparatus, document restoration method, document restoration program, and recording medium
JP3361201B2 (en) Image encoding apparatus, image encoding / decoding apparatus, and image encoding / decoding method
Chen et al. PANDA: Processing algorithm for noncoded document acquisition
JPH0322759A (en) Information processor equipped with artificial half-tone image processing function
JP2608404B2 (en) Image processing device
JPH0614202A (en) Picture compressing method
JPH08336043A (en) Reduction converter and magnification converter for binary image
JPS5857863A (en) Picture contracting method
JPS6268369A (en) Picture coding system
JPS61136378A (en) Encoding system
JPH08186717A (en) Communication equipment
JPS6295072A (en) Transmission device for picture data
JPS6315535A (en) Redundancy suppression coding system
JPS59175280A (en) Device for binary-coding video signal
JPS61103372A (en) Method for binary-coding picture

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19970610