JPH0468764A - Binarization compression system for multi-value picture data - Google Patents

Binarization compression system for multi-value picture data

Info

Publication number
JPH0468764A
JPH0468764A JP2176367A JP17636790A JPH0468764A JP H0468764 A JPH0468764 A JP H0468764A JP 2176367 A JP2176367 A JP 2176367A JP 17636790 A JP17636790 A JP 17636790A JP H0468764 A JPH0468764 A JP H0468764A
Authority
JP
Japan
Prior art keywords
image data
picture data
bits
bit
dither
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
JP2176367A
Other languages
Japanese (ja)
Other versions
JP2868852B2 (en
Inventor
Minoru Mizobuchi
溝渕 実
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2176367A priority Critical patent/JP2868852B2/en
Publication of JPH0468764A publication Critical patent/JPH0468764A/en
Application granted granted Critical
Publication of JP2868852B2 publication Critical patent/JP2868852B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

PURPOSE:To realize intermediate tone information through the use of a visual characteristic of a human body by ANDing a multi-value picture data and its relevant dither pattern, ORing bits subject to AND processing and converting and compressing the result into a binary picture data. CONSTITUTION:Plural dither patterns corresponding to each bit of a multi-value picture data in the gradation direction are generated by a CPU 1 and stored in respective dither pattern memories 3. Each dither pattern and a picture data of each bit corresponding to the multi-value picture data latched in registers 4 in the unit of picture elements are ANDed by plural AND circuits 5 in response to bit number, and an OR circuit 5 is used to OR the bits subject to AND processing and the result is converted into a binary picture data. Thus, the binarization compression conversion processing is realized, in which grada tion information of an intermediate level is included regardless of the binary picture data in this way and an intermediate color is displayed.

Description

【発明の詳細な説明】 [発明の目的コ (産業上の利用分野) この発明は、デイザ法により、階調をもつ多値画像デー
タを中間色等の表現が可能な2値画像データに圧縮・変
換する多値画像データの2値化圧縮方式に関する。
[Detailed Description of the Invention] [Purpose of the Invention (Industrial Application Field) This invention compresses and compresses multivalued image data with gradations into binary image data that can express intermediate colors etc. using a dither method. This invention relates to a binarization compression method for multivalued image data to be converted.

(従来の技術) 各画素が複数のビットで構成され階調をもつ、例えば階
調方向の構成ビット数が8ビツト等であるような多値画
像データを、そのまま格納し処理しようとすると、情報
量が膨大なため取扱い等が困難になる場合がある。この
ためこれらを容易にするために、1画素が1ビツトだけ
で構成される2値画像データに変換・圧縮して情報量を
減少させる場合がある。
(Prior art) If you try to store and process multivalued image data as it is, where each pixel is composed of multiple bits and has a gradation, for example, the number of constituent bits in the gradation direction is 8 bits, the information Due to the huge amount, handling may be difficult. Therefore, in order to facilitate these processes, the amount of information may be reduced by converting and compressing into binary image data in which each pixel consists of only one bit.

このような場合に、従来は、特定の2値化レベルにより
多値画像データを単純にスライスして2値画像データを
求めることか多かった。
In such cases, conventionally, binary image data has often been obtained by simply slicing multivalued image data at a specific binarization level.

例えば8ビツトの深さを持つ多値画像データてあれば2
56レヘル(色)の階調を持っている。
For example, if you have multilevel image data with a depth of 8 bits,
It has 56 levels (colors).

これを特定の2値化レベル、例えば128というレベル
により2値化圧縮しようとすれば、0から127までの
値を持つ画像データはすべて値゛0′とされ、また12
8から255までの値のデータはすべて° 1”となる
。
If this is to be binarized and compressed using a specific binarization level, for example, level 128, all image data with values from 0 to 127 will be set to the value '0', and 128.
All data with values from 8 to 255 are 1".

(発明が解決しようとする課題) しかしながら、 1′か”0”かの2値だけしかない2
値画像データに、階調をもつ多値画像データを特定の2
値化レベルにより単純にスライスして2値化圧縮すれば
、当然ながら、中間色の色調等が出せなくなる。従って
、このようにして得られた画像データは、人間の感覚に
合わない、見辛いものとなることが多い。
(Problem to be solved by the invention) However, there are only two values, 1' or "0" 2
Multi-value image data with gradation is added to the value image data in a specific two-dimensional manner.
If the image is simply sliced and binarized depending on the digitization level, it will naturally become impossible to produce intermediate color tones. Therefore, the image data obtained in this manner often does not suit human senses and is difficult to view.

この発明は、情報量が膨大で扱いにくい多値画像データ
を1画素が1ビツトだけで表される取扱い容易な2値画
像データに変換・圧縮する際に、人間の持つ視覚特性を
利用して中間調情報をも表現することができるような、
デイザ法を用いた、多値画像データの2値化圧縮方式を
提供することを目的とするものである。
This invention utilizes the visual characteristics of humans when converting and compressing multivalued image data, which has an enormous amount of information and is difficult to handle, into binary image data that is easy to handle and where each pixel is represented by only one bit. It can also express mid-tone information.
The purpose of this invention is to provide a binarization compression method for multivalued image data using a dither method.

[発明の構成] (課題を解決するための手段) このような目的を達成するために、この発明に係る多値
画像データの2値化圧縮方式では;各画素が複数のビッ
トで構成される多値画像データの前記各ビットに対応す
る複数のデイサパターンを保持する保持手段と、 この保持手段に保持される各デイザノ々ターンと前記多
値画像データの対応する各ビ・ソトの画像データとの論
理積をとり、この論理積をとった値の前記ビット間の論
理和をとって2値画像データ:こ変換する変換手段とを
備えて構成している。
[Structure of the Invention] (Means for Solving the Problem) In order to achieve the above object, in the binarization compression method for multivalued image data according to the present invention; each pixel is composed of a plurality of bits. a holding means for holding a plurality of dither patterns corresponding to each bit of the multi-valued image data; and each dither pattern held in the holding means and each bi-soto image data corresponding to the multi-valued image data; and a conversion means for converting the binary image data by calculating the logical product of the logical product and the logical sum of the bits of the logical product.

(作用) この発明に係る多値画像データの2値化圧縮方式であれ
ば、あらかじめ保持手段に、各画素力(複数のビットで
構成される多値画像データの前記各ビットに対応する複
数のデイザノ々ターンを保持させておく。
(Operation) In the binarization compression method for multi-valued image data according to the present invention, each pixel power (a plurality of pixel powers corresponding to the respective bits of the multi-valued image data consisting of a plurality of bits) is stored in advance in the holding means. Let's keep the day turn.

そして、変換手段により、2値画像゛データに変換・圧
縮する多値画像データの各ビ・ットの画像データについ
て、前記保持手段に保持される対応する各ディザパター
ンとの論理積をとり、この論理積をとったビット間の論
理和を求めて2値画像データに変換・圧縮する。
Then, by the converting means, the image data of each bit of the multivalued image data to be converted and compressed into binary image data is logically ANDed with each corresponding dither pattern held in the holding means, The logical sum of the bits resulting from this logical product is calculated and converted and compressed into binary image data.

こうして、人間の持つ視覚特性を利用して中間調情報を
も表現することができるような、デイザ法を用いた2値
化圧縮方式が実施可能になる。
In this way, it becomes possible to implement a binarization compression method using the dither method that can also express halftone information by utilizing the visual characteristics of humans.

(実施例) 第1図は、この発明に係多−実施例の多値画像データの
2値化圧縮方式を適用した2値画像格納・表示装置の要
部ブロック図である。
(Embodiment) FIG. 1 is a block diagram of a main part of a binary image storage/display device to which a binary compression method for multilevel image data according to an embodiment of the present invention is applied.

また第2図は、多値画像データの各ビットに対応する複
数のディザパターンの例を示す説明図、第3図は、多値
画像データの構成例を示す説明図である。
Further, FIG. 2 is an explanatory diagram showing an example of a plurality of dither patterns corresponding to each bit of multi-valued image data, and FIG. 3 is an explanatory diagram showing an example of the structure of multi-valued image data.

第1図において、各画素が複数の、例えば8ビツトで構
成される多値画像データ・を格納する多値画像メモリ2
がある。この多値画像データの構成例を第3図に示す。
In FIG. 1, a multi-value image memory 2 stores multi-value image data in which each pixel consists of a plurality of bits, for example 8 bits.
There is. An example of the structure of this multivalued image data is shown in FIG.

例えば1フレ一ム分の2次元画像データを格納するには
、各画素がビット0から7の8ビツトで構成される場合
、2次元画像を構成する水平方向の画素数×垂直方向の
画素数×8ビットのビット数を持ったメモリが必要とな
り、第3図に示すような直方体で表すことができる。
For example, to store one frame of two-dimensional image data, if each pixel consists of 8 bits from bit 0 to bit 7, the number of pixels in the horizontal direction that makes up the two-dimensional image x the number of pixels in the vertical direction A memory with a bit count of x8 bits is required, and can be represented by a rectangular parallelepiped as shown in FIG.

そして、この多値画像データの各画素を構成する複数の
ビット(階調方向のビット)の各々に対応する複数のデ
ィザパターンを保持する複数のディザパターンメモリ3
がある。
A plurality of dither pattern memories 3 hold a plurality of dither patterns corresponding to each of a plurality of bits (bits in the gradation direction) constituting each pixel of this multivalued image data.
There is.

さらに、この複数のディザパターンメモリ3に保持され
る各ディザパターンと、多値画像メモリ2に格納される
多値画像データの対応する各ビットの画像データとの、
画素毎の論理積をとる複数のAND回路5と、この論理
積をとった値の階調方向のビット間の論理和をとって2
値画像データに変換するOR回路6がある。
Furthermore, each dither pattern held in the plurality of dither pattern memories 3 and the image data of each corresponding bit of the multi-value image data stored in the multi-value image memory 2,
A plurality of AND circuits 5 which take a logical product for each pixel, and a logical sum between the bits in the gradation direction of the value obtained by taking this logical product, 2.
There is an OR circuit 6 for converting into value image data.

こうして、画素毎に2値化圧縮・変換された2値画像デ
ータを格納する2値画像メモリ7があり、この2値画像
メモリ7に格納される画像データを順次取り出し、例え
ばデイスプレィ等に表示させるためアナログデータに変
換するD/Aコンバータ8が設けられている。
In this way, there is a binary image memory 7 that stores binary image data that has been binarized and compressed and converted for each pixel, and the image data stored in this binary image memory 7 is sequentially retrieved and displayed on, for example, a display. Therefore, a D/A converter 8 for converting into analog data is provided.

さらに、上記した多値画像メモリ2、複数のディザパタ
ーンメモリ3.2値画像メモリ7などの相互間の読出し
・書込みアドレス及びタイミングを一括制御する制御回
路9と、装置全体の動作制御を行うCPU1とがある。
Furthermore, a control circuit 9 that collectively controls read/write addresses and timings between the multilevel image memory 2, the plurality of dither pattern memories 3, and the binary image memory 7, and a CPU 1 that controls the operation of the entire device. There is.

なお、符号4は各種のレジスタであり、多値画像メモリ
2から読出された1画素分の8ビツト画像データや、デ
ィザパターンメモリ3から読出されたパターン1のビッ
ト等の各データを一時的に保持するものである。
Note that reference numeral 4 indicates various registers, which temporarily store various data such as 8-bit image data for one pixel read out from the multilevel image memory 2 and bits of pattern 1 read out from the dither pattern memory 3. It is something to keep.

第2図に、この実施例装置における、多値画像データの
各ビットに対応する、ディザパターンメモリ3に保持さ
れる複数のディザパターンの例を示す。
FIG. 2 shows an example of a plurality of dither patterns stored in the dither pattern memory 3 corresponding to each bit of multivalued image data in the apparatus of this embodiment.

例えば、第2図(a)は多値画像データの階調方向のビ
ット7及び6に対応するディザパターンであり、ビット
7及び6のすべてのビットが有効になされている。第2
図(b)ないしくd)は、それぞれビット5ないし3に
対応するディザパターンで、画像全体として見たときに
視覚的に中間の階調が感じられるような適度な間隔を置
いたパターンとなっている。また第2図(e)は、ビッ
ト2ないし0用のディザパターンであり、この例ではこ
れらのビットが常に°0“となるようなされている。
For example, FIG. 2(a) shows a dither pattern corresponding to bits 7 and 6 in the gradation direction of multivalued image data, and all bits 7 and 6 are made valid. Second
Figures (b) to d) are dither patterns corresponding to bits 5 to 3, respectively, and are patterns with appropriate intervals so that when looking at the image as a whole, you can visually perceive an intermediate gradation. ing. Further, FIG. 2(e) is a dither pattern for bits 2 to 0, and in this example, these bits are always set to 0.

次に、動作を説明する。Next, the operation will be explained.

この実施例の装置では、CPUIの制御の下に、2値化
圧縮処理の対象となる8ビ・ソト長の多値画像データが
、予め多値画像メモリ2に書込まれている。また、この
多値画像データの階調方向の各ビットに対応する複数の
デイザノ々ターンが、CPU1により、作成され(ある
いは外部記憶装置などの格納場所から読出されて)、そ
れぞれのディザパターンメモリ3に格納されている。
In the apparatus of this embodiment, 8-bit soto length multi-value image data to be subjected to binarization compression processing is written in advance in the multi-value image memory 2 under the control of the CPUI. Further, a plurality of dither patterns corresponding to each bit in the gradation direction of this multivalued image data are created by the CPU 1 (or read from a storage location such as an external storage device), and are stored in each dither pattern memory 3. is stored in.

そして、制御回路9により指示されるアドレス及びタイ
ミングに従い、対応するアドレスの多値画像データ及び
各ビットのデイザノ々ターンが画素単位でそれぞれのメ
モリ2及び3から読出され、8ビツト及び1ビツトの各
レジスタ4に保持される。
Then, according to the address and timing instructed by the control circuit 9, the multilevel image data of the corresponding address and the dither number turns of each bit are read out from the respective memories 2 and 3 in pixel units, and each of the 8 bits and 1 bit It is held in register 4.

この画素単位でレジスタ4に保持される、各ディザパタ
ーンと、前記多値画像データの対応する各ビットの画像
データとが、ビット数に応じた複数のAND回路5によ
り論理積をとられ、さらにOR回路5により、この論理
積をとった値のビ・ソト間の論理和が求められて2値画
像データに変換される。
Each dither pattern held in the register 4 on a pixel basis and the image data of each corresponding bit of the multivalued image data are ANDed by a plurality of AND circuits 5 according to the number of bits, and then The OR circuit 5 calculates the bi-soto logical sum of the ANDed values and converts it into binary image data.

このとき、第2図(11)ないしくe)に示すように、
この実施例装置では、最も階調方向のレベルの高いビッ
ト7及び6はそのまま(ビット7又は6に°1”があれ
ば”1′がAND回路5から出力される)、中間レベル
のビット5ないし3については適度な間隔のパターンで
出力し、レベルの低いビット2ないし0は無視する(常
に”0゜を出力する)ようなディザパターンが用いられ
ている。最もレベルの低い、ビット2ないし0について
は、デイスプレィ等に表示する場合に通常はほとんど目
に見えず、デイスプレィの輝度を高くしてようやく見え
るような程度であるため、無視しても余り問題にならな
いという点を考慮している。もちろん、ディザパターン
としては、この例に示したものに限るわけではなく、例
えば画像データの種類や、画像全体としての輝度レベル
の高さなどに応じて任意のパターンを用いることができ
る。
At this time, as shown in FIG. 2 (11) to e),
In this embodiment device, bits 7 and 6 with the highest level in the gradation direction remain as they are (if bit 7 or 6 has "1", "1" is output from the AND circuit 5), and bit 5 with the intermediate level A dither pattern is used that outputs bits 2 to 3 at appropriate intervals, and ignores low level bits 2 to 0 (always outputs "0°").The lowest level bits 2 to 0 are output. Regarding 0, we take into consideration the fact that it is usually almost invisible when displayed on a display, etc., and can only be seen by increasing the brightness of the display, so it can be ignored without causing much of a problem. Of course, the dither pattern is not limited to the one shown in this example, and any pattern can be used depending on, for example, the type of image data or the brightness level of the entire image.

こうして変換された1画素分の2値画像データは、2値
画像メモリ7内の、制御回路9により指示される対応す
るアドレスに格納される。
The binary image data for one pixel thus converted is stored at a corresponding address specified by the control circuit 9 in the binary image memory 7.

以下、多値画像データの全ての(あるいは処理対象とさ
れる)画素について、同様に2値化圧縮処理が繰返され
る。
Thereafter, the binarization compression process is similarly repeated for all (or processing target) pixels of the multivalued image data.

こうして、2値化圧縮処理され、2値画像メモリ7に格
納された2値画像データは、制御回路9により指示され
るアドレス及びタイミングに従って順次読出され、レジ
スタ4を経由しD/Aコンバータ8によりアナログデー
タに変換された後、例えばデイスプレィ等に出力され表
示される。また、この2値化圧縮・変換された2値画像
データを別個の記憶装置などに格納しておくこともてき
る。
In this way, the binary image data that has been binarized and compressed and stored in the binary image memory 7 is sequentially read out according to the addresses and timings instructed by the control circuit 9, and is sent via the register 4 to the D/A converter 8. After being converted into analog data, it is output and displayed on, for example, a display. Further, the binary image data that has been subjected to binarization compression and conversion may be stored in a separate storage device or the like.

このようにして、2値画像データでありながら中間レベ
ルの階調情報を含み、中間色などを表示することのでき
る2値化圧縮・変換処理が可能と。
In this way, even though it is binary image data, it is possible to perform binary compression and conversion processing that includes intermediate level gradation information and can display intermediate colors.

なる。また、この実施例装置では、AND回路5やOR
回路6などのハードウェアを用いて2値化圧縮・変換処
理を行う構成としたため、高速の処理が可能となってい
る。
Become. Further, in this embodiment device, the AND circuit 5 and the OR circuit 5
Since the configuration uses hardware such as the circuit 6 to perform binarization compression/conversion processing, high-speed processing is possible.

なお、上述した一実施例では、1画素ずつ2値化圧縮・
変換処理する装置の構成例を示したが、例えば複数の画
素等について並行処理するような構成とすることなども
もちろん可能である。
In addition, in the above-mentioned embodiment, binarization compression and compression are performed pixel by pixel.
Although an example of the configuration of an apparatus for performing conversion processing has been shown, it is of course possible to adopt a configuration that performs parallel processing on, for example, a plurality of pixels.

[発明の効果] このように、この発明に係る2値化圧縮方式を適用すれ
ば、各画素が複数のビットで構成され、階調を表すこと
ができる多値画像データを、各画素が1ビツトだけで構
成されながらも、中間階調の情報を含み、階調があるか
のごとく表示することなどが可能な、デイザ形式の2値
画像データに変換することが可能になる。
[Effects of the Invention] As described above, by applying the binarization compression method according to the present invention, multivalued image data in which each pixel is composed of a plurality of bits and can represent a gradation can be converted into Although it is composed only of bits, it can be converted into binary image data in a dither format, which includes intermediate gradation information and can be displayed as if there were gradations.

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

第1図はこの発明に係る一実施例の多値画像データの2
値化圧縮方式を適用した2値画像格納・表示装置の要部
ブロック図、第2図は同例における多値画像データの各
ビットに対応する複数のディザパターンの例を示す説明
図、第3図は多値画像データの構成例を示す説明図で市
る。 1・・・CPU      2・・・多値画像メモリ3
・・・ディザパターンメモリ 4・・・レジスタ5・・
・AND回路   6・・・OR回路7・・・2値画像
メモリ 8・・・D/Aコンノく一タ9・・・制御回路
FIG. 1 shows two pieces of multivalued image data according to an embodiment of the present invention.
FIG. 2 is an explanatory diagram showing an example of a plurality of dither patterns corresponding to each bit of multivalued image data in the same example; FIG. The figure is an explanatory diagram showing an example of the structure of multivalued image data. 1...CPU 2...Multi-valued image memory 3
...Dither pattern memory 4...Register 5...
-AND circuit 6...OR circuit 7...binary image memory 8...D/A controller 9...control circuit

Claims (1)

【特許請求の範囲】[Claims] (1)各画素が複数のビットで構成される多値画像デー
タの前記各ビットに対応する複数のディザパターンを保
持する保持手段と、 この保持手段に保持される各ディザパターンと前記多値
画像データの対応する各ビットの画像データとの論理積
をとり、この論理積をとった値の前記ビット間の論理和
をとって2値画像データに変換する変換手段とを備えた
ことを特徴とする多値画像データの2値化圧縮方式。
(1) Holding means for holding a plurality of dither patterns corresponding to the respective bits of multi-value image data in which each pixel is composed of a plurality of bits, and each dither pattern held in this holding means and the multi-value image The invention is characterized by comprising a conversion means that performs a logical product of each corresponding bit of the data with the image data, and calculates a logical sum of the logical product value between the bits to convert it into binary image data. A binary compression method for multivalued image data.
JP2176367A 1990-07-05 1990-07-05 Binary compression of multi-valued image data Expired - Fee Related JP2868852B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2176367A JP2868852B2 (en) 1990-07-05 1990-07-05 Binary compression of multi-valued image data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2176367A JP2868852B2 (en) 1990-07-05 1990-07-05 Binary compression of multi-valued image data

