JPS61169086A - Encoding system of half tone image - Google Patents

Encoding system of half tone image

Info

Publication number
JPS61169086A
JPS61169086A JP60008852A JP885285A JPS61169086A JP S61169086 A JPS61169086 A JP S61169086A JP 60008852 A JP60008852 A JP 60008852A JP 885285 A JP885285 A JP 885285A JP S61169086 A JPS61169086 A JP S61169086A
Authority
JP
Japan
Prior art keywords
memory
state
boundary
area
signal
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
JP60008852A
Other languages
Japanese (ja)
Other versions
JPH047871B2 (en
Inventor
Hiroshi Ochi
宏 越智
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP60008852A priority Critical patent/JPS61169086A/en
Publication of JPS61169086A publication Critical patent/JPS61169086A/en
Publication of JPH047871B2 publication Critical patent/JPH047871B2/ja
Granted legal-status Critical Current

Links

Abstract

PURPOSE:To attain redundancy-suppressed encoding with high efficiency by area- dividing the image according to its content, and allocating an independent code to respective area, thereby transmitting with priority in order the information high in necessity. CONSTITUTION:An input picture signal is stored in a memory 101. In an memory 104, the said signal is compared with the values in the memory area of the same block in which the said signal is to be stored, and the maximum value of each block is renewed depending on its result. In an memory 105, the minimum value of each block is likewise renewed. An comparing circuit 107 compares the difference (x) be tween the said max. and min. values with a prescribed value P1 or P2(P1<P2). If x<P1, a low tonal difference area is decided on, if P1<=x<=P2, an intermediate tonal difference area is decided on, and if P2<=x, a high tonal difference area is decided on, and the result is stored in an memory 108. A signal conversion circuit 109 performs degeneracy processing of the picture signal in the memory 101 as utilizing the area signal in the memory 108. A border detecting circuit 110 decides respective status S1-S3 based on the border in the corelation between reference scanning line and encoding scanning line, of which result is stored in a memory 114, and at the same time, by the said result, an encoding signal is produced.

Description

【発明の詳細な説明】 (1)発明の属する分野の説明 この発明は1階調情報を有する画像信号もしくはカラー
画像信号を冗長度抑圧符号化して伝送する中間調伝送方
式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION (1) Description of the field to which the invention pertains The present invention relates to a halftone transmission system in which an image signal or a color image signal having one tone information is encoded with redundancy suppression and transmitted.

(2)従来の技術の説明 ファクシミリ等の画像信号を中間調を保持しながらデジ
タル的に伝送するには長い伝送時間を必要とする。たと
えば、16階調の中間調を表わすには4ビツト必要なの
で、この場合の伝送時間は白黒2値の場合の4倍程度に
なる。また2画像体号を記憶するにあたっても、同様の
理由で多くの記憶容量を必要とする。このため1画像体
号の冗長度抑圧により、伝送時間の短縮化ならびに記憶
容量の低減をはかることが望まれる。
(2) Description of the Prior Art Digitally transmitting an image signal such as a facsimile while maintaining halftones requires a long transmission time. For example, since 4 bits are required to represent 16 gray levels, the transmission time in this case is approximately four times that in the case of black and white binary. Furthermore, storing two image symbols also requires a large storage capacity for the same reason. Therefore, it is desirable to shorten transmission time and reduce storage capacity by suppressing the redundancy of one image symbol.

中間調を有する画像は、濃度変化のゆるやかな部分や急
激な部分などの画信号の質からみて、複数の領域に区分
される0個々の領域によって、伝送すべき情報は必ずし
も同じではないので、不必要な情報を伝送することは符
号量を大きクシ、伝送時間を長くしたり、記憶メモリの
容量として大きいものが要求されることになる。
Images with halftones are divided into multiple areas, considering the quality of the image signal, such as areas with gradual or rapid changes in density.The information to be transmitted is not necessarily the same for each area. Transmitting unnecessary information increases the amount of code, lengthens the transmission time, and requires a large storage memory capacity.

一方、必要な情報を伝送しないで省略すると。On the other hand, if you omit the necessary information without transmitting it.

画品質の劣化を招くことになる。This will lead to deterioration in image quality.

従来方式の一例として、「特願昭54−31932」で
述べているような、符号化走査線上での量子化された階
調レベルの境界が、参照走査線(通常は前走査線)に比
べてどのように変化するかを符号化して伝送する方式が
ある。
As an example of the conventional method, as described in "Japanese Patent Application No. 31932/1984", the boundaries of the quantized gradation levels on the encoded scanning line are different from those of the reference scanning line (usually the previous scanning line). There is a method that encodes and transmits how it changes.

この方式は、濃淡を表わす階調レベルの変化が少ない部
分については、高い冗長度抑圧効果が得られるが、濃度
変化の大きい部分については1階調レベルの境界が多く
なるため、大きな冗長度抑圧効果は得られない。
This method can achieve a high redundancy suppression effect in areas where there are few changes in gradation levels that represent shading, but in areas where density changes are large, there are many boundaries between one gradation level, so redundancy suppression is significant. No effect will be obtained.

(3)発明の目的 本発明は2画像をその内容によって領域分割し。(3) Purpose of the invention The present invention divides two images into regions according to their contents.

個々の領域ごとに独立の符号を割り当てることを特徴と
し、その目的は9個々の領域ごとに、必要性の高い情報
を優先的に伝送することにより、より能率的な冗長度抑
圧符号化を実現することにある。
It is characterized by assigning an independent code to each individual area, and its purpose is to achieve more efficient redundancy reduction coding by preferentially transmitting the most necessary information for each area. It's about doing.

(4)発明の構成および作用の説明 出願人らの過去の検討によれば、′a度変化の大きい領
域については1表現可能な階調レベル数が少なくても良
好な画品質が得られる一方、濃度変化の小さい領域につ
いては、少くとも16階階調度以上の階調レベルが必要
であることがわかっている。
(4) Explanation of the structure and operation of the invention According to past studies by the applicants, good image quality can be obtained even if the number of gradation levels that can be expressed is small in areas with large degree changes; It is known that for regions with small density changes, a gradation level of at least 16 gradations or more is required.

本発明方式は、この性質を利用して5画面を複数の画素
よりなるブロックに分割し、各ブロック内の濃度差が小
さい場合は伝送できる階調レベル数が多く、濃度差が大
きい場合は伝送できる階調レベル数が小さくなるように
、各ブロックごとに信号変換の前処理を行うものである
The present invention utilizes this property to divide five screens into blocks each consisting of multiple pixels, and when the density difference within each block is small, the number of gradation levels that can be transmitted is large, and when the density difference is large, the number of gradation levels that can be transmitted is large. Preprocessing for signal conversion is performed for each block so that the number of possible gradation levels is reduced.

(5)実施例 以下図面について詳細に説明する。(5) Examples The drawings will be explained in detail below.

第2図は9本発明方式を説明するための画像例であって
、破線で区別した各正方形は各画素を。
FIG. 2 shows nine example images for explaining the method of the present invention, in which each square separated by a broken line represents each pixel.

数字は階調レベルを示す。階調は白を0.黒を15とす
る16レベルで表現している。また、実線で囲まれた大
きい正方形1,2.3・・・・・・10は。
Numbers indicate gradation levels. The gradation is white at 0. It is expressed in 16 levels, with black being 15. Also, the large squares 1, 2, 3...10 surrounded by solid lines are.

各ブロックを示す。Each block is shown.

第2図の画像において、ブロック内の階調レベルの差が
0〜3の場合を低階調差領域、4〜7の場合を中階調差
領域、8〜15の場合を高階調差領域とすると、ブロッ
ク4.8.9は高階調差領域、ブロック3.5は中階調
差領域、他のブロックは低階調差領域にあたる。
In the image in Figure 2, when the difference in gradation levels within a block is 0 to 3, it is a low gradation difference area, when it is 4 to 7, it is a medium gradation difference area, and when it is 8 to 15, it is a high gradation difference area. Then, blocks 4.8.9 correspond to high tone difference areas, block 3.5 corresponds to medium tone difference areas, and other blocks correspond to low tone difference areas.

ブロック4,8.9は1階調レベル差が大きいので2表
現する階調数は少なくてよい。したかって、0〜3の階
調レベルは0に、4〜7のレベルは5に、8〜11のレ
ベルは10に、12〜15のレベルは15に縮退させる
。中階調領域では0〜1のレベルはOに、2〜3のレベ
ルは2に、4〜5のレベルは4に、・・・・・・、12
〜13のレベルは12に、14〜15のレベルは15に
縮退させる。
Since blocks 4, 8, and 9 have a large difference in one gradation level, the number of gradations to be expressed in two may be small. Therefore, the gradation levels 0 to 3 are degenerated to 0, the levels 4 to 7 to 5, the levels 8 to 11 to 10, and the levels 12 to 15 to 15. In the middle gradation area, levels 0 to 1 are set to O, levels 2 to 3 are set to 2, levels 4 to 5 are set to 4, etc., 12
The level ~13 is degenerated to 12, and the level 14-15 is degenerated to 15.

この結果、各画素の階調レベルは、第3図のようにおき
かえられる。
As a result, the gradation level of each pixel is changed as shown in FIG.

第4図は、前記のように階調レベルのおきかえを行った
後の9階調レベルが異なる画素間の境界を表わす。
FIG. 4 shows boundaries between pixels having nine different gradation levels after the gradation levels have been replaced as described above.

すなわち、第3図に示す3.4,5,8.9等のブロッ
クは、第2図に比べて1階調レベル数は低階調差領域で
16レベル、中階調差領域で8レベル、高階調差領域で
4レベルというように1階調差の大きいブロックでは階
調再現数を少なくしている。
That is, the blocks 3.4, 5, 8.9, etc. shown in Fig. 3 have 16 levels per gradation level in the low gradation difference area and 8 levels in the middle gradation difference area compared to the blocks in Fig. 2. , the number of tone reproductions is reduced in blocks with a large one tone difference, such as 4 levels in a high tone difference area.

この結果、第4図に示す階調レベルが異なる画素間の境
界は、第2図の階調レベルそのままの場合に比べて少な
くなっている。
As a result, the boundaries between pixels having different gradation levels shown in FIG. 4 are smaller than in the case where the gradation levels are the same as shown in FIG. 2.

画像情報を冗長度抑圧するには、第4図に破線で示す各
境界位置を表わす情報と、各境界によって区分される各
領域の階調レベルを符号化すればよい。この手段として
は、たとえば公知の各種方式が適用できる。
In order to suppress the redundancy of image information, it is sufficient to encode information representing each boundary position shown by broken lines in FIG. 4 and the gradation level of each area divided by each boundary. As this means, for example, various known methods can be applied.

一例として、特願昭54−31932で述べている逐次
処理方式を説明する。この場合1画、像信号が予め知ら
れている参照走査線Bと、符号化走査線Aとの相関を、
境界状態により、以下のような3状態に分類する。
As an example, the sequential processing method described in Japanese Patent Application No. 54-31932 will be explained. In this case, the correlation between the reference scanning line B, whose image signal is known in advance, and the encoded scanning line A for one image is as follows:
Depending on the boundary state, it is classified into the following three states.

(1)第1状態(以下S1状態とよぶ)符号化走査線上
の境界Qに対し ■参照走査線上にあり。
(1) The first state (hereinafter referred to as S1 state) is on the reference scanning line with respect to the boundary Q on the encoding scanning line.

■Qより左にあり、かつQに最も近い境界もしくはQよ
り右にあり、かつQに最も近い境界(参照走査線上でQ
の真上に境界があるときはこの境界)であって。
■The boundary to the left of Q and closest to Q, or the boundary to the right of Q and closest to Q (Q on the reference scan line)
If there is a boundary directly above the boundary, then this boundary).

