JPS61285868A - Data compressing system for variable density picture - Google Patents
Data compressing system for variable density pictureInfo
- Publication number
- JPS61285868A JPS61285868A JP60128627A JP12862785A JPS61285868A JP S61285868 A JPS61285868 A JP S61285868A JP 60128627 A JP60128627 A JP 60128627A JP 12862785 A JP12862785 A JP 12862785A JP S61285868 A JPS61285868 A JP S61285868A
- Authority
- JP
- Japan
- Prior art keywords
- signal
- density
- picture
- circuit
- digital 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.)
- Pending
Links
Abstract
Description
【発明の詳細な説明】 産業上の利用分野 本発明は1画像のデータ圧縮方式に関し、特に。[Detailed description of the invention] Industrial applications The present invention relates to a data compression method for one image, and particularly to a data compression method for one image.
画像を構成する画素自体が異なる複数の濃度な有する濃
淡画像のデータ圧縮方式に関する。The present invention relates to a data compression method for a grayscale image in which the pixels constituting the image have a plurality of different densities.
従来の技術
従来、この糧のデータ圧縮方式としては、ディザ法によ
シコ値化した後だ圧縮する方法と、1画素の濃度を一定
数の画素を含むサブマトリクスで表現した後に圧縮する
方法が良く知られている。Conventional technology Conventionally, as data compression methods for this purpose, there are two methods: one in which the density of one pixel is expressed as a sub-matrix containing a certain number of pixels, and then it is compressed. well known.
発明が解決しようとする問題点
しかしながら、上述した従来のデータ圧縮方式のうち、
前者は複数の濃度を有する画素をコ催しかとりえない1
画素で表現するために、画素の濃度に関する情報の多く
が失われてしまい画像の再現性に問題があゆ、後者の場
合には1画素の濃淡を複数の画素で表現するために、1
画素の階調数に比例して圧縮率が低下するという欠点が
ある。Problems to be Solved by the Invention However, among the conventional data compression methods mentioned above,
The former can only handle pixels with multiple densities1.
Since much of the information regarding the density of the pixel is lost because it is expressed using pixels, there is a problem with image reproducibility.
The disadvantage is that the compression rate decreases in proportion to the number of pixel gradations.
本発明は従来の上記事情に鑑みてなされたものであり、
従って本発明の目的は、従来の技術に内在する上記欠点
を解消することができる新規なデータ圧縮方式を提供す
ること【ある。The present invention has been made in view of the above-mentioned conventional circumstances, and
SUMMARY OF THE INVENTION Accordingly, it is an object of the present invention to provide a new data compression method capable of overcoming the above-mentioned drawbacks inherent in the prior art.
問題点を解決するための手段
上記目的を達成する為に、本発明に係るデータ圧縮方式
は、画素の濃度を表わすnビットのディジタル信号の全
てのビットが10”であれば”θ”を、少なくともlビ
ットが“θ″でなければ“Inを発生するλ値化回路と
、該λ値化回路の出力信号を圧縮符号化する符号化回路
と、前記λ値化回路の出力信号が1”の時のみ該nビッ
トのディジタル信号の値を少なくとも一走査線分の画珪
について記憶しうる書き込み・読み出し可能な記憶回路
とを有して構成される。Means for Solving the Problems In order to achieve the above object, the data compression method according to the present invention uses "θ" as If at least l bits are "θ", "a λ value conversion circuit that generates In, an encoding circuit that compresses and encodes the output signal of the λ value conversion circuit, and an output signal of the λ value conversion circuit is 1". The device is configured to include a writable/readable memory circuit capable of storing the value of the n-bit digital signal for at least one scanning line of pixels only when .
実施例
次に本発明をその好ましい一実施例について図面を参照
しながら具体的だ説明する。Embodiment Next, a preferred embodiment of the present invention will be specifically explained with reference to the drawings.
第1図は本発明の一実施例を表わすブロック構成図であ
る。第1図において、画像走査装置lは画像を画素に分
解しかつ光電変換により画素の濃淡をアナログ電気信号
aK変換する。A/D変換器コはアナログ電気信号aを
ディジタル信号すに変換する。本実施例では濃度の階調
数をlふとする。FIG. 1 is a block diagram showing one embodiment of the present invention. In FIG. 1, an image scanning device 1 decomposes an image into pixels and converts the shading of the pixels into an analog electrical signal aK by photoelectric conversion. The A/D converter converts the analog electrical signal a into a digital signal. In this embodiment, the number of density gradations is assumed to be l.
すると、ディジタル信号すは弘ビットで画素が白であれ
ば0(16進数)、黒ならばその濃度によシ/〜F(/
6進数)の値をとる。λ値化回路、?はディジタル信号
すがO(/A進数)であれば@、s (二進数)、/−
F(la二進数であれば@/′″(2進数)であるλ値
画像信号Cを発生する。符号化回路ダはコ値画儂信号C
をモディファイドハフマン符号などの圧縮符号に符号化
して圧縮データdを発生する。記憶回路3は、少なくと
も一走査線分の画素数のり倍の記憶容量を有する書き込
み・読み出し可能なメモリであり、λ値画像信号Cが@
l#(−進数)の場合にのみディジタル信号すの値を記
憶する。記憶回路3に書き込まれた値は画素の濃度を表
わすために、これを濃度データと呼ぶことにする。選択
回路6は画像走査装置lの一走査毎にまず圧縮データd
を選択して一走査線分の圧縮符号を記憶装置7へのデー
タバスfに送出し、次に濃度データeを選択して一走査
線分の濃度データを記憶装置りへのデータバスfに送出
する。記憶装置7はデータバスfに発生するデータを記
憶する。Then, the digital signal will be 0 (hexadecimal) if the pixel is white in Hirobit, and if it is black, it will be 0 (hexadecimal number), and if it is black, it will be 0 (hexadecimal number), and if it is black, it will be 0 (hexadecimal number), and if it is black, it will be 0 (hexadecimal number).
It takes a value in hexadecimal). λ value conversion circuit? is a digital signal, but if O (/A base), @, s (binary), /-
F(la) If it is a binary number, it generates a λ value image signal C which is @/''' (binary number).The encoding circuit DA generates a λ value image signal C
is encoded into a compression code such as a modified Huffman code to generate compressed data d. The memory circuit 3 is a writable/readable memory having a storage capacity equal to at least twice the number of pixels for one scanning line, and the λ value image signal C is @
The value of the digital signal is stored only in the case of l# (-base number). Since the value written in the memory circuit 3 represents the density of the pixel, it will be referred to as density data. The selection circuit 6 first selects the compressed data d for each scan of the image scanning device l.
is selected and the compressed code for one scanning line is sent to the data bus f to the storage device 7, and then the density data e is selected and the density data for one scanning line is sent to the data bus f to the storage device 7. Send. The storage device 7 stores data generated on the data bus f.
次に、第7図中の信号について第コ図ω〜(e)を用い
て説明する。第2図(a)は画像の例を示す図である。Next, the signals in FIG. 7 will be explained using FIGS. ω to (e). FIG. 2(a) is a diagram showing an example of an image.
−走査は餐画素であり、/Lt画素目及びコ画素目を中
心に黒画素が存在する。この時の各画素に対するディジ
タル信号すを走査頭に並べたものが第一図(b)である
。λ値化回路3はディジタル信号すがo(tt、進数)
であれば°O″(二進数)、t−F(/l、進数)であ
れば−、n (2進数)となるコ値画傷信号Cを発生す
るが、第一図(b)のディジタル信号すをコ値画像信号
cK変換したものが第1図(c)である。符号化回路ダ
はa値画像信号Cを圧縮符号に符号化するが、ここでは
モディファイドハフマン符号を用いる。第2図(d)は
第2図(C)のλ値画像信号Cの千ディファイトノ・フ
マン符号化による圧縮データdを表わす。記憶回路jは
λ値画像信号Cが′″l”(二進数)の時にのみディジ
タル信号すの値を記憶する。第一図(e)は第ユ図信号
(c)のλ値画像信号Cにより第2図(b)のディジタ
ル信号すの値を選択して記憶回路3に記憶した濃度デー
タeである。第2図(e)の濃度データには0が含まれ
ているがこれは一走査線分の濃度データの最後を示す識
別符号の役割を果す。- Scanning is for empty pixels, and there are black pixels around /Lt pixel and C pixel. FIG. 1(b) shows the digital signals for each pixel at this time arranged at the scanning head. The λ value converting circuit 3 converts the digital signal o(tt, base number)
If it is °O'' (binary number), if t-F (/l, base number), -, n (binary number) will be generated, but the value image damage signal C will be generated. FIG. 1(c) shows the digital signal C converted into an A-value image signal C. The encoding circuit encodes the A-value image signal C into a compression code, and here a modified Huffman code is used. FIG. 2(d) represents compressed data d obtained by 1,000-day human encoding of the λ-value image signal C in FIG. 2(C). In Fig. 1(e), the value of the digital signal S in Fig. 2(b) is selected by the λ value image signal C of the Fig. U signal (c). This is the density data e stored in the storage circuit 3.The density data in FIG. 2(e) includes 0, which serves as an identification code indicating the end of the density data for one scanning line. .
本実施例では濃度データを記憶する記憶回路は画素−走
査線分であるが1画像/ベージ分の記憶回路を備えれば
/画像分の圧縮データを記憶装置に記憶せしめた後に/
画像分の濃度データを記憶装置に記憶せしめるという例
も考えられる。In this embodiment, the memory circuit for storing the density data is pixel-scanning line segment, but if a memory circuit for one image/page is provided, after storing the compressed data for the image in the memory device/
An example of storing density data for an image in a storage device is also conceivable.
な2、本実施例における個々のブロクつてついては一般
に良く知られており、詳細な説明は省略する。2. Since the individual blocks in this embodiment are generally well known, detailed explanation will be omitted.
発明の詳細
な説明したように、本発明によれば画素が有色であるか
無色であるかを表わす情報と濃度を表わす情報とを分離
して、前者は従来から良く知られている符号化方法によ
り圧縮し、後者は意味のない無色の情報を除去すること
により圧縮し、原画像の濃度情報を全く失うことな〈従
来に比べ高い圧縮率を得られるという効果が発生する。As described in detail, according to the present invention, information representing whether a pixel is colored or colorless is separated from information representing density, and the former is encoded using a well-known encoding method. The latter is compressed by removing meaningless colorless information, resulting in the effect that a higher compression rate than before can be obtained without losing any density information of the original image.
第1図は本発明の一実施例を示すブロック構成図、第二
図(a)〜(e)は第7図の信号を具体例で示す図であ
る。FIG. 1 is a block diagram showing an embodiment of the present invention, and FIGS. 2(a) to 2(e) are diagrams showing specific examples of the signals shown in FIG. 7.
Claims (1)
ィジタル信号に変換しうるファクシミリ、スキャナなど
の画像入力装置において、該nビットディジタル信号を
入力信号とし該nビットディジタル信号が全て“0”で
あれば“0”、少くとも1ビットが“0”でなければ“
1”を発生する2値化回路と、該2値化回路の出力信号
を圧縮符号化する符号化回路と、前記2値化回路の出力
信号が“1”である時の該nビットディジタル信号の値
を少なくとも一走査線分の画素について記憶しうる書き
込み・読み出し可能な記憶回路とを備えることを特徴と
する濃淡画像のデータ圧縮方式。In an image input device such as a facsimile or scanner that can convert a plurality of different densities of pixels constituting an image into an n-bit digital signal, the n-bit digital signal is used as an input signal and the n-bit digital signal is all "0". If so, “0”; if at least 1 bit is not “0”, “
a binarization circuit that generates "1", an encoding circuit that compresses and encodes the output signal of the binarization circuit, and the n-bit digital signal when the output signal of the binarization circuit is "1". 1. A data compression method for a grayscale image, comprising a writeable/readable memory circuit capable of storing values of at least one scanning line of pixels.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP60128627A JPS61285868A (en) | 1985-06-12 | 1985-06-12 | Data compressing system for variable density picture |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP60128627A JPS61285868A (en) | 1985-06-12 | 1985-06-12 | Data compressing system for variable density picture |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS61285868A true JPS61285868A (en) | 1986-12-16 |
Family
ID=14989478
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP60128627A Pending JPS61285868A (en) | 1985-06-12 | 1985-06-12 | Data compressing system for variable density picture |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS61285868A (en) |
-
1985
- 1985-06-12 JP JP60128627A patent/JPS61285868A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4811113A (en) | Image signal encoding method and system | |
JP3461309B2 (en) | Huffman coded data compression device | |
JPH0459827B2 (en) | ||
US7286264B2 (en) | None-of-the-above digital halftone compression and decompression | |
JPH10215379A (en) | Image coder and image decoder | |
EP0711069A1 (en) | Image processing method and apparatus | |
JPS61285868A (en) | Data compressing system for variable density picture | |
JP2618944B2 (en) | Coding method of color image information | |
JPS5916464B2 (en) | Color figure encoding/decoding method and device | |
JPS59128873A (en) | Picture signal converting system of color facsimile | |
JP3711104B2 (en) | Image compression apparatus and image compression method | |
JP2627927B2 (en) | Image data compression rate conversion method | |
JP3330308B2 (en) | Color image information encoding processing method | |
JPS5947916B2 (en) | Color image encoding processing method | |
JPS5947914B2 (en) | Color image encoding processing method | |
JP3736107B2 (en) | Image processing device | |
JP2555338B2 (en) | Color image processing device | |
JPH0763177B2 (en) | Image information coding device | |
JPH044673A (en) | Encoding system for picture data | |
JPH01112882A (en) | Block dividing sequential reproducing coding system | |
JP3340006B2 (en) | Image processing device | |
JPS63184478A (en) | Color picture processing unit | |
JPS6258780A (en) | Compressing and coding system for color picture data | |
JPH01194569A (en) | Dither picture encoder | |
JPH06152973A (en) | Method and device for compressing color picture |