JPH04352591A - Image data compressing circuit - Google Patents

Image data compressing circuit

Info

Publication number
JPH04352591A
JPH04352591A JP3127545A JP12754591A JPH04352591A JP H04352591 A JPH04352591 A JP H04352591A JP 3127545 A JP3127545 A JP 3127545A JP 12754591 A JP12754591 A JP 12754591A JP H04352591 A JPH04352591 A JP H04352591A
Authority
JP
Japan
Prior art keywords
data
data converter
image data
image
block
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
JP3127545A
Other languages
Japanese (ja)
Inventor
Hisashi Niwa
久 丹羽
Ikuyoshi Itou
郁義 伊東
Masayuki Uchiyama
雅之 内山
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.)
Kodak Digital Product Center Japan Ltd
Original Assignee
Kodak Digital Product Center Japan 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 Kodak Digital Product Center Japan Ltd filed Critical Kodak Digital Product Center Japan Ltd
Priority to JP3127545A priority Critical patent/JPH04352591A/en
Publication of JPH04352591A publication Critical patent/JPH04352591A/en
Pending legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

PURPOSE:To obtain the image data compressing circuit reducing error. CONSTITUTION:When a sharp edge is contained in inputted image data, a data converter selector 40 selects a data converter group with the large number of output quantizing bits for the unit of a block and a data converter selector 50 selects an optimum data converter from the selected data converter groups for the unit of a picture element. By compressing the image data in a data conversion part 30 while using the data converter selected in this way, the error to a source image conventionally concentrated at the edge of the image is reduced, and a satisfactorily decoded image can be obtained.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、画像情報をディジタル
データに変換して記憶媒体に記録するディジタル電子ス
チルカメラなどの装置に備えられた画像データ圧縮回路
に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image data compression circuit included in a device such as a digital electronic still camera that converts image information into digital data and records the data on a storage medium.

【0002】0002

【従来の技術】ディジタル電子スチルカメラは、被写体
である光学像をディジタルデータに変換し、このディジ
タルデータをICメモリカードなどの記憶装置に記録す
る。このようなディジタルデータは膨大なデータ容量に
なるので、これを限られた容量の記憶媒体内に記憶させ
るためのデータ圧縮が不可欠になる。
2. Description of the Related Art A digital electronic still camera converts an optical image of a subject into digital data and records this digital data in a storage device such as an IC memory card. Since such digital data has a huge amount of data, data compression is essential in order to store it in a storage medium with a limited capacity.

【0003】従来のデータ圧縮手法としては種々の方式
のものが提案されている。例えば、隣接画素間の相関性
を利用したDPCM方式(差分パルスコード変調方式)
や、あるいは画面内に縦n画素、横n画素からなるn×
n画素のブロックに区切り、ブロック毎にそのブロック
内の相関性を利用するDCT方式(離散コサイン変換方
式)などである。
Various types of conventional data compression methods have been proposed. For example, DPCM method (differential pulse code modulation method) that utilizes the correlation between adjacent pixels
Or, n × consisting of n pixels vertically and n pixels horizontally within the screen.
For example, the DCT method (discrete cosine transform method) divides the image into blocks of n pixels and uses the correlation within each block.

【0004】図9は、従来より知られているDPCM方
式を用いたディジタル電子スチルカメラの信号処理ブロ
ック図である。同図では、CCD201より出力された
映像信号が、増幅器202で増幅されて、色分離回路に
よって例えばR・G・Bの3色に分離される。R・G・
Bの各信号は、ガンマ回路204とホワイトバランス回
路205によって処理されて、これらの信号がA/D変
換回路206でディジタル信号に変換される。変換後の
信号はフィールドメモリ207に一時記憶される。そし
て、このフィールドメモリ207より画像データが読み
出され、DPCM符号化回路208で符号化される。こ
の信号はバッファメモリ209を介してICメモリカー
ドなどの記憶媒体210に書き込まれる。
FIG. 9 is a signal processing block diagram of a digital electronic still camera using the conventionally known DPCM system. In the figure, a video signal output from a CCD 201 is amplified by an amplifier 202, and separated into three colors, for example, R, G, and B, by a color separation circuit. R.G.
Each B signal is processed by a gamma circuit 204 and a white balance circuit 205, and these signals are converted into digital signals by an A/D conversion circuit 206. The converted signal is temporarily stored in field memory 207. Then, image data is read out from this field memory 207 and encoded by a DPCM encoding circuit 208. This signal is written to a storage medium 210 such as an IC memory card via a buffer memory 209.