■その境界のあらかじめ定められた側(ここでは左側と
する)の階調レベルが符号化走査線上の境界Qの同じ側
の階調レベルと同じであって。
(2) The gradation level on a predetermined side of the boundary (here, the left side) is the same as the gradation level on the same side of the boundary Q on the encoded scanning line.

■その境界と境界Qとの間に符号化走査線上の境界が存
在しない状態、(■の条件は必ずしも必要ではないが、
理解し易いために付は加えである)。
■A state in which there is no boundary on the encoded scanning line between the boundary and the boundary Q (although the condition of ■ is not necessarily required,
Notes are added for ease of understanding).

この場合Sl状態であることを示す情報と、QとP (
Qに対し前記条件を満足する参照走査線上の境界)の相
対距離(X+ )だけを与えてやればよい。1111の
表示はPとQの間に入る画素数(ランレングス)で与え
・るのが便利である。またQがPより左にあるときi 
<0.右にあるとき1、>Qとする(これは逆に決めて
もよい)。
In this case, information indicating that it is in the Sl state, Q and P (
For Q, only the relative distance (X+) of the boundary on the reference scanning line that satisfies the above condition needs to be given. It is convenient to display 1111 by the number of pixels (run length) between P and Q. Also, when Q is to the left of P, i
<0. When it is on the right, it is set as 1, >Q (this may be determined in the opposite way).

以下この情報をS+ (1+ )として示す。この状態
は符号化走査線から参照走査線上に同じ階調レベルが接
続している場合に生じる。従って階調レベルの境界も接
続している。
Hereinafter, this information will be indicated as S+ (1+). This situation occurs when the same gray level is connected from the encoded scan line to the reference scan line. Therefore, the boundaries of gradation levels are also connected.

第5図は、第4図の上側の2走査線をとり出したもので
あって、第1番目の走査線を参照走査線Bとして、第2
番目の走査線を符号化する場合。
FIG. 5 shows the upper two scanning lines of FIG. 4, with the first scanning line being the reference scanning line B and the second scanning line
When encoding the th scanline.

Pi  Gh、Pi  Gh、Pa  Qa、Ps −
Qb +  P?−Qtで表わされる境界はSI状態で
あって、1.はそれぞれ−1,0,0,0,0となる。
Pi Gh, Pi Gh, Pa Qa, Ps −
Qb + P? The boundary represented by -Qt is the SI state, and 1. are -1, 0, 0, 0, 0, respectively.

(2)第2状a(以下S2状態とよぶ)参照走査線上の
境界Pに対して、第1状態を満足するような符号化走査
線上の境界が存在しない状態。
(2) Second state a (hereinafter referred to as S2 state) A state in which there is no boundary on the encoded scanning line that satisfies the first state with respect to the boundary P on the reference scanning line.

この状態は、参照走査線B上の階調レベルが符号化走査
線A上に接続していない場合に生じる。
This condition occurs when the gray level on the reference scan line B is not connected to the encoded scan line A.

第5図の例では、境界P l +  P 1’がS2状
態を表わしている。
In the example of FIG. 5, the boundary P l + P 1' represents the S2 state.

なお+St状態ではS2状態が存在する情報だけを与え
れば十分である。
Note that in the +St state, it is sufficient to provide only the information that the S2 state exists.

(3)第3状態(以下S、状態とよぶ)符号化走査線上
の境界Qに対して、第1状態を満足するような参照走査
線上の境界が存在しない状態。
(3) Third state (hereinafter referred to as S state) A state in which there is no boundary on the reference scanning line that satisfies the first state with respect to the boundary Q on the encoded scanning line.

この場合は+53状態であることを示す情報と。In this case, information indicating that the status is +53.

Qの位置及びQより左側の領域の階調レベルmを示す情
報(それぞれ13.rnで表わす)を与えればよい。
It is sufficient to provide information indicating the position of Q and the gradation level m of the area to the left of Q (each expressed as 13.rn).

l、は、既知の境界からのランレングスで表わすことが
できるが、以下の例では、符号化走査線上の直前の81
またはS3状態における境界位置もしくは直前のSt状
態の境界位置からのランレングスで表わす。
l, can be expressed as a run length from a known boundary, but in the example below, the immediately preceding 81 on the encoded scan line
Alternatively, it is expressed as a run length from the boundary position in the S3 state or the boundary position in the immediately preceding St state.

mは9階調レベルを他の符号と混同しないような形式で
与えればよい。
m may be given in a format that does not confuse the nine gradation levels with other codes.

第5図の例ではI Qa及びQ6’がS、状態にあり+
1’3は直前の状態(S、状態であるQs)よりのラン
レングスで表わすと、is”7となる。
In the example of FIG. 5, IQa and Q6' are in the S state and +
1'3 is "is"7 when expressed as a run length from the immediately previous state (S, state Qs).

第5図の符号化走査線Aを、左から右に順次符号化した
結果を記号で表わすと。
The result of sequentially encoding the encoded scanning line A in FIG. 5 from left to right is expressed in symbols.

sz 、sz 、5l(−1)、5l(0)、5l(0
)。
sz, sz, 5l(-1), 5l(0), 5l(0
).

s+(o)、53(7,0)+  5s(2,2)、3
1(0)となる。即ちSI 、St 、Ss状態を識別
する符号のあとに、SI *  33状態ではその境界
位置を表わす情報をS、状態ではさらに階調レベルを与
える情報を付加して順次符号化してゆけばよい。
s+(o), 53(7,0)+5s(2,2),3
It becomes 1 (0). That is, after the code for identifying the SI, St, and Ss states, information indicating the boundary position S may be added for the SI*33 state, and information providing the gradation level may be added for the SI*33 state, and the codes may be sequentially encoded.

この情報をデジタル的に電送あるいは記憶するには、一
般には“1”と“0”の2進符号を使う。
To transmit or store this information digitally, binary codes of "1" and "0" are typically used.

第1表に、この場合の符号構成の一例を示す。Table 1 shows an example of the code structure in this case.

一般の画像信号では+Sl状態でl、が小さい場合が多
いので、これらに短い符号を割りあてている。
In general image signals, l is often small in the +Sl state, so short codes are assigned to these.

第1表において+SI状態の11,1は3以下であるが
、これはIIl+1>3の場合はS、状態で表わせばよ
い。
In Table 1, +SI state 11,1 is 3 or less, but if IIl+1>3, this can be expressed as S, state.

第6図に、第1表の符号により第5図の符号化走査線A
を符号化した結果を示す。第3走査線は第2走査線を、
第3走査線は第2走査線をというように順次参照して同
様に符号化を行えばよい。
In FIG. 6, the encoded scanning line A of FIG.
The result of encoding is shown below. The third scanning line is the second scanning line,
The third scanning line may be encoded in the same manner by sequentially referring to the second scanning line.

以上の機能を実現するための回路構成の一実施例を、第
1図および第7図に示す。
An example of a circuit configuration for realizing the above functions is shown in FIGS. 1 and 7.

第1図は、符号化回路の構成例であって、101は4走
査線相当の画信号メモリ、102は2個号を比較して大
なる方を出力する比較出力回路。
FIG. 1 shows an example of the configuration of an encoding circuit, in which 101 is an image signal memory corresponding to 4 scanning lines, and 102 is a comparison output circuit that compares two numbers and outputs the larger one.

103は小なる方を出力する比較出力回路、104は最
大値メモリ、105は最小値メモリ、106は演算回路
、107は比較回路、108は領域情報メモリ、109
は信号変換回路、110は境界検出回路、111はカウ
ンタ、112は符号発生回路、113.114は境界情
報メモリ、115は切換回路である。
103 is a comparison output circuit that outputs the smaller one, 104 is a maximum value memory, 105 is a minimum value memory, 106 is an arithmetic circuit, 107 is a comparison circuit, 108 is an area information memory, 109
110 is a signal conversion circuit, 110 is a boundary detection circuit, 111 is a counter, 112 is a code generation circuit, 113 and 114 are boundary information memories, and 115 is a switching circuit.

これを動作するには、まず走査線順に入力される画信号
(階調レベルを表わす)を2画信号メモリ101に人力
しながら同時に比較出力回路102.103に入力する
To operate this, first, image signals (representing gradation levels) inputted in the order of scanning lines are manually input to the two-image signal memory 101 and simultaneously inputted to the comparison output circuits 102 and 103.

比較出力回路102は、入力される画信号と。A comparison output circuit 102 receives an input image signal.

最大値メモリ104から出力する信号を比較して。Compare the signals output from the maximum value memory 104.

大きい方を新しいデータとして最大値メモリ104に書
き込む。
The larger one is written into the maximum value memory 104 as new data.

最大値メモリ104は9画信号の各ブロックごとにメモ
リ領域を持っており、入力される両信号について同じブ
ロックのメモリ領域に記憶されている値と比較して、各
ブロックごとに順次大きい方を最大値として書きかえて
ゆく。4走査線目のブロックの最後の画信号の比較が終
った段階で。
The maximum value memory 104 has a memory area for each block of the 9-picture signal, and compares the values stored in the memory area of the same block for both input signals and sequentially selects the larger value for each block. Rewrite it as the maximum value. At the stage when the comparison of the last image signal of the block of the fourth scanning line is completed.

最大値メモリ104には、そのブロック中の画信号の最
大値が記憶されている。
The maximum value memory 104 stores the maximum value of the image signal in that block.

同様に、比較出力回路103は、入力される画信号と最
小値メモリ105から出力する信号を比較して、小さい
方を新しいデータとして最小値メモリ105に書き込む
ように動作するので、4走査縞目のブロックの最後の画
信号の比較が終った段階で、最小値メモリ105には、
そのブロック内の最小値が記憶されている。
Similarly, the comparison output circuit 103 compares the input image signal with the signal output from the minimum value memory 105 and writes the smaller one as new data to the minimum value memory 105, so that the fourth scanning stripe When the comparison of the last image signal of the block is completed, the minimum value memory 105 has the following information:
The minimum value within that block is stored.

1つのブロックの処理が終ると、最大値メモリ104お
よび最小値メモリ105をリセットして。
When processing of one block is completed, the maximum value memory 104 and minimum value memory 105 are reset.

次のブロックの値を記憶してゆく。Memorize the value of the next block.

演算回路106は、各ブロックごとに、最大値メモリ1
04の出力と最小値メモリ105の出力よりその差を得
る。
The arithmetic circuit 106 stores a maximum value memory 1 for each block.
The difference is obtained from the output of 04 and the output of minimum value memory 105.

比較回路107は、最大値、最小値の差Xを所定値P+
 、Pz  (P+ <Pz )と比較して、X<P、
ならば低階調差領域+PI ≦x<P、ならば中階調差
領域、P2≦Xならば高階調差領域と判定し、この結果
を領域情報メモリ108に記憶する。なお、低階調差領
域と高階調差領域の2領域に分ける場合には、Pは1個
のみでよい。
The comparison circuit 107 sets the difference X between the maximum value and the minimum value to a predetermined value P+
, Pz (P+ <Pz), X<P,
Then, if +PI≦x<P, it is determined to be a middle tone difference area, and if P2≦X, it is determined to be a high tone difference area, and this result is stored in the area information memory 108. Note that when dividing into two areas, a low tone difference area and a high tone difference area, only one P is required.

4走査線目の画信号を入力している時点で並行して前記
XとP、、P、を比較すれば、4走査線目の画信号を画
信号メモリ101に記憶した時点で、各ブロックの領域
判定結果が領域情報メモリ108に記憶される。
If the X and P, , P are compared in parallel at the time when the image signal of the fourth scanning line is being input, then when the image signal of the fourth scanning line is stored in the image signal memory 101, each block The region determination result is stored in the region information memory 108.

次に1画信号メモリ101より走査線順に画信号をとり
出しくこのとき、空いたメモリ領域には。
Next, when image signals are taken out in the order of scanning lines from the single image signal memory 101, the empty memory area is filled with the following information.

次に入力されてくる走査線の画信号が記憶される)、信
号変換回路109によって、領域情報メモリ108に記
憶されている領域信号に従い、8階調あるいは前述した
ように4階調への縮退処理を行う。これによって冗長度
抑圧処理を行うための画信号変換が完了する。
The image signal of the next input scanning line is stored), and the signal conversion circuit 109 degenerates to 8 gradations or 4 gradations as described above according to the area signal stored in the area information memory 108. Perform processing. This completes the image signal conversion for performing redundancy suppression processing.