Publications (2)

Publication Number Publication Date
JPH0468764A true JPH0468764A (en) 1992-03-04
JP2868852B2 JP2868852B2 (en) 1999-03-10

Family

ID=16012384

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2176367A Expired - Fee Related JP2868852B2 (en) 1990-07-05 1990-07-05 Binary compression of multi-valued image data

Country Status (1)

Country Link
JP (1) JP2868852B2 (en)

Also Published As

Publication number Publication date
JP2868852B2 (en) 1999-03-10

Similar Documents

Publication Publication Date Title
CA1306557C (en) System for producing dithered images on asymmetric grids
JPS62216476A (en) Picture processor
JPH03185969A (en) Half-tone treatment of input picture element and conversion of image signal
US5264840A (en) Method and apparatus for vector aligned dithering
JP2868852B2 (en) Binary compression of multi-valued image data
JPS62107573A (en) Image processor
JPH10200778A5 (en)
JP3295561B2 (en) Image processing device
JPS6175967A (en) Dither picture producing circuit
JPH0564000A (en) Image data compression and decompression method
JPS62230236A (en) Correction
JP2624031B2 (en) Image processing device
JPH06105951B2 (en) Image signal conversion method and apparatus
JPS6135073A (en) Image processing method
JP2646888B2 (en) Image processing device
JPH01212073A (en) Picture data reducing device
JPH05219362A (en) Processing system for pseudo halftone picture and processing unit
JPH01208075A (en) Picture binarizing system
JPS62159571A (en) Method and apparatus for creating quasi half-tone image
JPS6155692A (en) Image reduction display unit
JPH0376468A (en) Density conversion processing system for picture
JPH0378885A (en) Picture reduction processing system
JPS6382581A (en) Method and device for processing binary image signal
JPH08221566A (en) Image processing apparatus and method thereof
JPS6345686A (en) Pseudo halftone image reduction device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees