JPS6367394B2 - - Google Patents
Info
- Publication number
- JPS6367394B2 JPS6367394B2 JP55074052A JP7405280A JPS6367394B2 JP S6367394 B2 JPS6367394 B2 JP S6367394B2 JP 55074052 A JP55074052 A JP 55074052A JP 7405280 A JP7405280 A JP 7405280A JP S6367394 B2 JPS6367394 B2 JP S6367394B2
- Authority
- JP
- Japan
- Prior art keywords
- level
- run
- encoding
- image information
- black
- 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.)
- Expired
Links
- 238000000034 method Methods 0.000 claims description 24
- 238000013144 data compression Methods 0.000 description 8
- 238000013139 quantization Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/41—Bandwidth or redundancy reduction
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
Description
本発明は、画素単位でサンプリングされ、かつ
多値量子化された画像情報の最適符号化を行なわ
せる画像情報符号化方法に関する。
一般に、フアクシミリなどの画像入出力装置に
あつては、その入力側で原稿画像を画素単位で走
査、サンプリングすることによつて読取つた画像
情報を出力側へ伝送させる際に、データ圧縮のた
めの符号化を行なつて伝送効率の向上を図り、ま
たそのデータ内容を蓄積させる必要があるときに
はその記憶容量の軽減化を図りつつ、いかにその
出力側で解像度の良い高品質な画像再生を行なわ
せることができるかが大きな課題になつている。
その際、特に2値出力により再生される文字や線
図などの画像の解像度を向上させるには、入力側
でのサンプルレートを大きくするか、または読取
られた画像情報の多値量子化を行なわせる必要が
あり、何れにしても出力側へ伝送される情報量が
増大する傾向にあり、そのデータ圧縮の向上がよ
り強く求められている現状にある。
従来、白および黒レベルのみからなる文書画像
などの符号化を行なわせるのに、2値で表現され
た画像情報において、連続する同一符号の画素数
(ランレングス)によつて符号化を行なわせるラ
ンレングス符号化法またはそれを変形させた
Modified Huffman法(以下これをMH法と呼
ぶ)が広く採用されているが、この方法にあつて
はデータ圧縮率は良好となるが中間調を表現する
ことができず、したがつてその符号化されたデー
タにもとづいて再生される画像の品質、特に解像
度が低下してしまつている。
また、従来、多値で表現された画像情報の符号
化を行なわせるのに、その各階調レベルに応じ
て、例えば前画素との差分によつて符号化する差
分符号化法が広く採用されているが、この場合に
は中間調の符号化が可能であるが、単に各画素に
おける濃度レベルの変化状態を表現させるように
しているため、データ圧縮率が悪いばかりでな
く、濃度レベルの急激な変動に追従することがで
きずに再生画像の品質が低下してしまつている。
それに対して、最近、多値量子化された画像情
報において、例えば表1に示すように、8値量子
化された各濃度レベルを20、21、22でそれぞれ重
み付けしたビツトプレーンコードを使用し、各
20、21、22の重みごとにみたときのビツトパター
ンでは“1”または“0”の状態があるビツト数
連続することに着目して、それら各重み付けされ
たビツトパターンごとにランレングス符号化を図
ることによりデータ圧縮の向上を図るようにした
符号化方法が提案されている(特開昭49−58705
参照)。
The present invention relates to an image information encoding method for optimally encoding image information sampled in units of pixels and subjected to multilevel quantization. In general, image input/output devices such as facsimiles scan and sample the original image pixel by pixel on the input side, and then transmit the image information to the output side. How can we improve transmission efficiency through encoding, reduce storage capacity when it is necessary to store the data, and reproduce high-resolution, high-quality images on the output side? The big question is whether it can be done.
In this case, in order to improve the resolution of images such as characters and line diagrams that are reproduced by binary output, it is necessary to increase the sample rate on the input side or perform multi-value quantization of the read image information. In any case, the amount of information transmitted to the output side tends to increase, and there is a strong demand for improvement in data compression. Conventionally, when encoding a document image consisting only of white and black levels, encoding is performed using the number of consecutive pixels of the same code (run length) in image information expressed in binary. run-length encoding method or a variation thereof
The Modified Huffman method (hereinafter referred to as the MH method) is widely adopted, but although this method has a good data compression rate, it cannot express halftones, and therefore its encoding The quality of the images reproduced based on the data, especially the resolution, has deteriorated. Furthermore, conventionally, in order to encode image information expressed in multi-values, a differential encoding method has been widely adopted in which, for example, the difference from the previous pixel is encoded according to each gradation level. In this case, it is possible to encode halftones, but since the state of change in the density level is simply expressed at each pixel, not only is the data compression rate poor, but also the sudden change in density level is The quality of the reproduced image deteriorates because it is unable to follow the fluctuations. On the other hand, recently, in multi-value quantized image information, for example, as shown in Table 1, a bit plane code in which each eight-value quantized density level is weighted by 2 0 , 2 1 , and 2 2 is used. Use each
Focusing on the number of consecutive bits that are "1" or "0" in the bit pattern when looking at each weight of 2 0 , 2 1 , and 2 2 , we calculated the run length for each weighted bit pattern. An encoding method has been proposed that aims to improve data compression by encoding (Japanese Patent Laid-Open No. 49-58705
reference).
【表】
しかし、このようなデータ圧縮方法にあつて
も、2値の画像情報をデータ圧縮させたときの情
報量に対して、4値の場合にはその情報量が2
倍、8値の場合には3倍、すなわちビツト数が増
すにしたがつてその倍数の情報量に増大すること
になつてデータ圧縮率が低下してしまうという欠
点がある。
本発明は、以上の点を考慮してなされたもの
で、多値量子化された画像情報の符号化を行なわ
せる際、そのビツト数が増えてもデータ圧縮率の
良好な符号化を行なわせることができるととも
に、その符号化されたデータにもとづいて解像度
の良い高品質な画像を再生させることができるよ
うにした画像情報符号化方法を提供するものであ
る。
本発明による画像情報符号化方法は、特に線画
または文字画像などの2値画像の特性に着目し、
多値量子化された画素単位ごとの主走査方向にお
ける1ライン分の画像情報に対して、第1のプロ
セスとして、白レベル画素と黒レベル画素との間
の変化点におけるランレングスにしたがつて符号
化を実行させることにより量子化された最小レベ
ル(白)と最大レベル(黒)との各画素の配分に
応じた大まかなデータ圧縮を行なわせるととも
に、同一ラインの画像情報に対して、第2のプロ
セスとして、中間調レベルの画素が出現する間隔
をそのランレングスにしたがつて符号化を行なわ
せた後、該ランレングス符号化されたコードの直
後に中間調レベルを識別するコードを付加して第
3のプロセスとしてそれら各プロセスによつてそ
れぞれ符号化された2値データを適宜一定則にし
たがつて組合せたものをそのラインのデータ圧縮
された情報とするようにしたものである。
以下、添付図面を参照して本発明の一実施例に
ついて詳述する。
第1図aは4値量子化された画素単位ごとの主
走査方向における1ラインの画像情報の一部を示
すもので、各画素の濃度レベルにおいて、白(レ
ベル0)から中間調(レベル1またはレベル2)
へ移つたら必ず黒(レベル3)になつてから白に
戻り、逆に黒から中間調へ送つたら必ず白になつ
てから再び黒に戻る場合の一情報例を示してい
る。
また、第1図bは第1図aに示された画像情報
を前記第1のプロセスにしたがつてランレングス
符号化されたデータを、同図cは同じく第2のプ
ロセスにしたがつてランレングス符号化されたデ
ータをそれぞれ示している。
すなわち、第1のプロセスとして、まず白レベ
ル画素と黒レベル画素との間の変化点におけるラ
ンレングスの符号化を表2のワイルコード
(WYC)にしたがつて行なわせる。[Table] However, even with such data compression methods, the amount of information when compressing binary image information is 2, compared to the amount of information when compressing binary image information.
In the case of double and 8-value data, there is a drawback that as the number of bits increases, the amount of information increases by a factor of 3, resulting in a decrease in data compression ratio. The present invention has been made in consideration of the above points, and enables encoding with a good data compression rate even when the number of bits increases when encoding multilevel quantized image information. The present invention provides an image information encoding method that can reproduce high-resolution, high-quality images based on the encoded data. The image information encoding method according to the present invention focuses particularly on the characteristics of binary images such as line drawings or character images, and
As a first process, image information for one line in the main scanning direction for each multi-level quantized pixel is processed according to the run length at the change point between the white level pixel and the black level pixel. By executing encoding, rough data compression is performed according to the distribution of each pixel between the quantized minimum level (white) and maximum level (black), and the image information of the same line is As the second process, the interval at which halftone level pixels appear is encoded according to the run length, and then a code for identifying the halftone level is added immediately after the run length encoded code. Then, as a third process, the binary data encoded by each of these processes is appropriately combined according to a fixed rule, and the data of the line is compressed. Hereinafter, one embodiment of the present invention will be described in detail with reference to the accompanying drawings. Figure 1a shows part of the image information of one line in the main scanning direction for each pixel unit that has been quantized with four values.The density level of each pixel ranges from white (level 0) to halftone (level 1 or level 2)
This shows an example of information in the case where when the color changes to black (level 3), it always changes to black (level 3) and then returns to white, and conversely, when it changes from black to intermediate tone, it always changes to white and then returns to black again. In addition, FIG. 1b shows run-length encoded data obtained by subjecting the image information shown in FIG. 1a to the first process, and FIG. Each figure shows length-encoded data. That is, as a first process, first, the run length at the change point between the white level pixel and the black level pixel is encoded according to the Weyl code (WYC) shown in Table 2.
【表】【table】
【表】【table】
Claims (1)
から黒レベル又は黒レベルから白レベルに変化す
る点の変化点区間における白レベルのラン及び黒
レベルのランに応じてそれぞれランレングス符号
化を行なう第1のプロセスと、中間調レベルの画
素が出現する区間については中間調レベルのラン
に応じたランレングス符号化を行なつた後、該ラ
ンレングス符号化されたコードの直後に中間レベ
ルを識別するコードを付加する第2のプロセス
と、第1のプロセス及び第2のプロセスによつて
それぞれ符号化された画像データを組み合わせる
ことによつて1走査ラインの符号化を行なう第3
のプロセスと、前記第1乃至第3のプロセスを順
次実行することにより多値量子化された画像デー
タの圧縮を行なうことを特徴とする画像情報符号
化方法。1. Prior to encoding the halftone level, perform run length encoding according to the white level run and the black level run in the change point section of the point changing from the white level to the black level or from the black level to the white level. In the first process, for the section where halftone level pixels appear, run length encoding is performed according to the halftone level run, and then the middle level is identified immediately after the run length encoded code. a second process that adds a code for each scan line; and a third process that encodes one scanning line by combining the image data encoded by the first process and the second process, respectively.
An image information encoding method characterized in that multi-level quantized image data is compressed by sequentially executing the above process and the first to third processes.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7405280A JPS56169966A (en) | 1980-06-02 | 1980-06-02 | Video information coding method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7405280A JPS56169966A (en) | 1980-06-02 | 1980-06-02 | Video information coding method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS56169966A JPS56169966A (en) | 1981-12-26 |
| JPS6367394B2 true JPS6367394B2 (en) | 1988-12-26 |
Family
ID=13536023
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP7405280A Granted JPS56169966A (en) | 1980-06-02 | 1980-06-02 | Video information coding method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS56169966A (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP0871322A1 (en) * | 1997-04-12 | 1998-10-14 | Agfa-Gevaert AG | Double resolution image recording system |
-
1980
- 1980-06-02 JP JP7405280A patent/JPS56169966A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS56169966A (en) | 1981-12-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2794281B2 (en) | Code decoding processor for dither signal | |
| US4975786A (en) | Image processing method and apparatus with error diffusion capability | |
| US4760460A (en) | Halftone image transmission method | |
| US5491564A (en) | Data compression method and apparatus for binary image using Markov model encoding | |
| JP3843581B2 (en) | Image encoding device, image decoding device, image processing device, image encoding method, image decoding method, and image processing method | |
| JPS59223073A (en) | Picture processor | |
| KR0123790B1 (en) | Image encoding method and image encoding / decoding method | |
| JP2756371B2 (en) | Image processing device | |
| JPS6367394B2 (en) | ||
| JPH082083B2 (en) | Multi-level image block coding device | |
| KR930007980B1 (en) | Halftone Image Representation by Error Diffusion | |
| JP2667860B2 (en) | Image processing method and apparatus | |
| JPH0113673B2 (en) | ||
| JPH07147638A (en) | Image processor | |
| JP3085017B2 (en) | Encoding device and decoding device | |
| JPS6358425B2 (en) | ||
| JPS61136378A (en) | Encoding method | |
| JPH036066Y2 (en) | ||
| JPH047871B2 (en) | ||
| JP2966426B2 (en) | Color image processing apparatus and method | |
| JPH06141184A (en) | Method and device for encoding/decoding multilever picture data | |
| JPS6294080A (en) | Picture data transmission device | |
| JPS63120559A (en) | Multilevel image encoding device | |
| JPS6294079A (en) | Image data transmission device | |
| JPH0795420A (en) | Image data compression method |