次に、この画信号をカウンタ111に入力し。Next, this image signal is input to the counter 111.

同じ階調レベルが連続するランレングスをカウントしな
がら1階調レベルが変化する境界を境界検出回路110
に入力する。
A boundary detection circuit 110 detects a boundary where one gradation level changes while counting run lengths in which the same gradation level continues.
Enter.

境界検出回路110で境界が検出されると、境界検出を
示す信号と、カウンタ出力、ならびに境界後の新しい階
調レベルを、符号発生回路112に入力するとともに、
カウンタ111をリセットする。
When a boundary is detected by the boundary detection circuit 110, a signal indicating boundary detection, a counter output, and a new gradation level after the boundary are input to the code generation circuit 112.
Counter 111 is reset.

境界が検出されると、符号発生回路112は。When the boundary is detected, the code generation circuit 112.

境界情報メモリ113に記憶された参照走査線の情報と
比較してs、、s、、Sl状態のいずれであるかを決定
する。また、その結果を境界情報メモリ114に記憶す
るとともに、符号化信号を作成出力する。
The state is compared with the reference scanning line information stored in the boundary information memory 113 to determine which state is s, s, , Sl. Further, the result is stored in the boundary information memory 114, and an encoded signal is generated and output.

一走査線分の符号化が終了すると1次の走査線の符号化
に移る前に、切換回路115により境界領域メモリ11
3と114を切り換え9次の走査線の符号化処理時には
境界情報メモリ114の内容を参照走査線情報として参
照し、新しい符号化走査線の境界情報は境界情報メモリ
113に記憶する。
When the encoding for one scanning line is completed, the switching circuit 115 causes the boundary area memory 11 to
3 and 114, and the content of the boundary information memory 114 is referred to as reference scanning line information during the encoding process of the 9th scan line, and the boundary information of the new encoded scan line is stored in the boundary information memory 113.

