JP3763163B2 - Image encoding transmission apparatus and image encoding transmission method - Google Patents

Image encoding transmission apparatus and image encoding transmission method Download PDF

Info

Publication number
JP3763163B2
JP3763163B2 JP14218296A JP14218296A JP3763163B2 JP 3763163 B2 JP3763163 B2 JP 3763163B2 JP 14218296 A JP14218296 A JP 14218296A JP 14218296 A JP14218296 A JP 14218296A JP 3763163 B2 JP3763163 B2 JP 3763163B2
Authority
JP
Japan
Prior art keywords
optimized
value
pixels
unit
minimum value
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.)
Expired - Fee Related
Application number
JP14218296A
Other languages
Japanese (ja)
Other versions
JPH0970042A (en
Inventor
哲二郎 近藤
泰弘 藤森
健治 高橋
邦雄 川口
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP14218296A priority Critical patent/JP3763163B2/en
Publication of JPH0970042A publication Critical patent/JPH0970042A/en
Application granted granted Critical
Publication of JP3763163B2 publication Critical patent/JP3763163B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
この発明は、ディジタル画像信号のデータ量を圧縮するために、ディジタル画像信号を符号化する画像符号化装置、画像符号化方法、画像符号化伝送方法および画像記録媒体に関し、特に、ディジタル画像信号を符号化し、符号化情報とともに付加情報を伝送する画像符号化伝送装置および画像符号化伝送方法に関する。
【0002】
【従来の技術】
図7は、ディジタル画像信号を圧縮する画像符号化装置の一例のブロック図を示している。図7に示される画像符号化装置は、入力画像信号を所定のブロック単位でブロック分割し、ブロックのダイナミックレンジに応じてブロック内の画素を適応的に符号化するADRC(Adaptive Dynamic Renge Coding )を用いた符号化装置である。
【0003】
ADRCは、本出願人による特開昭61−14498号公報において提案されている。図7を用いて、ADRCを簡単に説明する。入力端子120から入力された入力画像信号が、ブロック分割部121に供給される。そして、ブロック分割部121において、入力画像信号は、例えば、3画素×3ライン(以下、(3×3)と称する)の9個の画素を含むブロックに分割される。そして、ブロック分割部121からの出力信号が、ブロック毎に最大値検出部122および最小値検出部123にそれぞれ供給される。
【0004】
最大値検出部122において、そのブロックに含まれる画素値の最大値MAXが検出され、最小値検出部123において、最小値MINが検出される。最大値検出部122からの最大値MAXは、減算部124に供給される。また、最小値検出部123からの最小値MINは、減算部124、減算部125およびフレーミング部128にそれぞれ供給される。
【0005】
減算部124において、最大値MAXから最小値MINが減算され、ダイナミックレンジDRが生成される。そして、そのダイナミックレンジDRは、量子化ステップ幅算出部126およびフレーミング部128にそれぞれ供給される。量子化ステップ幅算出部126では、減算部124から供給されるダイナミックレンジDRから量子化ステップ幅Δが算出され、算出された量子化ステップ幅Δは、量子化部127へ供給される。
【0006】
また、減算部125には、ブロック分割部121から(3×3)ブロックの9画素が供給され、その9画素の画素値から最小値MINをそれぞれ減算することにより、各画素値に対して正規化が実行される。その正規化された各画素値は、量子化部127へ供給される。量子化部127において、正規化された各画素値が量子化ステップ幅Δで量子化され、量子化値xとして、それぞれフレーミング部128に供給される。
【0007】
そして、フレーミング部128では、ブロック毎に、供給されたダイナミックレンジDRと最小値MINとがブロックのパラメータとして、そのブロックの9画素の量子化値xとともにフレーミング化がなされ、出力信号として出力される。そして、この出力信号がディスク等の記録媒体に記録され、もしくは、伝送路を介して伝送される。
【0008】
【発明が解決しようとする課題】
しかしながら、復号側において、伝送されるブロックのパラメータを用いて、そのブロックの量子化値を復号する際に、原信号値と復号された復元値との復号誤差を最小にするという意味では、最初に求めたブロックのパラメータを用いてそのブロックの量子化値を復号することが最適であるという保証はなく、場合によっては、復号誤差が大きくなり、復号画像が劣化するという問題が生じる。
【0009】
従って、この発明の目的は、原信号値と復元値の復号誤差が小さくなるように、符号化側において、量子化値を求めるために最初に求められたパラメータ(例えば、ADRCの場合には、最大値MAX、最小値MINあるいはダイナミックレンジDR)を最適化することにより、復号誤差を小さくすることができる画像符号化伝送装置および画像符号化伝送方法を提供することにある。
【0010】
【課題を解決するための手段】
上述した目的を達成するために、この発明は、入力ディジタル画像信号の発生データ量を少なくするように、入力ディジタル画像信号を符号化して伝送する画像符号化伝送装置において、入力ディジタル画像信号を複数の画素からなるブロックに分割するブロック分割部と、ブロック毎に、ブロック内の複数の画素の最大値と、複数の画素の最小値を検出する第1の検出部と、最大値および最小値の差であるダイナミックレンジを検出する第2の検出部と、最大値から複数の画素の画素値を減算した差分値、または最小値を複数の画素の画素値から減算した差分値を量子化して、複数の画素の量子化値を生成する量子化部と、量子化値の復号誤差の自乗和を最小とするように、ブロック毎に発生された最大値、最小値、およびダイナミックレンジを示す情報の少なくとも2つを最適化する最適化部と、最適化された最大値、最適化された最小値および最適化されたダイナミックレンジを示す情報の2つをパラメータとして、ブロック毎に、複数の画素の量子化値とともに伝送路に伝送する伝送部とからなることを特徴とする画像符号化伝送装置である。
【0011】
また、この発明は、入力ディジタル画像信号の発生データ量を少なくするように、入力ディジタル画像信号を符号化して伝送する画像符号化伝送方法において、入力ディジタル画像信号を複数の画素からなるブロックに分割するステップと、ブロック毎に、ブロック内の複数の画素の最大値と、複数の画素の最小値を検出するステップと、最大値および最小値の差であるダイナミックレンジを検出するステップと、最大値から複数の画素の画素値を減算した差分値、または最小値を複数の画素の画素値から減算した差分値を量子化して、複数の画素の量子化値を生成するステップと、量子化値の復号誤差の自乗和を最小とするように、ブロック毎に発生された最大値、最小値、およびダイナミックレンジを示す情報の少なくとも2つを最適化するステップと、最適化された最大値、最適化された最小値および最適化されたダイナミックレンジを示す情報の2つをパラメータとして、ブロック毎に、複数の画素の量子化値とともに伝送路に伝送するステップとからなることを特徴とする画像符号化伝送方法である。
【0013】
上述したように、この発明は、ブロックのパラメータを求めてから、そのパラメータにより復号を行い復元値と真値との誤差を求め、その誤差を最小にするようにパラメータを修整する。従って、原信号値と復元値との復元誤差をさらに小さくすることが可能となる。
【0014】
【発明の実施の形態】
以下、この発明の一実施例について図面を参照して説明する。図1は、この発明の画像符号化装置の第1の実施例のブロック図を示す。入力画像信号は、入力端子INを介して、ブロック分割部1に供給される。ブロック分割部1において、入力画像信号が、例えば、(3×3)ブロックに分割され、その(3×3)ブロックの9画素の8ビットからなる入力画素値yが最大値検出部2、最小値検出部、減算部5および最小自乗法推定部8にそれぞれ供給される。
【0015】
最大値検出部2において、(3×3)ブロックに含まれる9画素のうち、画素値のレベルが最大となる値が検出され、その最大値MAXが、減算部4に供給される。また、最小値検出部3において、(3×3)ブロックに含まれる9画素のうち、画素値のレベルが最小となる値が検出され、その最小値MINが、減算部4および減算部5にそれぞれ供給される。
【0016】
減算部4では、最大値MAXから最小値MINが減算され、ダイナミックレンジDRが生成される。そのダイナミックレンジDRは、量子化ステップ幅算出部6に供給される。また、減算部5では、ブロック分割部1からの(3×3)ブロックの9画素の入力画素値yから最小値MINがそれぞれ減算され、正規化された(3×3)ブロックの9画素の画素値が生成される。その正規化された(3×3)ブロックの9画素の画素値は、量子化部7に供給される。
【0017】
量子化ステップ幅算出部6では、供給されたダイナミックレンジDRに基づいて量子化ステップ幅Δが算出され、その算出された量子化ステップ幅Δは、量子化部7に供給される。量子化部7では、供給される量子化ステップ幅Δで正規化された(3×3)ブロックの9画素の画素値の4ビット量子化が行われる。その(3×3)ブロックの9画素の4ビットからなる量子化値xは、最小自乗法推定部8およびフレーミング部11にそれぞれ供給される。
【0018】
そして、最小自乗法推定部8には、入力画像信号である(3×3)ブロックの9画素の入力画素値yと量子化された(3×3)ブロックの9画素の量子化値xが供給され、この最小自乗法推定部8は、ブロック毎に供給された入力画素値(真値)yおよび量子化値xを用いて、最小自乗法により、各ブロックの量子化値の復号値y´と復号値y´に対応する真値yとの誤差(y´−y)の自乗和を最小とするような最適化されたダイナミックレンジDR´および最適化された最小値MIN´を推定する。つまり、入力画素値yの復号値y´および量子化値xとの間には、次式(1)の関係が成立する。
【0019】
y´=x×DR/n+MIN (1)
(但し、nは、量子化ビット数である。)
【0020】
そして、最適化されたダイナミックレンジDR´は、次式(2)によって求められる。
【0021】
DR´=n・Δ´ (2)
(但し、Δ´は、最適化された量子化ステップ幅である。)
【0022】
さらに、ブロック内の画素数をmとすると、最適化された量子化ステップ幅は、次式(3)によって求められる。
【0023】
Δ´=(m・Σxy−Σx・Σy)/(m・Σx2 −(Σx)2 ) (3)
【0024】
また、最適化された最小値MIN´は、次式(4)によって求められる。
【0025】
MIN´=(Σy−Δ´・Σx)/m (4)
【0026】
そして、最適化されたダイナミックレンジDR´および最適化された最小値MIN´は、フレーミング部11に供給される。フレーミング部11は、ブロック毎に量子化部7からの量子化値x、最小自乗法推定部8からの最適化されたダイナミックレンジDR´および最適化された最小値MIN´をフレーミング化し、フレーミング信号をエラー訂正符号付加部12に供給する。
【0027】
エラー訂正符号付加部12は、フレーミング信号にエラー訂正符号を付加して、変調部13に供給する。変調部13は、、エラー訂正符号が付加されたフレーミング信号を、EFM変調方式等の変調方式を用いて、変調する。そして、この変調された信号が記録部14に供給され、記録部14において、ディスクなどの記録媒体15に記録される。
【0028】
また、伝送路17を介して変調された信号を伝送する場合、この発明は、記録部14の代わりに伝送部16で構成される。そして、変調部13は、伝送に最適な変調方法を用いて、エラー訂正符号が付加されたフレーミング信号を変調し、伝送部16を介して、伝送路17に供給するようにする。なお、フレーミング技術および変調技術に関しては、すでに、多数の技術が知られているので、ここでは省略するが、どのような技術を用いてもよい。
【0029】
つぎに、この第1の実施例の最小自乗法推定部8の詳細について、図2および図3を用いて説明する。図3は、最小自乗法により最適化されたダイナミックレンジDR´および最適化された最小値MIN´を求めるための実際の構成例であり、図2は、その構成に必要とされる定数を算出する構成例である。
【0030】
上述したように、この第1の実施例で用いられるデータxは、量子化値であり、データy´は、そのデータxの復元値である。また、データy´の真値をyとし、ブロック内の画素数をmとする。したがって、この最小自乗法推定部8は、ブロック毎に、供給された画素値yおよび量子化値xを用いて、最小自乗法により、各ブロックの量子化値の復号値y´と復号値y´に対応する真値との誤差(y´−y)の自乗和を最小とするような最適化された最小値MIN´および最適化されたダイナミックレンジDR´を推定する。
【0031】
まず、図2に示す入力端子21からデータxが供給され、そのデータxは、レジスタ22に供給される。また、データyは、入力端子23を介してレジスタ24へ供給される。カウンタ25は、クロックに応じてブロック毎の画素数を計数し、計数された画素数mは、レジスタ26および27を介して端子28に供給される。
【0032】
乗算器29は、レジスタ22から供給される4ビットからなるデータxと、レジスタ24から供給される8ビットからなるデータyとの乗算を行い、12ビットのデータxyがレジスタ30を介して加算回路31に供給される。この加算回路31では、供給された12ビットからなるデータxyが加算器31aに供給される。加算器31aから出力されるデータは、レジスタ31bおよび31cへ供給される。レジスタ30から供給されたデータxyと、加算器31aから出力されたデータがレジスタ31bを介して、加算器31aで加算される。加算回路31からは、18ビットからなるデータが出力され、データΣxyとして、レジスタ32を介して、端子33に供給される。すなわち、加算回路31は、ブロック単位でΣxyを生成する。
【0033】
レジスタ22から供給される4ビットからなるデータxは、レジスタ34を介して加算回路35へ供給される。この加算回路35では、供給された4ビットからなるデータxが加算器35aへ供給される。加算器35aから出力されるデータは、レジスタ35bおよび35cへ供給される。レジスタ34から供給されたデータxと、加算器35aから出力されたデータがレジスタ35bを介して、加算器35aで加算される。加算回路35からは、10ビットからなるデータが出力され、データΣxとして、レジスタ36を介して、端子37に供給される。すなわち、加算回路35は、ブロック単位でΣxを生成する。
【0034】
また、加算回路35からの10ビットからなるデータΣxは、乗算器38へ供給される。その乗算器38は、データΣxの自乗を演算し、20ビットからなるデータ(Σx)2 として、レジスタ39を介して端子40に供給する。
【0035】
レジスタ24から供給される8ビットからなるデータyは、レジスタ41を介して加算回路42へ供給される。この加算回路42では、供給された8ビットからなるデータyが加算器42aへ供給される。加算器42aから出力されるデータは、レジスタ42bおよび42cへ供給される。レジスタ41から供給されたデータyと、加算器42aから出力されたデータがレジスタ42bを介して、加算器42aで加算される。加算回路42からは、14ビットからなるデータが出力され、データΣyとして、レジスタ43を介して、端子44に供給される。すなわち、加算回路42は、ブロック単位でΣyを生成する。
【0036】
乗算器45は、レジスタ22から供給される4ビットからなるデータxの自乗を演算し、8ビットからなるデータx2 を、レジスタ46を介して加算回路47に供給する。この加算回路47では、供給された8ビットからなるデータx2 が加算器47aへ供給される。加算器47aから出力されるデータは、レジスタ47bおよび47cへ供給される。レジスタ46から供給されたデータx2 と、加算器47aから出力されたデータがレジスタ47bを介して、加算器47aで加算される。加算回路47からは、14ビットからなるデータが出力され、データΣx2 として、レジスタ48を介して、端子49に供給される。すなわち、加算回路47は、ブロック単位でΣx2 を生成する。
【0037】
また、図2に示すように入力端子50は、カウンタ25、レジスタ31b、35b、42bおよび47bのクリア端子に接続され、入力端子51は、レジスタ27、32、36、39、43および48のクリア端子に接続され、各レジスタは、これら入力端子50および51へ供給される信号によってブロック毎に制御される。
【0038】
図3は、実際の最小自乗法の一般的な構成例を示している。端子28に供給された画素数mは、逆数回路61、乗算器64および乗算器71にそれぞれ供給される。逆数回路61では、供給された画素数mの逆数(1/m)が算出され、レジスタ62を介して逆数(1/m)が端子63に供給される。乗算器64では、端子33に供給されたデータΣxyと画素数mとの乗算が行われ、レジスタ65を介してデータmΣxyが減算器66に供給される。
【0039】
端子37に供給されたΣxが乗算器67および乗算器74にそれぞれ供給され、端子44に供給されたデータΣyが乗算器67へ供給される。この乗算器67では、データΣxとデータΣyとの乗算が行われ、レジスタ68を介してデータΣxΣyが減算器66に供給される。減算器66では、データmΣxyからデータΣxΣyの減算が行われ、その出力データmΣxy−ΣxΣyは、レジスタ69および70を介して乗算器79に供給される。
【0040】
乗算器71では、端子47に供給されたデータΣx2 と画素数mとの乗算が行われ、レジスタ72を介してデータmΣx2 が減算器73に供給される。乗算器74では、データΣxの自乗が算出され、そのデータ(Σx)2 は、減算器73に供給される。減算器73では、データmΣx2 からデータ(Σx)2 の減算が行われ、その出力データmΣx2 −(Σx)2 は、レジスタ76を介して逆数回路77に供給される。逆数回路77では、上述と同様に、データmΣx2 −(Σx)2 の逆数(1/(mΣx2 −(Σx)2 ))を算出し、レジスタ78を介してその逆数(1/(mΣx2 −(Σx)2 ))が乗算器79に供給される。
【0041】
乗算器79では、データmΣxy−ΣxΣyとデータ1/(mΣx2 −(Σx)2 )との乗算が行われ、データ(mΣxy−ΣxΣy)/(mΣx2 −(Σx)2 )が、レジスタ80を介して乗算器81および89にそれぞれ供給される。乗算器81では、端子37に供給されたデータΣxとデータ(mΣxy−ΣxΣy)/(mΣx2 −(Σx)2 )との乗算が行われ、その結果、データ(mΣxΣxy−(Σx)2 Σy)/(mΣx2 −(Σx)2 )が、レジスタ82を介して減算器83に供給される。
【0042】
減算器83では、端子44に供給されるデータΣyからレジスタ82からのデータ(mΣxΣxy−(Σx)2 Σy)/(mΣx2 −(Σx)2 )の減算が行われ、その結果、レジスタ84を介してデータm(Σx2 Σy−ΣxΣxy)/(mΣx2 −(Σx)2 )が乗算器85に供給される。乗算器85では、端子63からの1/mとデータm(Σx2 Σy−ΣxΣxy)/(mΣx2 −(Σx)2 )との乗算が行われ、その結果、データ(Σx2 Σy−ΣxΣxy)/(mΣx2 −(Σx)2 )が、最適化された最小値MIN´となる。そして、その生成された最小値MIN´は、レジスタ86を介して出力端子87に供給されて、出力される。
【0043】
端子88には、量子化ステップ幅算出部6において使用された量子化ビット数に対応して予め設定された値2n が供給される。乗算器89では、端子88に供給された2n (nは、量子化ビット数)とデータ(mΣxy−ΣxΣy)/(mΣx2 −(Σx)2 )との乗算が行われ、その結果、データ2n (mΣxy−ΣxΣy)/(mΣx2 −(Σx)2 )が最適化されたダイナミックレンジDR´となる。その生成されたダイナミックレンジDR´は、レジスタ90、91および92を介して、出力端子93に供給されて、出力される。このようにして、最適化された最小値MIN´および最適化されたダイナミックレンジDR´を得ることができる。
【0044】
図4は、量子化値とともに最適化された最大値MAX´および最適化されたダイナミックレンジDR´を伝送する第2の実施例の画像符号化装置を示している。なお、第2の実施例を説明するにあたり、第1の実施例と同一の部分には同一符号を付し、その説明は省略する。
【0045】
減算部19では、最大値MAXから(3×3)ブロックの9画素の8ビットからなる入力画素値yがそれぞれ減算され、9画素の入力画素値がそれぞれ正規化される。正規化された9画素の画素値は、量子化部7に供給される。量子化部7は、(3×3)ブロックの9画素の4ビットからなる量子化値を最小自乗法推定部9およびフレーミング部11にそれぞれ供給する。
【0046】
そして、最小自乗法推定部9には、入力画像信号である(3×3)ブロックの9画素の入力画素値yと量子化された(3×3)ブロックの9画素の画素の量子化値xが供給される。この最小自乗法推定部9は、ブロック毎に供給された入力画素値(真値)yおよび量子化値xを用いて、最小自乗法により、各ブロックの量子化値の復号値y´と復号値y´に対応する真値との誤差(y´−y)の自乗和を最小とするような最適化されたダイナミックレンジDR´および最適化された最大値MAX´を推定する。つまり、入力画素値yの復号値y´および量子化値xの間には、次式(5)の関係が成立する。
【0047】
y´=MAX−x×DR/n (5)
(但し、nは、量子化ビット数である。)
【0048】
そして、ブロック内の画素数をmとすると、最適化されたダイナミックレンジDR´は、上述した式(3)を用いて、上述した式(2)によって求められる。また、最適化された最大値MAX´は、上述した式(3)を用いて、次式(6)によって求められる。
【0049】

Figure 0003763163
【0050】
そして、最適化されたダイナミックレンジDR´および最適化された最大値MAX´は、フレーミング部11に供給される。フレーミング部11は、ブロック毎に量子化部7からの量子化値x、最小自乗法推定部9からの最適化されたダイナミックレンジDR´および最適化された最大値MAX´をフレーミング化する。
【0051】
図5は、量子化値とともに最適化された最大値MAX´および最適化された最小値MIN´を伝送する第3の実施例の画像符号化装置を示している。なお、第3の実施例を説明するにあたり、第1の実施例と同一の部分には同一符号を付し、その説明は省略する。
【0052】
減算部5では、図1の実施例と同様に、(3×3)ブロックの9画素の8ビットからなる入力画素値yから最小値MINがそれぞれ減算され、9画素の画素値が正規化される。正規化された9画素の画素値は、量子化部7に供給される。量子化部7は、(3×3)ブロックの9画素の4ビットからなる量子化値を最小自乗法推定部10およびフレーミング部11にそれぞれ供給する。
【0053】
そして、最小自乗法推定部10には、入力画像信号である(3×3)ブロックの9画素の入力画素値yと量子化された(3×3)ブロックの9画素の画素の量子化値xが供給され、この最小自乗法推定部10は、ブロック毎に供給された入力画素値(真値)yおよび量子化値xを用いて、最小自乗法により、各ブロックの量子化値の復号値y´と復号値y´に対応する真値との誤差(y´−y)の自乗和を最小とするような最適化された最小値MIN´および最適化された最大値MAX´を推定する。つまり、入力画素値yの復号値y´および量子化値xの間には、次式(7)の関係が成立する。
【0054】
y´=x×(MAX−MIN)/n+MIN (7)
(但し、nは、量子化ビット数である。)
【0055】
そして、ブロック内の画素数をmとすると、最適化された最小値MIN´は、上述した式(3)を用いて、上述した式(4)によって求められる。また、最適化された最大値MAX´は、上述した式(3)を用いて、上述した式(6)によって求められる。そして、最適化された最小値MIN´および最適化された最大値MAX´は、フレーミング部11に供給される。フレーミング部11は、ブロック毎に量子化部7からの量子化値x、最小自乗法推定部10からの最適化された最小値MIN´および最適化された最大値MAX´をフレーミング化する。
【0056】
次に、図6は、この発明の画像符号化装置を階層符号化装置に適応した一例を示している。入力端子101からの入力画像信号が、平均化部102および減算部104にそれぞれ供給される。平均化部102では、例えば、供給された入力画像信号を(2×2)ブロック単位で4つの画素を加算し、その加算値を1/4に平均化する。平均化された画素は、補間部103および高能率符号化部108にそれぞれ供給される。
【0057】
補間部103では、例えば、クラス分類適応処理技術を用いて、平均化することにより間引かれた画素の補間処理を行い、その画素は、減算器104へ供給される。このように、クラス分類適応処理技術を用いた補間方法に関して、例えば、本出願人による特開平5−328185号公報において提案されている。また、この補間部103は、クラス分類適応処理技術を用いた方法以外のすでに公知である補間方法を用いてもよい。
【0058】
減算部104では、入力画素値yから補間処理が行われた画素が減算され、その残差信号が、高能率符号化部105に供給される。この高能率符号化部105は、上述したこの発明の実施例と同様にダイナミックレンジDR、最小値MINおよび最大値MAXのうち少なくとも2つのパラメータを最適化するようにしたADRCによる高能率符号化部である。
【0059】
すなわち、高能率符号化部105では、量子化値xと付加コード(例えば、第1の実施例において、最適化されたダイナミックレンジDR´、最適化された最小値MIN´)が生成され、生成された量子化値xと付加コードが可変長符号化部106に供給される。可変長符号化部106において、供給された量子化値xと付加コードがハフマン符号化、ランレングス符号化等の可変長符号化がなされ、その可変長符号化データが出力端子107から下位階層の符号化データとして伝送される。
【0060】
同様に高能率符号化部108では、平均化部102から供給された平均化された画素が、高能率符号化部108に供給される。この高能率符号化部108は、上述したこの発明の実施例と同様にダイナミックレンジDR、最小値MINおよび最大値MAXのうち少なくとも2つのパラメータを最適化するようにしたADRCによる高能率符号化部である。
【0061】
すなわち、高能率符号化部108では、量子化値xと付加コード(例えば、第1の実施例において、最適化されたダイナミックレンジDR´、最適化された最小値MIN´)が生成され、生成された量子化値xと付加コードが可変長符号化部109に供給される。可変長符号化部109において、伝送された量子化値xと付加コードがハフマン符号化、ランレングス符号化等の可変長符号化がなされ、その可変長符号化データが出力端子110から上位階層の符号化データとして伝送される。
【0062】
この発明の第1、第2および第3の実施例では、伝送されるパラメータとして、最適化されたダイナミックレンジDR´、最適化された最小値MIN´および最適化された最大値MAX´のうち、少なくとも2つのパラメータを伝送しているが、この発明はこれに限らず、最適化された量子化ステップ幅Δ´を少なくとも含む2つのパラメータを伝送するようにしてもよい。
【0063】
つまり、この発明において、最小自乗法推定部において、少なくとも伝送される2つのパラメータを最適化して、その最適化された2つのパラメータを量子化値とともに伝送すればよい。
【0064】
また、この発明の第1および第3の実施例では、減算部5において、9画素の量子化値から最小値MINを減算しているが、この発明はこれに限らず、第2の実施例と同様に、最大値MAXから9画素の入力画素値を減算するようにしてもよい。
【0065】
また、この発明の第2の実施例では、減算部19において、最大値MAXから9画素の量子化値を減算しているが、この発明はこれに限らず、第1の実施例と同様に、9画素の量子化値から最小値MINを減算するようにしてもよい。
【0066】
また、この発明のブロック分割部は、入力画像信号を(3×3)ブロックの2次元ブロックに分割しているが、この発明はこれに限らず、(3×3)ブロック以外のブロックで構成されてもよいし、また、入力画像信号を3次元ブロックで構成してもよい。
【0067】
さらに、この発明の実施例では、ADRCを用いたが、この発明は、これに限らずDCT(Discrete Cosine Transform )を用いる場合、DC成分に対して最適化を行い、GBTC(Grobal Block Trancation Coding)を用いる場合、平均値および標準偏差に対して最適化を行うことも可能である。
【0068】
また、この発明の実施例は、ディジタル画像信号に対する符号化装置であるが、この発明はこれに限らず、ディジタルオーディオ信号等のデータに対して適用することも可能である。
【0069】
なお、この発明の主旨を逸脱しない範囲において、様々な変形や応用例が考えうる。したがって、この発明の要旨は、実施例に限定されるものではない。
【0070】
【発明の効果】
この発明は、原信号値と復元値の復号誤差が小さくなるように、符号化側において、量子化値を求めるために最初に求められたパラメータを最小自乗法を用いて最適化し、その最適化したパラメータと量子化値とを伝送している。従って、この発明に依れば、復号側において、復元値と原信号値との誤差を小さくすることができる。
【図面の簡単な説明】
【図1】この発明の画像符号化装置の第1の実施例を示すブロック図である。
【図2】この発明に係る最小自乗法推定部の構成例を示す図である。
【図3】この発明に係る最小自乗法推定部の構成例を示す図である。
【図4】この発明の画像符号化装置の第2の実施例を示すブロック図である。
【図5】この発明の画像符号化装置の第3の実施例を示すブロック図である。
【図6】この発明の画像符号化装置を階層符号化装置に用いた一例を示すブロック図である。
【図7】従来のADRCのブロック図である。
【符号の説明】
1・・・ブロック分割部、2・・・最大値検出部、3・・・最小値検出部、4、5・・・減算部、6・・・ステップ幅算出部、7・・・量子化部、8・・・最小自乗法推定部、11・・・フレーミング部、12・・・エラー訂正符号付加部、13・・・変調部、14・・・記録部、15・・・記録媒体、16・・・伝送部、17・・・伝送路[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image encoding device, an image encoding method, an image encoding transmission method, and an image recording medium for encoding a digital image signal in order to compress the data amount of the digital image signal. Encoding and transmitting apparatus for encoding and transmitting additional information together with encoded information and The present invention relates to an image encoding transmission method.
[0002]
[Prior art]
FIG. 7 shows a block diagram of an example of an image encoding apparatus that compresses a digital image signal. The image encoding apparatus shown in FIG. 7 performs ADRC (Adaptive Dynamic Renge Coding) that adaptively encodes pixels in a block in accordance with the dynamic range of the block by dividing the input image signal into predetermined blocks. It is the encoding apparatus used.
[0003]
ADRC is proposed in Japanese Patent Application Laid-Open No. 61-14498 by the present applicant. ADRC will be briefly described with reference to FIG. An input image signal input from the input terminal 120 is supplied to the block dividing unit 121. Then, in the block dividing unit 121, the input image signal is divided into blocks including nine pixels of 3 pixels × 3 lines (hereinafter referred to as (3 × 3)), for example. Then, an output signal from the block dividing unit 121 is supplied to the maximum value detecting unit 122 and the minimum value detecting unit 123 for each block.
[0004]
The maximum value detecting unit 122 detects the maximum value MAX of the pixel values included in the block, and the minimum value detecting unit 123 detects the minimum value MIN. The maximum value MAX from the maximum value detection unit 122 is supplied to the subtraction unit 124. Further, the minimum value MIN from the minimum value detection unit 123 is supplied to the subtraction unit 124, the subtraction unit 125, and the framing unit 128, respectively.
[0005]
In the subtraction unit 124, the minimum value MIN is subtracted from the maximum value MAX to generate the dynamic range DR. The dynamic range DR is supplied to the quantization step width calculation unit 126 and the framing unit 128, respectively. The quantization step width calculation unit 126 calculates the quantization step width Δ from the dynamic range DR supplied from the subtraction unit 124, and supplies the calculated quantization step width Δ to the quantization unit 127.
[0006]
The subtractor 125 is supplied with nine pixels of the (3 × 3) block from the block dividing unit 121, and subtracts the minimum value MIN from the pixel value of each of the nine pixels, thereby normalizing each pixel value. Is executed. The normalized pixel values are supplied to the quantization unit 127. In the quantization unit 127, each normalized pixel value is quantized with the quantization step width Δ and supplied to the framing unit 128 as a quantization value x.
[0007]
In the framing unit 128, for each block, the supplied dynamic range DR and the minimum value MIN are framing together with the quantized value x of 9 pixels of the block as a block parameter, and output as an output signal. . Then, the output signal is recorded on a recording medium such as a disk or transmitted through a transmission path.
[0008]
[Problems to be solved by the invention]
However, on the decoding side, when decoding the quantized value of the block using the parameter of the block to be transmitted, in the sense that the decoding error between the original signal value and the decoded restored value is minimized, There is no guarantee that it is optimal to decode the quantized value of the block using the parameter of the block obtained in (1), and in some cases, the decoding error becomes large and the decoded image deteriorates.
[0009]
Accordingly, an object of the present invention is to provide a parameter (for example, in the case of ADRC) first obtained for obtaining a quantized value on the encoding side so that a decoding error between the original signal value and the restored value becomes small. Image coding and transmission apparatus capable of reducing decoding error by optimizing maximum value MAX, minimum value MIN or dynamic range DR) and An object of the present invention is to provide an image encoding transmission method.
[0010]
[Means for Solving the Problems]
In order to achieve the above-described object, the present invention provides a plurality of input digital image signals in an image encoding transmission apparatus that encodes and transmits an input digital image signal so as to reduce the amount of generated data of the input digital image signal. A block dividing unit that divides the block into pixels, a maximum value of a plurality of pixels in the block, a first detection unit that detects a minimum value of the plurality of pixels, and a maximum value and a minimum value A second detection unit for detecting a dynamic range as a difference; Difference value obtained by subtracting the pixel values of multiple pixels from the maximum value, or difference value obtained by subtracting the minimum value from the pixel values of multiple pixels A quantization unit that generates a quantization value of a plurality of pixels, and a maximum value, a minimum value, and a dynamic value generated for each block so as to minimize a sum of squares of decoding errors of the quantization values. An optimization unit that optimizes at least two pieces of information indicating a range, and two pieces of information that indicate an optimized maximum value, an optimized minimum value, and an optimized dynamic range as parameters. An image encoding transmission apparatus comprising: a transmission unit that transmits to a transmission path together with quantized values of a plurality of pixels.
[0011]
The present invention also relates to an image encoding transmission method for encoding and transmitting an input digital image signal so as to reduce the amount of generated data of the input digital image signal, and dividing the input digital image signal into blocks composed of a plurality of pixels. For each block, detecting a maximum value of a plurality of pixels in the block, a minimum value of the plurality of pixels, and detecting a dynamic range that is a difference between the maximum value and the minimum value; Difference value obtained by subtracting the pixel values of multiple pixels from the maximum value, or difference value obtained by subtracting the minimum value from the pixel values of multiple pixels To generate a quantized value of a plurality of pixels, and the maximum value, minimum value, and dynamic range generated for each block so that the sum of squares of decoding errors of the quantized value is minimized. A plurality of pixels for each block, with two parameters: a step of optimizing at least two of the information to be shown, and an information showing the optimized maximum value, the optimized minimum value, and the optimized dynamic range. And a step of transmitting to the transmission path together with the quantized value of the image encoding transmission method.
[0013]
As described above, according to the present invention, after obtaining a block parameter, decoding is performed using the parameter to obtain an error between the restored value and the true value, and the parameter is modified so as to minimize the error. Therefore, it is possible to further reduce the restoration error between the original signal value and the restoration value.
[0014]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing a first embodiment of an image encoding apparatus according to the present invention. The input image signal is supplied to the block dividing unit 1 through the input terminal IN. In the block division unit 1, the input image signal is divided into, for example, (3 × 3) blocks, and an input pixel value y consisting of 8 bits of 9 pixels of the (3 × 3) block is the maximum value detection unit 2. Value detector 3 Are supplied to the subtracting unit 5 and the least square method estimating unit 8, respectively.
[0015]
In the maximum value detection unit 2, a value at which the level of the pixel value is maximum is detected among the nine pixels included in the (3 × 3) block, and the maximum value MAX is supplied to the subtraction unit 4. In addition, the minimum value detection unit 3 detects a value at which the level of the pixel value is the minimum among the nine pixels included in the (3 × 3) block, and the minimum value MIN is sent to the subtraction unit 4 and the subtraction unit 5. Supplied respectively.
[0016]
In the subtraction unit 4, the minimum value MIN is subtracted from the maximum value MAX to generate a dynamic range DR. The dynamic range DR is supplied to the quantization step width calculation unit 6. The subtracting unit 5 subtracts the minimum value MIN from the input pixel value y of 9 pixels of the (3 × 3) block from the block dividing unit 1 and normalizes the 9 pixels of the normalized (3 × 3) block. Pixel values are generated. The pixel values of the 9 pixels of the normalized (3 × 3) block are supplied to the quantization unit 7.
[0017]
The quantization step width calculation unit 6 calculates a quantization step width Δ based on the supplied dynamic range DR, and the calculated quantization step width Δ is supplied to the quantization unit 7. The quantization unit 7 performs 4-bit quantization of the pixel values of 9 pixels of the (3 × 3) block normalized by the supplied quantization step width Δ. The quantized value x consisting of 4 bits of 9 pixels of the (3 × 3) block is supplied to the least square method estimating unit 8 and the framing unit 11, respectively.
[0018]
The least square method estimating unit 8 receives the input pixel value y of 9 pixels of the (3 × 3) block and the quantized value x of 9 pixels of the quantized (3 × 3) block, which are input image signals. The least square method estimator 8 is supplied and uses the input pixel value (true value) y and the quantized value x supplied for each block, and the decoded value y of the quantized value of each block by the least square method. The optimized dynamic range DR ′ and the optimized minimum value MIN ′ are estimated so as to minimize the sum of squares of the error (y′−y) between “′” and the true value y corresponding to the decoded value y ′. . That is, the relationship of the following expression (1) is established between the decoded value y ′ of the input pixel value y and the quantized value x.
[0019]
y ′ = x × DR / n + MIN (1)
(Where n is the number of quantization bits)
[0020]
Then, the optimized dynamic range DR ′ is obtained by the following equation (2).
[0021]
DR ′ = n · Δ ′ (2)
(However, Δ ′ is an optimized quantization step width.)
[0022]
Further, when the number of pixels in the block is m, the optimized quantization step width is obtained by the following equation (3).
[0023]
Δ ′ = (m · Σxy−Σx · Σy) / (m · Σx 2 -(Σx) 2 (3)
[0024]
Further, the optimized minimum value MIN ′ is obtained by the following equation (4).
[0025]
MIN ′ = (Σy−Δ ′ · Σx) / m (4)
[0026]
Then, the optimized dynamic range DR ′ and the optimized minimum value MIN ′ are supplied to the framing unit 11. The framing unit 11 frames the quantized value x from the quantizing unit 7, the optimized dynamic range DR ′ and the optimized minimum value MIN ′ from the least square method estimating unit 8 for each block, and generates a framing signal. Is supplied to the error correction code adding unit 12.
[0027]
The error correction code adding unit 12 adds an error correction code to the framing signal and supplies it to the modulation unit 13. The modulation unit 13 modulates the framing signal to which the error correction code is added using a modulation method such as an EFM modulation method. Then, the modulated signal is supplied to the recording unit 14 where it is recorded on a recording medium 15 such as a disk.
[0028]
In the case of transmitting a modulated signal via the transmission line 17, the present invention is configured by the transmission unit 16 instead of the recording unit 14. Then, the modulation unit 13 modulates the framing signal to which the error correction code is added using a modulation method optimal for transmission, and supplies the modulated framing signal to the transmission path 17 via the transmission unit 16. As for the framing technique and the modulation technique, since many techniques are already known, any technique may be used although omitted here.
[0029]
Next, details of the least square method estimating unit 8 of the first embodiment will be described with reference to FIGS. FIG. 3 is an actual configuration example for obtaining the dynamic range DR ′ optimized by the least square method and the optimized minimum value MIN ′, and FIG. 2 calculates constants required for the configuration. It is the example of a structure to do.
[0030]
As described above, the data x used in the first embodiment is a quantized value, and the data y ′ is a restored value of the data x. The true value of the data y ′ is y, and the number of pixels in the block is m. Therefore, the least square method estimating unit 8 uses the supplied pixel value y and quantized value x for each block, and uses the least square method to calculate the decoded value y ′ and the decoded value y of each block. Optimized minimum value MIN ′ and optimized dynamic range DR ′ that minimize the sum of squares of error (y′−y) from the true value corresponding to ′ are estimated.
[0031]
First, data x is supplied from the input terminal 21 shown in FIG. 2, and the data x is supplied to the register 22. Data y is supplied to the register 24 via the input terminal 23. The counter 25 counts the number of pixels for each block in accordance with the clock, and the counted number of pixels m is supplied to the terminal 28 via the registers 26 and 27.
[0032]
The multiplier 29 multiplies the 4-bit data x supplied from the register 22 by the 8-bit data y supplied from the register 24, and the 12-bit data xy is added through the register 30. 31. In the adding circuit 31, the supplied 12-bit data xy is supplied to the adder 31a. Data output from the adder 31a is supplied to the registers 31b and 31c. The data xy supplied from the register 30 and the data output from the adder 31a are added by the adder 31a via the register 31b. 18-bit data is output from the adder circuit 31 and supplied to the terminal 33 via the register 32 as data Σxy. That is, the adder circuit 31 generates Σxy in units of blocks.
[0033]
The 4-bit data x supplied from the register 22 is supplied to the adder circuit 35 via the register 34. In the adding circuit 35, the supplied 4-bit data x is supplied to the adder 35a. Data output from the adder 35a is supplied to the registers 35b and 35c. The data x supplied from the register 34 and the data output from the adder 35a are added by the adder 35a via the register 35b. 10-bit data is output from the adder circuit 35 and supplied to the terminal 37 via the register 36 as data Σx. That is, the adder circuit 35 generates Σx in units of blocks.
[0034]
The 10 bits of data Σx from the adder circuit 35 are supplied to the multiplier 38. The multiplier 38 calculates the square of the data Σx, and data (Σx) consisting of 20 bits. 2 Is supplied to the terminal 40 via the register 39.
[0035]
The 8-bit data y supplied from the register 24 is supplied to the adder circuit 42 via the register 41. In the adder circuit 42, the supplied 8-bit data y is supplied to the adder 42a. Data output from the adder 42a is supplied to the registers 42b and 42c. The data y supplied from the register 41 and the data output from the adder 42a are added by the adder 42a via the register 42b. 14-bit data is output from the adder circuit 42 and supplied to the terminal 44 through the register 43 as data Σy. That is, the adder circuit 42 generates Σy in units of blocks.
[0036]
The multiplier 45 calculates the square of the data x consisting of 4 bits supplied from the register 22, and the data x consisting of 8 bits. 2 Is supplied to the adder circuit 47 via the register 46. In this adder circuit 47, the supplied 8-bit data x 2 Is supplied to the adder 47a. Data output from the adder 47a is supplied to the registers 47b and 47c. Data x supplied from the register 46 2 Then, the data output from the adder 47a is added by the adder 47a via the register 47b. The adder circuit 47 outputs 14-bit data, and data Σx 2 Is supplied to the terminal 49 via the register 48. In other words, the adder circuit 47 generates Σx in block units. 2 Is generated.
[0037]
Further, as shown in FIG. 2, the input terminal 50 is connected to the counter 25 and the clear terminals of the registers 31b, 35b, 42b and 47b, and the input terminal 51 is the clear of the registers 27, 32, 36, 39, 43 and 48. Each register connected to the terminal is controlled for each block by a signal supplied to these input terminals 50 and 51.
[0038]
FIG. 3 shows a general configuration example of an actual least square method. The number m of pixels supplied to the terminal 28 is supplied to the reciprocal circuit 61, the multiplier 64, and the multiplier 71, respectively. In the reciprocal circuit 61, the reciprocal number (1 / m) of the supplied pixel number m is calculated, and the reciprocal number (1 / m) is supplied to the terminal 63 via the register 62. In the multiplier 64, the data Σxy supplied to the terminal 33 is multiplied by the number of pixels m, and the data mΣxy is supplied to the subtractor 66 through the register 65.
[0039]
The Σx supplied to the terminal 37 is supplied to the multiplier 67 and the multiplier 74, respectively, and the data Σy supplied to the terminal 44 is supplied to the multiplier 67. In the multiplier 67, the data Σx and the data Σy are multiplied, and the data ΣxΣy is supplied to the subtractor 66 through the register 68. The subtractor 66 subtracts the data ΣxΣy from the data mΣxy, and the output data mΣxy−ΣxΣy is supplied to the multiplier 79 via the registers 69 and 70.
[0040]
In the multiplier 71, the data Σx supplied to the terminal 47 2 Is multiplied by the number of pixels m, and the data mΣx is transmitted via the register 72. 2 Is supplied to the subtractor 73. The multiplier 74 calculates the square of the data Σx, and the data (Σx) 2 Is supplied to the subtractor 73. In the subtractor 73, the data mΣx 2 To data (Σx) 2 Is subtracted and the output data mΣx 2 -(Σx) 2 Is supplied to the reciprocal circuit 77 through the register 76. In the reciprocal circuit 77, the data mΣx is the same as described above. 2 -(Σx) 2 Reciprocal of 1 / (mΣx 2 -(Σx) 2 )) And the reciprocal (1 / (mΣx) through the register 78. 2 -(Σx) 2 )) Is supplied to the multiplier 79.
[0041]
In the multiplier 79, the data mΣxy−ΣxΣy and the data 1 / (mΣx 2 -(Σx) 2 ) And data (mΣxy−ΣxΣy) / (mΣx 2 -(Σx) 2 ) Are supplied to the multipliers 81 and 89 via the register 80, respectively. In the multiplier 81, the data Σx supplied to the terminal 37 and the data (mΣxy−ΣxΣy) / (mΣx 2 -(Σx) 2 ) And the result is the data (mΣxΣxy− (Σx) 2 Σy) / (mΣx 2 -(Σx) 2 ) Is supplied to the subtractor 83 via the register 82.
[0042]
In the subtractor 83, the data (mΣxΣxy− (Σx)) from the data Σy supplied to the terminal 44 from the register 82 2 Σy) / (mΣx 2 -(Σx) 2 ) Is subtracted, and as a result, the data m (Σx is transmitted through the register 84. 2 Σy−ΣxΣxy) / (mΣx 2 -(Σx) 2 ) Is supplied to the multiplier 85. In the multiplier 85, 1 / m from the terminal 63 and data m (Σx 2 Σy−ΣxΣxy) / (mΣx 2 -(Σx) 2 ) And result in data (Σx 2 Σy−ΣxΣxy) / (mΣx 2 -(Σx) 2 ) Is the optimized minimum value MIN ′. Then, the generated minimum value MIN ′ is supplied to the output terminal 87 via the register 86 and output.
[0043]
The terminal 88 has a value 2 set in advance corresponding to the number of quantization bits used in the quantization step width calculation unit 6. n Is supplied. In the multiplier 89, 2 supplied to the terminal 88. n (N is the number of quantization bits) and data (mΣxy−ΣxΣy) / (mΣx 2 -(Σx) 2 ) And result in data 2 n (MΣxy−ΣxΣy) / (mΣx 2 -(Σx) 2 ) Is the optimized dynamic range DR ′. The generated dynamic range DR ′ is supplied to the output terminal 93 via the registers 90, 91 and 92 and output. In this way, an optimized minimum value MIN ′ and an optimized dynamic range DR ′ can be obtained.
[0044]
FIG. 4 shows an image coding apparatus according to a second embodiment that transmits the maximum value MAX ′ optimized together with the quantization value and the optimized dynamic range DR ′. In the description of the second embodiment, the same parts as those in the first embodiment are denoted by the same reference numerals, and the description thereof is omitted.
[0045]
The subtracting unit 19 subtracts the 8-pixel input pixel value y of 9 pixels of the (3 × 3) block from the maximum value MAX, and normalizes the 9-pixel input pixel value. The normalized pixel value of 9 pixels is supplied to the quantization unit 7. The quantization unit 7 supplies quantized values composed of 4 bits of 9 pixels of a (3 × 3) block to the least square method estimation unit 9 and the framing unit 11, respectively.
[0046]
Then, the least square method estimating unit 9 inputs the input pixel value y of the 9 pixels of the (3 × 3) block and the quantized value of the 9 pixels of the quantized (3 × 3) block, which are input image signals. x is supplied. The least square method estimating unit 9 uses the input pixel value (true value) y and the quantized value x supplied for each block, and decodes the decoded value y ′ of the quantized value of each block by the least square method. The optimized dynamic range DR ′ and the optimized maximum value MAX ′ are estimated so as to minimize the square sum of the error (y′−y) from the true value corresponding to the value y ′. That is, the relationship of the following equation (5) is established between the decoded value y ′ of the input pixel value y and the quantized value x.
[0047]
y ′ = MAX−x × DR / n (5)
(Where n is the number of quantization bits)
[0048]
When the number of pixels in the block is m, the optimized dynamic range DR ′ is obtained by the above-described equation (2) using the above-described equation (3). Further, the optimized maximum value MAX ′ is obtained by the following equation (6) using the above-described equation (3).
[0049]
Figure 0003763163
[0050]
The optimized dynamic range DR ′ and the optimized maximum value MAX ′ are supplied to the framing unit 11. The framing unit 11 frames the quantized value x from the quantizing unit 7, the optimized dynamic range DR ′ from the least square method estimating unit 9, and the optimized maximum value MAX ′ for each block.
[0051]
FIG. 5 shows an image coding apparatus according to a third embodiment that transmits the optimized maximum value MAX ′ and the optimized minimum value MIN ′ together with the quantized value. In the description of the third embodiment, the same parts as those in the first embodiment are denoted by the same reference numerals, and the description thereof is omitted.
[0052]
As in the embodiment of FIG. 1, the subtracting unit 5 subtracts the minimum value MIN from the input pixel value y consisting of 8 bits of 9 pixels of the (3 × 3) block, and normalizes the pixel value of 9 pixels. The The normalized pixel value of 9 pixels is supplied to the quantization unit 7. The quantization unit 7 supplies a quantized value consisting of 4 bits of 9 pixels of a (3 × 3) block to the least square method estimation unit 10 and the framing unit 11, respectively.
[0053]
Then, the least square method estimating unit 10 inputs the input pixel value y of the 9 pixels of the (3 × 3) block and the quantized value of the 9 pixels of the quantized (3 × 3) block, which are input image signals. x is supplied, and the least square method estimation unit 10 decodes the quantized value of each block by the least square method using the input pixel value (true value) y and the quantized value x supplied for each block. An optimized minimum value MIN ′ and an optimized maximum value MAX ′ are estimated so as to minimize the sum of squares of an error (y′−y) between the value y ′ and the true value corresponding to the decoded value y ′. To do. That is, the relationship of the following equation (7) is established between the decoded value y ′ of the input pixel value y and the quantized value x.
[0054]
y ′ = xx × (MAX−MIN) / n + MIN (7)
(Where n is the number of quantization bits)
[0055]
Then, assuming that the number of pixels in the block is m, the optimized minimum value MIN ′ is obtained by the above-described equation (4) using the above-described equation (3). Further, the optimized maximum value MAX ′ is obtained by the above-described equation (6) using the above-described equation (3). Then, the optimized minimum value MIN ′ and the optimized maximum value MAX ′ are supplied to the framing unit 11. The framing unit 11 frames the quantized value x from the quantizing unit 7, the optimized minimum value MIN ′ and the optimized maximum value MAX ′ from the least square method estimating unit 10 for each block.
[0056]
Next, FIG. 6 shows an example in which the image coding apparatus of the present invention is applied to a hierarchical coding apparatus. Input image signals from the input terminal 101 are supplied to the averaging unit 102 and the subtracting unit 104, respectively. For example, the averaging unit 102 adds four pixels to the supplied input image signal in units of (2 × 2) blocks, and averages the added value to ¼. The averaged pixels are supplied to the interpolation unit 103 and the high efficiency encoding unit 108, respectively.
[0057]
In the interpolation unit 103, for example, using the class classification adaptive processing technique, the interpolation processing of the pixels thinned out by averaging is performed, and the pixels are supplied to the subtractor 104. As described above, an interpolation method using the class classification adaptive processing technique is proposed in, for example, Japanese Patent Laid-Open No. 5-328185 by the present applicant. The interpolation unit 103 may use a known interpolation method other than the method using the class classification adaptive processing technique.
[0058]
The subtracting unit 104 subtracts the pixel subjected to the interpolation process from the input pixel value y, and supplies the residual signal to the high efficiency encoding unit 105. This high-efficiency encoding unit 105 is an ADRC-based high-efficiency encoding unit that optimizes at least two parameters of the dynamic range DR, the minimum value MIN, and the maximum value MAX as in the above-described embodiment of the present invention. It is.
[0059]
That is, the high-efficiency encoding unit 105 generates and generates a quantization value x and an additional code (for example, the optimized dynamic range DR ′ and the optimized minimum value MIN ′ in the first embodiment). The quantized value x and the additional code are supplied to the variable length coding unit 106. In the variable length coding unit 106, the supplied quantization value x and the additional code are subjected to variable length coding such as Huffman coding and run length coding, and the variable length coded data is sent from the output terminal 107 to the lower layer. It is transmitted as encoded data.
[0060]
Similarly, in the high efficiency encoding unit 108, the averaged pixels supplied from the averaging unit 102 are supplied to the high efficiency encoding unit 108. The high-efficiency encoding unit 108 is an ADRC-based high-efficiency encoding unit that optimizes at least two parameters of the dynamic range DR, the minimum value MIN, and the maximum value MAX, as in the above-described embodiment of the present invention. It is.
[0061]
That is, the high-efficiency encoding unit 108 generates and generates a quantization value x and an additional code (for example, the optimized dynamic range DR ′ and the optimized minimum value MIN ′ in the first embodiment). The quantized value x and the additional code are supplied to the variable length encoding unit 109. In the variable length coding unit 109, the transmitted quantized value x and the additional code are subjected to variable length coding such as Huffman coding and run length coding, and the variable length coded data is sent from the output terminal 110 to the upper layer. It is transmitted as encoded data.
[0062]
In the first, second, and third embodiments of the present invention, as the parameters to be transmitted, among the optimized dynamic range DR ′, the optimized minimum value MIN ′, and the optimized maximum value MAX ′ However, the present invention is not limited to this, and two parameters including at least the optimized quantization step width Δ ′ may be transmitted.
[0063]
That is, in the present invention, the least square method estimation unit may optimize at least two parameters to be transmitted and transmit the two optimized parameters together with the quantized value.
[0064]
In the first and third embodiments of the present invention, the subtraction unit 5 subtracts the minimum value MIN from the quantized value of 9 pixels. However, the present invention is not limited to this, and the second embodiment. Similarly to the above, the input pixel value of 9 pixels may be subtracted from the maximum value MAX.
[0065]
In the second embodiment of the present invention, the subtractor 19 subtracts the quantized value of 9 pixels from the maximum value MAX. However, the present invention is not limited to this, and is the same as in the first embodiment. The minimum value MIN may be subtracted from the quantized value of 9 pixels.
[0066]
The block division unit of the present invention divides the input image signal into two-dimensional blocks of (3 × 3) blocks. However, the present invention is not limited to this, and is composed of blocks other than (3 × 3) blocks. Alternatively, the input image signal may be composed of a three-dimensional block.
[0067]
Further, in the embodiment of the present invention, ADRC is used. However, the present invention is not limited to this, and when DCT (Discrete Cosine Transform) is used, the DC component is optimized and GBTC (Global Block Trancation Coding). Can be used to optimize the mean and standard deviation.
[0068]
The embodiment of the present invention is a coding apparatus for a digital image signal. However, the present invention is not limited to this and can be applied to data such as a digital audio signal.
[0069]
Various modifications and application examples can be considered without departing from the gist of the present invention. Therefore, the gist of the present invention is not limited to the examples.
[0070]
【The invention's effect】
The present invention optimizes a parameter first obtained using a least square method on a coding side so as to obtain a quantized value so that a decoding error between an original signal value and a restored value becomes small. Transmit the optimized parameters and quantized values. ing. Therefore, according to the present invention, the error between the restored value and the original signal value can be reduced on the decoding side.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a first embodiment of an image coding apparatus according to the present invention.
FIG. 2 is a diagram illustrating a configuration example of a least squares method estimation unit according to the present invention.
FIG. 3 is a diagram showing a configuration example of a least squares method estimation unit according to the present invention.
FIG. 4 is a block diagram showing a second embodiment of the image coding apparatus according to the present invention.
FIG. 5 is a block diagram showing a third embodiment of the image coding apparatus according to the present invention.
FIG. 6 is a block diagram showing an example in which the image coding apparatus according to the present invention is used in a hierarchical coding apparatus.
FIG. 7 is a block diagram of a conventional ADRC.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 ... Block division part, 2 ... Maximum value detection part, 3 ... Minimum value detection part, 4, 5 ... Subtraction part, 6 ... Step width calculation part, 7 ... Quantization 8 is a least square method estimating unit, 11 is a framing unit, 12 is an error correction code adding unit, 13 is a modulating unit, 14 is a recording unit, and 15 is a recording medium. 16: Transmission unit, 17 ... Transmission path

