JPH042275A - Video signal decoding and reproducing device - Google Patents

Video signal decoding and reproducing device

Info

Publication number
JPH042275A
JPH042275A JP2101739A JP10173990A JPH042275A JP H042275 A JPH042275 A JP H042275A JP 2101739 A JP2101739 A JP 2101739A JP 10173990 A JP10173990 A JP 10173990A JP H042275 A JPH042275 A JP H042275A
Authority
JP
Japan
Prior art keywords
activity
block
random noise
section
pass filter
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
JP2101739A
Other languages
Japanese (ja)
Inventor
Mikio Watanabe
幹夫 渡辺
Kaname Nihei
要 二瓶
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.)
Fujifilm Holdings Corp
Original Assignee
Fuji Photo Film 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 Fuji Photo Film Co Ltd filed Critical Fuji Photo Film Co Ltd
Priority to JP2101739A priority Critical patent/JPH042275A/en
Priority to US07/682,244 priority patent/US5229864A/en
Publication of JPH042275A publication Critical patent/JPH042275A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)

Abstract

PURPOSE:To surely eliminate distortion between blocks by adding a random noise to a picture element data based on the activity calculated for each block. CONSTITUTION:When a compressed picture data is subject to Huffman, inverse normalizing and 2-dimension orthogonal conversion at a Huffman decoding section 12, an inverse normalizing section 14 and a 2dimension orthogonal conversion section 16 respectively, a block activity calculation section 36 takes notice of a specific block to calculate the activity. An activity discrimination section 38 compares the calculated activity with a threshold level and an output from the activity discrimination section 38 is sent to a low pass filter section 28 and a coefficient setting circuit 32. when the activity is low, a picture element at a block border by the low pass filter is corrected and random noise is added. When the activity of the picture is high, the correction of picture element and the addition of random noise are not implemented. Thus, a reproduced picture data whose inter-block distortion is reduced is obtained.

Description

【発明の詳細な説明】 皮血豆1 本発明は画像信号復号再生装置に関し、特に、圧縮符号
化された画像データのブロック歪を減少させて復号再生
する画像信号復号再生装置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an image signal decoding and reproducing apparatus, and more particularly to an image signal decoding and reproducing apparatus that decodes and reproduces compression-encoded image data while reducing block distortion.

背景技術 電子スチルカメラにより撮影された画像データのような
ディジタル画像データをメモリに記憶する場合、または
伝送する場合には、データ量を減らすため、各種の圧縮
符号化が行われている。特に2次元直交変換符号化は、
大きな圧縮率で符号化を行うことができ、かつ符号化に
伴う画像歪も抑圧できることから、広く用いられている
BACKGROUND ART When storing digital image data such as image data taken by an electronic still camera in a memory or transmitting it, various types of compression encoding are performed to reduce the amount of data. In particular, two-dimensional orthogonal transform encoding
It is widely used because it can perform encoding at a high compression rate and also suppress image distortion caused by encoding.

このような2次元直交変換符号化においては、画像デー
タは所定の数のブロックに分割され、それぞれのブロッ
ク内の画像データが2次元直交変換される。直交変換さ
れた画像データ、すなわち変換係数は、所定の閾値と比
較され、閾値以下の部分の切り捨て(係数切り捨て)が
行われる。係数切り捨てが行われた変換係数は、所定の
量子化ステップ値、すなわち正規化係数により除算され
、ステップ幅による量子化、すなわち正規化が行われる
。その後、正規化された変換係数はハフマン符号化され
、圧縮画像データが得られる。
In such two-dimensional orthogonal transform encoding, image data is divided into a predetermined number of blocks, and the image data within each block is subjected to two-dimensional orthogonal transform. The orthogonally transformed image data, that is, the transformation coefficients, are compared with a predetermined threshold, and portions below the threshold are truncated (coefficient truncation). The transform coefficients whose coefficients have been truncated are divided by a predetermined quantization step value, that is, a normalization coefficient, and quantization, that is, normalization, is performed according to the step width. The normalized transform coefficients are then Huffman encoded to obtain compressed image data.

このような圧縮画像データを復号する場合には、ハフマ
ン復号した後、逆正規化および直交逆変換を行い、元の
画像データを得る。しかしながら、画像データは圧縮符
号化においてブロック化され、直交変換、符号化されて
いるため、復号された画像データにはブロック間に歪が
発生する。
When decoding such compressed image data, after Huffman decoding, inverse normalization and orthogonal inverse transformation are performed to obtain the original image data. However, since the image data is compressed and encoded into blocks, orthogonally transformed and encoded, distortion occurs between blocks in the decoded image data.

特に変化の少ないなだらかな画像の部分には、ブロック
の境界(エツジ)が目立ち、画像が劣化するという問題
があった。
Particularly in areas of a gentle image with little change, there is a problem in that the boundaries (edges) between blocks are noticeable and the image deteriorates.

そこでこのような歪を少なくするため、ローパスフィル
タを使用してブロックの境界に現れるエツジ、すなわち
ブロックの輪郭を和らげることが考えられる。
Therefore, in order to reduce such distortion, it is conceivable to use a low-pass filter to soften the edges that appear at the boundaries of blocks, that is, the contours of blocks.

しかし、再生画像にはシャープネスの劣化が見られ、上
記のようにローパスフィルタを使用した場合には、ロー
パスフィルタによって高周波数成分がカットされるため
、再生画像のシャープネスがさらに劣化するという問題
があった。
However, there is a problem in that the sharpness of the reproduced image deteriorates, and when a low-pass filter is used as described above, the high-frequency components are cut by the low-pass filter, which further deteriorates the sharpness of the reproduced image. Ta.

目  的 本発明はこのような従来技術の問題点を解消し、圧縮符
号化された画像データのブロック聞手を減少させた再生
画像データを得ることのできる画像信号復号再生装置を
提供することを目的とする。
OBJECT OF THE INVENTION It is an object of the present invention to provide an image signal decoding and reproducing apparatus that can solve the problems of the prior art and obtain reproduced image data with a reduced number of block listeners of compressed and encoded image data. purpose.

光泄し]Jl逐 本発明によれば、複数のブロックに分割され、各ブロッ
クの画像データについて2次元直交変換符号化を行われ
たディジタル画像データを復号再生する画像信号復号再
生装置は、デジタル画像データを逆正規化する逆正規化
手段と、逆正規化手段により逆正規化されたデータを2
次元直交逆変換する直交逆変換手段と、2次元直交変換
符号化されたディジタル画像データの分割されたブロッ
クごとのアクティビティを算出するアクティビティ算出
手段と、ランダムノイズを発生ずるランダムノイズ発生
手段と、直交逆変換手段により2次元直交逆変換された
画素データに、ランダムノイズ発生手段から発生された
ランダムノイズを付加するランダムノイズ付加手段とを
有し、ランダムノイズ付加手段は、ブロックごとのアク
ティビティに基づいてランダムノイズの付加を行うもの
である。
According to the present invention, an image signal decoding and reproducing apparatus that decodes and reproduces digital image data that has been divided into a plurality of blocks and subjected to two-dimensional orthogonal transform encoding for the image data of each block is a digital A denormalization means for denormalizing the image data, and a denormalization means for denormalizing the data by the denormalization means.
orthogonal inverse transform means for performing dimensional orthogonal inverse transform; activity calculation means for calculating activity for each divided block of digital image data encoded by two-dimensional orthogonal transform; random noise generation means for generating random noise; Random noise addition means adds random noise generated from the random noise generation means to pixel data subjected to two-dimensional orthogonal inverse transformation by the inverse transformation means, and the random noise addition means adds random noise generated from the random noise generation means to pixel data subjected to two-dimensional orthogonal inverse transformation by the inverse transformation means, and the random noise addition means This adds random noise.

実施例の説明 次に添付図面を参照して本発明による画像信号復号再生
装置の実施例を詳細に説明する。
DESCRIPTION OF EMBODIMENTS Next, embodiments of the image signal decoding and reproducing apparatus according to the present invention will be described in detail with reference to the accompanying drawings.

第1図には本発明による画像信号復号再生装置の一実施
例が示されている。
FIG. 1 shows an embodiment of an image signal decoding and reproducing apparatus according to the present invention.

本装置には、圧縮符号化された画像データが入力され復
号再生される。本装置により復号再生される画像データ
は第2図に示すような圧縮符号化装置によって圧縮符号
化された画像データである。第2図に示す装置において
は、入力端子40がら入力された画像データがブロック
分割部42において8x8の画素からなる複数のブロッ
クに分割され、2次元直交変換部44において2次元直
交変換される。さらに、正規化部46において正規化係
数によって除算されることにより正規化される。正規化
されたデータは、ハフマン符号化部48においてハフマ
ン符号化される。
Compression-encoded image data is input to this device and decoded and reproduced. The image data decoded and reproduced by this apparatus is image data compressed and encoded by a compression encoding apparatus as shown in FIG. In the apparatus shown in FIG. 2, image data input through an input terminal 40 is divided into a plurality of blocks each consisting of 8x8 pixels in a block division section 42, and subjected to two-dimensional orthogonal transformation in a two-dimensional orthogonal transformation section 44. Further, the normalization unit 46 performs normalization by dividing by a normalization coefficient. The normalized data is Huffman encoded in a Huffman encoder 48.

ハフマン符号化部48には、正規化されたデータが第4
図に示すようにジグザグ状にスキャンされて入力される
。正規化された変換係数においては零が連続することが
多いため、零の値のデータの連続する量すなわち零のラ
ン長を検出し、零のラン長および非零の振幅を求め、こ
れを2次元ハフマン符号化する。2次元ハフマン符号化
された画像データが出力端子50から出力される。
The Huffman encoding unit 48 stores the normalized data in the fourth
As shown in the figure, the data is scanned in a zigzag pattern and input. Since zeros are often continuous in normalized conversion coefficients, we detect the continuous amount of zero value data, that is, the zero run length, find the zero run length and non-zero amplitude, and divide this into two. Dimensional Huffman encoding. Two-dimensional Huffman encoded image data is output from the output terminal 50.

このように圧縮符号化された画像データが、第1図の装
置に入力され、復号される。第1図の復号再生装置はハ
フマン復号部I2を有する。ハフマン復号部12には圧
縮符号化された画像データが入力端子IOから入力され
、ハフマン復号される。ハフマン復号された画像データ
は逆正規化部14に送られ、逆正規化される。すなわち
、第2図の装置においで正規化に使用された正規化係数
を乗算する。逆正規化部14で逆正規化された画像デー
タは2次元直交逆変換部16に送られ、2次元直交逆変
換が行われる。2次元直交逆変換部16で直交逆変換さ
れた画像データはプロ・ンク合成部18に送られ、複数
のブロックが合成され、元の画像データが得られる。
The image data compressed and encoded in this manner is input to the apparatus shown in FIG. 1 and decoded. The decoding and reproducing apparatus shown in FIG. 1 has a Huffman decoding section I2. Compression-encoded image data is input to the Huffman decoding unit 12 from an input terminal IO, and is Huffman-decoded. The Huffman-decoded image data is sent to the denormalization unit 14 and denormalized. That is, it is multiplied by the normalization coefficient used for normalization in the apparatus of FIG. The image data denormalized by the denormalization unit 14 is sent to a two-dimensional orthogonal inverse transformation unit 16, where it is subjected to two-dimensional orthogonal inverse transformation. The image data subjected to orthogonal inverse transformation in the two-dimensional orthogonal inverse transformation unit 16 is sent to the pro-cn combination unit 18, where a plurality of blocks are combined and original image data is obtained.

ブロック合成部18でブロックが合成された画像データ
はローパスフィルタ補正部20に送られる。
The image data whose blocks have been synthesized by the block synthesis section 18 is sent to the low-pass filter correction section 20.

ローパスフィルタ補正部20は、後述のようにブロック
のアクティビティが一定値以下の場合に、ブロック境界
付近の画素データに対してローパスフィル−タを用いて
補正を行い、ブロック間歪の補正、すなわちブロックの
境界に現れる輪郭の除去処理を行う。
As will be described later, when the activity of a block is below a certain value, the low-pass filter correction unit 20 corrects pixel data near the block boundary using a low-pass filter, and corrects inter-block distortion, that is, block Performs processing to remove contours that appear on the boundaries of .

ローパスフィルタ補正部20からの出力は、ランダムノ
イズ付加部22へ送られる。ランダムノイズ付加部22
は加算器であり、後述するようにアクティビティに応じ
て乗算器30から送られるランダムノイズを画素データ
に付加する。ランダムノイズ付加部22からの出力はリ
ミッタ部26へ送られる。リミッタ部26は、ランダム
ノイズ付加部22においてランダムノイズの付加された
画素データを所定の閾値によってクリップする。すなわ
ち、ランダムノイズの付加によって画素データのレベル
が所定の範囲、たとえば0〜255から逸脱した場合に
、この画素データが範囲内に収まるように逸脱した部分
をカットする。
The output from the low-pass filter correction section 20 is sent to the random noise addition section 22. Random noise adding section 22
is an adder, which adds random noise sent from the multiplier 30 to the pixel data according to the activity, as will be described later. The output from the random noise adding section 22 is sent to the limiter section 26. The limiter unit 26 clips the pixel data to which random noise has been added in the random noise adding unit 22 using a predetermined threshold value. That is, when the level of pixel data deviates from a predetermined range, for example 0 to 255, due to the addition of random noise, the deviated portion is cut so that the pixel data falls within the range.

リミッタ部26からの出力は出力端子24へ出力される
6 2次元直交逆変換部16において、2次元直交逆変換さ
れた画像データはブロックアクティビティ算出部36へ
送られる。ブロックアクティビティ算出部36は2次元
直交逆変換されたブロックごとの画像データからブロッ
クごとのアクテビティ、すなわちそのブロックに高域周
波数成分の画像データが含まれている程度を算出する。
The output from the limiter section 26 is output to the output terminal 24.6 The image data subjected to the two-dimensional orthogonal inverse transformation in the two-dimensional orthogonal inverse transformation section 16 is sent to the block activity calculation section 36. The block activity calculation unit 36 calculates the activity for each block, that is, the degree to which the block contains image data of high frequency components, from the image data for each block that has been subjected to two-dimensional orthogonal inverse transformation.

ブロックアクティビティ算出部36からの出力はアクテ
ィビティ判定部38へ送られる。
The output from the block activity calculation unit 36 is sent to the activity determination unit 38.

