JP2001309185A - Data compressor - Google Patents

Data compressor

Info

Publication number
JP2001309185A
JP2001309185A JP2000122431A JP2000122431A JP2001309185A JP 2001309185 A JP2001309185 A JP 2001309185A JP 2000122431 A JP2000122431 A JP 2000122431A JP 2000122431 A JP2000122431 A JP 2000122431A JP 2001309185 A JP2001309185 A JP 2001309185A
Authority
JP
Japan
Prior art keywords
compression
image data
bit
data
circuit
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
JP2000122431A
Other languages
Japanese (ja)
Inventor
Shuji Onishi
修司 大西
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.)
Rohm Co Ltd
Original Assignee
Rohm Co Ltd
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 Rohm Co Ltd filed Critical Rohm Co Ltd
Priority to JP2000122431A priority Critical patent/JP2001309185A/en
Publication of JP2001309185A publication Critical patent/JP2001309185A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide an image data compressor that enhances a compression rate of multi-value image data through the compression employing a reversible coding system. SOLUTION: The data compressor is provided with a bit stream rearrangement circuit 4 that rearranges a bit stream of multi-value image data into a bit stream obtained by applying sequential bit arrangement of bits of the same bit position by each of a prescribed number of pixel data to each bit position before reversible compression of the multi-value image data by a compression circuit 5.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、多値の画像データ
の可逆的圧縮を行うデータ圧縮装置に関するものであ
る。
[0001] 1. Field of the Invention [0002] The present invention relates to a data compression apparatus for reversibly compressing multi-valued image data.

【0002】[0002]

【従来の技術】例えば、PCスキャナやデジタルカメラ
等においては、センサで読み取った画像データをパーソ
ナルコンピュータ等の他の機器に送信するにあたって、
画像データのデータ量を低減して送信に要する時間を短
縮するために、画像データの圧縮を行うようにしていた
が、データ量が増大し続けていることもあって、更なる
データ圧縮が求められるようになっていた。
2. Description of the Related Art For example, in a PC scanner or a digital camera, when image data read by a sensor is transmitted to another device such as a personal computer,
In order to reduce the amount of image data and reduce the time required for transmission, image data was compressed.However, as the amount of data continues to increase, further data compression is required. It was supposed to be.

【0003】[0003]

【発明が解決しようとする課題】ここで、圧縮されたデ
ータを伸長すると、圧縮する前のデータが元通りに必ず
復元される可逆的圧縮(ロスレス圧縮とも言う)では、
通常、圧縮する前のデータのビット列において同じビッ
トが連続する確率が大きいほど、圧縮率が向上する。こ
れに対して、多値の画像データのビット列では同じビッ
トが連続する確率が低いので、従来は、可逆的圧縮によ
る多値の画像データの圧縮率はそれほど良くなかった。
Here, when the compressed data is decompressed, the reversible compression (also referred to as lossless compression) in which the data before compression is always restored to the original state,
Normally, the compression ratio improves as the probability that the same bit continues in the bit string of the data before compression is increased. On the other hand, in a bit string of multi-valued image data, the probability that the same bit continues is low, and thus, the compression ratio of multi-valued image data by reversible compression has not been so good conventionally.

【0004】そこで、本発明は、可逆的圧縮による多値
の画像データの圧縮率を向上させた画像データ圧縮装置
を提供することを目的とする。
Accordingly, an object of the present invention is to provide an image data compression apparatus in which the compression ratio of multivalued image data by reversible compression is improved.

【0005】[0005]

【課題を解決するための手段】上記の目的を達成するた
め、本発明の画像データ圧縮装置では、多値の画像デー
タの可逆的圧縮を行うデータ圧縮装置において、圧縮を
行う前に多値の画像データのビット列を、可逆的圧縮の
アルゴリズムに適合し、圧縮率が大きくなるように、並
べ換えるようにしている。
In order to achieve the above object, in an image data compression apparatus according to the present invention, in a data compression apparatus for performing reversible compression of multivalued image data, a multivalued image data is compressed before compression. The bit sequence of the image data is rearranged so as to be adapted to a reversible compression algorithm and to increase the compression ratio.