このようにして符号化された信号より原画信号を復元す
るための復号化回路の構成例を、第7図に示す。
FIG. 7 shows an example of the configuration of a decoding circuit for restoring an original picture signal from a signal encoded in this manner.

第7図において、121,122,123はそれぞれS
+ 、St、Ssの境界状態検出回路、124はS、状
態のときl、を求めるためのOカウント回路、125は
S3状態のときのレベルmを検出するレベル検出回路、
126は画信号制御回路、127.128は境界情報メ
モリ、129は境界情報メモリ127,128の切換回
路、130は画信号発生回路である。
In Fig. 7, 121, 122, 123 are S
+, St, Ss boundary state detection circuit; 124 is an O count circuit for determining l when in S state; 125 is a level detection circuit for detecting level m in S3 state;
126 is an image signal control circuit, 127 and 128 are boundary information memories, 129 is a switching circuit for the boundary information memories 127 and 128, and 130 is an image signal generation circuit.

この復号化回路を動作するには、まず符号化された信号
を境界状態検出回路121,122.123に入力する
To operate this decoding circuit, first, encoded signals are input to the boundary state detection circuits 121, 122, and 123.

S1状態を表わす信号が受信されればS、状態である事
実と差分11とを、Sl状態またはS。
If a signal representing the S1 state is received, the fact that it is in the S state and the difference 11 are determined as the S1 state or S.

状態が受信されればこの事実を9画信号制御回路126
に入力する。
If the status is received, this fact is transmitted to the 9-picture signal control circuit 126.
Enter.

S、状態受信の通知を受けたとき9画信号制御回路12
6は、境界状態検出回路121,122゜123の動作
を停止するとともに、継続して送られる“O″シーケン
スカウントしてjl、の値を知り、さらに、続いて送ら
れるコードmを受信して階調レベルを知る。
S. When receiving the status reception notification, the 9-picture signal control circuit 12
6 stops the operation of the boundary state detection circuits 121, 122, and 123, counts the continuously sent "O" sequence, learns the value of jl, and receives the subsequently sent code m. Know the tone levels.

221mの情報を受けると、再び境界状態検出回路12
1,122.123を動作させ1次の境界状態の受信を
行う。画信号制御回路126は。
Upon receiving the information of 221m, the boundary state detection circuit 12
1, 122, and 123 are operated to receive the primary boundary state. The image signal control circuit 126 is.

S+ 、St 、Ssいずれかの状態信号を受けたとき
、その内容を境界情報メモリ127に記憶されている参
照走査線の境界情報と比較することにより、符号化走査
線上の画信号内容を知る。
When receiving any of the S+, St, and Ss status signals, the content of the image signal on the encoded scanning line is known by comparing the content with the boundary information of the reference scanning line stored in the boundary information memory 127.

これにもとづき、境界情報メモリ128に現走査線の境
界情報として記憶させるとともに9画信号発生回路13
0により、復号した原画信号を発生させる。
Based on this, the boundary information memory 128 is stored as the boundary information of the current scanning line, and the 9-pixel signal generation circuit 13
0, a decoded original image signal is generated.

一走査線分の復号が終了すると0次の走査線の復号に移
る前に、切換回路129により、境界情報メモリ127
と128を切り換え1次の走査線の符号化処理時には、
境界情報メモリ128の内容を参照走査線情報として参
照し、符号化走査線の境界情報は、境界情報メモリ12
7に記憶する。
When the decoding for one scanning line is completed, the switching circuit 129 causes the boundary information memory 127 to
and 128 and when encoding the primary scanning line,
The content of the boundary information memory 128 is referred to as reference scanning line information, and the boundary information of the encoded scanning line is stored in the boundary information memory 128.
Memorize to 7.

ところで、原稿読取り時のノイズのために2階調レベル
が変化する境界近傍で、濃度レベルの異なる画素が多数
存在するような場合がある。そのための対策として、ブ
ロック内の階調レベル差が小さく、所定値以下のとき、
あるいは所定数N以上の画素の階調レベルが同一値しで
あるとき、ブロック内の各画素の階調レベルをそのブロ
ック内の平均値に近い階調レベルに統一し、ブロック内
の階調レベルを均一にすればよい。
By the way, there are cases where a large number of pixels with different density levels exist near the boundary where two gradation levels change due to noise when reading the original. As a countermeasure for this, when the gradation level difference within a block is small and less than a predetermined value,
Alternatively, when the gradation levels of a predetermined number N or more pixels have the same value, the gradation level of each pixel in the block is unified to the gradation level close to the average value in the block, and the gradation level in the block is Just make it uniform.

また、前記説明では第2図の画信号から第4図の画信号
に変換するにあたって2画像域を3領域に分類して変換
したが、2領域あるいは、4領域以上に分類して変換し
てもよいことはもちろんである。
In addition, in the above explanation, when converting the image signal shown in FIG. 2 to the image signal shown in FIG. Of course it's a good thing.