なお、ブロックアクティビティ算出部36においてブロ
ックのアクティビティを算出することに代えて、入力端
子IOから入力される圧縮符号化された画像データの符
号化データ量をカウントすることによってブロックのア
クティビティの高低を判断してもよい。符号化データ量
は、アクティビティの高いブロック、すなわち高周波数
成分が多いブロックにおいては多くなり、アクティビテ
ィの低いブロック、すなわち低周波数成分が多いブロッ
クにおいては少なくなる。このように符号化データ量を
カウントする場合には、入力端子10に接続される符号
化データ量カウンタを設け、符号化データ量をカウント
し、その出力をアクティビティ判定部38へ送るように
すればよい。アクティビティ判定部38は、ブロックア
クティビティ算出部36において算出されたブロックの
アクティビティを所定の閾値Thと比較し、アクティビ
ティの高低を判定する。アクティビティ判定部38から
の出力は、ローパスフィルタ選択部28および係数設定
部34へ送られる。
Note that instead of calculating the activity of the block in the block activity calculation unit 36, the level of the activity of the block is determined by counting the amount of encoded data of compressed and encoded image data input from the input terminal IO. You may. The amount of encoded data increases in blocks with high activity, ie, blocks with many high frequency components, and decreases in blocks with low activity, ie, blocks with many low frequency components. In order to count the encoded data amount in this way, an encoded data amount counter connected to the input terminal 10 may be provided to count the encoded data amount and send its output to the activity determination section 38. good. The activity determination unit 38 compares the activity of the block calculated by the block activity calculation unit 36 with a predetermined threshold Th, and determines the level of the activity. The output from the activity determination section 38 is sent to the low-pass filter selection section 28 and the coefficient setting section 34.

ローパスフィルタ選択部28は、ブロックアクティビデ
ィ判定部38からの入力によってブロックのアクティビ
ティが所定の値よりも低いか否かにより、ローパスフィ
ルタ補正部20において使用されるローパスフィルタを
選択する。ローパスフィルタ補正部20において使用さ
れるローパスフィルタは、第3図に示すように、たとえ
ばブロックの縦方向の境界に沿って各ブロックの境界の
2画素ずつ計4画素を処理するフィルタである。これら
の4つの画素X 1.X2.X3.X 4が、O−パス
”)イルタを通過されることにより、画素X2.X3は
次の式で表される値に置き換えられる。
The low-pass filter selection section 28 selects a low-pass filter to be used in the low-pass filter correction section 20, depending on whether the activity of the block is lower than a predetermined value based on the input from the block activity determination section 38. As shown in FIG. 3, the low-pass filter used in the low-pass filter correction unit 20 is a filter that processes a total of four pixels, two pixels at the boundaries of each block, along the vertical boundaries of the blocks, for example. These four pixels X1. X2. X3. By passing X4 through the O-pass filter, pixels X2 and X3 are replaced with values expressed by the following equation.

X2二K l−X 1 + K 2・X2+に3・X3
+に41X4−(11 X 3 =K l−X 4 +K 2−X3+K 3−
X 2 +K 4・X 1−(2)ローパスフィルタ選
択部28は、ブロックアクティビティ判定部38からの
入力によってフロックのアクティビティが所定の値Th
よりも低い場合には、上記式において使用する係数に1
〜に4を次のように設定する。
X2 2K l-X 1 + K 2・X2+ to 3・X3
+41X4-(11X3=Kl-X4+K2-X3+K3-
X 2 +K 4 ·
If it is lower than , add 1 to the coefficient used in the above formula.
Set 4 to ~ as follows.

K  I  =2/8.K  2  =3/8.K :
#=2/8.K  4  = 1/8このような係数が
設定されることにより、フロックの境界の画素X2.X
3が隣接する画素の値によって補正され、ブロックの輪
郭に現れる歪が減少する。
K I =2/8. K 2 =3/8. K:
#=2/8. K 4 = 1/8 By setting such a coefficient, pixels X2 . X
3 is corrected by the values of adjacent pixels, reducing distortion appearing in the outline of the block.

方、ブロックのアクティビティが所定の値Th以上であ
る場合には、係数に1〜に4を次のように設定する。
On the other hand, if the activity of the block is greater than or equal to the predetermined value Th, the coefficients 1 to 4 are set as follows.

Kl=0、K2=1、K3=0、K4=0このような係
数が設定された場合には、ブロックの境界の画素X2.
X3は元の値のままとされ、補正は行われない。
Kl=0, K2=1, K3=0, K4=0 When such coefficients are set, pixel X2 .
X3 is left at its original value and no correction is made.

乗算器30には乱数発生回路32および係数設定回路3
4が接続されている。乱数発生回路32は、本装置にお
いては±2、±1.0の中から乱数を発生し、この乱数
がランダムノイズとして用いられる。係数設定回路34
は、ブロックアクティビティ判定部38からの入力によ
ってブロックのアクティビティが所定の値よりも低いか
否かにより、係数β=2またはβ:0を設定し、乗算器
30へ出力する。β:2が設定された場合には、乱数発
生回路32から送られる乱数に2が乗算され、ランダム
ノイズ付加部22に送られる。ランダムノイズ付加部2
2は、乗算器30から送られたこの乱数をランダムノイ
ズとして、ローパスフィルタ補正部20から出力される
画素データに付加する。このようなランダムノイズの付
加により、ブロックの境界に現れる輪郭による歪を緩和
することができる。
The multiplier 30 includes a random number generation circuit 32 and a coefficient setting circuit 3.
4 is connected. In this device, the random number generation circuit 32 generates a random number from among ±2 and ±1.0, and this random number is used as random noise. Coefficient setting circuit 34
sets the coefficient β=2 or β:0 depending on whether the activity of the block is lower than a predetermined value based on the input from the block activity determination unit 38, and outputs it to the multiplier 30. When β:2 is set, the random number sent from the random number generation circuit 32 is multiplied by 2 and sent to the random noise adding section 22. Random noise addition section 2
2 adds this random number sent from the multiplier 30 to the pixel data output from the low-pass filter correction section 20 as random noise. By adding such random noise, distortion caused by contours appearing at the boundaries of blocks can be alleviated.

第5図のフローを参照して1本装置によるブロック歪の
補正動作を説明する。
The block distortion correction operation performed by one apparatus will be described with reference to the flowchart in FIG.

圧縮された画像データがハフマン復号部12、逆正規化
部14.2次元直交逆変換部16において、それぞれハ
フマン復号、逆正規化、2次元直交逆変換されると、ブ
ロックアクティビティ算出部36は特定のブロックに注
目し、アクティビティを算出する+102+。アクティ
ビティ判定部38は算出されたアクティビティを閾値T
hと比較し、閾値Thより小さいか否かを判断する(1
04)  アクティビティ判定部38からの出力はロー
パスフィルタ選択部28および係数設定回路32へ送ら
れる。
When the compressed image data is subjected to Huffman decoding, inverse normalization, and two-dimensional orthogonal inverse transformation in the Huffman decoding unit 12, inverse normalization unit 14, and two-dimensional orthogonal inverse transformation unit 16, respectively, the block activity calculation unit 36 specifies Pay attention to the block and calculate the activity +102+. The activity determination unit 38 sets the calculated activity to a threshold T.
h and determine whether it is smaller than the threshold Th (1
04) The output from the activity determination section 38 is sent to the low-pass filter selection section 28 and the coefficient setting circuit 32.

アクティビティが閾値Thより小さい場合には、ローパ
スフィルタ選択部28は係数に1〜に4をに1;2、K
2=3、K3=2、K4;1に設定する(106)  
 このように係数Kを選択されたローパスフィルタによ
り、ローパスフィルタ補正部20は前記式(11f21
によってブロック境界部の画素X2.X3を置き換える
。画素X2.X3を置き換えられた画素データはランダ
ムノイズイ」加部22に送られる。
If the activity is smaller than the threshold Th, the low-pass filter selection unit 28 sets the coefficients from 1 to 4 to 1; 2, K.
2=3, K3=2, K4; set to 1 (106)
By using the low-pass filter with the coefficient K selected in this way, the low-pass filter correction unit 20 calculates the equation (11f21
The block boundary pixel X2. Replaces X3. Pixel X2. The pixel data with X3 replaced is sent to the random noise adding section 22.

係数設定回路34はアクティビティが閾値Thより小さ
い場合には、係数β=2を設定しく108)乗算器30
へ出力する。乗算器30は乱数発生回路32から送られ
る乱数に2を乗算し、ランダムノイズ付加部22へ出力
する。ランダムノイズ付加部22はローパスフィルタ補
正部20から送られた画素データに1乗算器30から送
られる、乱数に2を乗算したデータを付加する。ランダ
ムノイズが付加された画素データはリミッタ部26に送
られる。リミッタ部26は、本実施例では画素データの
レベルがO〜255の範囲となるように、この範囲を越
えるデータの越える部分をクリップする6 復号再生され、ブロック合成部18から出力される画素
データはO〜255の範囲の値をとる。したがってロー
パスフィルタ補正部20から出力される画素データも0
〜255の範囲の値をとる。ランダムノイズ付加部22
において、この画素データにランダムノイズが付加され
ることにより、画素データは0〜255の範囲を越える
ことがあるため、その部分をリミッタ部26によりカッ
トする。
When the activity is smaller than the threshold Th, the coefficient setting circuit 34 sets the coefficient β=2.108) Multiplier 30
Output to. The multiplier 30 multiplies the random number sent from the random number generation circuit 32 by 2 and outputs it to the random noise adding section 22. The random noise addition section 22 adds data obtained by multiplying a random number by 2, sent from the 1 multiplier 30, to the pixel data sent from the low-pass filter correction section 20. The pixel data to which random noise has been added is sent to the limiter section 26. In this embodiment, the limiter section 26 clips the portion of data exceeding this range so that the level of the pixel data falls within the range of 0 to 255. takes a value in the range of 0 to 255. Therefore, the pixel data output from the low-pass filter correction section 20 is also 0.
It takes values in the range of ~255. Random noise adding section 22
When random noise is added to this pixel data, the pixel data may exceed the range of 0 to 255, so that portion is cut by the limiter section 26.

ステップ104においてアクティビティが閾値Thより
小さくない場合には、ローパスフィルタ選択部28は係
数Kl−に4を Kl=0、K2=1、K3=0、K4=0に設定するf
llO)  このように係数Kを選択されたローパスフ
ィルタにより、ローパスフィルタ補正部20は前記式(
11+21によってブロック境界部の画素X2.X3を
処理する。この場合には上記のように係数Kを選択する
ことによって、画素X2゜x3がそのまま出力される。
If the activity is not smaller than the threshold Th in step 104, the low-pass filter selection unit 28 sets the coefficient Kl- to 4 to Kl=0, K2=1, K3=0, K4=0 f
llO) By using the low-pass filter with the coefficient K selected in this way, the low-pass filter correction unit 20 can satisfy the above equation (
11+21, pixel X2. Process X3. In this case, by selecting the coefficient K as described above, the pixel X2°x3 is output as is.

ローパスフィルタ補正部20からの画素データはランダ
ムノイズ付加部22に送られる。
Pixel data from the low-pass filter correction section 20 is sent to a random noise addition section 22.

係数設定回路34はアクティビティが閾値Thより小さ
くない場合には、係数β二〇を設定しfl12) 、乗
算器30へ出力する。乗算器30は乱数発生回路32か
ら送られる乱数に0を乗算し、ランダムノイズ付加部2
2へ出力する。したがって、この場合にはランダムノイ
ズ付加部22へは乱数が出力されないため、ランダムノ
イズ付加部22はローパスフィルタ補正部20から送ら
れた画素データにランダムノイズの付加を行わない。し
たがって、リミッタ部26に送られた画素データはクリ
ップを行われない。
If the activity is not smaller than the threshold Th, the coefficient setting circuit 34 sets a coefficient β20 (fl12) and outputs it to the multiplier 30. The multiplier 30 multiplies the random number sent from the random number generation circuit 32 by 0, and the multiplier 30 multiplies the random number sent from the random number generation circuit 32 by 0.
Output to 2. Therefore, in this case, since no random number is output to the random noise adding section 22, the random noise adding section 22 does not add random noise to the pixel data sent from the low-pass filter correction section 20. Therefore, the pixel data sent to the limiter section 26 is not clipped.

本装置によれば、上記のようにブロックのアクティビテ
ィが低い場合に、ローパスフィルタによるブロック境界
部の画素の補正を行い、かつランダムノイズの付加を行
う。したがって、アクティビティが低い、ブロックの輪
郭歪の目立つ画像の場合に、ローパスフィルタおよびラ
ンダムノイズの付加によって輪郭歪を除去することがで
きる。
According to this device, when the activity of a block is low as described above, pixels at the block boundary are corrected using a low-pass filter, and random noise is added. Therefore, in the case of an image with low activity and marked block contour distortion, the contour distortion can be removed by adding a low-pass filter and random noise.

一方、アクティビティが高い画像の場合には、ブロック
の輪郭歪が目立たないため、ローパスフィルタによる画
素の補正およびランダムノイズの付加を行わない。した
がって、ローパスフィルタやランダムノイズの付加によ
ってシャープネスの劣化が生しることがない。
On the other hand, in the case of an image with high activity, contour distortion of the block is not noticeable, so pixel correction using a low-pass filter and random noise addition are not performed. Therefore, sharpness does not deteriorate due to addition of a low-pass filter or random noise.

なお、上記の例ではブロックアクティビティ算出部36
において各ブロックのアクティビティを算出しているが
、隣接するブロックとのアクティビティを差を算出し、
この値に基づいてローパスフィルタやランダムノイズの
付加によるブロック聞手の補正を行うようにしてもよい
Note that in the above example, the block activity calculation unit 36
The activity of each block is calculated in , but the difference between the activities of adjacent blocks is calculated,
Based on this value, the block listener may be corrected by adding a low-pass filter or random noise.

隣接するブロック間において、低周波数成分や高周波数
成分の含まれている程度の差が小さいときにはブロック
の境界にあられれる歪が目立つから、ローパスフィルタ
やランダムノイズの付加によるブロック聞手の処理を行
い、差が大きいときにはブロックの境界にあられれる歪
が目立たないから、ブロック聞手の処理を行わない。
When the difference in the degree of low-frequency components and high-frequency components contained between adjacent blocks is small, distortion at the block boundaries becomes noticeable, so block listener processing is performed by adding a low-pass filter or random noise. , when the difference is large, the distortion that occurs at the block boundaries is not noticeable, so block listener processing is not performed.

なお、ローパスフィルタ補正部20によるブロック聞手
の補正を省略し、ランダムノイズ付加部22によるラン
ダムノイズの付加のみを行うようにしてもよい。
Note that the block listener correction by the low-pass filter correction section 20 may be omitted, and only the random noise addition by the random noise addition section 22 may be performed.

効  果 本発明によれば、ブロックごとに算出したアクティビテ
ィに基づいて1画素データにランダムノイズの付加を行
う。したがって、アクティビティが低く、ブロック間の
歪が目立つ画像については、ブロック聞手を確実に除去
し、一方、アクティビティが高く、ブロック間の歪が目
立たない画像については、ランダムノイズの付加を行わ
ないことによりシャープネスの劣化を防ぐことができる
Effects According to the present invention, random noise is added to one pixel data based on the activity calculated for each block. Therefore, for images with low activity and noticeable distortion between blocks, block listeners must be removed without fail, while for images with high activity and distortion between blocks not noticeable, random noise should not be added. This can prevent deterioration of sharpness.

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

第1図は、本発明による画像信号復号再生装置の一実施
例を示すブロック図、 第2図は、画像信号圧縮符号化装置の一例を示すプロ・
ンク図、 第3図は、ブロック境界部の画素データを示す図、 第4図は、ハフマン符号化の順序を示す図、第5図は、 ブロック間歪の補正動作を示す図で ある。 主要部 の 8の説明 ハフマン復号部 逆正規化部 2次元直交逆変換部 ブロック合成部 ローパスフィルタ補正部 ランダムノイズ付加部 ローパスフィルタ選択部 乗算器 乱数発生回路 ブロックアクティビティ算田部 アクティビティ判定部
FIG. 1 is a block diagram showing an embodiment of an image signal decoding and reproducing device according to the present invention, and FIG. 2 is a block diagram showing an example of an image signal compression encoding device.
FIG. 3 is a diagram showing pixel data at block boundaries, FIG. 4 is a diagram showing the order of Huffman encoding, and FIG. 5 is a diagram showing inter-block distortion correction operation. Description of Main Parts No. 8 Huffman decoding unit Inverse normalization unit Two-dimensional orthogonal inverse transformation unit Block synthesis unit Low-pass filter correction unit Random noise addition unit Low-pass filter selection unit Multiplier Random number generation circuit Block activity Calatabe Activity determination unit

Claims (1)

【特許請求の範囲】 1、複数のブロックに分割され、各ブロックの画像デー
タについて2次元直交変換符号化を行われたディジタル
画像データを復号再生する画像信号復号再生装置におい
て、該装置は、 前記デジタル画像データを逆正規化する逆正規化手段と
、 該逆正規化手段により逆正規化されたデータを2次元直
交逆変換する直交逆変換手段と、 前記2次元直交変換符号化されたディジタル画像データ
の分割されたブロックごとのアクティビティを算出する
アクティビティ算出手段と、ランダムノイズを発生する
ランダムノイズ発生手段と、 前記直交逆変換手段により2次元直交逆変換された画素
データに、前記ランダムノイズ発生手段から発生された
ランダムノイズを付加するランダムノイズ付加手段とを
有し、 前記ランダムノイズ付加手段は、前記ブロックごとのア
クティビティに基づいて前記ランダムノイズの付加を行
うことを特徴とする画像信号復号再生装置。 2、請求項1に記載の装置において、該装置はさらに、 前記ブロックごとのアクティビティに基づいて、前記ブ
ロックの境界部分の画素データをローパスフィルタによ
って処理するローパスフィルタ補正手段を有し、 前記ランダムノイズ付加手段は、前記ローパスフィルタ
補正手段によって処理された前記画素データに前記ラン
ダムノイズの付加を行うことを特徴とする画像信号復号
再生装置。 3、請求項1または2に記載の装置において、前記ラン
ダムノイズ付加手段は、前記ブロックごとのアクティビ
ティを所定の閾値と比較し、前記アクティビティが前記
閾値よりも小さいブロックについてのみ、前記ランダム
ノイズの付加を行うことを特徴とする画像信号復号再生
装置。
[Scope of Claims] 1. An image signal decoding and reproducing device that decodes and reproduces digital image data that is divided into a plurality of blocks and subjected to two-dimensional orthogonal transform encoding on the image data of each block, the device comprising: denormalization means for denormalizing digital image data; orthogonal inverse transformation means for performing two-dimensional orthogonal inverse transformation on the data denormalized by the denormalization means; and the two-dimensional orthogonal transformation-encoded digital image. an activity calculation means for calculating an activity for each divided block of data; a random noise generation means for generating random noise; an image signal decoding and reproducing apparatus, further comprising a random noise adding means for adding random noise generated from the block, wherein the random noise adding means adds the random noise based on the activity of each block. . 2. The device according to claim 1, further comprising: low-pass filter correction means for processing pixel data at the boundary portion of the block with a low-pass filter based on the activity for each block, and the random noise. An image signal decoding and reproducing apparatus, wherein the addition means adds the random noise to the pixel data processed by the low-pass filter correction means. 3. The device according to claim 1 or 2, wherein the random noise adding means compares the activity of each block with a predetermined threshold, and adds the random noise only to blocks in which the activity is smaller than the threshold. An image signal decoding and reproducing device characterized by performing the following.
JP2101739A 1990-04-16 1990-04-19 Video signal decoding and reproducing device Pending JPH042275A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2101739A JPH042275A (en) 1990-04-19 1990-04-19 Video signal decoding and reproducing device
US07/682,244 US5229864A (en) 1990-04-16 1991-04-09 Device for regenerating a picture signal by decoding

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2101739A JPH042275A (en) 1990-04-19 1990-04-19 Video signal decoding and reproducing device

Publications (1)

Publication Number Publication Date
JPH042275A true JPH042275A (en) 1992-01-07

Family

ID=14308626

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2101739A Pending JPH042275A (en) 1990-04-16 1990-04-19 Video signal decoding and reproducing device

Country Status (1)

Country Link
JP (1) JPH042275A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2695498A1 (en) * 1992-09-10 1994-03-11 Bertin & Cie Treatment procedure for images e.g. video or film for measurement, transformation or viewing - using initial digitisation followed by compression, transmission and or recording, decompression and final use
EP0526885A3 (en) * 1991-08-05 1994-03-30 Eastman Kodak Co
EP0585573A3 (en) * 1992-08-31 1994-07-13 Ibm System and method for suppressing blocking artifacts in decoded transform coded images
JPH0795562A (en) * 1993-09-24 1995-04-07 Nec Corp Moving image decoding device
EP0714209A2 (en) 1994-11-24 1996-05-29 Victor Company Of Japan, Ltd. Method and device for decoding image data
JP2002204357A (en) * 2000-12-28 2002-07-19 Nikon Corp Image decoding device, image encoding device, and recording medium
WO2006087989A1 (en) * 2005-02-21 2006-08-24 Matsushita Electric Industrial Co., Ltd. Moving picture processing method
JP2010178059A (en) * 2009-01-29 2010-08-12 Nippon Telegr & Teleph Corp <Ntt> Encoder, decoder, code decoding system, encoding method, decoding method and program

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0526885A3 (en) * 1991-08-05 1994-03-30 Eastman Kodak Co
US5454051A (en) * 1991-08-05 1995-09-26 Eastman Kodak Company Method of reducing block artifacts created by block transform compression algorithms
EP0585573A3 (en) * 1992-08-31 1994-07-13 Ibm System and method for suppressing blocking artifacts in decoded transform coded images
FR2695498A1 (en) * 1992-09-10 1994-03-11 Bertin & Cie Treatment procedure for images e.g. video or film for measurement, transformation or viewing - using initial digitisation followed by compression, transmission and or recording, decompression and final use
JPH0795562A (en) * 1993-09-24 1995-04-07 Nec Corp Moving image decoding device
US5949908A (en) * 1994-11-24 1999-09-07 Victor Company Of Japan, Ltd. Method of reducing quantization noise generated during a decoding process of image data and device for decoding image data
EP0714209A2 (en) 1994-11-24 1996-05-29 Victor Company Of Japan, Ltd. Method and device for decoding image data
US6167157A (en) * 1994-11-24 2000-12-26 Victor Company Of Japan, Ltd. Method of reducing quantization noise generated during a decoding process of image data and device for decoding image data
JP2002204357A (en) * 2000-12-28 2002-07-19 Nikon Corp Image decoding device, image encoding device, and recording medium
WO2006087989A1 (en) * 2005-02-21 2006-08-24 Matsushita Electric Industrial Co., Ltd. Moving picture processing method
JP4749415B2 (en) * 2005-02-21 2011-08-17 パナソニック株式会社 Video processing method
US8059203B2 (en) 2005-02-21 2011-11-15 Panasonic Corporation Moving picture processing method
JP2010178059A (en) * 2009-01-29 2010-08-12 Nippon Telegr & Teleph Corp <Ntt> Encoder, decoder, code decoding system, encoding method, decoding method and program

Similar Documents

Publication Publication Date Title
KR100242636B1 (en) Signal adaptive post processing system for reducing blocking effect and ringing noise
JP2673778B2 (en) Noise reduction device for video decoding
US5787204A (en) Image signal decoding device capable of removing block distortion with simple structure
JPH02305182A (en) Picture signal compressing and encoding device
JPH0491587A (en) Orthogonal transformation encoder
JP2002077629A (en) Extent determining method of blocked artifacts in digital image
JPH042275A (en) Video signal decoding and reproducing device
JP3825825B2 (en) Filter device
EP1135749A1 (en) Device and method for filtering
JPH0638658B2 (en) Image signal decoding post-processing device
JP3288811B2 (en) Post-processing filter control method and post-processing filter control circuit in video codec
JP2919986B2 (en) Image signal decoding device
JP2003204436A (en) Image coding equipment and program thereof
JPH04970A (en) Picture signal decoding and reproducing device
JP2901656B2 (en) Image coding device
US7123776B2 (en) Method of processing digital images for low-bit rate applications
JPH07307942A (en) Image noise eliminator
JPH11298898A (en) Block distortion reduction circuit
JP3617253B2 (en) Image coding apparatus and method
US7844124B2 (en) Method of estimating a quantization parameter
JP3853257B2 (en) Mosquito distortion reducing apparatus and mosquito distortion reducing method
JP3024386B2 (en) Encoding device
JPH10336658A (en) Image processing device
JP2552349B2 (en) Image signal compression coding device
JP2789585B2 (en) High efficiency coding device