【0006】例えば、圧縮を行う前に多値の画像データ
のビット列を所定数の画素データ毎に同じビット位のビ
ットを順次並べる作業を各ビット位に対して順次行うこ
とにより得られるビット列に並べ換えるようにすればよ
い。この構成により、同じビットが連続する確率が高く
なるようにビット列を並べ換えた後、多値の画像データ
の可逆的圧縮を行うことになる。
For example, before performing compression, a bit sequence of multi-valued image data is rearranged into a bit sequence obtained by sequentially arranging the bits of the same bit position for every predetermined number of pixel data for each bit position. What should I do? With this configuration, after rearranging the bit strings so that the probability that the same bits are continuous increases, lossless compression of multi-valued image data is performed.

【0007】[0007]

【発明の実施の形態】以下に、本発明の実施形態を図面
を参照しながら説明する。本発明の一実施形態であるP
Cスキャナ100は、そのブロック図を図1に示すよう
に、画像読み取りセンサ1、センサ制御回路2、補正処
理回路3、ビット列並べ換え回路4、圧縮回路5、及
び、インターフェース回路6から成る。
Embodiments of the present invention will be described below with reference to the drawings. One embodiment of the present invention, P
As shown in the block diagram of FIG. 1, the C scanner 100 includes an image reading sensor 1, a sensor control circuit 2, a correction processing circuit 3, a bit string rearrangement circuit 4, a compression circuit 5, and an interface circuit 6.

【0008】画像読み取りセンサ1は、センサ制御回路
2による制御の下で、画像を複数の画素に分解するとと
もに、各画素の光学情報をデジタルの電気信号に変換す
ることにより多値の画像データを生成する。補正処理回
路3は、画像読み取りセンサ1にて生成された多値の画
像データに対してシェーディング補正処理及びガンマ補
正処理を施す。
An image reading sensor 1 divides an image into a plurality of pixels under the control of a sensor control circuit 2 and converts multi-valued image data by converting optical information of each pixel into a digital electric signal. Generate. The correction processing circuit 3 performs shading correction processing and gamma correction processing on the multi-valued image data generated by the image reading sensor 1.

【0009】ビット列並べ換え回路4は、補正処理回路
3にて補正処理が施された多値の画像データのビット列
を並べ換える。圧縮回路5は、例えば、MH、MR、M
MR、JBIGなどの符号化方式を用いることにより、
ビット列並べ回路4にてビット列が並べ換えられた多値
の画像データの可逆的圧縮を行う。圧縮回路5にて圧縮
された多値の画像データは、インターフェース回路6を
介してパーソナルコンピュータ200へ送信される。
The bit sequence rearranging circuit 4 rearranges the bit sequence of the multivalued image data which has been subjected to the correction processing by the correction processing circuit 3. The compression circuit 5 includes, for example, MH, MR, M
By using coding methods such as MR and JBIG,
The multi-valued image data in which the bit sequence is rearranged by the bit sequence arranging circuit 4 is reversibly compressed. The multi-valued image data compressed by the compression circuit 5 is transmitted to the personal computer 200 via the interface circuit 6.

【0010】ビット列並べ換え回路4において行われる
ビット列の並べ換えについて説明する。ビット列並べ換
え回路4は、多値の画像データのビット列を、所定数の
画素データ毎に同ビット位のビットを順次並べる作業を
各ビット位に対して順次行うことにより得られるビット
列に並べ換える。
The rearrangement of bit strings performed in the bit string rearrangement circuit 4 will be described. The bit sequence rearranging circuit 4 rearranges the bit sequence of the multi-valued image data into a bit sequence obtained by sequentially performing the operation of sequentially arranging the same bit for every predetermined number of pixel data for each bit position.