【0005】次に、DPCM符号化回路208の一例と
して、画素適応DPCM符号化回路を図7に示す。この
方式は、注目している画素のサンプル値X0を先行する
サンプル値から予測して、注目している画素の値X0 
とその予測値X0 との差である予測誤差信号ε0 ε
0 =X0 −X0  を入力される画素データの画像データ量より少ないデー
タ量に変換するものである。
Next, as an example of the DPCM encoding circuit 208, a pixel adaptive DPCM encoding circuit is shown in FIG. This method predicts the sample value X0 of the pixel of interest from the preceding sample value, and
and its predicted value X0, the prediction error signal ε0 ε
0 = X0 - X0 into a data amount smaller than the image data amount of input pixel data.

【0006】予測方式としては、図8(a)に示す様に
注目する画素の左の画素をX1 、真上の画素をX2 
、右上の画素X3 としたとき X0 =1/2X1 +1/4(X2 +X3 )を予
測値とする2次元3点予測などがある。
As a prediction method, as shown in FIG. 8(a), the pixel to the left of the pixel of interest is set to X1, and the pixel directly above it is set to X2.
, there is a two-dimensional three-point prediction in which the predicted value is X0 = 1/2X1 + 1/4 (X2 + X3) when the upper right pixel is X3.

【0007】また、画素適応DPCM方式は、データ圧
縮のためのデータ変換器を複数個備え、既に得られた先
行画素の予測誤差信号の復号値によりそのデータ変換器
を画素ごとに選択し、切り換えている。ここで、復号値
とは図7のデータ逆変換器の出力信号である。
Furthermore, the pixel adaptive DPCM method includes a plurality of data converters for data compression, and selects and switches the data converter for each pixel based on the decoded value of the prediction error signal of the preceding pixel that has already been obtained. ing. Here, the decoded value is the output signal of the data inverse converter in FIG.

【0008】例えばデータ変換器の選択は図8(b)に
示すように、これからデータ圧縮する画素の左の画素に
おける予測誤差信号の復号値をε1 、真上の画素にお
ける予測誤差信号の復号値をε2 とすれば、選択の指
標εp は次式で示される。
For example, when selecting a data converter, as shown in FIG. 8(b), the decoded value of the prediction error signal at the pixel to the left of the pixel to be data compressed is set to ε1, and the decoded value of the prediction error signal at the pixel directly above is set to ε1. If ε2 is ε2, the selection index εp is expressed by the following equation.

【0009】εp =1/2(|ε1 |+|ε2 |
)すなわち、εp の値よりこれからデータ圧縮する予
測誤差信号がどのくらいあるかを予測して、適したデー
タ変換器を選択しようとするものである。
[0009] εp = 1/2 (|ε1 |+|ε2 |
) That is, the method attempts to select an appropriate data converter by predicting how much prediction error signal there will be to be data compressed based on the value of εp.

【0010】0010

【発明が解決しようとする課題】ところで、このような
従来の画素適応DPCM符号化回路においては、画素の
輝度が急峻に変化するエッジ部分で原画像との誤差が生
じ易い。これは、データ変換器が通常画像の人間の眼に
つき易い平坦部分の誤差を少なくするように設計されて
いるためで、入力される予測誤差信号が小さい時には、
細かいステップで量子化されるのに対して、入力される
予測誤差信号が大きくなると粗く量子化されるからであ
る。従って、予測誤差信号の値が増大する画像のエッジ
部分では、誤差を多く含んだ複合信号を得ることになる
However, in such a conventional pixel adaptive DPCM encoding circuit, errors with the original image tend to occur at edge portions where the brightness of pixels changes sharply. This is because the data converter is designed to reduce errors in flat parts of images that are easily noticeable to the human eye, and when the input prediction error signal is small,
This is because quantization is performed in fine steps, whereas as the input prediction error signal becomes large, it is quantized coarsely. Therefore, at the edge portion of the image where the value of the prediction error signal increases, a composite signal containing many errors will be obtained.

【0011】本発明はこのような問題を解決して、誤差
の少ない画像データ圧縮回路を提供することを目的とす
る。
An object of the present invention is to solve these problems and provide an image data compression circuit with fewer errors.

【0012】0012

【課題を解決するための手段】上記の課題を解決するた
めに、本発明の画像データ圧縮回路には、入力された画
像データを複数のブロックに分割し、各ブロックの輝度
変化量に合わせて最適なデータ変換器群をブロック単位
に選択するデータ変換器群選択部と、データ変換器群選
択部で選択されたデータ変換器群の中から、最適なデー
タ変換器を画素単位に選択するデータ変換器選択部と、
データ変換特性の異なる複数のデータ変換器からなるデ
ータ変換器群を出力量子化ビット数ごとに複数備え、デ
ータ変換器選択部で選択されたデータ変換器を用いて入
力された画像データを圧縮するデータ変換部とが備えら
れている。
[Means for Solving the Problems] In order to solve the above problems, the image data compression circuit of the present invention divides input image data into a plurality of blocks, and divides the input image data into a plurality of blocks according to the amount of change in brightness of each block. A data converter group selection section that selects an optimal data converter group in block units; and data that selects an optimal data converter for each pixel from among the data converter groups selected by the data converter group selection section. a converter selection section;
A plurality of data converter groups each consisting of a plurality of data converters with different data conversion characteristics are provided for each number of output quantization bits, and input image data is compressed using the data converter selected by the data converter selection section. A data conversion section is provided.

【0013】[0013]

【作用】本発明の画像データ圧縮回路は以上のように構
成されるので、入力された画像データに急峻なエッジが
含まれていた場合には、データ変換器群選択部で出力量
子化ビット数の大きなデータ変換器群をブロック単位に
選択し、選択されたデータ変換器群の中から最適なデー
タ変換器を画素単位にデータ変換器選択部で選択する。 このように選択されたデータ変換器を用いて、画像デー
タをデータ変換部で圧縮することにより、原画像との誤
差が少なくなる。また、輝度が平坦な画像データの場合
には、データ変換器群選択部で出力量子化ビット数の小
さなデータ変換器群をブロック単位に選択し、選択され
たデータ変換器群の中から最適なデータ変換器を画素単
位にデータ変換器選択部で選択する。このように選択さ
れたデータ変換器を用いて、画像データをデータ変換部
で圧縮することにより、データ量の増大が抑えられる。
[Operation] Since the image data compression circuit of the present invention is configured as described above, if the input image data contains steep edges, the data converter group selection section selects the number of output quantization bits. A large data converter group is selected block by block, and the data converter selection section selects an optimal data converter from the selected data converter group pixel by pixel. By compressing the image data in the data converter using the data converter selected in this way, errors with the original image are reduced. In addition, in the case of image data with flat brightness, the data converter group selection section selects a data converter group with a small number of output quantization bits in units of blocks, and selects the optimal data converter group from the selected data converter group. A data converter selection section selects a data converter pixel by pixel. By compressing the image data in the data converter using the data converter selected in this way, an increase in the amount of data can be suppressed.

【0014】[0014]

【実施例】以下、添付図面の図1から図6を参照して、
本発明の第1の実施例および第2の実施例について説明
する。
[Example] Hereinafter, with reference to FIGS. 1 to 6 of the accompanying drawings,
A first embodiment and a second embodiment of the present invention will be described.

【0015】図1は本発明の第1の実施例に係る画像デ
ータ圧縮回路の構成図である。第1の実施例の画像デー
タ圧縮回路には、画像データが入力される入力端子10
と、入力された画像データを1ブロックラインごとに記
憶するブロックラインメモリ20と、注目画素の値X0
 から予測値X0 を減算するための加算器25と、加
算器25からの出力データを圧縮するために複数のデー
タ変換器群を備えたデータ変換部であるデータ圧縮器3
0と、データ圧縮器30で使用するデータ変換器群を選
択するデータ変換器群選択器40と、選択の指標εpを
算出して特定のデータ変換器を選択するデータ変換器選
択器50と、データ圧縮器30で圧縮された画像データ
にデータ変換器群番号を付加するデータ付加器60と、
データ付加器60からの出力データが与えられる出力端
子70と、データ圧縮器30で圧縮されたデータを復号
し復号時に発生する誤差の累積を防止する局部復号器8
0とが備えられている。データ圧縮器30には、出力量
子化ビット数の異なる複数のデータ変換器群31、32
、33と、データ変換器選択器50からの信号で特定の
データ変換器を選択するスイッチ34、35、36と、
データ変換器群選択器40からの信号で特定のデータ変
換器群を選択するスイッチ37とが備えられている。こ
こで出力量子化ビット数が異なるとは、データ圧縮率が
異なることを意味する。また、データ変換器群31に備
えられた各データ変換器は例えば8ビットのデータを3
ビットのデータに圧縮する機能を持つ。局部復号器80
には、データ変換器群31、32、33とペアになる複
数のデータ逆変換器群81、82、83と、データ変換
器選択器50からの信号で特定のデータ逆変換器を選択
するスイッチ84、85、86と、データ変換器群選択
器40からの信号で特定のデータ逆変換器群を選択する
スイッチ87と、スイッチ87からの予測誤差信号ε0
 と予測値X0 を加算する加算器88と、加算器25
に与える予測値X0 を生成する予測器89とが備えら
れている。データ逆変換器群81は例えば3ビットのデ
ータを8ビットのデータに復号する機能を持つ。さらに
、データ付加器60によるデータ変換器群番号の付加は
、画像データの各ブロックデータの先頭あるいは末尾に
付加してもよく、また画像データの先頭にヘッダ情報と
して付加してもよい。
FIG. 1 is a block diagram of an image data compression circuit according to a first embodiment of the present invention. The image data compression circuit of the first embodiment includes an input terminal 10 to which image data is input.
, a block line memory 20 that stores input image data for each block line, and a value X0 of the pixel of interest.
an adder 25 for subtracting the predicted value
0, a data converter group selector 40 that selects a data converter group to be used in the data compressor 30, and a data converter selector 50 that selects a specific data converter by calculating a selection index εp. a data adder 60 that adds a data converter group number to the image data compressed by the data compressor 30;
An output terminal 70 to which output data from the data adder 60 is given, and a local decoder 8 that decodes the data compressed by the data compressor 30 and prevents the accumulation of errors that occur during decoding.
0 is provided. The data compressor 30 includes a plurality of data converter groups 31 and 32 having different numbers of output quantization bits.
, 33, and switches 34, 35, and 36 for selecting a specific data converter using a signal from the data converter selector 50,
A switch 37 for selecting a specific data converter group based on a signal from the data converter group selector 40 is provided. Here, different numbers of output quantization bits mean different data compression rates. Furthermore, each data converter included in the data converter group 31 converts, for example, 8-bit data into 3
It has the ability to compress data into bits. Local decoder 80
includes a plurality of data inverse converter groups 81, 82, 83 that are paired with the data converter groups 31, 32, 33, and a switch that selects a specific data inverse converter using a signal from the data converter selector 50. 84, 85, 86, a switch 87 for selecting a specific data inverse converter group using the signal from the data converter group selector 40, and a prediction error signal ε0 from the switch 87.
an adder 88 that adds the predicted value X0 and an adder 25
A predictor 89 that generates a predicted value X0 to be given to is provided. The data inverse converter group 81 has a function of decoding, for example, 3-bit data into 8-bit data. Furthermore, the data converter group number may be added by the data adder 60 to the beginning or end of each block of image data, or may be added to the beginning of the image data as header information.

【0016】次に、第1の実施例の動作について説明す
る。入力端子10に与えられた画像データは2つの経路
に別れる。1つの経路はブロックラインメモリ20への
入力で、1ブロックライン分のデータを記憶する。ここ
で、1ブロックラインとは、図4に示すようにブロック
の縦方向の画素と同じ数のラインをいう。もう1つの経
路は、データ変換器群選択器40への入力である。デー
タ変換器群の選択規則は、例えば図5に示すようなDP
CM回路の予測誤差信号を指標として、ブロック内の予
測誤差信号の絶対値の最大値(以下|ε|max とい
う。)によって切り換えればよい。データ変換器群31
〜33はブロック内の画像データに急峻なエッジが含ま
れていた場合(上記の|ε|max が大きな場合)、
出力量子化ビットの多いデータ変換器群(例えば図3(
c))を選択し、またブロック内の画像データが平坦な
場合(上記の|ε|max が小さい場合)、出力量子
化ビットの小さなデータ変換器群(例えば図3(a))
を選択する。
Next, the operation of the first embodiment will be explained. Image data applied to the input terminal 10 is divided into two paths. One path is an input to the block line memory 20, which stores data for one block line. Here, one block line refers to the same number of lines as the number of pixels in the vertical direction of the block, as shown in FIG. Another path is the input to data converter group selector 40. The selection rule for the data converter group is, for example, DP as shown in FIG.
Using the prediction error signal of the CM circuit as an index, switching may be performed according to the maximum absolute value of the prediction error signal within the block (hereinafter referred to as |ε|max). Data converter group 31
~33 is when the image data in the block contains a steep edge (when |ε|max above is large),
A group of data converters with many output quantization bits (for example, Fig. 3 (
c)), and when the image data in the block is flat (when |ε|max above is small), a group of data converters with small output quantization bits (for example, Fig. 3(a)) is selected.
Select.

【0017】ブロックラインメモリ20に1ブロックラ
イン分の画像データを蓄積する間にデータ変換器群選択
器40で各ブロックで使用するデータ変換器群を選択す
る。そして、ブロックラインメモリよりデータを読み出
すときに、スイッチ37、87を切り換えて、1ブロッ
クの画像データを所望のデータ変換器群に転送する。さ
らに、データ変換器選択器50からの指示でスイッチ3
4〜36を切り換えて、送られてきた画像データを画素
ごとに最適なデータ変換器を用いて圧縮する。データ変
換器選択器50からのスイッチ34〜36への指示は、
先行画素の予測誤差信号から生成された画像データの復
号値を局部復号器80から入力して、画素適応DPCM
方式を用いて最適なデータ変換器を画素ごとに選択して
行う。このように圧縮された画像データをデータ付加器
60に送り、各ブロックで使用したデータ変換器群番号
を付加して、出力端子70に与える。
While one block line worth of image data is stored in the block line memory 20, a data converter group selector 40 selects a data converter group to be used in each block. Then, when reading data from the block line memory, the switches 37 and 87 are switched to transfer one block of image data to a desired data converter group. Furthermore, the switch 3 is
4 to 36, and compresses the sent image data using the most suitable data converter for each pixel. The instructions from the data converter selector 50 to the switches 34 to 36 are as follows:
The decoded value of the image data generated from the prediction error signal of the preceding pixel is input from the local decoder 80, and the pixel adaptive DPCM
The method is used to select the optimal data converter for each pixel. The image data compressed in this manner is sent to the data adder 60, the data converter group number used in each block is added, and the data is sent to the output terminal 70.

【0018】次に、第2の実施例について、図2を用い
て説明する。第2の実施例の構成が上述した第1の実施
例と違うのは、ブロックラインメモリ20の代わりに1
画面分の画像データを記憶するフィールドメモリ90が
用いられていることと、データ変換器群選択器40にビ
ットレート算出器91が備えられていることである。こ
のビットレート算出器91は、データ変換器選択器40
からの信号を受けて、画像の符号化後のビットレート(
単位画素当りのビット数:符号化後の1画面すべてのデ
ータ量をビット表示したものを1画面すべての画素数で
除した値)の計算を行う。
Next, a second embodiment will be explained using FIG. 2. The configuration of the second embodiment differs from the first embodiment described above in that the block line memory 20 is replaced by one block line memory 20.
A field memory 90 for storing image data for a screen is used, and a bit rate calculator 91 is provided in the data converter group selector 40. This bit rate calculator 91 is connected to the data converter selector 40
bit rate after encoding the image (
The number of bits per unit pixel: the value obtained by dividing the data amount of all one screen after encoding, expressed in bits, by the number of pixels of all one screen) is calculated.

【0019】次に、第2の実施例の動作について説明す
る。入力端子10に与えられた画像データは、一旦フィ
ールドメモリ90に記憶され、まず予め定められたデー
タ変換器群の選択規則により1画面全体のブロックにお
いて使用するデータ変換器群を決定する。各データ変換
器群は各々予め定められた異なるビット数を有している
が、同一変換器群内の変換器の出力ビット数が等しいた
め、使用する変換器群が定まりさえすれば、各ブロック
内の符号化後のビットレートを算出することが可能であ
る。そこで、次に、ビットレート算出器110を用いて
、符号化後のビットレートを計算する。ここで、目標の
ビットレートと違った場合には、データ変換器群選択器
の選択規則を変更して、上記の動作を繰り返す。例えば
データ変換器群の選択の指標を第1の実施例と同じく|
ε|max とした場合、データ変換器群の選択規則を
次表のようにして、目標のビットレートとなるようにレ
ート値mの値を変化させる方法などがある。次表では、
さらに、m=2、8の場合の例を併せて示している。
Next, the operation of the second embodiment will be explained. The image data applied to the input terminal 10 is temporarily stored in the field memory 90, and first, a data converter group to be used in a block of one entire screen is determined according to a predetermined data converter group selection rule. Each data converter group has a predetermined different number of bits, but since the converters in the same converter group have the same number of output bits, once the converter group to be used is determined, each block It is possible to calculate the bit rate after encoding. Therefore, next, the bit rate after encoding is calculated using the bit rate calculator 110. Here, if the bit rate is different from the target bit rate, the selection rule of the data converter group selector is changed and the above operation is repeated. For example, the index for selecting the data converter group is the same as in the first embodiment.
When ε|max, there is a method in which the data converter group selection rules are as shown in the table below, and the value of the rate value m is changed so that the target bit rate is achieved. In the following table,
Furthermore, examples in the case of m=2 and 8 are also shown.

【0020】[0020]

【0021】[0021]

【表1】[Table 1]

【0022】この表より、mの値が小さい程、予測誤差
信号の絶対値の最大値が小さいブロックでも量子化ビッ
ト数の大きなデータ変換器が選択されることがわかる。 この選択によって画質は向上するが、画像全体の符号化
データ量(すなわちビットレート)が大きくなる。ここ
で、目標のビットレート算出のためのフローチャートを
図6に示す。図6では、まず、プリスキャンによって各
ブロックの|ε|max を求める(ステップ100)
。そして、mの初期値を設定して、その選択規則によっ
てビットレートを計算する(ステップ101)。次に、
計算結果が目標のビットレート以内かを調べて(ステッ
プ102)、目標のビットレートを越えていた場合には
、徐々にmの値を増加させる(ステップ103)。ステ
ップ101〜ステップ103のループを繰り返し、最終
的に目標のビットレート以内に収まるようなmの値を求
める。そして、目標とするビットレートのレート値mを
決定した後、それに従い符号化を行ってデータを出力す
る。
From this table, it can be seen that the smaller the value of m, the more a data converter with a larger number of quantization bits is selected even in a block where the maximum absolute value of the prediction error signal is smaller. This selection improves the image quality, but increases the amount of encoded data (ie, bit rate) for the entire image. Here, a flowchart for calculating the target bit rate is shown in FIG. In FIG. 6, first, |ε|max of each block is determined by prescanning (step 100).
. Then, an initial value of m is set, and the bit rate is calculated according to the selection rule (step 101). next,
It is checked whether the calculation result is within the target bit rate (step 102), and if it exceeds the target bit rate, the value of m is gradually increased (step 103). The loop from step 101 to step 103 is repeated to find a value of m that ultimately falls within the target bit rate. Then, after determining the rate value m of the target bit rate, encoding is performed in accordance with the rate value m and the data is output.

【0023】以上のように、第2の実施例では、各ブロ
ックごとにそのブロックに含まれるエッジの量によって
出力量子化ビット数を切り替えるため、輝度変化の激し
い画像と輝度変化が平坦な画像とではデータ圧縮後のデ
ータ量が異なる。ICメモリカードなど容量の限られた
記憶媒体に、上記データを記憶すると、記憶できる画像
の枚数が変化する。この画像をプリスキャンすることに
より、データ変換器群の選択規則を各ブロックごとに調
整することができ、データ圧縮後の画面全体のデータ量
を一定にすることができる。この機能によって記憶画像
の枚数管理が容易に行える。
As described above, in the second embodiment, the number of output quantization bits is switched for each block depending on the amount of edges included in that block, so an image with sharp brightness changes and an image with flat brightness changes can be distinguished. The amount of data after data compression differs. When the above data is stored in a storage medium with limited capacity, such as an IC memory card, the number of images that can be stored changes. By prescanning this image, the selection rules for the data converter group can be adjusted for each block, and the amount of data for the entire screen after data compression can be made constant. This function makes it easy to manage the number of stored images.

【0024】なお、データ変換器群の選択指標は、実施
例に示した予測誤差信号のみならず、例えば画素データ
の輝度値の標準偏差を用いる方法などがある。
Note that the selection index for the data converter group is not limited to the prediction error signal shown in the embodiment, but there is also a method using, for example, the standard deviation of the luminance values of pixel data.

【0025】また、本実施例では、画像データ圧縮の手
法としてDPCM方式を用いて説明したが、DCTなど
の他の画像データ圧縮方式を用いてもよい。
Furthermore, although this embodiment has been described using the DPCM method as an image data compression method, other image data compression methods such as DCT may also be used.

【0026】[0026]

【発明の効果】以上、詳細に説明した通り本発明の画像
データ圧縮回路であれば、1画面分の画像データを複数
のブロックに分割し、急峻なエッジを含むブロックは出
力量子化ビットの多いデータ変換部で画像を符号化し、
平坦な画像だけのブロックは出力量子化ビットの少ない
データ変換部で画像を符号化する。このような動作によ
って、従来、画像のエッジに集中していた原画像との誤
差が小さくなり、良好な復号画像を得ることができる。
[Effects of the Invention] As explained above in detail, the image data compression circuit of the present invention divides one screen worth of image data into multiple blocks, and blocks containing steep edges have a large number of output quantization bits. The data conversion unit encodes the image,
For a block containing only a flat image, the image is encoded by a data conversion unit with a small number of output quantization bits. By such an operation, errors with the original image, which conventionally were concentrated at the edges of the image, are reduced, and a good decoded image can be obtained.

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

【図1】第1の実施例に係る画像データ圧縮回路の構成
図である。
FIG. 1 is a configuration diagram of an image data compression circuit according to a first embodiment.

【図2】第2の実施例に係る画像データ圧縮回路の構成
図である。
FIG. 2 is a configuration diagram of an image data compression circuit according to a second embodiment.

【図3】データ変換器の特性例を示す図である。FIG. 3 is a diagram showing an example of characteristics of a data converter.

【図4】1画面分の画像データを示す概念図である。FIG. 4 is a conceptual diagram showing image data for one screen.

【図5】DPCM回路を示す構成図である。FIG. 5 is a configuration diagram showing a DPCM circuit.

【図6】ビットレート算出のフローチャートである。FIG. 6 is a flowchart of bit rate calculation.

【図7】従来例に係る画素適応DPCM符号化回路の構
成図である。
FIG. 7 is a configuration diagram of a pixel adaptive DPCM encoding circuit according to a conventional example.

【図8】画素の構成を示す概念図である。FIG. 8 is a conceptual diagram showing the configuration of a pixel.

【図9】従来例に係るディジタル電子スチルカメラの信
号処理ブロック図である。
FIG. 9 is a signal processing block diagram of a conventional digital electronic still camera.

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

10…入力端子 20…ブロックラインメモリ 30…データ圧縮器 40…データ変換器群選択器 50…データ変換器選択器 60…データ付加器 70…出力端子 80…局部復号器 10...Input terminal 20...Block line memory 30...Data compressor 40...Data converter group selector 50...Data converter selector 60...Data adder 70...Output terminal 80...Local decoder

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】  入力された画像データを複数のブロッ
クに分割し、各ブロックの輝度変化量に合わせて最適な
データ変換器群をブロック単位に選択するデータ変換器
群選択部と、前記データ変換器群選択部で選択されたデ
ータ変換器群の中から、最適なデータ変換器を画素単位
に選択するデータ変換器選択部と、データ変換特性の異
なる複数のデータ変換器からなるデータ変換器群を出力
量子化ビット数ごとに複数備え、前記データ変換器選択
部で選択されたデータ変換器を用いて入力された画像デ
ータを圧縮するデータ変換部とを備えることを特徴とす
る画像データ圧縮回路。
1. A data converter group selection unit that divides input image data into a plurality of blocks and selects an optimal data converter group for each block according to the amount of change in brightness of each block; a data converter selection section that selects an optimal data converter for each pixel from among the data converter group selected by the data converter group selection section; and a data converter group consisting of a plurality of data converters with different data conversion characteristics. an image data compression circuit comprising: a plurality of data converters for each number of output quantization bits, and a data converter that compresses input image data using the data converter selected by the data converter selector. .
【請求項2】  データ変換器群選択器の選択規則を入
力画像のプリスキャンによって各ブロック毎に変化させ
、データ変換後の画面全体のデータ量が一定となるよう
に制御することを特徴とする請求項1記載の画像データ
圧縮回路。
2. The method is characterized in that the selection rule of the data converter group selector is changed for each block by pre-scanning the input image, and the data amount of the entire screen after data conversion is controlled to be constant. An image data compression circuit according to claim 1.
【請求項3】  データ変換器群の選択を各ブロック内
の予測誤差信号値を用いて演算した値を指標として行う
ことを特徴とする請求項1または請求項2記載の画像デ
ータ圧縮回路。
3. The image data compression circuit according to claim 1, wherein the data converter group is selected using a value calculated using a prediction error signal value in each block as an index.
【請求項4】  データ変換器群の選択を各ブロック内
の予測誤差信号値の絶対値の最大値を指標として行うこ
とを特徴とする請求項1または請求項2記載の画像デー
タ圧縮回路。
4. The image data compression circuit according to claim 1, wherein the data converter group is selected using the maximum absolute value of the prediction error signal value in each block as an index.
JP3127545A 1991-05-30 1991-05-30 Image data compressing circuit Pending JPH04352591A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3127545A JPH04352591A (en) 1991-05-30 1991-05-30 Image data compressing circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3127545A JPH04352591A (en) 1991-05-30 1991-05-30 Image data compressing circuit

Publications (1)

Publication Number Publication Date
JPH04352591A true JPH04352591A (en) 1992-12-07

Family

ID=14962660

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3127545A Pending JPH04352591A (en) 1991-05-30 1991-05-30 Image data compressing circuit

Country Status (1)

Country Link
JP (1) JPH04352591A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7297229B2 (en) 1998-01-13 2007-11-20 Kao Corporation Paper bulking promoter

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7297229B2 (en) 1998-01-13 2007-11-20 Kao Corporation Paper bulking promoter

Similar Documents

Publication Publication Date Title
US6941021B2 (en) Video conferencing
KR100335707B1 (en) Coding method, coding apparatus, decoding method and decoding apparatus of image signal
US6414992B1 (en) Optimal encoding of motion compensated video
US6163574A (en) Motion picture encoding system for either intra-frame encoding or inter-frame encoding
JP3205498B2 (en) Coding method and decoding method for continuous image
CN101107862B (en) Encoding device and dynamic image recording system having the encoding device
JP3097665B2 (en) Time-lapse recorder with anomaly detection function
JPH0686262A (en) Apparatus for encoding of image
JPH11510989A (en) Method and apparatus for decoding an encoded digital video signal
JPH09200758A (en) Image encoder
JP3202433B2 (en) Quantization device, inverse quantization device, image processing device, quantization method, inverse quantization method, and image processing method
CN110087074B (en) Image processing apparatus and method for operating the same
KR20020026189A (en) Efficient video data access using fixed ratio compression
KR102543449B1 (en) Image processing device and method for operating image processing device
JPH04352591A (en) Image data compressing circuit
JP3689437B2 (en) Image signal encoding method and apparatus
KR19990041929A (en) Compression rate auto-conversion device of image coding system
JP2916027B2 (en) Image coding device
JPH0273793A (en) High efficient coding device
JP3049070B2 (en) Image efficient coding method
JP2597003B2 (en) Image signal compression coding device
KR0166728B1 (en) The image signal encoding apparatus for edge characteristics and the quantization level decision method
KR100234311B1 (en) Video data encoding method and circuit thereof
JP3689626B2 (en) Image signal decoding method and apparatus
JP3038684B2 (en) Image transmission method