以上の説明では1階調数は16段階の場合について説明
したが、他の階調数を有する場合についてもそれに適合
した符号構成をとることにより適用できる。また、ブロ
ックサイズは4×4の16画素の場合について説明した
が、4X8,8×8等任意の構成をとることができるの
はもちろんである。
In the above description, the case where the number of gradations is 16 has been explained, but the present invention can also be applied to cases with other numbers of gradations by adopting a code configuration suitable for the number of gradations. Further, although the case where the block size is 4×4 and 16 pixels has been described, it goes without saying that any configuration such as 4×8, 8×8, etc. can be adopted.

また2以上の説明では9色情報を含まない画像情報の場
合について説明したが、カラー画像にもR,G、 Bあ
るいはY、I、Q  の個々の色成分ごとに、あるいは
特定の色成分のみに本方式を適用すればカラー画像の高
能率伝送が可能となる。
In addition, in the explanations above, we have explained the case of image information that does not include nine color information, but color images also have information for each individual color component of R, G, B or Y, I, Q, or only for a specific color component. If this method is applied to, highly efficient transmission of color images becomes possible.

なお5階調レベルの変化する位置の境界情報を符号化す
る第1表の符号構成は、白黒2値用の標準符号化方式で
あるモディファイド・リード(MR)符号の符号構成と
一部を共用化できる。たとえば第1表でS1状態、S2
状s、S3状態のそれぞれをMR符号の垂直モード、パ
スモード、水平モードに対応させれば、符号表や処理回
路の一部を共通化できるので9本符号化方式のために特
別に必要とする回路は少なくてよい。
Note that the code structure shown in Table 1, which encodes boundary information at positions where five gradation levels change, shares part of the code structure with the modified read (MR) code, which is a standard coding method for black and white binary. can be converted into For example, in Table 1, S1 state, S2 state
By making the S and S3 states correspond to the vertical mode, pass mode, and horizontal mode of the MR code, it is possible to share a part of the code table and processing circuit, which is specially required for the nine-line encoding system. Fewer circuits are required.

(6)効果の説明 以上説明したように9本発明の符号化方式によれば、視
覚に影響の少ない階調成分を省略して重要度の高い成分
のみを符号化するので1画品質をほとんど劣化させずに
濃淡を有する原稿やカラー画像の高能率伝送が可能とな
る。
(6) Description of Effects As explained above, according to the encoding method of the present invention, tone components that have little impact on visual perception are omitted and only components with high importance are encoded, so that the quality of one image is almost reduced. Highly efficient transmission of originals and color images with shading is possible without deterioration.

さらに2階調レベルの変化する位置の境界情報を符号化
する処理回路と符号構成としては、白黒2値用のMR符
号化の一部をそのまま使うことができるので回路的負担
が少なくてすむ。
Furthermore, as the processing circuit and code structure for encoding the boundary information at the position where two gradation levels change, part of the MR encoding for black and white binary can be used as is, so the circuit load can be reduced.

第1表 L (m)はmを2進数で表・わしだ階調レベルであっ
て4ビツトで表わされる。
Table 1 L(m) shows m in binary notation and the gradation level, which is expressed in 4 bits.

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

第1図は符号化回路の実施例構成図、第2図は画信号例
の説明図、第3図は画信号の変換結果例の説明図、第4
図は画信号変換後の境界状態の説明図、第5図は境界状
態の説明図、第6図は第1表の符号による第5図の符号
化例の説明図、第7図は復号化回路の実施例構成図であ
る。 第1図において、101は画信号メモリ、102.10
3は比較出力回路、104は最大値メモリ、105は最
小値メモリ、106は演算回路。 107は比較回路、108は領域情報メモリ、109は
信号変換回路、110は境界検出回路、111はカウン
タ、112は符号発生回路、113゜114は境界情報
メモリ、115は切換回路、を示す。
Fig. 1 is a configuration diagram of an embodiment of the encoding circuit, Fig. 2 is an explanatory diagram of an example of an image signal, Fig. 3 is an explanatory diagram of an example of an image signal conversion result, and Fig. 4 is an explanatory diagram of an example of an image signal conversion result.
The figure is an explanatory diagram of the boundary state after image signal conversion, Figure 5 is an explanatory diagram of the boundary state, Figure 6 is an explanatory diagram of the encoding example of Figure 5 using the codes in Table 1, and Figure 7 is decoding. FIG. 2 is an example configuration diagram of a circuit. In FIG. 1, 101 is an image signal memory, 102.10
3 is a comparison output circuit, 104 is a maximum value memory, 105 is a minimum value memory, and 106 is an arithmetic circuit. 107 is a comparison circuit, 108 is an area information memory, 109 is a signal conversion circuit, 110 is a boundary detection circuit, 111 is a counter, 112 is a code generation circuit, 113°, 114 is a boundary information memory, and 115 is a switching circuit.

Claims (2)

【特許請求の範囲】[Claims] (1)画面を複数の画素よりなるブロックに分割する手
段と、前記各ブロックを、そのブロック内の階調レベル
差の小さい順に、nを2以上の数として、n種のブロッ
ク群B_1、B_2、・・・・・・、B_nに分類する
手段と、N_1<N_2<・・・・・・<N_nなる関
係を有する階調レベル数N_1、N_2、・・・・・・
、N_nによって、階調レベル差の最も小さいブロック
群B_1に属する画素の階調レベル数はN_1階調に、
階調レベル差がj番目(j=1、2、・・・・・・、n
)に小さいブロック群の階調レベル数はN_j階調に縮
退させる前処理手段を有することを特徴とする中間調画
像の符号化方式。
(1) Means for dividing a screen into blocks each consisting of a plurality of pixels, and n types of block groups B_1, B_2, where n is a number of 2 or more, in order of decreasing gradation level difference within the block. ,..., B_n, and the number of gradation levels N_1, N_2,... having the relationship N_1<N_2<...<N_n.
, N_n, the number of gradation levels of pixels belonging to block group B_1 with the smallest gradation level difference is N_1 gradation,
The gradation level difference is jth (j=1, 2,..., n
) A method for encoding a halftone image, comprising a preprocessing means for degenerating the number of gradation levels of a small block group to N_j gradations.
(2)量子化された個々の階調レベルの端を示す境界に
ついて、 参照走査線上から符号化走査線上に接続している第1の
状態と、 参照走査線上で存在するが符号化走査線上に接続せず消
滅している第2の状態と、 参照走査線上に接続せず、符号化走査線上で新しく発生
している第3の状態と、 を識別してそれ等を示す情報を符号化し、 第1の状態では、状態を示す符号に符号化走査線上での
境界の位置を知る情報をこれに加え、第2の状態では、
状態を示す符号のみを、 第3の状態では、状態を示す符号に、新しく発生した境
界の位置ならびにその境界に付随する階調レベルを表わ
す符号をこれに加えることにより、各階調レベルを符号
化する手段を含むことを特徴とする第1項記載の中間調
画像の符号化方式。
(2) Regarding the boundaries indicating the edges of individual quantized tone levels, the first state is connected from the reference scan line to the encoded scan line, and the first state is connected from the reference scan line to the encoded scan line. A second state that is not connected and disappears, and a third state that is not connected to the reference scan line and is newly generated on the encoded scan line, and encodes information indicating these, and In the first state, information on the position of the boundary on the encoded scanning line is added to the code indicating the state, and in the second state,
In the third state, each gradation level is encoded by adding only a code indicating the state to the code indicating the state, and a code indicating the position of the newly generated boundary and the gradation level associated with that boundary. 2. The halftone image encoding method according to claim 1, further comprising means for encoding a halftone image.
JP60008852A 1985-01-21 1985-01-21 Encoding system of half tone image Granted JPS61169086A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60008852A JPS61169086A (en) 1985-01-21 1985-01-21 Encoding system of half tone image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60008852A JPS61169086A (en) 1985-01-21 1985-01-21 Encoding system of half tone image

Publications (2)

Publication Number Publication Date
JPS61169086A true JPS61169086A (en) 1986-07-30
JPH047871B2 JPH047871B2 (en) 1992-02-13

Family

ID=11704263

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60008852A Granted JPS61169086A (en) 1985-01-21 1985-01-21 Encoding system of half tone image

Country Status (1)

Country Link
JP (1) JPS61169086A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4965754A (en) * 1987-04-03 1990-10-23 Crosfield Electronics Limited Image processing
US8006513B2 (en) 2004-07-21 2011-08-30 Cool Gear International, Llc Food storage system
US8011205B2 (en) 2004-12-27 2011-09-06 Cool Gear International, Llc Food storage system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4965754A (en) * 1987-04-03 1990-10-23 Crosfield Electronics Limited Image processing
US8006513B2 (en) 2004-07-21 2011-08-30 Cool Gear International, Llc Food storage system
US9366468B2 (en) 2004-07-21 2016-06-14 Cool Gear International, Llc Food storage system
US8011205B2 (en) 2004-12-27 2011-09-06 Cool Gear International, Llc Food storage system
US8720223B2 (en) 2004-12-27 2014-05-13 Cool Gear International Llc Food storage system

Also Published As

Publication number Publication date
JPH047871B2 (en) 1992-02-13

Similar Documents

Publication Publication Date Title
US4319267A (en) Picture coding and/or decoding equipment
US6748108B2 (en) Method of selecting colors for pixels within blocks for block truncation encoding
US5491564A (en) Data compression method and apparatus for binary image using Markov model encoding
JPH0326947B2 (en)
JP3308675B2 (en) Encoding device
JPH04248771A (en) Information hiding method
JPH04270564A (en) Serial picture data compression system having color information
JPS61169086A (en) Encoding system of half tone image
US5684603A (en) Coding apparatus for bi-level images halftoned with error diffusion algorithm
JPH0342969A (en) Color picture information encoding system
JP2941288B2 (en) Image processing system
JP2941843B2 (en) Apparatus and method for reducing image signal
JPH0261832B2 (en)
JPH0496575A (en) Picture coding method
JPH07231385A (en) Method for deciding optimum line density of picture processor
JPH03161868A (en) Image storage device
JP2966426B2 (en) Color image processing apparatus and method
JPH0117309B2 (en)
JPH099065A (en) Picture data compression encoding method and decoding method
JPS62234466A (en) Picture processor
JPH04270563A (en) Data compression system in picture processor
JPS61123272A (en) Intermediate tone picture data converting system
JPS61123277A (en) Picture data compression system
JPS61269466A (en) Encoding system
JPH03192971A (en) Picture processor