【0011】すなわち、各画素データのビット数がnで
あり、また、ビット列並べ換え回路4がk個の画素デー
タ毎にビット列を並べ換える場合には、ビット列並べ換
え回路4に入力されたデータのビット列がb(1、n−
1)、b(1、n−2)、…、b(1、0)、b(2、
n−1)、b(2、n−2)、…、b(2、0)、b
(k、n−1)、b(k、n−2)、…、b(k、
0)、…であったとすると、ビット列並べ換え回路4か
ら出力されるデータのビット列はb(1、n−1)、b
(2、n−1)、…、b(k、n−1)、b(1、n−
2)、b(2、n−2)、…、b(k、n−2)、…、
b(1、0)、b(2、0)、…、b(k、0)、…と
なる。
That is, when the number of bits of each pixel data is n and the bit string rearranging circuit 4 rearranges the bit string for every k pixel data, the bit string of the data input to the bit string rearranging circuit 4 is b (1, n-
1), b (1, n-2),..., B (1, 0), b (2,
n-1), b (2, n-2),..., b (2, 0), b
(K, n-1), b (k, n-2), ..., b (k,
0),..., The bit strings of the data output from the bit string rearranging circuit 4 are b (1, n−1), b
(2, n-1), ..., b (k, n-1), b (1, n-
2), b (2, n-2), ..., b (k, n-2), ...,
b (1,0), b (2,0),..., b (k, 0),.

【0012】このように、ビット列並べ換え回路4で並
べ換えを行うことにより、多値の画像データのビット列
では、同じビットが連続する確率が高くなる。というの
は、通常の画像では、隣接する画素間の相関が強いの
で、多値の画像データであっても、複数の画素データ間
において同じビット位のビットが同じである確率は、1
つの画素データにおいて隣接するビット位のビットが同
じである確率よりも高いからである。尚、上位のビット
位ほど、複数の画素データ間においてビットが同じであ
る確率が高い。
As described above, by performing the reordering by the bit string reordering circuit 4, the probability that the same bit continues in the bit string of the multi-valued image data is increased. This is because, in a normal image, since the correlation between adjacent pixels is strong, even if the image data is multi-valued, the probability that the bit at the same bit position is the same among a plurality of pixel data is 1
This is because there is a higher probability that adjacent bits in one pixel data are the same. The higher the bit position, the higher the probability that the bits are the same among a plurality of pixel data.

【0013】例えば、各画素データが8ビットであり、
また、データの値が16進法でA0、A3、A5、A
7、A9、AA、AC、AEと徐々に大きくなる8個の
画素データについて見てみると、そのビット列は、図2
に示すXの方向を主走査方向、Yの方向を副走査方向と
して走査することにより得られるものであるが、ビット
列並べ換え回路4で行われる並べ換えを行って得られる
ビット列は、図2に示すYの方向を主走査方向、Xの方
向を副走査方向として走査することにより得られるもの
となり、ビット列並べ換え回路4で行われる並べ換えを
行った方がビット列において同じビットが連続する確率
が高くなっている。
For example, each pixel data is 8 bits,
The data values are A0, A3, A5, A in hexadecimal notation.
Looking at eight pieces of pixel data which gradually increase to 7, A9, AA, AC, and AE, the bit string is shown in FIG.
2 is obtained by scanning the X direction as the main scanning direction and the Y direction as the sub scanning direction. The bit sequence obtained by performing the rearrangement performed by the bit sequence rearranging circuit 4 is the Y line shown in FIG. In the main scanning direction and the X direction in the sub-scanning direction. The rearrangement performed by the bit sequence rearranging circuit 4 increases the probability that the same bit continues in the bit sequence. .

【0014】まとめると、本実施形態では、同じビット
が連続する確率が高くなるようにビット列を並べ換えた
後、多値の画像データの可逆的圧縮を行うことになるの
で、その圧縮率が向上する。具体的には、画像の種類に
よるが、1/2〜1/10に圧縮されることが期待され
る。そして、このように、可逆的圧縮による多値の画像
データの圧縮率が向上することで、画像の劣化を伴うこ
となく多値の画像データをパソコンに送信するのに要す
る時間が短縮される。
In summary, in the present embodiment, after reordering the bit strings so that the probability of the same bits continuing is high, lossless compression of multi-valued image data is performed, so that the compression ratio is improved. . Specifically, depending on the type of the image, it is expected that the image is compressed to 1/2 to 1/10. By improving the compression ratio of the multi-valued image data by the reversible compression, the time required for transmitting the multi-valued image data to the personal computer without deteriorating the image is reduced.

【0015】[0015]