Claims (8)

入力ディジタル画像信号の発生データ量を少なくするように、上記入力ディジタル画像信号を符号化して伝送する画像符号化伝送装置において、
上記入力ディジタル画像信号を複数の画素からなるブロックに分割するブロック分割部と、
上記ブロック毎に、上記ブロック内の上記複数の画素の最大値と、上記複数の画素の最小値を検出する第1の検出部と、
上記最大値および上記最小値の差であるダイナミックレンジを検出する第2の検出部と、
上記最大値から上記複数の画素の画素値を減算した差分値、または上記最小値を上記複数の画素の画素値から減算した差分値を量子化して、上記複数の画素の量子化値を生成する量子化部と、
上記量子化値の復号誤差の自乗和を最小とするように、上記ブロック毎に発生された最大値、最小値、およびダイナミックレンジを示す情報の少なくとも2つを最適化する最適化部と、
上記最適化された最大値、最適化された最小値および最適化されたダイナミックレンジを示す情報の2つをパラメータとして、上記ブロック毎に、上記複数の画素の量子化値とともに上記伝送路に伝送する伝送部と
からなることを特徴とする画像符号化伝送装置。
In an image encoding and transmission apparatus for encoding and transmitting the input digital image signal so as to reduce the amount of generated data of the input digital image signal,
A block dividing unit for dividing the input digital image signal into blocks composed of a plurality of pixels;
For each block, a first detection unit that detects a maximum value of the plurality of pixels in the block and a minimum value of the plurality of pixels;
A second detection unit that detects a dynamic range that is a difference between the maximum value and the minimum value;
The difference value obtained by subtracting the pixel values of the plurality of pixels from the maximum value or the difference value obtained by subtracting the minimum value from the pixel values of the plurality of pixels is quantized to generate a quantized value of the plurality of pixels. A quantization unit;
An optimization unit for optimizing at least two of the information indicating the maximum value, the minimum value, and the dynamic range generated for each block so as to minimize the square sum of the decoding errors of the quantization values;
Using the optimized maximum value, the optimized minimum value, and the information indicating the optimized dynamic range as parameters, the information is transmitted to the transmission path together with the quantized values of the plurality of pixels for each block. An image encoding transmission apparatus comprising: a transmission unit configured to perform transmission.
上記最適化部では、上記最大値および上記最小値が最適化され、
上記伝送部では、上記最適化された最大値および上記最適化された最小値が上記パラメータとして伝送されることを特徴とする請求項1に記載の画像符号化伝送装置。
In the optimization unit, the maximum value and the minimum value are optimized,
The image coding and transmitting apparatus according to claim 1, wherein the transmission unit transmits the optimized maximum value and the optimized minimum value as the parameter.
上記最適化部では、上記最大値および上記ダイナミックレンジが最適化され、
上記伝送部では、上記最適化された最大値および上記最適化されたダイナミックレンジが上記パラメータとして伝送されることを特徴とする請求項1に記載の画像符号化伝送装置。
In the optimization unit, the maximum value and the dynamic range are optimized,
The image encoding transmission apparatus according to claim 1, wherein the transmission unit transmits the optimized maximum value and the optimized dynamic range as the parameters.
上記最適化部では、上記最小値および上記ダイナミックレンジが最適化され、
上記伝送部では、上記最適化された最小値および上記最適化されたダイナミックレンジが上記パラメータとして伝送されることを特徴とする請求項1に記載の画像符号化伝送装置。
In the optimization unit, the minimum value and the dynamic range are optimized,
The image encoding transmission apparatus according to claim 1, wherein the transmission unit transmits the optimized minimum value and the optimized dynamic range as the parameters.
入力ディジタル画像信号の発生データ量を少なくするように、上記入力ディジタル画像信号を符号化して伝送する画像符号化伝送方法において、
上記入力ディジタル画像信号を複数の画素からなるブロックに分割するステップと、
上記ブロック毎に、上記ブロック内の上記複数の画素の最大値と、上記複数の画素の最小値を検出するステップと、
上記最大値および上記最小値の差であるダイナミックレンジを検出するステップと、
上記最大値から上記複数の画素の画素値を減算した差分値、または上記最小値を上記複数の画素の画素値から減算した差分値を量子化して、上記複数の画素の量子化値を生成するステップと、
上記量子化値の復号誤差の自乗和を最小とするように、上記ブロック毎に発生された最大値、最小値、およびダイナミックレンジを示す情報の少なくとも2つを最適化するステップと、
上記最適化された最大値、最適化された最小値および最適化されたダイナミックレンジを示す情報の2つをパラメータとして、上記ブロック毎に、上記複数の画素の量子化値とともに上記伝送路に伝送するステップと
からなることを特徴とする画像符号化伝送方法。
In an image encoding transmission method for encoding and transmitting the input digital image signal so as to reduce the amount of generated data of the input digital image signal,
Dividing the input digital image signal into blocks of a plurality of pixels;
Detecting a maximum value of the plurality of pixels in the block and a minimum value of the plurality of pixels for each of the blocks;
Detecting a dynamic range which is a difference between the maximum value and the minimum value;
The difference value obtained by subtracting the pixel values of the plurality of pixels from the maximum value or the difference value obtained by subtracting the minimum value from the pixel values of the plurality of pixels is quantized to generate a quantized value of the plurality of pixels. Steps,
Optimizing at least two of information indicating a maximum value, a minimum value, and a dynamic range generated for each block so as to minimize a square sum of decoding errors of the quantized values;
Using the optimized maximum value, the optimized minimum value, and the information indicating the optimized dynamic range as parameters, the information is transmitted to the transmission path together with the quantized values of the plurality of pixels for each block. An image encoding transmission method characterized by comprising the steps of:
上記最適化するステップでは、上記最大値および上記最小値が最適化され、
上記伝送するステップでは、上記最適化された最大値および上記最適化された最小値が上記パラメータとして伝送されることを特徴とする請求項5に記載の画像符号化伝送方法。
In the optimizing step, the maximum value and the minimum value are optimized,
6. The image encoding transmission method according to claim 5, wherein, in the transmitting step, the optimized maximum value and the optimized minimum value are transmitted as the parameter.
上記最適化するステップでは、上記最大値および上記ダイナミックレンジが最適化され、
上記伝送するステップでは、上記最適化された最大値および上記最適化されたダイナミックレンジが上記パラメータとして伝送されることを特徴とする請求項5に記載の画像符号化伝送方法。
In the optimizing step, the maximum value and the dynamic range are optimized,
6. The image encoding transmission method according to claim 5, wherein, in the transmitting step, the optimized maximum value and the optimized dynamic range are transmitted as the parameters.
上記最適化するステップでは、上記最小値および上記ダイナミックレンジが最適化され、
上記伝送するステップでは、上記最適化された最小値および上記最適化されたダイナミックレンジが上記パラメータとして伝送されることを特徴とする請求項5に記載の画像符号化伝送方法。
In the optimizing step, the minimum value and the dynamic range are optimized,
6. The image encoding transmission method according to claim 5, wherein in the transmitting step, the optimized minimum value and the optimized dynamic range are transmitted as the parameters.
JP14218296A 1995-06-21 1996-05-13 Image encoding transmission apparatus and image encoding transmission method Expired - Fee Related JP3763163B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14218296A JP3763163B2 (en) 1995-06-21 1996-05-13 Image encoding transmission apparatus and image encoding transmission method

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP7-178244 1995-06-21
JP17824495 1995-06-21
JP14218296A JP3763163B2 (en) 1995-06-21 1996-05-13 Image encoding transmission apparatus and image encoding transmission method