【発明の効果】以上説明したように、本発明によれば、
同じビットが連続する確率が高くなるようにビット列を
並べ換えた後、多値の画像データの可逆的圧縮を行うこ
とになるので、その圧縮率が向上する。
As described above, according to the present invention,
After rearranging the bit strings so that the probability that the same bits are continuous increases, lossless compression of the multi-valued image data is performed, so that the compression ratio is improved.

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

【図1】 本発明の一実施形態であるPCスキャナのブ
ロック図である。
FIG. 1 is a block diagram of a PC scanner according to an embodiment of the present invention.

【図2】 ビット列並べ換え回路に入力されるビット列
と出力されるビット列との関係を説明するための図であ
る。
FIG. 2 is a diagram for explaining a relationship between a bit string input to a bit string reordering circuit and a bit string output.

【符号の説明】[Explanation of symbols]

1 画像読み取りセンサ 2 センサ制御回路 3 補正処理回路 4 ビット列並べ換え回路 5 圧縮回路 6 インターフェース回路 100 PCスキャナ 200 パーソナルコンピュータ DESCRIPTION OF SYMBOLS 1 Image reading sensor 2 Sensor control circuit 3 Correction processing circuit 4 Bit string rearrangement circuit 5 Compression circuit 6 Interface circuit 100 PC scanner 200 Personal computer

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 多値の画像データの可逆的圧縮を行うデ
ータ圧縮装置において、圧縮を行う前に多値の画像デー
タのビット列を、可逆的圧縮のアルゴリズムに適合し、
圧縮率が大きくなるように、並べ換えることを特徴とす
るデータ圧縮装置。
1. A data compression apparatus for performing reversible compression of multi-valued image data, wherein a bit string of the multi-valued image data is adapted to a reversible compression algorithm before compression.
A data compression device, wherein the data is rearranged so as to increase the compression ratio.
JP2000122431A 2000-04-24 2000-04-24 Data compressor Pending JP2001309185A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000122431A JP2001309185A (en) 2000-04-24 2000-04-24 Data compressor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000122431A JP2001309185A (en) 2000-04-24 2000-04-24 Data compressor

Publications (1)

Publication Number Publication Date
JP2001309185A true JP2001309185A (en) 2001-11-02

Family

ID=18632906

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000122431A Pending JP2001309185A (en) 2000-04-24 2000-04-24 Data compressor

Country Status (1)

Country Link
JP (1) JP2001309185A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10644720B2 (en) 2017-01-11 2020-05-05 Fujitsu Limited Information processing apparatus and information processing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10644720B2 (en) 2017-01-11 2020-05-05 Fujitsu Limited Information processing apparatus and information processing method

Similar Documents

Publication Publication Date Title
US7526029B2 (en) General purpose compression for video images (RHN)
JP4522199B2 (en) Image encoding apparatus, image processing apparatus, control method therefor, computer program, and computer-readable storage medium
JPH0529172B2 (en)
CA1175556A (en) System for transmitting a video signal with short runs avoided in a signal encoded from the video signal
US7433522B2 (en) JBIG coding apparatus and method with low cost, high-performance ping-pong buffer arrangement
US6404927B1 (en) Control point generation and data packing for variable length image compression
JP3231800B2 (en) Image encoding apparatus and image encoding method
JPH09139955A (en) Data coding device, its method, data decoding device and its method
JP2824910B2 (en) How to combine data into an image
JP2001309185A (en) Data compressor
JPH033440B2 (en)
US6690832B1 (en) Method, system, and program for decoding compressed data at multiple points
JP2000217003A (en) Coding system and decoding system
US20040017950A1 (en) Method of image compression
JP3407588B2 (en) Encoding / decoding device
JPH05151349A (en) Image data compressing method and encoding circuit
JP3010631B2 (en) Run-length coding
JPH06121174A (en) Encoder/decoder
JPS5840989A (en) Coding processing method and transmission controlling method of picture information
JPH05183760A (en) Binary picture compressing device and binary picture compression transmitting method
JPS62199171A (en) Dither picture encoding method
JP3344875B2 (en) Image processing device
JPH0789619B2 (en) Encoder
JPH06245086A (en) Encoding and decoding method
JPS62200979A (en) Encoding method for dither picture