Publications (2)

Publication Number Publication Date
JPH0970042A JPH0970042A (en) 1997-03-11
JP3763163B2 true JP3763163B2 (en) 2006-04-05

Family

ID=26474273

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14218296A Expired - Fee Related JP3763163B2 (en) 1995-06-21 1996-05-13 Image encoding transmission apparatus and image encoding transmission method

Country Status (1)

Country Link
JP (1) JP3763163B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5115203B2 (en) * 2008-01-11 2013-01-09 コニカミノルタビジネステクノロジーズ株式会社 Image processing apparatus, encoding method, and decoding method
FR2996706A1 (en) * 2012-10-05 2014-04-11 I Ces Innovative Compression Engineering Solutions METHOD OF ENCODING A MATRIX, IN PARTICULAR A MATRIX REPRESENTING A FIXED OR VIDEO IMAGE

Also Published As

Publication number Publication date
JPH0970042A (en) 1997-03-11

Similar Documents

Publication Publication Date Title
US5146326A (en) Coded picture information decoding apparatus having means for improving picture distortion
US5937101A (en) Post-processing device for eliminating blocking artifact and method therefor
US7680346B2 (en) Method and apparatus for encoding image and method and apparatus for decoding image using human visual characteristics
JP3933691B2 (en) Hybrid waveform and model-based encoding and decoding of image signals
US5001559A (en) Transform coding using coefficient prediction techniques
US20080008246A1 (en) Optimizing video coding
JP2000125297A (en) Method for coding and decoding consecutive image
WO1997049250A1 (en) Device and method for encoding picture and device and method for decoding picture
US5734433A (en) Picture encoding apparatus, picture encoding method, picture encoding and transmitting method, and picture record medium
EP2319242A2 (en) Method and apparatus for inverse quantizing image, and method and apparatus for decoding image
WO2008080816A1 (en) Method and system for signal prediction in predictive coding
JP2001519988A (en) System for extracting coding parameters from video data
JP3674158B2 (en) Image encoding method and image decoding apparatus
EP2046052A2 (en) Method, medium, and system adjusting predicted values based on color with image compressing/recovering
JP3763163B2 (en) Image encoding transmission apparatus and image encoding transmission method
JP2723867B2 (en) Image signal decoding device
JP3903496B2 (en) Image encoding method, encoding device, decoding method, and decoding device
JP2002204449A (en) Quantization unit setting device, quantization unit setting method, coder and coding method, and information recording medium
JPS63284974A (en) Picture compression system
JPH09261664A (en) Current frame prediction device and video signal coding system using the device
JP3896635B2 (en) Image data conversion apparatus and method, prediction coefficient generation apparatus and method
JP3627256B2 (en) Apparatus and method for receiving / reproducing digital image signal
JPH02216917A (en) Coding/decoding method
JP2570794B2 (en) High-efficiency encoder for television signals.
JP3175906B2 (en) Image encoding / decoding method

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050712

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050726

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050909

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051004

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051130

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20051227

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060109

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100127

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100127

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110127

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110127

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120127

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120127

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130127

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140127

Year of fee payment: 8

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees