JP2007104645A - Compressing encoder, compressing encoding method and program - Google Patents

Compressing encoder, compressing encoding method and program Download PDF

Info

Publication number
JP2007104645A
JP2007104645A JP2006237961A JP2006237961A JP2007104645A JP 2007104645 A JP2007104645 A JP 2007104645A JP 2006237961 A JP2006237961 A JP 2006237961A JP 2006237961 A JP2006237961 A JP 2006237961A JP 2007104645 A JP2007104645 A JP 2007104645A
Authority
JP
Japan
Prior art keywords
quantization
step size
unit
quantization step
image quality
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2006237961A
Other languages
Japanese (ja)
Other versions
JP4789148B2 (en
Inventor
Yusuke Mizuno
雄介 水野
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.)
MegaChips Corp
Original Assignee
MegaChips LSI Solutions Inc
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 MegaChips LSI Solutions Inc filed Critical MegaChips LSI Solutions Inc
Priority to JP2006237961A priority Critical patent/JP4789148B2/en
Publication of JP2007104645A publication Critical patent/JP2007104645A/en
Application granted granted Critical
Publication of JP4789148B2 publication Critical patent/JP4789148B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To obtain a compressed image compatible with the target image quality while the image data is encoded by the compressing encoding method in higher speed with less quantity of computation with noise being removed. <P>SOLUTION: A coder quantity controller 22 curtails data to a code train to which rearrangement and bit shift are implemented as shown in Fig. 10 in view of obtaining the predetermined noise removing effect. Curtailment of data is sequentially conducted from the right-end bit. For example, the bit data is sequentially deleted from the bit data of No.0 of VHL 4 shown in Fig. 10 to the bit data of No.0 of YHH5 in the lower direction. When it is assumed that the target noise removing effect can be attained by curtailing the bit data up to YHH1, the data at the scattering point in the relevant Fig. 10 is curtailed. In the case where the desired noise removing effect cannot be obtained even after the data is curtailed up to the data of YHH1, the bit data is sequentially deleted to the lower direction from the bit data of No.0 of VLL4. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、画像圧縮伸長技術で使用される圧縮符号化装置、圧縮符号化方法に関する。   The present invention relates to a compression encoding apparatus and a compression encoding method used in an image compression / decompression technique.

画像データの次世代の高能率符号化方式として、ISO(国際標準化機構)やITU−T(国際電気通信連合電気通信標準化部門)によって、JPEG2000(Joint Photographic Experts Group 2000)方式が策定されている。JPEG2000方式は、現在主流のJPEG(Joint Photographic Experts Group)方式と比べて優れた機能を有するものであり、直交変換としてDWT(離散ウェーブレット変換;Discrete Wavelet Transform)を採用し、エントロピー符号化に、ビットプレーン符号化を行うEBCOT(Embedded Block Coding with Optimized Truncation)と称する方法を採用する点に特徴がある。   As a next-generation high-efficiency encoding system for image data, the ISO (International Organization for Standardization) and ITU-T (International Telecommunication Union Telecommunication Standardization Sector) have developed the JPEG 2000 (Joint Photographic Experts Group 2000) system. The JPEG2000 system has superior functions compared with the current mainstream JPEG (Joint Photographic Experts Group) system, adopts DWT (Discrete Wavelet Transform) as orthogonal transform, and uses bit for entropy coding. It is characterized in that a method called EBCOT (Embedded Block Coding with Optimized Truncation) that performs plain coding is adopted.

図23は、JPEG2000方式に基づいた画像の圧縮符号化を行う圧縮符号化装置100の概略構成を示す機能ブロック図である。以下、この図23を参照しつつ、JPEG2000方式の圧縮符号化手順について概説する。   FIG. 23 is a functional block diagram showing a schematic configuration of a compression encoding apparatus 100 that performs compression encoding of an image based on the JPEG2000 system. Hereinafter, the compression encoding procedure of the JPEG2000 system will be outlined with reference to FIG.

この圧縮符号化装置100に入力する画像信号は、DCレベルシフト部102で必要に応じてDCレベル変換を施された後に、色空間変換部103に出力される。次に、色空間変換部103は、DCレベルシフト部102から入力する信号の色空間を変換する。ここで、例えば、色空間変換部103に入力するRGB信号はYCbCr信号(輝度信号Yと色差信号Cb,Crからなる信号)に変換される。   The image signal input to the compression encoding apparatus 100 is subjected to DC level conversion as necessary by the DC level shift unit 102 and then output to the color space conversion unit 103. Next, the color space conversion unit 103 converts the color space of the signal input from the DC level shift unit 102. Here, for example, the RGB signal input to the color space conversion unit 103 is converted into a YCbCr signal (a signal composed of a luminance signal Y and color difference signals Cb and Cr).

次に、タイリング部104は、色空間変換部103から入力する画像信号を、複数の矩形状の「タイル」と称する領域成分に分割してDWT部105に出力する。DWT部105は、タイリング部104から入力する画像信号に対してタイル単位で整数型または実数型のDWTを施し、その結果得られる変換係数を出力する。DWTでは、2次元画像信号に対して、高域成分(高周波数成分)と低域成分(低周波数成分)とに分割する1次元フィルタが垂直方向と水平方向の順に適用される。JPEG2000の基本方式では、垂直方向と水平方向との双方向に低域側に分割した帯域成分のみを再帰的に帯域分割していくオクターブ分割方式が採用されている。またその再帰的に帯域分割した回数は、分解レベル(decomposition level)と呼ばれる。   Next, the tiling unit 104 divides the image signal input from the color space conversion unit 103 into a plurality of area components called “tiles” having a rectangular shape, and outputs the result to the DWT unit 105. The DWT unit 105 performs integer type or real number type DWT on the image signal input from the tiling unit 104 in units of tiles, and outputs a conversion coefficient obtained as a result. In the DWT, a one-dimensional filter that divides a two-dimensional image signal into a high frequency component (high frequency component) and a low frequency component (low frequency component) is applied in the order of vertical and horizontal directions. The JPEG 2000 basic method employs an octave division method that recursively divides a band only in a band component that is divided in the vertical direction and the horizontal direction in the low frequency range. The number of times the band is recursively divided is called a decomposition level.

図24は、オクターブ分割方式に従って、分解レベル3のDWTを施された2次元画像120を示す模式図である。分解レベル1では、2次元画像120は、垂直方向と水平方向とに前述の1次元フィルタを順次適用することで、HH1,HL1,LH1およびLL1(図示せず)の4つの帯域成分に分割される。ここで、「H」は高域成分を、「L」は低域成分をそれぞれ示している。例えば、HL1は、分解レベル1における水平方向の高域成分Hと垂直方向の低域成分Lとからなる帯域成分である。その表記法を一般化して、「XYn」(X,YはH,Lの何れか;nは1以上の整数)は、分解レベルnにおける水平方向の帯域成分Xと垂直方向の帯域成分Yとからなる帯域成分を指すものとする。   FIG. 24 is a schematic diagram showing a two-dimensional image 120 that has been subjected to decomposition level 3 DWT according to the octave division method. At decomposition level 1, the two-dimensional image 120 is divided into four band components HH1, HL1, LH1, and LL1 (not shown) by sequentially applying the above-described one-dimensional filter in the vertical direction and the horizontal direction. The Here, “H” indicates a high frequency component, and “L” indicates a low frequency component. For example, HL1 is a band component composed of a high frequency component H in the horizontal direction and a low frequency component L in the vertical direction at the decomposition level 1. Generalizing the notation, “XYn” (X and Y are either H or L; n is an integer equal to or greater than 1) is defined as the horizontal band component X and the vertical band component Y at the decomposition level n. A band component consisting of

分解レベル2では、低域成分LL1は、HH2,HL2,LH2およびLL2(図示せず)に帯域分割される。更に、分解レベル3では、低域成分LL2は、HH3,HL3,LH3およびLL3に帯域分割される。以上で生成された帯域成分HH1〜LL3を配列したのが図24である。図24では、3次の分解レベルの例が示されているが、JPEG2000方式では、一般に、3次〜8次程度の分解レベルが採用される。   At decomposition level 2, the low frequency component LL1 is band-divided into HH2, HL2, LH2, and LL2 (not shown). Further, at the decomposition level 3, the low frequency component LL2 is band-divided into HH3, HL3, LH3 and LL3. FIG. 24 shows the band components HH1 to LL3 generated as described above. In FIG. 24, an example of the third-order decomposition level is shown. However, in the JPEG2000 system, generally third-order to eighth-order decomposition levels are employed.

次に、量子化部106は、DWT部105から出力された変換係数を、必要に応じてスカラー量子化する機能を有する。また量子化部106は、ROI部107による関心領域(ROI;Region Of Interest)の画質を優先させるビットシフト処理を行う機能も有している。尚、可逆(ロスレス)変換を行う場合には、量子化部106でのスカラー量子化は行われない。JPEG2000方式では、この量子化部106でのスカラー量子化と後述するポスト量子化(truncation)との2種類の量子化手段が用意されている。   Next, the quantization unit 106 has a function of performing scalar quantization on the transform coefficient output from the DWT unit 105 as necessary. The quantization unit 106 also has a function of performing bit shift processing that prioritizes the image quality of a region of interest (ROI) by the ROI unit 107. Note that, when performing reversible (lossless) transformation, scalar quantization in the quantization unit 106 is not performed. In the JPEG2000 system, two types of quantization means are prepared: scalar quantization in the quantization unit 106 and post-quantization (truncation) described later.

ROIの代表的な利用方法としては、JPEG2000のオプション機能に指定されるMax−shift法がある。   As a typical usage method of ROI, there is a Max-shift method specified in an optional function of JPEG2000.

Maxshift法は、ROI部分を任意の形で指定し、その部分を高画質に圧縮する一方、非ROI部分を低画質に圧縮するものである。具体的には、まず原画像に対してウェーブレット変換を行ってウェーブレット係数の分布を得た後、これらの分布の中で、非ROI部分に相当する係数分布の最も大きなウェーブレット係数の値Vmを求めておく。そして、S>=max(Vm)となるようなビット数Sを求め、ROI部分のウェーブレット係数のみを増大する方向へSビットだけシフトさせる。例えば、Vmの値が十進数で「255」(即ち、二進数で「11111111」)である場合には、S=8ビットであり、またVmの値が十進数で「128」(即ち、二進数で「10000000」)である場合にも同様にS=8ビットであるため、この場合にはROI部分のウェーブレット係数を増大する方向へS=8ビットだけシフトさせることになる。これにより、ROI部分については非ROI部分に比べて圧縮率を低く設定でき、ROI部分について高画質の圧縮データを得ることが可能となる。   The Maxshift method specifies an ROI portion in an arbitrary form and compresses the portion with high image quality, while compressing the non-ROI portion with low image quality. Specifically, first, wavelet transformation is performed on the original image to obtain wavelet coefficient distributions, and among these distributions, the value Vm of the wavelet coefficient having the largest coefficient distribution corresponding to the non-ROI portion is obtained. Keep it. Then, the number of bits S such that S> = max (Vm) is obtained, and only the wavelet coefficient of the ROI portion is shifted by S bits in the increasing direction. For example, if the value of Vm is “255” in decimal (ie, “11111111” in binary), S = 8 bits, and the value of Vm is “128” in decimal (ie, binary). Similarly, in the case of “10000000”), S = 8 bits, and in this case, the wavelet coefficient of the ROI portion is shifted by S = 8 bits in the increasing direction. As a result, the compression ratio can be set lower for the ROI portion than for the non-ROI portion, and high-quality compressed data can be obtained for the ROI portion.

次に、量子化部106から出力された変換係数は、上述のEBCOTに従って、係数ビットモデリング部108と算術符号化部109とで、ブロックベースのエントロピー符号化を施され、符号量制御部110でレートを制御される。具体的には、係数ビットモデリング部108は、入力する変換係数の帯域成分を16×16や32×32や64×64程度の「コードブロック」と称する領域に分割し、更に、各コードブロックを、各ビットの2次元配列で構成される複数のビットプレーンに分解する。   Next, the transform coefficient output from the quantization unit 106 is subjected to block-based entropy coding by the coefficient bit modeling unit 108 and the arithmetic coding unit 109 in accordance with the above-described EBCOT, and the code amount control unit 110 The rate is controlled. Specifically, the coefficient bit modeling unit 108 divides the band component of the input transform coefficient into areas called “code blocks” of about 16 × 16, 32 × 32, and 64 × 64, and further each code block. , It is decomposed into a plurality of bit planes composed of a two-dimensional array of bits.

図25は、複数のコードブロック121,121,121,…に分解された2次元画像120を示す模式図である。また、図26は、このコードブロック121を構成するn枚のビットプレーン1220〜122n-1(n:自然数)を示す模式図である。図26に示すように、コードブロック121中の1点の変換係数の2進値123が"011…0"である場合、この2進値123を構成するビットは、それぞれ、ビットプレーン122n-1,122n-2,122n-3,…,1220に属するように分解される。図中のビットプレーン122n-1は、変換係数の最上位ビット(MSB)のみからなる最上位ビットプレーンを表し、ビットプレーン1220は、その最下位ビット(LSB)のみからなる最下位ビットプレーンを表している。 FIG. 25 is a schematic diagram illustrating a two-dimensional image 120 that has been decomposed into a plurality of code blocks 121, 121, 121,... FIG. 26 is a schematic diagram showing n bit planes 122 0 to 122 n−1 (n: natural number) constituting the code block 121. As shown in FIG. 26, when the binary value 123 of the conversion coefficient at one point in the code block 121 is “011... 0”, the bits constituting the binary value 123 are respectively bit planes 122 n−. 1, 122 n-2, 122 n-3, ..., is decomposed to belong to 122 0. Bit plane 122 n-1 in the figure represents the most significant bit plane consisting only of the most significant bit (MSB) of the transform coefficient, and bit plane 122 0 is the least significant bit plane consisting only of the least significant bit (LSB). Represents.

更に、係数ビットモデリング部108は、各ビットプレーン122k(k=0〜n−1)内の各ビットのコンテクスト(context)判定を行い、図27に示すように、各ビットの有意性(判定結果)に応じて、ビットプレーン122kを3種類の符号化パス、すなわち、SIGパス(SIGnificance propagation pass),MRパス(Magnitude Refinement pass),CLパス(CLeanup pass)に分解する。各符号化パスに関するコンテクスト判定のアルゴリズムは、EBCOTで定められている。それによれば、「有意である」とは、これまでの符号化処理において注目係数がゼロでないとわかっている状態のことを意味し、「有意で無い」とは、係数値がゼロであるか、或いはゼロである可能性がある状態のことを意味する。 Further, the coefficient bit modeling unit 108 performs context determination of each bit in each bit plane 122 k (k = 0 to n−1), and as shown in FIG. 27, the significance (determination) of each bit is determined. According to the result, the bit plane 122k is decomposed into three types of encoding passes, that is, an SIG pass (SIGnificance propagation pass), an MR pass (Magnitude Refinement pass), and a CL pass (CLeanup pass). The context determination algorithm for each coding pass is defined by EBCOT. According to it, “significant” means a state in which the coefficient of interest is known to be non-zero in the encoding process so far, and “not significant” means that the coefficient value is zero. , Or a state that may be zero.

係数ビットモデリング部108は、SIGパス(有意な係数が周囲にある有意でない係数の符号化パス)、MRパス(有意な係数の符号化パス)およびCLパス(SIGパス,MRパスに該当しない残りの係数情報の符号化パス)の3種類の符号化パスでビットプレーン符号化を実行する。ビットプレーン符号化は、最上位ビットプレーンから最下位ビットプレーンにかけて、各ビットプレーンのビットを4ビット単位で走査し、有意な係数が存在するか否かを判定することで行われる。有意で無い係数(0ビット)のみで構成されるビットプレーンの数はパケットヘッダに記録され、有意な係数が最初に出現したビットプレーンから実際の符号化が開始される。その符号化開始のビットプレーンはCLパスのみで符号化され、当該ビットプレーンよりも下位のビットプレーンは、上記3種類の符号化パスで順次符号化される。   The coefficient bit modeling unit 108 performs an SIG path (significant coefficient coding pass with significant coefficients around), an MR path (significant coefficient coding path), and a CL path (SIG path, MR path not corresponding to the rest). Bit plane encoding is performed in three types of encoding passes). Bit plane coding is performed by scanning the bits of each bit plane in units of 4 bits from the most significant bit plane to the least significant bit plane and determining whether or not a significant coefficient exists. The number of bit planes composed only of insignificant coefficients (0 bits) is recorded in the packet header, and actual encoding is started from the bit plane in which significant coefficients first appear. The encoding start bit plane is encoded only by the CL pass, and the bit planes lower than the bit plane are sequentially encoded by the above three types of encoding passes.

尚、図28に、レート(符号量;R)と歪み(D)の関係を表すR−D曲線を示す。このR−D曲線中、R1はビットプレーン符号化前のレート、R2はビットプレーン符号化後のレート、D1はビットプレーン符号化前の歪み、D2はビットプレーン符号化後の歪み、をそれぞれ示している。また、A,B,Cは、上述の符号化パスを表すラベルである。効率的な符号化を行うには、開始点P1(R1,D1)から終了点P2(R2,D2)へ向かう経路のうち、凸曲線のC−B−Aの経路よりも、凹曲線のA−B−Cの経路を採用するのが好ましい。このような凹曲線を実現するには、MSBプレーンからLSBプレーンに向けて符号化すればよいことが知られている。 FIG. 28 shows an RD curve representing the relationship between rate (code amount; R) and distortion (D). In this RD curve, R 1 is a rate before bit plane encoding, R 2 is a rate after bit plane encoding, D 1 is distortion before bit plane encoding, and D 2 is distortion after bit plane encoding. , Respectively. A, B, and C are labels representing the above-described encoding pass. In order to perform efficient encoding, among the paths from the start point P 1 (R 1 , D 1 ) to the end point P 2 (R 2 , D 2 ), the path of the convex curve CBA is used. However, it is preferable to adopt a concave-curved ABC path. In order to realize such a concave curve, it is known that encoding may be performed from the MSB plane toward the LSB plane.

次に、算術符号化部109は、MQコーダを用いて、係数ビットモデリング部108からの係数列に対して、コンテクストの判定結果に基づいて符号化パス単位で算術符号化を実行する。尚、この算術符号化部109で、係数ビットモデリング部108から入力する係数列の一部を算術符号化させないバイパス処理を行うモードもある。   Next, the arithmetic coding unit 109 performs arithmetic coding in units of coding passes on the coefficient sequence from the coefficient bit modeling unit 108 based on the context determination result using the MQ coder. There is also a mode in which the arithmetic encoding unit 109 performs a bypass process in which a part of the coefficient sequence input from the coefficient bit modeling unit 108 is not arithmetically encoded.

次に、符号量制御部110は、算術符号化部109が出力した符号列の下位ビットプレーンを切り捨てるポスト量子化を行うことで、最終符号量を制御する。そして、ビットストリーム生成部111は、符号量制御部110が出力した符号列と付加情報(ヘッダ情報,レイヤー構成、スケーラビリティ情報、量子化テーブルなど)とを多重化したビットストリームを生成し、圧縮画像として出力する。   Next, the code amount control unit 110 controls the final code amount by performing post-quantization that truncates the lower bit planes of the code string output by the arithmetic encoding unit 109. Then, the bit stream generation unit 111 generates a bit stream in which the code string output from the code amount control unit 110 and additional information (header information, layer configuration, scalability information, quantization table, etc.) are multiplexed, and a compressed image Output as.

以上のような構成を有する圧縮符号化装置において、画像データのデータ量を圧縮するための方法としては、例えば、符号量制御部110におけるレート制御方法を利用するレート・歪み最適化(R-D optimization)と称する手法が採用されている(非特許文献1参照)。   In the compression coding apparatus having the above configuration, as a method for compressing the data amount of image data, for example, rate / distortion optimization (RD optimization) using a rate control method in the code amount control unit 110 (Refer to Non-Patent Document 1).

David S. Taubman and Michael W. Marcellin, "JPEG2000 IMAGE COMPRESSION FUNDAMENTALS, STANDARDS AND PRACTICE," Kluwer Academic PublishersDavid S. Taubman and Michael W. Marcellin, "JPEG2000 IMAGE COMPRESSION FUNDAMENTALS, STANDARDS AND PRACTICE," Kluwer Academic Publishers

しかしながら、この手法では、(1)レートに対する歪量を各符号化パスで一々算出する必要があり、また或る符号化レートにおける最適解を推定しなければならず、演算量が多大になりリアルタイム性が低下する、(2)各符号化パスで算出した歪量を保存するためのメモリが必要になる、という問題がある。   However, in this method, (1) it is necessary to calculate the distortion amount with respect to the rate one by one in each coding pass, and it is necessary to estimate the optimal solution at a certain coding rate, which increases the amount of calculation and real time. There is a problem that (2) a memory for storing the distortion amount calculated in each encoding pass is required.

特に、圧縮符号化装置の動作性能に直接影響する量子化や符号量制御については、効率よく高速に、かつ高画質を維持しながら、処理を実現する方法が望まれている。   In particular, for quantization and code amount control that directly affects the operation performance of the compression coding apparatus, a method for realizing processing while maintaining high image quality efficiently at high speed is desired.

また、例えば人物撮影において美肌効果を得たい場合、従来の手法では、圧縮符号化装置の前段にノイズ除去フィルタ(美肌フィルタ)を配置し、ノイズ除去フィルタによって撮影画像に対してノイズ除去処理を行った後に、圧縮符号化装置によって画像圧縮処理を行っている。しかしながら、この手法では、(1)ノイズ除去処理を行った後に画像圧縮処理を行うため、ノイズ除去処理によってせっかくノイズが除去されても、続く画像圧縮処理に起因して新たな歪みが生じる、(2)ノイズ除去フィルタと圧縮符号化装置との2段構成のため、処理が複雑化する、という問題がある。   For example, when it is desired to obtain a skin-beautifying effect in human photography, in the conventional method, a noise removal filter (skin-beautification filter) is disposed in front of the compression encoding device, and noise removal processing is performed on the captured image by the noise removal filter. After that, image compression processing is performed by the compression encoding device. However, in this method, (1) since the image compression process is performed after the noise removal process, even if noise is removed by the noise removal process, new distortion occurs due to the subsequent image compression process. 2) Due to the two-stage configuration of the noise removal filter and the compression encoding device, there is a problem that the processing becomes complicated.

以上の問題等に鑑みて本発明が課題とするところは、少ない演算量で且つ高速に、画像データを圧縮符号化することにある。また、ノイズを除去しながら目標画質に適合する圧縮画像を得ることをも目的とする。   An object of the present invention in view of the above problems is to compress and encode image data with a small amount of calculation and at high speed. Another object is to obtain a compressed image that matches the target image quality while removing noise.

第1の発明に係る圧縮符号化装置は、画像信号を圧縮符号化する圧縮符号化装置であって、ウェーブレット変換により画像信号を高域成分と低域成分とに再帰的に帯域分割して複数の帯域成分の変換係数を生成出力するウェーブレット変換部と、目標画質を示す量子化パラメータを、フィルタ係数のノルムで除算して量子化ステップサイズを求める画質制御部と、前記変換係数をエントロピー符号化するエントロピー符号化部と、前記エントロピー符号化部の出力する符号化データを、前記量子化ステップサイズに基づいて所定の走査順序に並べ替えて符号列を生成し、前記符号列において前記符号化データの全体容量が目標画質となるように、前記符号列の一部を切り捨てるレート制御を行う符号量制御部と、を備えることを特徴とする。   A compression encoding apparatus according to a first aspect of the present invention is a compression encoding apparatus that compresses and encodes an image signal, and recursively divides the image signal into a high-frequency component and a low-frequency component by wavelet transform, and A wavelet transform unit that generates and outputs transform coefficients of band components of the image, an image quality control unit that obtains a quantization step size by dividing a quantization parameter indicating a target image quality by a norm of a filter coefficient, and entropy-encodes the transform coefficients An entropy encoding unit, and the encoded data output from the entropy encoding unit are rearranged in a predetermined scanning order based on the quantization step size to generate a code sequence, and the encoded data in the code sequence And a code amount control unit that performs rate control to discard a part of the code string so that the total image quality becomes a target image quality.

第2の発明に係る圧縮符号化装置は、画像信号を圧縮符号化する圧縮符号化装置であって、ウェーブレット変換により画像信号を高域成分と低域成分とに再帰的に帯域分割して複数の帯域成分の変換係数を生成出力するウェーブレット変換部と、目標画質を示す量子化パラメータを、フィルタ係数のノルムで除算して量子化ステップサイズを求める画質制御部と、前記画像信号に関心領域を設定する関心領域設定部と、前記変換係数に対して、前記量子化ステップサイズに基づく量子化および並べ替えと、前記関心領域の設定情報に基づく並べ替えおよびビットシフトと、を施す量子化部と、前記量子化部から入力される前記変換係数をエントロピー符号化するエントロピー符号化部と、前記エントロピー符号化部の出力する符号化データの全体容量が目標画質となるように、前記符号化データの一部を切り捨てるレート制御を行う符号量制御部と、を備えることを特徴とする。   A compression encoding apparatus according to a second aspect of the present invention is a compression encoding apparatus that compresses and encodes an image signal, and recursively band-divides the image signal into a high frequency component and a low frequency component by wavelet transform, and A wavelet transform unit that generates and outputs a transform coefficient of the band component, an image quality control unit that obtains a quantization step size by dividing a quantization parameter indicating a target image quality by a norm of a filter coefficient, and a region of interest in the image signal A region-of-interest setting unit to be set; and a quantization unit that performs quantization and rearrangement on the transform coefficient based on the quantization step size and rearrangement and bit shift based on the setting information on the region of interest; An entropy encoding unit that entropy encodes the transform coefficient input from the quantization unit, and encoded data output from the entropy encoding unit. As the body volume of the target image quality, characterized in that it comprises a code amount control unit for performing rate control of truncating a portion of the encoded data.

第3の発明に係る圧縮符号化装置は、画像信号を圧縮符号化する圧縮符号化装置であって、ウェーブレット変換により画像信号を高域成分と低域成分とに再帰的に帯域分割して複数の帯域成分の変換係数を生成出力するウェーブレット変換部と、前記画像信号に関心領域を設定する関心領域設定部と、前記変換係数の量子化を行う量子化部と、前記量子化部から入力される前記変換係数をエントロピー符号化するエントロピー符号化部と、前記エントロピー符号化部の出力する符号化データに対して、前記関心領域の設定情報に基づく並べ替えおよびビットシフトを施した符号列を生成し、前記符号化データの全体容量が目標画質となるように、前記符号列の一部を切り捨てるレート制御を行う符号量制御部と、を備えることを特徴とする。   A compression encoding apparatus according to a third aspect of the present invention is a compression encoding apparatus for compressing and encoding an image signal, and recursively band-divides the image signal into a high-frequency component and a low-frequency component by wavelet transformation. A wavelet transform unit that generates and outputs transform coefficients of band components of the image, a region of interest setting unit that sets a region of interest in the image signal, a quantization unit that quantizes the transform coefficient, and the quantization unit An entropy encoding unit that entropy-encodes the transform coefficient, and a code string that is subjected to rearrangement and bit shift based on the setting information of the region of interest for the encoded data output from the entropy encoding unit And a code amount control unit that performs rate control for truncating a part of the code string so that the entire capacity of the encoded data becomes a target image quality.

第4の発明に係る圧縮符号化装置は、第3の発明に係る圧縮符号化装置において、さらに、目標画質を示す量子化パラメータを、フィルタ係数のノルムで除算して量子化ステップサイズを求める画質制御部、を備え、前記量子化部は、前記量子化ステップサイズに基づいて前記変換係数の量子化を行い、前記符号量制御部は、前記量子化ステップサイズに基づいて前記符号化データの並べ替えを行うことを特徴とする。   According to a fourth aspect of the present invention, there is provided a compression coding apparatus according to the third aspect, wherein the quantization parameter indicating the target image quality is divided by the norm of the filter coefficient to obtain a quantization step size. A control unit, wherein the quantization unit quantizes the transform coefficient based on the quantization step size, and the code amount control unit arranges the encoded data based on the quantization step size. It is characterized by changing.

第5の発明に係る圧縮符号化装置は、第2ないし第4のいずれかの発明に係る圧縮符号化装置において、前記関心領域設定部は、設定した各関心領域に優先度を付与し、前記関心領域の設定情報に基づく前記ビットシフトのシフト量は前記優先度に応じて決定されることを特徴とする。   A compression coding apparatus according to a fifth invention is the compression coding apparatus according to any one of the second to fourth inventions, wherein the region-of-interest setting unit gives priority to each set region of interest, The shift amount of the bit shift based on the setting information of the region of interest is determined according to the priority.

第6の発明に係る圧縮符号化装置は、第1ないし第5のいずれかの発明に係る圧縮符号化装置において、前記符号量制御部は、前記レート制御の切り捨て対象をビットプレーン単位で決定することを特徴とする。   A compression encoding apparatus according to a sixth aspect of the present invention is the compression encoding apparatus according to any one of the first to fifth aspects, wherein the code amount control unit determines a truncation target for the rate control in bit plane units. It is characterized by that.

第7の発明に係る圧縮符号化装置は、第1ないし第5のいずれかの発明に係る圧縮符号化装置において、前記符号量制御部は、前記レート制御の切り捨て対象をパス単位で決定することを特徴とする。   A compression coding apparatus according to a seventh invention is the compression coding apparatus according to any one of the first to fifth inventions, wherein the code amount control unit determines the rate control truncation target in a path unit. It is characterized by.

第8の発明に係る圧縮符号化装置は、第1、第2、第4ないし第7のいずれかの発明に係る圧縮符号化装置において、前記画質制御部は、フィルタ係数のノルムと人間の視覚特性に基づいて定められた所定の数値であるenergy weighting facotorとを乗算した値で、指定された前記量子化パラメータを除算して、人間の視覚特性を考慮した重み付けを施した前記量子化ステップサイズを求めることを特徴とする。   According to an eighth aspect of the present invention, there is provided a compression coding apparatus according to any one of the first, second, fourth to seventh aspects of the invention, wherein the image quality control unit includes a norm of filter coefficients and human vision. The quantization step size obtained by multiplying the specified quantization parameter by a value obtained by multiplying energy weighting facotor, which is a predetermined numerical value determined based on characteristics, and weighting in consideration of human visual characteristics It is characterized by calculating | requiring.

第9の発明に係る圧縮符号化装置は、第1、第2、第4ないし第8のいずれかの発明に係る圧縮符号化装置において、前記画質制御部は、前記量子化ステップサイズが所定の数値より小さいときは、前記量子化ステップサイズが前記所定の数値以上になる2の累乗を乗算して得られた値を前記量子化ステップサイズとすることを特徴とする。   A compression encoding apparatus according to a ninth aspect is the compression encoding apparatus according to any one of the first, second, fourth to eighth aspects, wherein the image quality control unit has a predetermined quantization step size. When smaller than a numerical value, the quantization step size is a value obtained by multiplying a power of 2 at which the quantization step size is equal to or greater than the predetermined numerical value.

第10の発明に係る圧縮符号化装置は、第9の発明に係る圧縮符号化装置において、前記量子化ステップサイズが前記画質制御部において2の累乗を乗算して求めた値であるときは、当該量子化ステップサイズに基づく並べ替えを行うときに、前記変換係数または前記符号化データを、前記2の累乗の指数に対応するビット数分だけビットシフトすることを特徴とする。   A compression encoding apparatus according to a tenth aspect of the invention is the compression encoding apparatus according to the ninth aspect of the invention, wherein when the quantization step size is a value obtained by multiplying a power of 2 in the image quality control unit, When performing the rearrangement based on the quantization step size, the transform coefficient or the encoded data is bit-shifted by the number of bits corresponding to the exponent of the power of 2.

第11の発明に係る圧縮符号化装置は、第1の発明に係る圧縮符号化装置において、前記符号量制御部は、Viewing distanceを変更可能であり、Viewing distanceの変更に応じて前記符号列をビットシフトすることを特徴とする。   A compression encoding apparatus according to an eleventh aspect of the invention is the compression encoding apparatus according to the first aspect of the invention, wherein the code amount control unit can change the viewing distance, and the code string is changed according to the change of the viewing distance. It is characterized by bit shifting.

第12の発明に係る圧縮符号化装置は、第2の発明に係る圧縮符号化装置において、前記量子化部は、Viewing distanceを変更可能であり、Viewing distanceの変更に応じて前記変換係数をさらにビットシフトすることを特徴とする。   A compression encoding apparatus according to a twelfth aspect of the invention is the compression encoding apparatus according to the second aspect of the invention, wherein the quantization unit can change the viewing distance, and further converts the transform coefficient according to the change in the viewing distance. It is characterized by bit shifting.

第13の発明に係る圧縮符号化装置は、第3の発明に係る圧縮符号化装置において、前記符号量制御部は、Viewing distanceを変更可能であり、Viewing distanceの変更に応じて前記符号列をさらにビットシフトすることを特徴とする。   A compression coding apparatus according to a thirteenth invention is the compression coding apparatus according to the third invention, wherein the code amount control unit can change a viewing distance, and the code string is changed according to a change in the viewing distance. Further, bit shift is performed.

第14の発明に係る圧縮符号化方法は、画像信号を圧縮符号化する圧縮符号化方法であって、(a)ウェーブレット変換により画像信号を高域成分と低域成分とに再帰的に帯域分割して複数の帯域成分の変換係数を生成する工程と、(b)目標画質を示す量子化パラメータを、フィルタ係数のノルムで除算して量子化ステップサイズを求める工程と、(c)前記変換係数をエントロピー符号化する工程と、(d)前記工程(c)で符号化した符号化データを、前記量子化ステップサイズに基づいて所定の走査順序に並べ替えて符号列を生成し、前記符号列において前記符号化データの全体容量が目標画質となるように、前記符号列の一部を切り捨てるレート制御を行う工程と、を備えることを特徴とする。   A compression encoding method according to a fourteenth aspect of the present invention is a compression encoding method for compressing and encoding an image signal, and (a) the image signal is recursively divided into a high frequency component and a low frequency component by wavelet transform. A step of generating transform coefficients of a plurality of band components; (b) a step of obtaining a quantization step size by dividing a quantization parameter indicating a target image quality by a norm of a filter coefficient; and (c) the transform coefficient And (d) rearranging the encoded data encoded in the step (c) in a predetermined scanning order based on the quantization step size to generate a code string, And a step of performing rate control for truncating a part of the code string so that the entire capacity of the encoded data becomes a target image quality.

第15の発明に係る圧縮符号化方法は、画像信号を圧縮符号化する圧縮符号化方法であって、(a)ウェーブレット変換により画像信号を高域成分と低域成分とに再帰的に帯域分割して複数の帯域成分の変換係数を生成する工程と、(b)目標画質を示す量子化パラメータを、フィルタ係数のノルムで除算して量子化ステップサイズを求める工程と、(c)前記画像信号に関心領域を設定する工程と、(d)前記変換係数に対して、前記量子化ステップサイズに基づく量子化および並べ替えと、前記関心領域の設定情報に基づく並べ替えおよびビットシフトと、を施す工程と、(e)前記工程(d)の処理を施した前記変換係数をエントロピー符号化する工程と、(f)前記工程(e)で符号化した符号化データの全体容量が目標画質となるように前記符号化データの一部を切り捨てるレート制御を行う工程と、を備えることを特徴とする。   A compression encoding method according to a fifteenth aspect of the present invention is a compression encoding method for compressing and encoding an image signal. (A) The image signal is recursively divided into a high frequency component and a low frequency component by wavelet transformation. A step of generating transform coefficients of a plurality of band components; (b) a step of obtaining a quantization step size by dividing a quantization parameter indicating a target image quality by a norm of a filter coefficient; and (c) the image signal. A region of interest is set; and (d) quantization and rearrangement based on the quantization step size and rearrangement and bit shift based on the region of interest setting information are performed on the transform coefficient. A step, (e) a step of entropy encoding the transform coefficient subjected to the processing of step (d), and (f) an overall capacity of the encoded data encoded in step (e) becomes the target image quality. And performing rate control of truncating a portion of sea urchin the encoded data, characterized in that it comprises a.

第16の発明に係る圧縮符号化方法は、画像信号を圧縮符号化する圧縮符号化方法であって、(a)ウェーブレット変換により画像信号を高域成分と低域成分とに再帰的に帯域分割して複数の帯域成分の変換係数を生成する工程と、(b)前記画像信号に関心領域を設定する工程と、(c)前記変換係数の量子化を行う工程と、(d)前記工程(c)で量子化した前記変換係数をエントロピー符号化する工程と、(e)前記工程(d)で符号化した符号化データに対して、前記関心領域の設定情報に基づく並べ替えおよびビットシフトを施した符号列を生成し、前記符号化データの全体容量が目標画質となるように、前記符号列の一部を切り捨てるレート制御を行う工程と、を備えることを特徴とする。   A compression encoding method according to a sixteenth aspect of the present invention is a compression encoding method for compressing and encoding an image signal, wherein (a) the image signal is recursively divided into a high frequency component and a low frequency component by wavelet transformation. Generating a plurality of band component transform coefficients, (b) setting a region of interest in the image signal, (c) quantizing the transform coefficients, and (d) the process ( c) entropy-encoding the transform coefficients quantized in (c), and (e) performing reordering and bit shifting based on the setting information of the region of interest on the encoded data encoded in the step (d). And a rate control step of cutting off a part of the code sequence so that the entire capacity of the encoded data becomes a target image quality.

第17の発明に係る圧縮符号化方法は、第16の発明に係る圧縮符号化方法において、前記量子化を行う工程は、目標画質を示す量子化パラメータを、フィルタ係数のノルムで除算して量子化ステップサイズを求める工程と、前記量子化ステップサイズに基づく前記変換係数の量子化を行う工程と、を含み、前記符号化データを並べ替える工程は、前記量子化ステップサイズに基づく前記符号化データの並べ替えを行う工程、を含むことを特徴とする。   A compression encoding method according to a seventeenth aspect of the invention is the compression encoding method according to the sixteenth aspect of the invention, wherein the step of performing the quantization includes dividing a quantization parameter indicating a target image quality by a norm of a filter coefficient to quantize the quantization parameter. A step of obtaining a quantization step size, and a step of quantizing the transform coefficient based on the quantization step size, wherein the step of rearranging the encoded data includes the encoded data based on the quantization step size The step of rearranging is included.

第18の発明に係る圧縮符号化方法は、第15ないし第17のいずれかの発明に係る圧縮符号化方法において、前記関心領域を設定する工程は、設定した各関心領域に優先度を付与する工程、を含み、前記関心領域の設定情報に基づくビットシフトを行う工程は、前記優先度に応じて決定された所定のビット数分だけビットシフトする工程、を含むことを特徴とする。   A compression encoding method according to an eighteenth aspect of the present invention is the compression encoding method according to any one of the fifteenth to seventeenth aspects, wherein the step of setting the region of interest gives a priority to each set region of interest. A step of performing a bit shift based on the setting information of the region of interest includes a step of performing a bit shift by a predetermined number of bits determined in accordance with the priority.

第19の発明に係る圧縮符号化方法は、第14ないし第18のいずれかの発明に係る圧縮符号化方法において、前記レート制御を行う工程は、前記レート制御の切り捨て対象をビットプレーン単位で決定する工程、を含むことを特徴とする。   A compression encoding method according to a nineteenth aspect of the present invention is the compression encoding method according to any one of the fourteenth to eighteenth aspects of the present invention, wherein the step of performing rate control determines a truncation target for the rate control in bit plane units. Including a step of performing.

第20の発明に係る圧縮符号化方法は、第14ないし第18のいずれかの発明に係る圧縮符号化方法において、前記レート制御を行う工程は、前記レート制御の切り捨て対象をパス単位で決定する工程、を含むことを特徴とする。   A compression encoding method according to a twentieth aspect of the present invention is the compression encoding method according to any one of the fourteenth to eighteenth aspects of the invention, wherein the step of performing rate control determines a truncation target for the rate control in units of paths. Including a process.

第21の発明に係る圧縮符号化方法は、第14、第15、第17ないし第20のいずれかの発明に係る圧縮符号化方法において、前記量子化ステップサイズを求める工程は、フィルタ係数のノルムと人間の視覚特性に基づいて定められた所定の数値であるenergy weighting facotorとを乗算した値で、指定された前記量子化パラメータを除算して、人間の視覚特性を考慮した重み付けを施した前記量子化ステップサイズを求める工程、を含むことを特徴とする。   A compression coding method according to a twenty-first invention is the compression coding method according to any one of the fourteenth, fifteenth, seventeenth to twentieth inventions, wherein the step of obtaining the quantization step size is a norm of a filter coefficient. And a value obtained by multiplying energy weighting facotor, which is a predetermined numerical value determined based on human visual characteristics, by dividing the specified quantization parameter and weighting in consideration of human visual characteristics A step of obtaining a quantization step size.

第22の発明に係る圧縮符号化方法は、第14、第15、第17ないし第21のいずれかの発明に係る圧縮符号化方法において、前記量子化ステップサイズを求める工程は、前記量子化ステップサイズが所定の数値より小さいときは、前記量子化ステップサイズが前記所定の数値以上になる2の累乗を乗算して得られた値を前記量子化ステップサイズとする工程、を含むことを特徴とする。   A compression encoding method according to a twenty-second aspect of the invention is the compression encoding method according to any of the fourteenth, fifteenth, seventeenth to twenty-first aspects, wherein the step of obtaining the quantization step size comprises the quantization step. When the size is smaller than a predetermined numerical value, including a step of setting the quantization step size to a value obtained by multiplying a power of 2 at which the quantization step size is equal to or larger than the predetermined numerical value. To do.

第23の発明に係る圧縮符号化方法は、第22の発明に係る圧縮符号化方法において、前記量子化ステップサイズに基づく並べ替えを行う工程は、前記量子化ステップサイズが2の累乗を乗算して求めた値であるときは、当該量子化ステップサイズで量子化された前記変換係数または前記符号化データを、前記2の累乗の指数に対応するビット数分だけビットシフトして前記符号列を生成する工程、を含むことを特徴とする。   A compression encoding method according to a twenty-third aspect is the compression encoding method according to the twenty-second aspect, wherein the step of rearranging based on the quantization step size multiplies the quantization step size by a power of 2. The transform coefficient quantized with the quantization step size or the encoded data is bit-shifted by the number of bits corresponding to the exponent of the power of 2, and the code string is And a generating step.

第24の発明に係るプログラムは、マイクロプロセッサに画像信号を圧縮符号化させるためのプログラムであって、ウェーブレット変換により画像信号を高域成分と低域成分とに再帰的に帯域分割して複数の帯域成分の変換係数を生成出力するウェーブレット変換部と、目標画質を示す量子化パラメータを、フィルタ係数のノルムで除算して量子化ステップサイズを求める画質制御部と、前記変換係数をエントロピー符号化するエントロピー符号化部と、前記エントロピー符号化部の出力する符号化データを、前記量子化ステップサイズに基づいて所定の走査順序に並べ替えて符号列を生成し、前記符号列において前記符号化データの全体容量が目標画質となるように、前記符号列の一部を切り捨てるレート制御を行う符号量制御部として、前記マイクロプロセッサを機能させることを特徴とする。   A program according to a twenty-fourth invention is a program for causing a microprocessor to compress and encode an image signal, and recursively divides the image signal into a high frequency component and a low frequency component by wavelet transform, and A wavelet transform unit that generates and outputs transform coefficients of band components, an image quality control unit that obtains a quantization step size by dividing a quantization parameter indicating a target image quality by a norm of a filter coefficient, and entropy-encodes the transform coefficients The encoded data output from the entropy encoding unit and the entropy encoding unit are rearranged in a predetermined scanning order based on the quantization step size to generate a code sequence, and the encoded data As a code amount control unit that performs rate control to discard a part of the code string so that the overall capacity becomes the target image quality, Characterized in that the functioning of the serial microprocessor.

第25の発明に係るプログラムは、マイクロプロセッサに画像信号を圧縮符号化させるためのプログラムであって、ウェーブレット変換により画像信号を高域成分と低域成分とに再帰的に帯域分割して複数の帯域成分の変換係数を生成出力するウェーブレット変換部と、目標画質を示す量子化パラメータを、フィルタ係数のノルムで除算して量子化ステップサイズを求める画質制御部と、前記画像信号に関心領域を設定する関心領域設定部と、前記変換係数に対して、前記量子化ステップサイズに基づく量子化および並べ替えと、前記関心領域の設定情報に基づく並べ替えおよびビットシフトと、を施す量子化部と、前記量子化部から入力される前記変換係数をエントロピー符号化するエントロピー符号化部と、前記エントロピー符号化部の出力する符号化データの全体容量が目標画質となるように、前記符号化データの一部を切り捨てるレート制御を行う符号量制御部として、前記マイクロプロセッサを機能させることを特徴とする。   A program according to a twenty-fifth aspect of the invention is a program for causing a microprocessor to compress and encode an image signal, and recursively divides the image signal into a high frequency component and a low frequency component by wavelet transformation, and A wavelet transform unit that generates and outputs transform coefficients of band components, an image quality control unit that obtains a quantization step size by dividing a quantization parameter indicating a target image quality by a norm of a filter coefficient, and sets a region of interest in the image signal A region of interest setting unit, a quantization unit that performs quantization and rearrangement based on the quantization step size and rearrangement and bit shift based on the setting information of the region of interest, with respect to the transform coefficient, An entropy encoding unit for entropy encoding the transform coefficient input from the quantization unit, and an entropy encoding unit. So that the entire capacity of the encoded data force becomes equal to the target quality, the code amount control unit for performing rate control of truncating a portion of the encoded data, characterized in that to function the microprocessor.

第26の発明に係るプログラムは、マイクロプロセッサに画像信号を圧縮符号化させるためのプログラムであって、ウェーブレット変換により画像信号を高域成分と低域成分とに再帰的に帯域分割して複数の帯域成分の変換係数を生成出力するウェーブレット変換部と、前記画像信号に関心領域を設定する関心領域設定部と、前記変換係数の量子化を行う量子化部と、前記量子化部から入力される前記変換係数をエントロピー符号化するエントロピー符号化部と、前記エントロピー符号化部の出力する符号化データに対して、前記関心領域の設定情報に基づく並べ替えおよびビットシフトを施した符号列を生成し、前記符号化データの全体容量が目標画質となるように、前記符号列の一部を切り捨てるレート制御を行う符号量制御部として、前記マイクロプロセッサを機能させることを特徴とする。   A program according to a twenty-sixth aspect of the invention is a program for causing a microprocessor to compress and encode an image signal, and recursively divides the image signal into a high frequency component and a low frequency component by wavelet transformation, and A wavelet transform unit that generates and outputs transform coefficients of band components, a region of interest setting unit that sets a region of interest in the image signal, a quantization unit that quantizes the transform coefficient, and the quantization unit An entropy encoding unit that entropy-encodes the transform coefficient, and a code string that is subjected to rearrangement and bit shift based on the setting information of the region of interest for the encoded data output from the entropy encoding unit As a code amount control unit that performs rate control for truncating a part of the code string so that the entire capacity of the encoded data becomes a target image quality, Characterized in that the functioning of the serial microprocessor.

第27の発明に係るプログラムは、第26の発明に係るプログラムにおいて、さらに、目標画質を示す量子化パラメータを、フィルタ係数のノルムで除算して量子化ステップサイズを求める画質制御部として、前記マイクロプロセッサを機能させると共に、前記マイクロプロセッサを前記量子化部として機能させるときは、前記量子化ステップサイズに基づいて前記変換係数の量子化を行うように機能させ、前記マイクロプロセッサを前記符号量制御部として機能させるときは、前記量子化ステップサイズに基づいて前記符号化データの並べ替えを行うように機能させることを特徴とする。   A program according to a twenty-seventh aspect is the program according to the twenty-sixth aspect, wherein the micro-processing unit further includes an image quality control unit that obtains a quantization step size by dividing a quantization parameter indicating a target image quality by a norm of a filter coefficient. When the microprocessor functions as the quantization unit, the microprocessor is caused to function so as to quantize the transform coefficient based on the quantization step size, and the microprocessor controls the code amount control unit. , The encoded data is rearranged based on the quantization step size.

第28の発明に係るプログラムは、第25ないし第27のいずれかの発明に係るプログラムにおいて、前記マイクロプロセッサを前記関心領域設定部として機能させるときに、設定した各関心領域に優先度を付与するように機能させ、前記マイクロプロセッサで前記関心領域の設定情報に基づく前記ビットシフトを行うときに、前記優先度に応じて決定された所定のビット数分だけビットシフトするように機能させることを特徴とする。   A program according to a twenty-eighth aspect is the program according to any one of the twenty-fifth to twenty-seventh aspects, wherein priority is given to each set region of interest when the microprocessor functions as the region-of-interest setting unit. When the bit shift based on the setting information of the region of interest is performed by the microprocessor, the bit shift is performed by a predetermined number of bits determined according to the priority. And

第29の発明に係るプログラムは、第24ないし第28のいずれかの発明に係るプログラムにおいて、前記マイクロプロセッサを前記符号量制御部として機能させるときは、前記レート制御の切り捨て対象をビットプレーン単位で決定するように機能させることを特徴とする。   A program according to a twenty-ninth invention is the program according to any one of the twenty-fourth to the twenty-eighth inventions, wherein when the microprocessor functions as the code amount control unit, the rate control truncation target is a bit plane unit. It is characterized by functioning to determine.

第30の発明に係るプログラムは、第24ないし第28のいずれかの発明に係るプログラムにおいて、前記マイクロプロセッサを前記符号量制御部として機能させるときは、前記レート制御の切り捨て対象をパス単位で決定するように機能させることを特徴とする。   A program according to a thirtieth aspect is the program according to any one of the twenty-fourth to the twenty-eighth aspects, wherein when the microprocessor functions as the code amount control unit, the rate control truncation target is determined on a path basis. It is made to function like this.

第31の発明に係るプログラムは、第24、第25、第27ないし第30のいずれかの発明に係るプログラムにおいて、前記マイクロプロセッサを前記画質制御部として機能させるときは、フィルタ係数のノルムと人間の視覚特性に基づいて定められた所定の数値であるenergy weighting facotorとを乗算した値で、指定された前記量子化パラメータを除算して、人間の視覚特性を考慮した重み付けを施した前記量子化ステップサイズを求めるように機能させることを特徴とする。   A program according to a thirty-first invention is the program according to any of the twenty-fourth, twenty-fifth, twenty-seventh to thirtieth inventions, wherein when the microprocessor functions as the image quality control unit, a norm of a filter coefficient and a human Quantization obtained by dividing the specified quantization parameter by a value obtained by multiplying a predetermined numerical value determined based on the visual characteristics of the image by the weighting factor, and weighting in consideration of human visual characteristics It is characterized by functioning to obtain the step size.

第32の発明に係るプログラムは、第24、第25、第27ないし第31のいずれかの発明に係るプログラムにおいて、前記マイクロプロセッサを前記画質制御部として機能させるときは、前記量子化ステップサイズが所定の数値より小さいときは、前記量子化ステップサイズが前記所定の数値以上になる2の累乗を乗算して得られた値を前記量子化ステップサイズとするように機能させることを特徴とする。   A program according to a thirty-second invention is the program according to any of the twenty-fourth, twenty-fifth, twenty-seventh to thirty-first inventions, wherein when the microprocessor functions as the image quality control unit, the quantization step size is When smaller than a predetermined numerical value, the quantization step size is caused to function as a value obtained by multiplying a power of 2 at which the quantization step size is greater than or equal to the predetermined numerical value.

第33の発明に係るプログラムは、第32の発明に係るプログラムにおいて、前記マイクロプロセッサで前記量子化ステップサイズに基づく並べ替えを行うときに、前記量子化ステップサイズが前記画質制御部において2の累乗を乗算して求めた値であるときは、前記変換係数または前記符号化データを、前記2の累乗の指数に対応するビット数分だけビットシフトするように機能させることを特徴とする。   A program according to a thirty-third invention is the program according to the thirty-second invention, wherein the quantization step size is a power of two in the image quality control unit when the microprocessor performs rearrangement based on the quantization step size. When the value is obtained by multiplying, the conversion coefficient or the encoded data is made to function so as to be bit-shifted by the number of bits corresponding to the exponent of the power of 2.

第1、第14および第24の発明によれば、目標画質に従って量子化によるデータの圧縮率を制御しながら、少ない演算量で画面全体に対してノイズ除去効果を得ることができる。   According to the first, fourteenth and twenty-fourth inventions, it is possible to obtain a noise removal effect on the entire screen with a small amount of calculation while controlling the compression rate of data by quantization according to the target image quality.

第2、第15および第25の発明によれば、関心領域に対してノイズ除去効果のある目標画質に適合する圧縮画像を容易に生成することができる。   According to the second, fifteenth and twenty-fifth inventions, it is possible to easily generate a compressed image suitable for the target image quality having a noise removal effect on the region of interest.

第3、第16および第26の発明によれば、関心領域に対してノイズ除去効果のある目標画質に適合する圧縮画像を容易に生成することができる。また、JPEG2000のオプション機能であるMax−Shift法を利用できない圧縮符号化装置においても処理を実現することができる。   According to the third, sixteenth and twenty-sixth aspects, it is possible to easily generate a compressed image suitable for the target image quality having a noise removing effect on the region of interest. The processing can also be realized in a compression encoding apparatus that cannot use the Max-Shift method, which is an optional function of JPEG2000.

第4、第17および第27の発明によれば、目標画質に従って量子化によるデータの圧縮率を制御しながら、最適解を推定する処理が必要な従来技術に比べて少ない演算量で高速な量子化を行うことが可能である。   According to the fourth, seventeenth, and twenty-seventh inventions, the quantum compression speed is reduced with a small amount of computation compared to the conventional technique that requires processing for estimating the optimum solution while controlling the compression rate of the data by quantization according to the target image quality. Can be performed.

第5、第18および第28の発明によれば、複数の関心領域の各々に優先度を設定することで、所望の領域の画質を維持しながら目標画質に適合する圧縮画像を生成することができる。   According to the fifth, eighteenth and twenty-eighth aspects, by setting the priority to each of the plurality of regions of interest, it is possible to generate a compressed image that matches the target image quality while maintaining the image quality of the desired region. it can.

第6、第19および第29の発明によれば、目標画質に合わせてビットプレーン単位で符号量を細かくかつ効率的にレート制御することができる。   According to the sixth, nineteenth and twenty-ninth aspects, the code amount can be finely and efficiently rate-controlled in bit plane units according to the target image quality.

第7、第20および第30の発明によれば、目標画質に合わせてパス単位で符号量を細かくかつ効率的にレート制御することができる。   According to the seventh, twentieth and thirtieth inventions, it is possible to finely and efficiently rate control the code amount in units of paths in accordance with the target image quality.

第8、第21および第31の発明によれば、人間の視覚評価に適した高い表示画質を有する圧縮画像を容易に生成することが可能である。   According to the eighth, twenty-first, and thirty-first aspects, it is possible to easily generate a compressed image having a high display image quality suitable for human visual evaluation.

第9、第22および第32の発明によれば、目標画質に従って効率良く量子化する装置を容易に実現することができる。   According to the ninth, twenty-second, and thirty-second inventions, an apparatus that efficiently quantizes according to the target image quality can be easily realized.

第10、第23および第33の発明によれば、目標画質に適合する圧縮画像を画質を維持しながら効率良く生成することができる。   According to the tenth, twenty-third and thirty-third inventions, a compressed image suitable for the target image quality can be efficiently generated while maintaining the image quality.

第11の発明によれば、圧縮用の量子化値で符号化した画像も、ノイズ除去効果のある目標画質となるよう制御することができる。   According to the eleventh aspect of the present invention, it is possible to control so that an image encoded with a compression quantization value also has a target image quality with a noise removal effect.

第12の発明によれば、圧縮用の量子化値で符号化した画像も、ノイズ除去効果のある目標画質となるよう制御することができる。   According to the twelfth aspect, it is possible to control so that an image encoded with a compression quantization value also has a target image quality with a noise removal effect.

第13の発明によれば、圧縮用の量子化値で符号化した画像も、ノイズ除去効果のある目標画質となるよう制御することができる。   According to the thirteenth aspect, it is possible to control so that an image encoded with a compression quantization value also has a target image quality with a noise removal effect.

(第1の実施の形態)
{圧縮符号化装置}
図1は、本発明の実施形態に係る圧縮符号化装置1の概略構成を示す機能ブロック図である。この圧縮符号化装置1の構成と機能について概説した後に、本実施形態に係る量子化方法および符号化方法について詳説する。
(First embodiment)
{Compression encoder}
FIG. 1 is a functional block diagram showing a schematic configuration of a compression coding apparatus 1 according to an embodiment of the present invention. After an overview of the configuration and functions of the compression encoding apparatus 1, the quantization method and encoding method according to the present embodiment will be described in detail.

この圧縮符号化装置1は、DCレベルシフト部10、色空間変換部11、タイリング部12、DWT部13、量子化部14、係数ビットモデリング部20、算術符号化部(エントロピー符号化部)21、符号量制御部22、画質制御部23およびビットストリーム生成部17を備えて構成される。   The compression coding apparatus 1 includes a DC level shift unit 10, a color space conversion unit 11, a tiling unit 12, a DWT unit 13, a quantization unit 14, a coefficient bit modeling unit 20, an arithmetic coding unit (entropy coding unit). 21, a code amount control unit 22, an image quality control unit 23, and a bit stream generation unit 17.

尚、この圧縮符号化装置1を構成する各処理部10〜14,17,20〜23の全部または一部は、ハードウェアで構成されてもよいし、マイクロプロセッサを機能させるプログラムで構成されていてもよい。   Note that all or part of each of the processing units 10 to 14, 17, and 20 to 23 constituting the compression encoding apparatus 1 may be configured by hardware or a program that causes a microprocessor to function. May be.

この圧縮符号化装置1に入力した画像信号は、DCレベルシフト部10で必要に応じてDCレベル変換を施された後に、色空間変換部11に出力される。色空間変換部11は入力信号を色空間変換して出力する。JPEG2000方式によれば、色空間変換として、可逆変換用のRCT(Reversible Component Transformation)と、非可逆変換用のICT(Irreversible Component Transformation)とが用意されており、何れか一方を適宜選択できる。これにより、例えば、入力するRGB信号をYCbCr信号或いはYUV信号に変換する。   The image signal input to the compression encoding device 1 is subjected to DC level conversion as necessary by the DC level shift unit 10 and then output to the color space conversion unit 11. The color space conversion unit 11 performs color space conversion on the input signal and outputs it. According to the JPEG2000 system, RCT (Reversible Component Transformation) for reversible conversion and ICT (Irreversible Component Transformation) for irreversible conversion are prepared as color space conversion, and one of them can be selected as appropriate. Thereby, for example, the input RGB signal is converted into a YCbCr signal or a YUV signal.

次に、タイリング部12は、色空間変換部11から入力する画像信号を、複数の矩形状の「タイル」と称する領域成分に分割してDWT部13に出力する。尚、必ずしも、画像信号をタイルに分割する必要は無く、1フレーム分の画像信号をそのまま次段の機能ブロックに出力してもよい。   Next, the tiling unit 12 divides the image signal input from the color space conversion unit 11 into a plurality of region components called “tiles” having a rectangular shape, and outputs the region components to the DWT unit 13. It is not always necessary to divide the image signal into tiles, and the image signal for one frame may be output to the next functional block as it is.

次に、DWT部13は、タイリング部12から入力する画像信号に対してタイル単位で整数型または実数型のDWTを施すことで、上記オクターブ分割方式に従って画像信号を高域成分と低域成分とに再帰的に帯域分割する。その結果、図24に示したような複数の帯域成分(サブバンド)HH1〜LL3の変換係数が生成され量子化部14に出力される。具体的には、実数型DWTであれば、9×7タップ、5×3タップまたは7×5タイプなどのフィルタが使用され、整数型DWTであれば、5×3タップまたは13×7タップなどのフィルタが使用される。また、これらフィルタの処理を畳み込み演算で実行してもよいし、或いは、畳み込み演算よりも効率的なリフティング構成(Lifting scheme)で実行してもよい。   Next, the DWT unit 13 performs integer type or real type DWT on the image signal input from the tiling unit 12 in units of tiles, thereby converting the image signal into a high frequency component and a low frequency component according to the octave division method. And band recursively. As a result, transform coefficients of a plurality of band components (subbands) HH 1 to LL 3 as shown in FIG. 24 are generated and output to the quantization unit 14. Specifically, for real type DWT, a filter of 9 × 7 tap, 5 × 3 tap or 7 × 5 type is used, and for integer type DWT, 5 × 3 tap or 13 × 7 tap, etc. The filter is used. Further, the processing of these filters may be executed by a convolution operation, or may be executed by a lifting scheme that is more efficient than the convolution operation.

量子化部14は、DWT部13から入力する変換係数を、画質制御部23で決定される量子化パラメータに従って、スカラー量子化する機能を有する。また量子化部14は、所定のビットシフト処理を行う機能も有している。量子化部14による量子化およびビットシフト処理の方法については後述する。   The quantization unit 14 has a function of performing scalar quantization on the transform coefficient input from the DWT unit 13 according to the quantization parameter determined by the image quality control unit 23. The quantization unit 14 also has a function of performing a predetermined bit shift process. A method of quantization and bit shift processing by the quantization unit 14 will be described later.

次に、量子化部14から出力された変換係数QDは、係数ビットモデリング部20と算術符号化部21とで、ブロックベースのエントロピー符号化を施され、符号量制御部22でレートを制御される。   Next, the transform coefficient QD output from the quantization unit 14 is subjected to block-based entropy coding by the coefficient bit modeling unit 20 and the arithmetic coding unit 21, and the rate is controlled by the code amount control unit 22. The

係数ビットモデリング部20は、図23に示した係数ビットモデリング部108と同様に、入力する変換係数QDの帯域成分を32×32や64×64程度のコードブロックに分割し、更に、各コードブロックを、各ビットを2次元配列して構成される複数のビットプレーンに分解する。この結果、各コードブロックは、図26に示したような複数のビットプレーン1220〜122n-1に分解される。 Similar to the coefficient bit modeling unit 108 shown in FIG. 23, the coefficient bit modeling unit 20 divides the band component of the input transform coefficient QD into code blocks of about 32 × 32 or 64 × 64, and each code block Are broken down into a plurality of bit planes configured by two-dimensionally arranging each bit. As a result, each code block is decomposed into a plurality of bit planes 122 0 to 122 n-1 as shown in FIG.

次に、算術符号化部21は、係数ビットモデリング部20から入力する符号化データBDを算術符号化し、その結果得た符号化データADを符号量制御部22に出力する。ここで、算術符号化部21は、前記符号化対象の一部を算術符号化せずに、当該符号化対象をそのまま符号化データADに含めて出力するバイパス処理を行う場合もある。尚、本実施の形態では算術符号化を採用するが、本発明はこれに限らず、他の方式のエントロピー符号化を採用しても構わない。   Next, the arithmetic encoding unit 21 arithmetically encodes the encoded data BD input from the coefficient bit modeling unit 20 and outputs the encoded data AD obtained as a result to the code amount control unit 22. Here, the arithmetic encoding unit 21 may perform bypass processing in which a part of the encoding target is not arithmetically encoded and the encoding target is included in the encoded data AD and output as it is. In this embodiment, arithmetic coding is adopted, but the present invention is not limited to this, and other types of entropy coding may be adopted.

次に、符号量制御部22は、画質制御部23からの指示に基づいて、算術符号化部21から入力する符号化データADのレートを制御する機能を有する。すなわち、符号量制御部22は、目標符号量(最終的な圧縮画像の符号量)を考慮しつつ、画面全体に対して所望のノイズ除去効果(人物撮影では美肌効果)を得るために、符号化データADを、帯域成分単位あるいはビットプレーン単位、パス単位で優先度の低いものから順に切り捨てるというポスト量子化を実行する機能を有する。符号量制御部22でのレート制御の方法については後述する。   Next, the code amount control unit 22 has a function of controlling the rate of the encoded data AD input from the arithmetic encoding unit 21 based on an instruction from the image quality control unit 23. In other words, the code amount control unit 22 considers the target code amount (the code amount of the final compressed image), and obtains a desired noise removal effect (skin-beautifying effect in human photography) for the entire screen. It has a function of performing post-quantization in which the quantized data AD is discarded in order from the lowest priority in band component units, bit plane units, and path units. A method of rate control in the code amount control unit 22 will be described later.

そして、ビットストリーム生成部17は、符号量制御部22から出力された符号化データCDと付加情報(ヘッダ情報,レイヤー構成,スケーラビリティ,量子化テーブルなど)とを多重化したビットストリームを生成し、圧縮画像として外部に出力する。   Then, the bit stream generation unit 17 generates a bit stream in which the encoded data CD output from the code amount control unit 22 and additional information (header information, layer configuration, scalability, quantization table, etc.) are multiplexed, Output to the outside as a compressed image.

{量子化}
次に、図1に示した画質制御部23および量子化部14によって実現される量子化の処理内容について説明する。
{Quantization}
Next, the contents of the quantization process realized by the image quality control unit 23 and the quantization unit 14 shown in FIG. 1 will be described.

画質制御部23は、外部から供給される目標画質情報(高画質,標準画質,低画質,解像度情報など)に基づいて、DWT部13から入力する変換係数を量子化部14で量子化するときの量子化ステップサイズΔbを決定する機能を有する。以下、量子化ステップサイズΔbの決定方法について説明する。 The image quality control unit 23 quantizes the transform coefficient input from the DWT unit 13 by the quantization unit 14 based on target image quality information (high quality, standard image quality, low image quality, resolution information, etc.) supplied from the outside. Has a function of determining the quantization step size Δ b of the. The following describes the method of determining the quantization step size delta b.

DWT部13によって、原画像が図24に示すように、「XYn」(X,Yは高域成分Hまたは低域成分Lの何れか。nは分解レベル。)のサブバンド(帯域成分)に分割されたときに、各サブバンドの量子化に用いる量子化ステップサイズΔbを、次式(1)のように設定する。 As shown in FIG. 24, the DWT unit 13 converts the original image into sub-bands (band components) of “XYn” (X and Y are either the high frequency component H or the low frequency component L. n is the decomposition level). When divided, the quantization step size Δ b used for quantization of each subband is set as in the following equation (1).

Figure 2007104645
Figure 2007104645

ここで、Qpは、目標画質情報に従って入力される正の数、すなわち量子化パラメータであって、高画質であるほど小さな値を入力する。量子化パラメータQpは、利用者が直接数値を入力して指定する態様であってもよいし、例えば、予め、目標画質情報を示す「高画質、標準画質、低画質」といった所定の指示語と量子化パラメータQpの数値とを関連づけた所定のテーブルを備えておき、利用者が所望する画像データの圧縮後の目標画質を指示語によって指定することで、当該テーブルにおいて関連づけられた量子化パラメータQpの値を読み出して利用する態様であっても構わない。 Here, Q p is a positive number input according to the target image quality information, that is, a quantization parameter, and a smaller value is input as the image quality is higher. The quantization parameter Q p may be specified by a user by directly inputting a numerical value. For example, a predetermined instruction word such as “high image quality, standard image quality, low image quality” indicating target image quality information may be used in advance. And a predetermined table in which the numerical value of the quantization parameter Q p is associated, and the target image quality after compression of the image data desired by the user is designated by an instruction word, whereby the quantization associated in the table It may be an aspect in which the value of the parameter Q p is read and used.

bは、各サブバンドにおける量子化係数であって、合成フィルタ係数のノルムとして、次式(2)で表される。 Q b is a quantization coefficient in each subband, and is expressed by the following equation (2) as a norm of the synthesis filter coefficient.

Figure 2007104645
Figure 2007104645

ここで、サブバンドbの重み係数Gbは、次式(3)に従って算出される。 Here, the weighting coefficient Gb of the subband b is calculated according to the following equation (3).

Figure 2007104645
Figure 2007104645

上式(3)中、sb[n]は、サブバンドbの1次元合成フィルタ係数を示している。また、記号‖x‖は、ベクトルxに関するノルムを示す。 In the above equation (3), s b [n] indicates a one-dimensional synthesis filter coefficient of subband b. The symbol ‖x‖ indicates a norm related to the vector x.

上述した非特許文献1に記載される数式(4.39)と(4.40)によれば、分解レベル1における低域成分L1の1次元合成フィルタ係数sL[1][n]と、同分解レベルにおける高域成分H1の1次元合成フィルタ係数sH[1][n]とは、次式(4)に従って算出される。 According to the equations (4.39) and (4.40) described in Non-Patent Document 1 described above, the one-dimensional synthesis filter coefficient s L [1] [n] of the low-frequency component L1 at the decomposition level 1 The one-dimensional synthesis filter coefficient s H [1] [n] of the high frequency component H1 at the same decomposition level is calculated according to the following equation (4).

Figure 2007104645
Figure 2007104645

ここで、上式(4)中、g0[n]は、画像信号を帯域分割する順変換フィルタのローパス・フィルタ係数、g1[n]は、そのハイパス・フィルタ係数をそれぞれ示している。 Here, in the above equation (4), g 0 [n] represents a low-pass filter coefficient of a forward conversion filter for dividing an image signal into bands, and g 1 [n] represents a high-pass filter coefficient thereof.

また、分解レベルd(d=1,2,…,D)における低域成分Ldの1次元合成フィルタ係数sL[d][n]と、同分解レベルにおける高域成分Hdの1次元合成フィルタ係数sH[d][n]とは、次式(5)に従って算出される。 Further, the one-dimensional synthesis filter coefficient s L [d] [n] of the low-frequency component Ld at the decomposition level d (d = 1, 2,..., D) and the one-dimensional synthesis filter of the high-frequency component Hd at the same decomposition level. The coefficient s H [d] [n] is calculated according to the following equation (5).

Figure 2007104645
Figure 2007104645

そして、分解レベルdにおける低域成分Ldの1次元合成フィルタ係数のノルムの二乗は、次式(6)に従って算出される。   Then, the square of the norm of the one-dimensional synthesis filter coefficient of the low frequency component Ld at the decomposition level d is calculated according to the following equation (6).

Figure 2007104645
Figure 2007104645

高域成分Hdの1次元合成フィルタ係数のノルムの二乗も、上式(6)と同様にして算出することができる。   The norm square of the one-dimensional synthesis filter coefficient of the high-frequency component Hd can also be calculated in the same manner as in the above equation (6).

1次元合成フィルタ係数のノルムの二乗の計算結果を表1に示す。表中のnは分解レベルを示しており、例えばGL1とは、低域成分Lの分解レベル1における計算結果を示している。 Table 1 shows the calculation result of the square of the norm of the one-dimensional synthesis filter coefficient. In the table, n indicates a decomposition level. For example, GL 1 indicates a calculation result at a decomposition level 1 of the low-frequency component L.

Figure 2007104645
Figure 2007104645

次に、分解レベルd(d=1,2,…,D;Dは整数)における帯域成分LLD,HLd,LHd,HHdの2次元合成フィルタ係数は、上記1次元合成フィルタ係数の積で表現することができ、帯域成分bの2次元の重み係数Gbも、1次元の重み係数の積で表現することができる。具体的には、2次元合成フィルタ係数と2次元の重み係数とは、次式(7)に従って算出される。 Next, the two-dimensional synthesis filter coefficients of the band components LLD, HLd, LHd, and HHd at the decomposition level d (d = 1, 2,..., D; D is an integer) are expressed by the product of the one-dimensional synthesis filter coefficients. The two-dimensional weight coefficient G b of the band component b can also be expressed by a product of the one-dimensional weight coefficient. Specifically, the two-dimensional synthesis filter coefficient and the two-dimensional weighting coefficient are calculated according to the following equation (7).

Figure 2007104645
Figure 2007104645

上式(7)中、添字LL[D]はサブバンドLLDを示し,HL[d],LH[d]およびHH[d]はそれぞれサブバンドHLd,LHdおよびHHdを表している。   In the above formula (7), the subscript LL [D] indicates the subband LLD, and HL [d], LH [d], and HH [d] indicate the subbands HLd, LHd, and HHd, respectively.

重み係数Gbの平方根がノルムである。以下の表2および表3に、表1から求めた2次元の重み係数Gbに関する計算結果を示す。表2には(9,7)フィルタ(9×7タップのフィルタ)の各帯域成分のノルムの二乗の数値を、表3には表2に対応するノルムの数値をそれぞれ示す。 Square root of the weighting factor G b is the norm. Tables 2 and 3 below show the calculation results regarding the two-dimensional weighting coefficient G b obtained from Table 1. Table 2 shows the norm square value of each band component of the (9, 7) filter (9 × 7 tap filter), and Table 3 shows the norm value corresponding to Table 2.

Figure 2007104645
Figure 2007104645

Figure 2007104645
Figure 2007104645

例えば、輝度信号Y、色差信号UおよびVの全てについて、同じく量子化パラメータQp=16として、表3に示した値から上式(1)および(2)を利用して求めた輝度信号Y、色差信号UおよびVの量子化ステップサイズΔbは、表4のようになる。 For example, for all of the luminance signal Y and the color difference signals U and V, the luminance signal Y obtained using the above equations (1) and (2) from the values shown in Table 3 with the quantization parameter Q p = 16. , the quantization step size delta b of the color difference signals U and V are as in Table 4.

Figure 2007104645
Figure 2007104645

尚、輝度信号Y、色差信号UおよびVのそれぞれについて、量子化ステップサイズΔbを求めるのに利用する量子化パラメータQpは、必ずしも同じ値をとる必要はなく、画像データの内容に応じて、異なる値を利用しても構わない。例えば、色成分を強調したい場合に、色差信号UおよびVに利用する量子化パラメータQpを輝度信号Yに比して小さくするなど、画像データの内容等を考慮して、それぞれについて適当な量子化パラメータQpを利用すればよい。 Note that the quantization parameter Q p used to determine the quantization step size Δ b for each of the luminance signal Y and the color difference signals U and V does not necessarily have the same value, and depends on the content of the image data. Different values may be used. For example, when it is desired to enhance color components, the quantization parameter Q p used for the color difference signals U and V is made smaller than the luminance signal Y. The initialization parameter Q p may be used.

画質制御部23では、このようにして量子化ステップサイズΔbを求め、これを量子化部14に通知する。そして、量子化部14では、各サブバンド毎に、通知された量子化ステップサイズΔbに従って量子化を行う。 The image quality control unit 23, thus to determine the quantization step size delta b, the and notifies the quantization unit 14. Then, the quantization unit 14, for each subband, performs quantization in accordance with the notified quantization step size delta b.

ただし、量子化ステップサイズΔbの値が1より小さくなる場合には、1以上の値となるように2の累乗を乗算してから用いる。例えば、上述した方法で計算した結果、求められたサブバンドLL5の量子化ステップサイズΔbは0.47163であるが、実際に画像データを量子化するときには、この値に22を乗算して量子化ステップサイズΔb=1.88652として量子化を行う。同様に、サブバンドHL5では、量子化ステップサイズΔb=0.93204に2を乗算して、量子化ステップサイズΔb=1.86408として量子化を行う。このように量子化ステップサイズΔbを、量子化を実現する量子化器の性能に基づいて所定の数値に変換する機能を有することで、量子化器の構成を簡素化することが可能であり、本来の量子化の目的であるデータ量の圧縮を達成することもできる。尚、量子化ステップサイズΔbを1以上の値としたのは一例であって、量子化器の機能によって、例えば1/2以上の値を利用する量子化器であれば、量子化ステップサイズΔbを1/2以上になるように変換すればよい。すなわち、量子化器の扱う下限値が1/2mであれば、全ての量子化ステップサイズΔbが、1/2m以上になるように2の累乗を乗算してから利用する態様であればよい。 However, if the value of the quantization step size delta b is less than 1 is used after multiplying the power of 2 so that the value of 1 or more. For example, results of calculation in the manner described above, but the quantization step size delta b subband LL5 obtained is 0.47163, when quantizing the actual image data is multiplied by 2 2 This value Quantization is performed with a quantization step size Δ b = 1.88652. Similarly, in subband HL5, quantization step size Δ b = 0.93204 is multiplied by 2 to perform quantization with quantization step size Δ b = 1.886408. Thus the quantization step size delta b, that it has a function of converting into a predetermined number by the performance of the quantizer to achieve the quantization, it is possible to simplify the structure of the quantizer It is also possible to achieve compression of the amount of data that is the original purpose of quantization. Note that the quantization step size Δ b is set to a value of 1 or more. For example, if the quantizer uses a value of 1/2 or more by the function of the quantizer, the quantization step size is not limited. What is necessary is just to convert (DELTA) b so that it may become 1/2 or more. In other words, if the lower limit value handled by the quantizer is ½ m , the quantization step size Δ b may be used after being multiplied by a power of 2 so that it becomes ½ m or more. That's fine.

また、画質制御部23では、上述した方法のほか、人間の視覚特性を考慮して量子化ステップサイズΔbを決定することもできる。その方法は以下の通りである。 Further, the image quality control unit 23, in addition to the method described above, in consideration of human visual characteristics can also be determined quantization step size delta b. The method is as follows.

上述した非特許文献1のChapter 16には、CSF(Contrast Sensitivity Function of human visual system )に基づいた重み付けWMSE(Weighted Mean Squared Error;WMSE)が記載されている。これを利用して、圧縮符号化後の画像データに対する人間の視覚評価を改善するために、上式(2)を次式(8)に修正する。   In Chapter 16 of Non-Patent Document 1 described above, weighted mean squared error (WMSE) based on CSF (Contrast Sensitivity Function of human visual system) is described. Using this, the above equation (2) is corrected to the following equation (8) in order to improve human visual evaluation of the image data after compression coding.

Figure 2007104645
Figure 2007104645

ここで、上式(8)中、Wb[i] csfは、サブバンドb[i]の"energy weighting factor"と呼ばれており、Wb[i] csfの推奨数値は、「INTERNATIONAL STANDARD ISO/IEC 15444-1ITU-T RECOMMENDATION T.800 Information technology - JPEG 2000 image coding system: Core coding system」の文献(以下、非特許文献2と呼ぶ。)に記載されている。図2〜図4に、非特許文献2に記載される"energy weighting factor"の数値を示す。 Here, in the above equation (8), W b [i] csf is called “energy weighting factor” of subband b [i], and the recommended value of W b [i] csf is “INTERNATIONAL STANDARD ISO / IEC 15444-1 ITU-T RECOMMENDATION T.800 Information technology-JPEG 2000 image coding system: Core coding system "(hereinafter referred to as non-patent document 2). 2 to 4 show numerical values of “energy weighting factor” described in Non-Patent Document 2. FIG.

図2〜図4中の"level"および "Lev"は分解レベルを、"Comp"は輝度成分Yと色差成分Cb, Crをそれぞれ示しており、"Viewing distance(視距離)"が1000,1700, 2000, 3000, 4000の例が示されている。また、"Viewing distance 1000", "Viewing distance 1700", "Viewing distance 2000", "Viewing distance 3000", "Viewing distance 4000"は、それぞれ、100dpi,170dpi,200dpi,300dpi,400dpiのディスプレイまたは印刷物を10インチ離れて見たときの視距離を意味する。   2 to 4, “level” and “Lev” indicate the decomposition level, “Comp” indicates the luminance component Y and the color difference components Cb and Cr, respectively, and “Viewing distance” is 1000 and 1700. , 2000, 3000, 4000 examples are shown. "Viewing distance 1000", "Viewing distance 1700", "Viewing distance 2000", "Viewing distance 3000", and "Viewing distance 4000" are 10 displays or printed materials of 100 dpi, 170 dpi, 200 dpi, 300 dpi, and 400 dpi, respectively. The viewing distance when viewed from an inch away.

例えば、カラーの画像データについて、量子化ステップサイズΔbを求める具体的な方法を以下に説明する。尚、色空間については、RGB信号から成るカラーの入力画像を、色空間変換部11においてYUV422またはYUV420形式の色空間データに変換したものとする。 For example, the image data of a color, a specific method for obtaining the quantization step size delta b below. As for the color space, it is assumed that a color input image composed of RGB signals is converted into color space data in the YUV422 or YUV420 format by the color space conversion unit 11.

YUV422またはYUV420形式の画像データについては、色差信号UおよびVは、輝度信号Yに比べ、そのデータ量がそれぞれ1/2および1/4となっている。輝度信号YにDWTを施したウェーブレット平面は図5のように表すことができるが、データ量が1/2であることを、図5に示したウェーブレット平面に対して水平方向にDWTを一回施したものと同等であると仮定すれば、図6中の散点部がYUV422形式の色差信号UおよびVのウェーブレット平面となる。同様に、データ量が1/4であることを、図5に示したウェーブレット平面に対して水平方向および垂直方向にDWTを一回ずつ施したものと同等であると仮定すれば、図7中の散点部がYUV420形式の色差信号UおよびVのウェーブレット平面となる。   For image data in the YUV422 or YUV420 format, the color difference signals U and V have a data amount of 1/2 and 1/4, respectively, compared to the luminance signal Y. The wavelet plane obtained by applying DWT to the luminance signal Y can be represented as shown in FIG. 5, but the data amount is ½ that the DWT is performed once in the horizontal direction with respect to the wavelet plane shown in FIG. Assuming that it is equivalent to the applied one, the scattered dot portions in FIG. 6 are the wavelet planes of the color difference signals U and V in the YUV422 format. Similarly, if it is assumed that the data amount is 1/4, it is equivalent to the case where the DWT is performed once in the horizontal direction and the vertical direction on the wavelet plane shown in FIG. Are the wavelet planes of the color difference signals U and V in the YUV420 format.

YUV422形式では、図6に示したように水平成分について垂直成分より一回多くフィルタリングすると仮定するので、2次元合成フィルタ係数と2次元の重み係数は、上式(7)に対して、次式(9)のように表すことができる。   In the YUV422 format, as shown in FIG. 6, it is assumed that the horizontal component is filtered once more than the vertical component. Therefore, the two-dimensional synthesis filter coefficient and the two-dimensional weight coefficient are expressed by the following equation (7) as follows: It can be expressed as (9).

Figure 2007104645
Figure 2007104645

また、YUV420形式では、同様に、図7に示したように水平成分および垂直成分について一回ずつ多くフィルタリングすると仮定するので、上式(7)に対して、次式(10)のように表すことができる。   Similarly, in the YUV420 format, as shown in FIG. 7, it is assumed that the horizontal component and the vertical component are filtered one by one, so the above equation (7) is expressed as the following equation (10). be able to.

Figure 2007104645
Figure 2007104645

よって、表1に示した値から上式(9)および(10)を利用して、YUV422およびYUV420形式の色差信号のノルムを求めると表5および表6のようになる。   Therefore, when the norms of the color difference signals in the YUV422 and YUV420 formats are obtained from the values shown in Table 1 using the above formulas (9) and (10), Tables 5 and 6 are obtained.

Figure 2007104645
Figure 2007104645

Figure 2007104645
Figure 2007104645

次に、energy weighting factor Wb[i] csfについて、非特許文献1の記載によれば、サブバンドb[i]のenergy weighting factor Wb[i] csfは1次元の水平および垂直方向の各帯域成分のenergy weighting factorの積として、次式(11)で表される。 Next, the energy weighting factor W b [i] csf , according to the description of Non-Patent Document 1, the energy weighting factor W b [i] csf one-dimensional horizontal and vertical subband b [i] each The product of the band component energy weighting factors is expressed by the following equation (11).

Figure 2007104645
Figure 2007104645

YUV422またはYUV420形式の画像データにおける輝度信号Yに係るenergy weighting factorは、上式(11)で求めることができる。尚、YUV444形式であれば、輝度信号および色差信号ともに上式(11)で求められる。   The energy weighting factor related to the luminance signal Y in the YUV422 or YUV420 format image data can be obtained by the above equation (11). In the case of the YUV444 format, both the luminance signal and the color difference signal are obtained by the above equation (11).

YUV422形式の色差信号UおよびVについては、上述したように水平成分について垂直成分より一回多くフィルタリングすると仮定しているので、そのenergy weighting factorは、上式(11)に対して次式(12)のように表すことができる。   As for the color difference signals U and V in the YUV422 format, it is assumed that the horizontal component is filtered once more than the vertical component as described above. Therefore, the energy weighting factor is expressed by the following equation (12) with respect to the above equation (11). ).

Figure 2007104645
Figure 2007104645

また、YUV420形式の色差信号UおよびVについては、同様に、水平成分および垂直成分について一回ずつ多くフィルタリングすると仮定しているので、そのenergy weighting factorは、上式(11)に対して次式(13)のように表すことができる。   Similarly, for the color difference signals U and V in the YUV420 format, it is assumed that the horizontal component and the vertical component are filtered one by one, so that the energy weighting factor is expressed by the following equation with respect to the above equation (11). It can be expressed as (13).

Figure 2007104645
Figure 2007104645

非特許文献2の記載から求められるViewing distance 1000、Viewing distance 1700、およびViewing distance 3000の色差信号UおよびVのenergy weighting factorの値を表7〜表9に示す。ここで、以下の表も含め、表中のCbおよびCrはそれぞれ色差信号UおよびVを示している。   Tables 7 to 9 show values of energy weighting factors of the color difference signals U and V of the viewing distance 1000, the viewing distance 1700, and the viewing distance 3000 obtained from the description of Non-Patent Document 2. Here, including the following table, Cb and Cr in the table indicate the color difference signals U and V, respectively.

Figure 2007104645
Figure 2007104645

Figure 2007104645
Figure 2007104645

Figure 2007104645
Figure 2007104645

そして、表7〜表9に示した値から、上式(11)〜(13)を利用して求めたYUV422およびYUV420形式の画像データに係るenergy weighting factorが表10〜表12および表13〜表15である。   The energy weighting factors relating to the image data in the YUV422 and YUV420 formats obtained from the values shown in Tables 7 to 9 using the above formulas (11) to (13) are shown in Tables 10 to 12 and Tables 13 to 13. It is Table 15.

Figure 2007104645
Figure 2007104645

Figure 2007104645
Figure 2007104645

Figure 2007104645
Figure 2007104645

Figure 2007104645
Figure 2007104645

Figure 2007104645
Figure 2007104645

Figure 2007104645
Figure 2007104645

このようにして求めた表5および表6のノルムの値を上式(1)および(2)に代入すれば通常の量子化ステップサイズΔbが、表5および表6のノルムの値と、表10〜表15のenergy weighting factorの値とを上式(1)および(8)に代入すれば、人間の視覚特性を考慮して視覚的重み付けを行った量子化ステップサイズΔbが求められる。 By substituting the norm values of Tables 5 and 6 obtained in this way into the above equations (1) and (2), the normal quantization step size Δ b is obtained as the norm values of Tables 5 and 6; By substituting the values of energy weighting factors in Tables 10 to 15 into the above formulas (1) and (8), the quantization step size Δ b obtained by visual weighting in consideration of human visual characteristics can be obtained. .

例えば、輝度信号Y、色差信号UおよびVの全てについて、同じく量子化パラメータQp=16として、YUV422形式のカラーの画像データにおいてViewing distance(視距離)3000の視覚的重み付けを行ったときの輝度信号Y、色差信号UおよびVの量子化ステップサイズΔbは、表5に示すノルムの値、表12に示すenergy weighting factorの値、および上式(1),(8)を用いて求められる。その結果を表16〜表18に示す。 For example, with respect to all of the luminance signal Y and the color difference signals U and V, the luminance obtained when visual weighting of a viewing distance of 3000 is performed on color image data in the YUV422 format with the quantization parameter Q p = 16. signal Y, a quantization step size delta b of the color difference signals U and V, the value of the norm shown in Table 5, the value of the energy weighting factor shown in Table 12, and the above equation (1), it is determined using (8) . The results are shown in Tables 16-18.

Figure 2007104645
Figure 2007104645

Figure 2007104645
Figure 2007104645

Figure 2007104645
Figure 2007104645

尚、輝度信号Y、色差信号UおよびVのそれぞれについて、量子化ステップサイズΔbを求めるのに利用する量子化パラメータQpは、必ずしも同じ値をとる必要はなく、画像データの内容に応じて、異なる値を利用しても構わない。例えば、色成分を強調したい場合に、色差信号UおよびVに利用する量子化パラメータQpを輝度信号Yに比して小さくするなど、画像データの内容等を考慮して、それぞれについて適当な量子化パラメータQpを利用すればよい。同様に、energy weighting factorの値についても、異なる値を利用しても構わないし、用いなくても良い。 Note that the quantization parameter Q p used to determine the quantization step size Δ b for each of the luminance signal Y and the color difference signals U and V does not necessarily have the same value, and depends on the content of the image data. Different values may be used. For example, when it is desired to enhance color components, the quantization parameter Q p used for the color difference signals U and V is made smaller than the luminance signal Y. The initialization parameter Q p may be used. Similarly, different values of energy weighting factor may or may not be used.

画質制御部23では、このようにして量子化ステップサイズΔbを求め、これを量子化部14に通知する。そして、量子化部14では、各サブバンド毎に、通知された量子化ステップサイズΔbに従って量子化を行う。このとき、量子化ステップサイズΔbが1より小さければ、2の累乗を乗算して1以上の値にしてから利用するのは、上述したのと同様である。 The image quality control unit 23, thus to determine the quantization step size delta b, the and notifies the quantization unit 14. Then, the quantization unit 14, for each subband, performs quantization in accordance with the notified quantization step size delta b. In this case, smaller than 1 the quantization step size delta b, to use that after one or more values by multiplying the power of 2, is the same as described above.

以上のように、本実施の形態では、量子化によって画質を制御することにより、ノイズ除去効果(美肌効果)のある目標画質に応じた厳密な制御を行うことが可能である。このとき最適解を求めるような複雑な処理を必要としないため、少ない演算量で高速に処理することが可能である。また、人間の視覚特性を考慮し、圧縮後に高い表示画質を有する圧縮画像を生成することもできる。   As described above, in this embodiment, by controlling the image quality by quantization, it is possible to perform strict control according to the target image quality having a noise removal effect (skin-beautifying effect). At this time, since complicated processing for obtaining an optimal solution is not required, high-speed processing can be performed with a small amount of calculation. Further, in consideration of human visual characteristics, a compressed image having high display image quality after compression can be generated.

{並べ替えおよびビットシフト}
図1に示した量子化部14は、量子化ステップサイズΔbに基づいて、量子化データの並べ替えとビットシフト処理を行う。
{Sort and bit shift}
Quantization unit 14 shown in FIG. 1, based on the quantization step size delta b, to sort and bit shift processing of the quantized data.

より小さい量子化ステップサイズΔbで量子化を行ったデータを優先してより多くの符号量を割り当て、レート制御による切り捨ての影響を受けないようにビットシフト処理を行うことで、符号化処理による画質劣化を回避または抑制することができる。 In favor of the data subjected to the quantization with a smaller quantization step size delta b allocate more code amount by performing a bit shift processing so as not to be affected by truncation by the rate control, according to the coding process Image quality degradation can be avoided or suppressed.

以下に、量子化ステップサイズΔbに基づく並べ替えおよびビットシフトの処理について説明する。 The following describes the processing of sorting and bit shifting based on the quantization step size delta b.

まず、目標画質として所定の量子化パラメータQpの値が指定されると、この値に基づいて、画質制御部23が、上述したように量子化ステップサイズΔbを算出し、これを量子化部14に通知する。 First, when a value of a predetermined quantization parameter Q p is designated as the target image quality, the image quality control unit 23 calculates the quantization step size Δ b as described above based on this value, and quantizes this Notification to the unit 14.

量子化部14では、量子化ステップサイズΔbが通知されると、この値に基づいて、DWT部13がDWTを施した後の画像データを上述したように量子化する。 At the quantization unit 14, the quantization step size delta b is notified, based on this value, DWT unit 13 is quantized as described above the image data after the DWT.

そして、量子化部14は、量子化を行った後のデータを、量子化ステップサイズΔbの大きさに従って、その値が小さい順(昇順)に並べ替える。 Then, the quantization unit 14, the data after quantization, according to the magnitude of the quantization step size delta b, rearranged in the order (ascending order) the value is small.

上述したように1以上になるよう変換した量子化ステップサイズΔbを利用して量子化されたデータについては、変換前の量子化ステップサイズΔbに基づいて並べ替えを行うが、このとき、量子化ステップサイズΔbを変換するときに乗算した2の累乗の指数に対応するビット数だけデータを左にビットシフトする処理を行う。具体的な処理の態様は以下の通りである。 As described above, the data quantized using the quantization step size Δ b converted to be 1 or more is rearranged based on the quantization step size Δ b before conversion. It performs a process of bit shift to the left data by the number of bits corresponding to the exponent of 2 multiplied when converting the quantization step size delta b. Specific processing modes are as follows.

例えば、表4において、サブバンドLL5の量子化ステップサイズΔbは0.47163であるが、実際に画像データを量子化するときには、この値に22を乗算して1.88652を量子化ステップサイズΔbとして量子化を行う。よって、サブバンドLL5のデータは、量子化ステップサイズΔbの変換のために乗算した22の指数に対応して、2ビット左へシフトされる。同様に、サブバンドHL5では、量子化ステップサイズΔb=0,93204に2を乗算して、量子化ステップサイズΔb=1.86408として量子化を行う。よって、サブバンドHL5の符号化データADを、乗算した2の指数に対応して1ビット左へシフトされる。すなわち、2mを乗算した量子化ステップサイズΔbにより量子化した場合、該当するデータを指数mの分だけ左シフトすることで、データの優先度を調節するのである。 For example, in Table 4, but the quantization step size delta b subband LL5 is 0.47163, when quantizing the actual image data, the quantization step to 1.88652 multiplied by the 2 2 This value Quantization is performed with the size Δ b . Therefore, data of the sub-band LL5, corresponding to 2 2 of index multiplied for conversion of the quantization step size delta b, it is shifted left two bits. Similarly, in subband HL5, quantization step size Δ b = 0,93204 is multiplied by 2 to perform quantization with quantization step size Δ b = 1.886408. Therefore, the encoded data AD of the subband HL5 is shifted to the left by 1 bit corresponding to the exponent of 2 multiplied. That is, when the quantized by multiplied by 2 m quantization step size delta b, by left-shifting the relevant data by the amount of the index m, is to adjust the priority of the data.

表4に示す量子化ステップサイズΔbに基づいて、このようなビットシフトの処理を施した変換係数を図8に示す。図中、*印を伏した符号列は、量子化ステップサイズΔbの値を量子化に際して変換したものを示し、符号列の各ビットに伏した番号0,1,…,9は、当該ビットが属するビットプレーン番号を示している。ここで、LSB番号=0、MSB番号=9である。 Based on the quantization step size delta b shown in Table 4, showing the transformation coefficient which has been subjected to processing such bit shift in FIG. Figure, * code string lay the indicia, the value of the quantization step size delta b indicates a transformation during quantization, numbers 0 and lay to each bit of the code sequence, ..., 9, the bit Indicates the bit plane number to which. Here, LSB number = 0 and MSB number = 9.

次に、各変換係数を、量子化に用いた量子化ステップサイズΔbの小さい順(昇順)に並べ替える。図8では、矢印で示した部分の量子化ステップサイズΔbの値が昇順となっていないため、これらを入れ替える。このようにして並べ替えを行った符号列を図9に示す。図9中の矢印は図8からその位置が変更された符号列を示している。 Then, each transform coefficient, sorted in ascending order of the quantization step size delta b used for quantization (in ascending order). In Figure 8, the value of the portion of the quantization step size delta b indicated by the arrow is not the ascending order, replace them. FIG. 9 shows a code string that has been rearranged in this way. The arrows in FIG. 9 indicate code strings whose positions have been changed from those in FIG.

また、カラーの画像の場合や視覚的重み付けを考慮して量子化ステップサイズΔbを計算した場合も同様の処理を行う。 Further, the same processing is performed when calculating the quantization step size delta b consider the case and visual weighting of the color image.

例えば、上述したように、量子化パラメータQp=16として、YUV422形式のカラーの画像データにおいて、Viewing distance(視距離)3000の視覚的重み付けを行ったときの輝度信号Y、色差信号UおよびVの量子化ステップサイズΔbは、表16〜表18に示した通りである。 For example, as described above, with the quantization parameter Q p = 16, the luminance signal Y, the color difference signals U and V when the visual weighting of the viewing distance 3000 is performed on the color image data in the YUV422 format. The quantization step size [Delta] b is as shown in Tables 16-18.

ここで、表16〜表18中の量子化ステップサイズΔbが1より小さいものは、上述したように2の累乗を乗算した上で量子化に用いられる。そして、変換後の量子化ステップサイズΔbによって量子化されたデータは、元の量子化ステップサイズΔbに乗算した2の累乗の指数に対応するビット数分だけ左シフトされる。 Here, what quantization step size delta b in Table 16 Table 18 is smaller than 1 is used in quantization on multiplied by the powers of 2 as described above. Then, the data quantized with the converted quantization step size Δ b is left-shifted by the number of bits corresponding to the exponent of the power of 2 multiplied by the original quantization step size Δ b .

カラー画像の場合、輝度信号Y、色差信号UおよびVのそれぞれについてデータが存在するが、これらのデータも信号毎に区別せず、全てのデータについて量子化ステップサイズΔbが昇順となるように並べ替えを行う。その結果得られた変換係数を図10に示す。図中、YLL5とは、輝度信号YのサブバンドLL5のデータであることを示している。 For color images, as the luminance signal Y, but the data for each of the color difference signals U and V are present, these data also without distinction for each signal, all data is the quantization step size delta b becomes ascending Sort. The conversion coefficient obtained as a result is shown in FIG. In the figure, YLL5 indicates data of the subband LL5 of the luminance signal Y.

このように、輝度信号Y、色差信号UおよびVの全てのデータについて、上述したようなビットシフトと並べ替えの処理を行う。   In this way, the above-described bit shift and rearrangement processing is performed on all data of the luminance signal Y and the color difference signals U and V.

量子化部14から出力された変換係数QDは、係数ビットモデリング部20と算術符号化部21とで、ブロックベースのエントロピー符号化を施され、符号量制御部22でレートを制御される。   The transform coefficient QD output from the quantization unit 14 is subjected to block-based entropy coding by the coefficient bit modeling unit 20 and the arithmetic coding unit 21, and the rate is controlled by the code amount control unit 22.

{符号量制御}
符号量制御部22では、量子化部14が量子化を行った後、係数ビットモデリング部20および算術符号化部21によって処理が施された符号化データADのレート制御を行う。
{Code amount control}
The code amount control unit 22 performs rate control of the encoded data AD processed by the coefficient bit modeling unit 20 and the arithmetic encoding unit 21 after the quantization unit 14 performs quantization.

符号量制御部22は、図10に示すように並べ替えおよびビットシフトが施された符号列に対して、所望のノイズ除去効果が得られるようにデータの切り捨てを行う。データの切り捨ては、右端のビットから順に行う。例えば、図10に示すVHL4の番号0のビットデータから、下方向へYHH5の番号0のビットデータ…と順に削除してゆく。そして、YHH1までのビットデータを切り捨てれば目標とするノイズ除去効果が得られるとすれば、該当する図10中の散点部のデータを切り捨てる。このとき、YHH1のデータまで切り捨てても所望のノイズ除去効果が得られないときは、続いて、VLL4の番号0のビットデータから、下方向へULL4の番号0のビットデータ、YLH5の番号0のビットデータ…と順に削除してゆく。   The code amount control unit 22 performs data truncation so that a desired noise removal effect is obtained with respect to a code string that has been rearranged and bit-shifted as shown in FIG. Data truncation is performed in order from the rightmost bit. For example, the bit data of number 0 of VHL4 shown in FIG. 10 are sequentially deleted in the order of bit data of number 0 of YHH5. Then, if the target noise removal effect can be obtained by truncating the bit data up to YHH1, the data at the corresponding dot portion in FIG. 10 is discarded. At this time, if the desired noise removal effect cannot be obtained even if the data of YHH1 is rounded down, the bit data of VLL4 number 0 is moved downward, the bit data of ULL4 number 0, and the number 0 of YLH5 Delete bit data ... in order.

尚、ビットデータ(ビットプレーン)は、図27に示すようにSIGパス,MRパス,CLパスに分解できる。符号量制御部22によるレート制御は、上述したようにビットプレーン単位で行う態様の他、パス単位で行う態様であっても構わない。   The bit data (bit plane) can be decomposed into SIG path, MR path, and CL path as shown in FIG. The rate control by the code amount control unit 22 may be performed in units of paths in addition to the mode performed in units of bit planes as described above.

この場合、符号量制御部22は、VHL4の番号0のCLパスから、下方向へYHH5の番号0のCLパス…と順にCLパスを削除してゆく。YHH1の番号0のCLパスまで削除しても所望のノイズ除去効果を得られないときは、続いて、VHL4に戻って、VHL4の番号0のMRパス、下方向へYHH5の番号0のMRパス…、YHH1の番号0のMRパス…と順にMRパスを削除してゆく。所望のノイズ除去効果が得られるまで、ビットデータの削除が続けられる。   In this case, the code amount control unit 22 sequentially deletes the CL path from the CL path with the number 0 of VHL4 in the order of the CL path with the number 0 of YHH5. If the desired noise removal effect cannot be obtained even if the CL path of number 0 of YHH1 is deleted, then return to VHL4, MR path of number 0 of VHL4, MR path of number 0 of YHH5 downward ..., MR path of YHH1 with number 0 is deleted in order. The bit data is continuously deleted until a desired noise removal effect is obtained.

また、符号量制御部22に入力される段階で、既に利用者が意図する目標画質が得られていれば、上述したレート制御は行う必要はない。   If the target image quality intended by the user has already been obtained at the stage of input to the code amount control unit 22, the above-described rate control need not be performed.

このように本実施の形態に係る圧縮符号化装置1によれば、量子化ステップサイズΔbの値に従って並べ替えとビットシフトを行い、さらに各サブバンドのビットデータまたはパスを、所望のノイズ除去効果が得られるまで(つまり所望の目標画質となるまで)、下位ビットから削除してゆくことで、レート制御を行う。これにより、画面全体に対して所望のノイズ除去効果を得ることができる。 As described above, according to the compression coding apparatus 1 according to the present embodiment, the rearrangement and the bit shift are performed according to the value of the quantization step size Δ b , and the bit data or path of each subband is subjected to desired noise removal. Until the effect is obtained (that is, until the desired target image quality is obtained), rate control is performed by deleting from the lower bits. Thereby, a desired noise removal effect can be acquired with respect to the whole screen.

また、従来のように、レート・歪み最適化処理のために各符号化パスにおける歪み量を算出せずに済むため、リアルタイム性が高く、オーバーヘッドが大幅に低減した高効率のレート制御を実現できる。   Moreover, since it is not necessary to calculate the amount of distortion in each coding pass for rate / distortion optimization processing as in the past, it is possible to realize high-efficiency rate control with high real-time performance and significantly reduced overhead. .

なお、量子化ステップサイズに基づく並び替え及びビットシフト処理は必ずしも量子化部14で実行される必要はなく、例えば符号量制御部22で実行されても良い。この場合、符号量制御部22は量子化ステップサイズΔbに基づいて符号化データADに並び替え及びビットシフトを施した後、データの切り捨てを行う。この場合、量子化部14がビットシフトに係る機能を有さない圧縮符号化装置においても、符号量制御部22の機能及び動作の変更のみで、本実施の形態を実現することができる。   Note that the rearrangement and the bit shift processing based on the quantization step size do not necessarily have to be executed by the quantization unit 14, and may be executed by the code amount control unit 22, for example. In this case, the code amount control unit 22 rearranges and bit-shifts the encoded data AD based on the quantization step size Δb, and then truncates the data. In this case, even in a compression coding apparatus in which the quantization unit 14 does not have a function related to bit shift, the present embodiment can be realized only by changing the function and operation of the code amount control unit 22.

(第2の実施の形態)
{圧縮符号化装置}
図11は、本発明の第2の実施形態に係る圧縮符号化装置1の概略構成を示す機能ブロック図である。図1に示した第1の実施の形態に係る圧縮符号化装置1に、ROI部15が追加されている。
(Second Embodiment)
{Compression encoder}
FIG. 11 is a functional block diagram showing a schematic configuration of the compression encoding apparatus 1 according to the second embodiment of the present invention. An ROI unit 15 is added to the compression encoding apparatus 1 according to the first embodiment shown in FIG.

尚、この圧縮符号化装置1を構成する各処理部10〜15,17,20〜23の全部または一部は、ハードウェアで構成されてもよいし、マイクロプロセッサを機能させるプログラムで構成されていてもよい。   Note that all or part of each of the processing units 10 to 15, 17, and 20 to 23 constituting the compression encoding apparatus 1 may be configured by hardware or a program that causes a microprocessor to function. May be.

以下、本実施の形態における圧縮符号化の構成および動作について、第1の実施の形態と異なる点を中心に説明する。   In the following, the configuration and operation of compression encoding in the present embodiment will be described focusing on differences from the first embodiment.

量子化部14は、DWT部13から入力する変換係数を、画質制御部23で決定される量子化パラメータに従って、スカラー量子化する機能を有する。また量子化部14は、ROI部15によって設定された関心領域(以下、ROI(Region Of Interest)部分と記す)に対して、ノイズ除去効果を得るためのビットシフト処理を行う機能も有している。ROI部15によるROI部分の設定方法、および量子化部14によるROI部分を考慮したビットシフト処理の方法については後述する。   The quantization unit 14 has a function of performing scalar quantization on the transform coefficient input from the DWT unit 13 according to the quantization parameter determined by the image quality control unit 23. The quantization unit 14 also has a function of performing bit shift processing for obtaining a noise removal effect on the region of interest set by the ROI unit 15 (hereinafter referred to as ROI (Region Of Interest) portion). Yes. The ROI part setting method by the ROI unit 15 and the bit shift processing method by the quantization unit 14 in consideration of the ROI part will be described later.

符号量制御部22は、画質制御部23からの指示に基づいて、算術符号化部21から入力する符号化データADのレートを制御する機能を有する。すなわち、符号量制御部22は、目標符号量(最終的な圧縮画像の符号量)を考慮しつつ、ROI部分に対してノイズ除去効果を得るために、符号化データADを、帯域成分単位あるいはビットプレーン単位、パス単位で優先度の低いものから順に切り捨てるというポスト量子化を実行する機能を有する。符号量制御部22でのレート制御の方法については後述する。   The code amount control unit 22 has a function of controlling the rate of the encoded data AD input from the arithmetic encoding unit 21 based on an instruction from the image quality control unit 23. That is, the code amount control unit 22 considers the target code amount (the code amount of the final compressed image), and obtains the noise removal effect for the ROI portion by converting the encoded data AD into band component units or It has a function of performing post-quantization of truncating from the lowest priority in bit plane units and path units. A method of rate control in the code amount control unit 22 will be described later.

{ROI部分の設定}
図11に示したROI部15は、画像データの中で後述するレート制御によるノイズ除去効果を得たい領域をROI部分として設定する。
{Setting of ROI part}
The ROI unit 15 shown in FIG. 11 sets an area in the image data where a noise removal effect by rate control, which will be described later, is desired, as the ROI part.

以下に、ROI部分の設定方法について説明する。   Below, the setting method of a ROI part is demonstrated.

ROI部15は、ウェーブレット変換が施された画像データに対して、重要な部分をROI部分として指定するためのマスク信号を与える。例えば、図12のような人物の画像データ(原画像)30において、美肌効果を得たい額より下の顔部分のみをROI部分とする場合、図13(a)の白抜き部分に示すように単一のマスク領域31を設定し、これをROI部分として指定する。   The ROI unit 15 gives a mask signal for designating an important part as an ROI part to the image data subjected to wavelet transform. For example, in the image data (original image) 30 of a person as shown in FIG. 12, when only the face part below the amount for which a skin beautifying effect is desired is set as the ROI part, as shown in the white part in FIG. A single mask area 31 is set and designated as the ROI portion.

このマスク領域31は、原画像30をディスプレイ装置の画面で見ながら、所謂マウス等のポインティング入力デバイスを用いて原画像30に対応して指定することができる。あるいは、画像データを解析することによって、例えば、肌色部分を含む所定領域を抽出する等、自動的にマスク領域31が指定される態様であっても構わない。   The mask area 31 can be designated corresponding to the original image 30 by using a pointing input device such as a mouse while viewing the original image 30 on the screen of the display device. Alternatively, the mask area 31 may be automatically specified by analyzing image data, for example, extracting a predetermined area including a skin color portion.

尚、図13(a)は、原画像30に対して単一のROI部分を指定した例であるが、例えば図13(b)の白抜き部分に示すように、左目部分、右目部分、鼻および口を含む部分というように複数の領域をROI部分として指定してもよい。この場合、これらの部分はそれぞれ異なったマスク信号により規定される。   FIG. 13A shows an example in which a single ROI portion is designated for the original image 30. For example, as shown in a white portion in FIG. 13B, the left eye portion, the right eye portion, and the nose portion are shown. A plurality of areas such as a part including a mouth may be designated as the ROI part. In this case, these portions are defined by different mask signals.

そして、全てのROI部分についてのマスク領域31を除去した残りの部分が非ROI部分32(図13(a),(b))となる。   Then, the remaining portion obtained by removing the mask region 31 for all ROI portions becomes a non-ROI portion 32 (FIGS. 13A and 13B).

ここで、複数のマスク信号が与えられた場合には、その複数のマスク信号に対して優先度をつけることもできる。この優先度が高いほど、情報量、例えばビットレートが低くなり、美肌効果が高くなることになる。   Here, when a plurality of mask signals are given, priority can be given to the plurality of mask signals. The higher the priority, the lower the information amount, for example, the bit rate, and the higher the skin beautifying effect.

そして、マスク領域31をウェーブレット平面に展開してマスク信号を生成する(図14)。   Then, the mask area 31 is developed on the wavelet plane to generate a mask signal (FIG. 14).

ここで、マスク信号をウェーブレット平面に相当する部分に変換する方法はウェーブレット変換のフィルタのタップ数に依存する。   Here, the method of converting the mask signal into a portion corresponding to the wavelet plane depends on the number of taps of the wavelet transform filter.

例えば、図15のようにウェーブレット変換の演算処理においてリバーシブル(Reversible)5×3フィルタ(分解側のローパスフィルタのタップ数が5タップで分解側のハイパスフィルタのタップ数が3タップであるフィルタ)を適用するものとすると、原画像の偶数番目(2n番目)の画素データがROI部分として指定されている場合には、ローパスフィルタ(低域側)33のn番目のデータと、ハイパスフィルタ(高域側)34の(n−1)番目及びn番目のデータとがROI部分であるものとして、マスク信号をウェーブレット平面に展開する。また、原画像の奇数番目(2n+1番目)の画素データがROI部分として指定されている場合には、ローパスフィルタ(低域側)33のn番目及び(n+1)番目のデータと、ハイパスフィルタ(高域側)34の(n−1)番目、n番目及び(n+1)番目のデータとがROI部分であるものとして、マスク信号をウェーブレット平面に展開する。図15は原画像と最初の階層のウェーブレット平面との対応関係のみを示しているが、より深い階層の展開についても同様の再帰的な展開が行われる。   For example, as shown in FIG. 15, a reversible 5 × 3 filter (a filter in which the number of taps on the decomposition-side low-pass filter is 5 taps and the number of taps on the decomposition-side high-pass filter is 3 taps) Assuming that the even-numbered (2n-th) pixel data of the original image is designated as the ROI portion, the n-th data of the low-pass filter (low-frequency side) 33 and the high-pass filter (high-frequency filter) Side) 34, the (n-1) th and nth data are assumed to be ROI portions, and the mask signal is developed on the wavelet plane. When the odd-numbered (2n + 1) -th pixel data of the original image is designated as the ROI portion, the n-th and (n + 1) -th data of the low-pass filter (low-frequency side) 33 and the high-pass filter (high The (n−1) th, nth, and (n + 1) th data of the (region side) 34 is the ROI part, and the mask signal is developed on the wavelet plane. FIG. 15 shows only the correspondence between the original image and the wavelet plane of the first hierarchy, but the same recursive development is performed for the development of a deeper hierarchy.

あるいは、例えば、図16のようにウェーブレット変換の演算処理においてドビュッシー(Daubechies)9×7フィルタ(分解側のローパスフィルタのタップ数が9タップで分解側のハイパスフィルタのタップ数が7タップであるフィルタ)を適用するものとすると、原画像の偶数番目(2n番目)の画素データがROI部分として指定されている場合には、ローパスフィルタ(低域側)33の(n−1)番目、n番目及び(n+1)番目のデータと、ハイパスフィルタ(高域側)34の(n−2)番目、(n−1)番目、n番目及び(n+1)番目のデータとがROI部分であるものとして、マスク信号をウェーブレット平面に展開する。また、原画像の奇数番目(2n+1番目)の画素データがROI部分として指定されている場合には、ローパスフィルタ(低域側)33の(n−1)番目、n番目、(n+1)番目及び(n+2)番目のデータと、ハイパスフィルタ(高域側)34の(n−2)番目、(n−1)番目、n番目、(n+1)番目及び(n+2)番目のデータとがROI部分であるものとして、マスク信号をウェーブレット平面に展開する。図16は原画像と最初の階層のウェーブレット平面との対応関係のみを示しているが、より深い階層の展開についても同様の再帰的な展開が行われる。   Alternatively, for example, as shown in FIG. 16, in the wavelet transform calculation process, a Deubesy 9 × 7 filter (a filter in which the number of taps in the decomposition-side low-pass filter is 9 taps and the number of taps in the decomposition-side high-pass filter is 7 taps) When the even-numbered (2n-th) pixel data of the original image is designated as the ROI part, the (n−1) -th and n-th of the low-pass filter (low-frequency side) 33 And the (n + 1) th data and the (n-2) th, (n-1) th, nth and (n + 1) th data of the high-pass filter (high frequency side) 34 are ROI parts, The mask signal is developed on the wavelet plane. When the odd-numbered (2n + 1) -th pixel data of the original image is designated as the ROI part, the (n−1) -th, n-th, (n + 1) -th and low-pass filters (low-frequency side) 33 The (n + 2) th data and the (n-2) th, (n-1) th, nth, (n + 1) th and (n + 2) th data of the high-pass filter (high frequency side) 34 are the ROI portion. As an example, the mask signal is developed on the wavelet plane. FIG. 16 shows only the correspondence between the original image and the wavelet plane of the first hierarchy, but the same recursive development is performed for the development of a deeper hierarchy.

尚、図15及び図16の対応関係について、原画像の或る画素データとの対応による非ROI部分と、原画像の他の画素データとの対応によるROI部分とが重なり合う場合は、当該部分はROI部分であるものとして、マスク信号をウェーブレット平面に展開する。また、マスク信号の変換方法についてはリバーシブル(Reversible)5×3フィルタの場合と、ドビュッシー(Daubechies)9×7フィルタの場合の各々について説明したが、後述する符号量制御についてはドビュッシー(Daubechies)9×7フィルタを例にして説明している。   15 and FIG. 16, when the non-ROI part due to the correspondence with certain pixel data of the original image and the ROI part due to the correspondence with other pixel data of the original image overlap, The mask signal is developed on the wavelet plane as being the ROI portion. Further, the mask signal conversion method has been described for each of the case of a reversible 5 × 3 filter and the case of a debusy (Daubechies) 9 × 7 filter. A description is given taking a x7 filter as an example.

図14(a)中の白抜き部分31aは、上記のようにして図13(a)に示したマスク領域(ROI部分)31をウェーブレット平面に展開した領域(以下「展開マスク領域」と称す)であり、この展開マスク領域31aに対応したマスク信号が生成され、ウェーブレット変換された画像データに与えられる。図14(a)中の符号32aは非ROI部分32がウェーブレット平面に展開された領域(以下「展開非マスク領域」と称す)を示している。またマスク領域(ROI部分)31と非ROI部分32とが重なり合う部分においてはマスク領域(ROI部分)31を、それぞれ選択して割り当てる。即ち、より高い優先度を選択して割り当てる。   A white portion 31a in FIG. 14A is a region where the mask region (ROI portion) 31 shown in FIG. 13A is developed on the wavelet plane as described above (hereinafter referred to as “development mask region”). A mask signal corresponding to the developed mask area 31a is generated and applied to the wavelet transformed image data. Reference numeral 32a in FIG. 14A indicates a region in which the non-ROI portion 32 is expanded on the wavelet plane (hereinafter referred to as “development non-mask region”). Further, in the portion where the mask region (ROI portion) 31 and the non-ROI portion 32 overlap, the mask region (ROI portion) 31 is selected and assigned. That is, a higher priority is selected and assigned.

図13(b)に示したように複数のROI部分がマスク領域31として設定された場合には、図14(b)に示すようにウェーブレット平面上に展開されるマスク領域31aも複数になる。このようにウェーブレット平面上に展開された各マスク領域31aが複数である場合には、ここで優先度をつけることもできる。上述のように、原画像に対して複数のROI部分31を設定している場合は、各ROI部分31毎にウェーブレット平面上に展開マスク領域31aが生成される。一のROI部分31に対応する全ての展開マスク領域31aに対しては、当該ROI部分31の優先度に基づいた同一の優先度をつけ、最終的に全ての展開マスク領域31aに優先度を設定する。   When a plurality of ROI portions are set as the mask region 31 as shown in FIG. 13B, there are a plurality of mask regions 31a developed on the wavelet plane as shown in FIG. 14B. Thus, when there are a plurality of mask regions 31a developed on the wavelet plane, priority can be given here. As described above, when a plurality of ROI portions 31 are set for the original image, a development mask region 31 a is generated on the wavelet plane for each ROI portion 31. All the development mask areas 31a corresponding to one ROI part 31 are given the same priority based on the priority of the ROI part 31, and finally the priority is set to all the development mask areas 31a. To do.

原画像に対して複数のROI部分31を設定している場合、ウェーブレット平面上のローパスフィルタ(低域側)33を通過した部分において、複数の展開マスク領域31aが重なり合うことがあり得る。この場合は、その重なり合った部分について、重なり合った複数の展開マスク領域31aのうち優先度の高い方の展開マスク領域31aであるとして優先度を決定する。   When a plurality of ROI portions 31 are set for the original image, a plurality of development mask regions 31a may overlap in a portion that has passed through the low pass filter (low frequency side) 33 on the wavelet plane. In this case, the priority is determined for the overlapping portion as being the development mask region 31a having a higher priority among the plurality of overlapping development mask regions 31a.

ウェーブレット変換された画像データにおいて、どのマスク信号にもかからなかった部分が展開非マスク領域32aとなる。展開非マスク領域32aの優先度は、全ての展開マスク領域31aよりも低くなる。   In the wavelet-transformed image data, a portion not applied to any mask signal becomes a developed non-mask area 32a. The priority of the development non-mask area 32a is lower than that of all the development mask areas 31a.

このように、複数のROI部分を設定し、各ROI部分について優先度を設定することも可能である。   In this way, it is possible to set a plurality of ROI parts and set the priority for each ROI part.

設定されたROI部分に係る情報は、量子化部14に入力される。   Information on the set ROI portion is input to the quantization unit 14.

{並べ替えおよびビットシフト}
図11に示した量子化部14は、量子化ステップサイズΔb、および上述したROI部15から通知されたROI部分の設定情報に基づいて、量子化データの並べ替えとビットシフト処理を行う。
{Sort and bit shift}
The quantization unit 14 illustrated in FIG. 11 performs rearrangement of the quantized data and bit shift processing based on the quantization step size Δ b and the setting information of the ROI part notified from the ROI unit 15 described above.

より小さい量子化ステップサイズΔbで量子化を行ったデータを優先してより多くの符号量を割り当て、レート制御による切り捨ての影響を受けないようにビットシフト処理を行うことは、上記第1の実施の形態と同様である。 In favor of the data subjected to the quantization with a smaller quantization step size delta b allocate more code amount to perform the bit shift processing so as not to be affected by truncation by the rate control, the first This is the same as the embodiment.

以下、ROI部分の設定情報に基づくビットシフト処理について説明する。   Hereinafter, the bit shift process based on the setting information of the ROI part will be described.

上述したように、本発明では、白黒画像およびカラー画像、さらにこれらに視覚的重み付けを考慮した場合、の処理を行うことができるが、以下では、図10に示した量子化パラメータQp=16として、YUV422形式のカラーの画像データにおいて、Viewing distance(視距離)3000の視覚的重み付けを行ったときのカラー画像を用いて、処理の詳細を説明する。 As described above, according to the present invention, it is possible to perform processing when a black-and-white image and a color image are further taken into consideration when visual weighting is considered. In the following, the quantization parameter Q p = 16 shown in FIG. The details of the process will be described using a color image obtained by visual weighting of a viewing distance 3000 in color image data in the YUV422 format.

まず、ROI部15によって、上述したようにROI部分と非ROI部分が設定され、その設定情報が量子化部14に通知される。設定情報には、各画素データがROI部分であるか非ROI部分であるかを示す情報の他、複数のROI部分について優先度が設定された場合には当該優先度に係る情報も含まれる。   First, the ROI unit 15 sets the ROI part and the non-ROI part as described above, and notifies the quantization unit 14 of the setting information. In addition to information indicating whether each pixel data is an ROI part or a non-ROI part, the setting information includes information on the priority when priority is set for a plurality of ROI parts.

量子化部14は、通知されたROI部分の設定情報に基づいて、図10の状態にある変換係数を、さらにROI部分と非ROI部分のデータに分ける。   Based on the notified setting information of the ROI part, the quantization unit 14 further divides the transform coefficient in the state of FIG. 10 into data of the ROI part and the non-ROI part.

図10では、上述したように量子化ステップサイズΔbに基づいてビットシフトと並べ替えの処理を施された変換係数を、図5に示すサブバンド毎に示している。図5と図14の対応から分かるように、実際には、図10に示した各サブバンドの変換係数には、図14に示したROI部分31aと非ROI部分32aの両方のデータが含まれている。 In Figure 10, the transform coefficients are subjected to processing and sorting bit shift on the basis of the quantization step size delta b as described above, are shown for each sub-band shown in FIG. As can be seen from the correspondence between FIG. 5 and FIG. 14, the conversion coefficients of each subband shown in FIG. 10 actually include data of both the ROI portion 31 a and the non-ROI portion 32 a shown in FIG. 14. ing.

ここで、本実施の形態では、図17に示すように、画像データ上に4つのROI部分36〜39と非ROI部分40とが設定されたものとする。また、各ROI部分について、ROI部分36、ROI部分37、ROI部分38、ROI部分39の順に優先度が設定されたものとする。ROI部15は、これらのROI部分および優先度の情報に基づいて、上述したようにROI部分をウェーブレット平面へ展開する。   Here, in this embodiment, as shown in FIG. 17, it is assumed that four ROI portions 36 to 39 and a non-ROI portion 40 are set on the image data. Further, it is assumed that priorities are set in the order of the ROI portion 36, the ROI portion 37, the ROI portion 38, and the ROI portion 39 for each ROI portion. The ROI unit 15 develops the ROI part on the wavelet plane as described above based on the ROI part and the priority information.

ただし、ROI部分の展開は、DWTを施してウェーブレット平面に展開した画像データを所定の大きさの矩形領域に分割したコードブロック毎に行う。具体的には、例えば、各サブバンドを縦32画素×横32画素というように所定の大きさのコードブロックに分割し、コードブロック毎に、ROI部分であるか否かとROI部分である場合にはその優先度とが割り当てられて、ウェーブレット平面上に展開される。   However, the ROI portion is developed for each code block obtained by dividing the image data developed on the wavelet plane by applying DWT into rectangular regions of a predetermined size. Specifically, for example, when each subband is divided into code blocks of a predetermined size such as 32 pixels in the vertical direction and 32 pixels in the horizontal direction, whether each code block is the ROI portion or not, and the ROI portion. Is assigned a priority and is expanded on the wavelet plane.

尚、複数のROI部分、またはROI部分と非ROI部分、の両方が、一のコードブロック内に含まれるような場合には、当該コードブロックに対しては、優先度の高いROI部分、またはROI部分、をそれぞれ選択して割り当てる。即ち、より高い優先度を選択して割り当てる。もしくは、一のコードブロック内に含まれるROI部分及び非ROI部分の割合に応じて、新たな優先度を設定してもよい。   When a plurality of ROI parts, or both ROI parts and non-ROI parts are included in one code block, the ROI part or ROI having a high priority for the code block. Select and assign each part. That is, a higher priority is selected and assigned. Or you may set a new priority according to the ratio of the ROI part contained in one code block, and the non-ROI part.

その結果、図17に示したROI部分および優先度の設定に対しては、図18に示すようなウェーブレット平面が展開されることとなる。図18において各サブバンドを構成している矩形がコードブロックを示している。   As a result, for the ROI portion and priority setting shown in FIG. 17, a wavelet plane as shown in FIG. 18 is developed. In FIG. 18, the rectangles constituting each subband indicate code blocks.

このようにして設定されたROI部分に係る設定情報が、図11に示した量子化部14に入力される。   The setting information related to the ROI part set in this way is input to the quantization unit 14 shown in FIG.

図10では、図5に示すサブバンド毎に示しているが、図5と図18の対応から分かるように、実際には、図10に示した各サブバンドのデータには、図18に示した4つのROI部分36a〜39aと非ROI部分40aの全てのデータが含まれている。   FIG. 10 shows each subband shown in FIG. 5. As can be seen from the correspondence between FIG. 5 and FIG. 18, the data of each subband shown in FIG. All the data of the four ROI portions 36a to 39a and the non-ROI portion 40a are included.

量子化部14は、ROI部15から通知されたROI部分の設定情報に基づいて、図10に示した符号列を、図19に示すように、4つのROI部分36〜39のデータと非ROI部分40のデータとに分離する。   Based on the setting information of the ROI portion notified from the ROI unit 15, the quantization unit 14 converts the code string shown in FIG. 10 into the data of the four ROI portions 36 to 39 and the non-ROI as shown in FIG. The data is separated into the data of the portion 40.

さらに、量子化部14は、ROI部分36〜39の各データを所定のビット数分だけ右方向へビットシフトする。このとき、複数のROI部分が設定されている場合には、その優先度に応じて、優先度が高いほどシフト量を大きく設定する。   Further, the quantization unit 14 bit-shifts each data of the ROI portions 36 to 39 rightward by a predetermined number of bits. At this time, when a plurality of ROI portions are set, the shift amount is set to be larger as the priority is higher according to the priority.

例えば図19では、非ROI部分40のデータに対して、最も優先度の低いROI部分39は1ビット(Vml=−1)、次に優先度が高いROI部分38は2ビット(Vml=−2)、次に優先度が高いROI部分37は3ビット(Vml=−3)、最も優先度の高いROI部分36は4ビット(Vml=−4)、それぞれ右方向へビットシフトされている。 For example, in FIG. 19, for the data of the non-ROI portion 40, the ROI portion 39 with the lowest priority is 1 bit (V ml = -1), and the ROI portion 38 with the next highest priority is 2 bits (V ml = -2), the next highest priority ROI portion 37 is 3 bits (V ml = -3), and the highest priority ROI portion 36 is 4 bits (V ml = -4). ing.

尚、ROI部分36〜39のデータおよび非ROI部分40のデータのシフト量は、予め設定された所定のビット数分であってもよいし、目標とするノイズ除去効果や圧縮符号化後の画像データの画質等に応じて、任意の値に変更する態様であっても構わない。   The shift amount of the data of the ROI portions 36 to 39 and the data of the non-ROI portion 40 may be a predetermined number of bits, or may be a target noise removal effect or an image after compression coding. The mode may be changed to an arbitrary value according to the image quality of data.

また、ROI部分36〜39のデータおよび非ROI部分40のデータは、図19に示すように優先度の高い部分のデータから順に並べる態様に限るものではなく、例えば優先度の低い部分のデータから順に並べる態様等であっても構わない。データの並びは、例えば、後述する符号量制御においては下位ビットプレーンほどノイズ成分などの高調波成分を含んでいるため、目標画質に収めるためには下位ビットプレーンを対象にしたレート制御が有効である点、このときのレート制御によるデータの削除の順と各部分36〜40の優先度の関係、各部分36〜40の画像データの内容、等を考慮して決定する。   Further, the data of the ROI portions 36 to 39 and the data of the non-ROI portion 40 are not limited to the mode of arranging the data in order from the high priority portion as shown in FIG. A mode of arranging them in order may be used. For example, in the code amount control described later, since the lower bit plane includes higher harmonic components such as noise components in the code amount control described later, rate control for the lower bit plane is effective for achieving the target image quality. It is determined in consideration of the relationship between the order of data deletion by rate control at this time and the priority of the portions 36 to 40, the contents of the image data of the portions 36 to 40, and the like.

量子化部14から出力された変換係数QDは、係数ビットモデリング部20と算術符号化部21とで、ブロックベースのエントロピー符号化を施され、符号量制御部22でレートを制御される。   The transform coefficient QD output from the quantization unit 14 is subjected to block-based entropy coding by the coefficient bit modeling unit 20 and the arithmetic coding unit 21, and the rate is controlled by the code amount control unit 22.

尚、非特許文献2で規格化されているJPEG2000 Part1では、Max−Shift法を用いる場合のみ、量子化部14でROI部分と非ROI部分との2種類に分けてシフトすることが許されている。従ってそのシフト量は、図29に示すように、ROI部分の最大値分を右シフトするということになる。ROIの形状はコードブロック単位である必要はなく、図14に示したROI部分31aと非ROI部分32aのウェーブレット平面状の係数単位でシフトしてもよい。   In JPEG2000 Part 1 standardized in Non-Patent Document 2, only when the Max-Shift method is used, the quantizing unit 14 is allowed to shift in two types, an ROI part and a non-ROI part. Yes. Therefore, as shown in FIG. 29, the shift amount is right-shifted by the maximum value of the ROI portion. The shape of the ROI does not need to be in units of code blocks, and may be shifted in units of coefficients on the wavelet plane of the ROI portion 31a and the non-ROI portion 32a shown in FIG.

そのため、量子化部14で複数のROIに関して任意のシフト量の優先度を設定するためには、非特許文献2で規格化されているJPEG2000 Part1を拡張する必要がある。各サブバンドのマスクの形状データと各ROIの優先度を示すシフト量を拡張データとして保存することになる。各サブバンドのマスクの形状データは、コードブロック単位でもよいし、ウェーブレット平面状の係数単位であってもよい。マスクの形状データをコードブロック単位で保存した場合は、保存すべきデータ量を減らすことができる。   Therefore, in order for the quantization unit 14 to set the priority of an arbitrary shift amount with respect to a plurality of ROIs, it is necessary to extend JPEG2000 Part1 standardized in Non-Patent Document 2. The mask shape data of each subband and the shift amount indicating the priority of each ROI are stored as extended data. The shape data of the mask of each subband may be a code block unit or a wavelet plane coefficient unit. When the mask shape data is stored in units of code blocks, the amount of data to be stored can be reduced.

{符号量制御}
符号量制御部22では、量子化部14が量子化を行った後、係数ビットモデリング部20および算術符号化部21によって処理が施された符号化データADのレート制御を行う。
{Code amount control}
The code amount control unit 22 performs rate control of the encoded data AD processed by the coefficient bit modeling unit 20 and the arithmetic encoding unit 21 after the quantization unit 14 performs quantization.

符号量制御部22は、図19に示すように並べ替えおよびビットシフトが施された符号列に対して、目標のノイズ除去効果が得られるように(つまり目標の画質が得られるように)、データの切り捨てを行う。データの切り捨ては、右端のビットから順に行う。例えば、図19に示すROI部分36の符号列のVHL4の番号0のビットデータから、下方向へYHH5の番号0のビットデータ…と順に削除してゆく。そして、YHH1までのビットデータを切り捨てれば目標とするノイズ除去効果が達成されるとすれば、該当する図19中の散点部のデータを切り捨てる。このとき、YHH1のデータまで切り捨てても目標の画質が得られないときは、続いて、ROI部分36のVLL4の番号0のビットデータから、下方向へULL4の番号0のビットデータ、YLH5の番号0のビットデータ…と順に削除してゆく。ビットデータの削除は、目標画質が得られるまで続けられる。   As shown in FIG. 19, the code amount control unit 22 performs a target noise removal effect on a code string that has been rearranged and bit-shifted (that is, a target image quality is obtained). Truncate the data. Data truncation is performed in order from the rightmost bit. For example, the bit data of number 0 of VHL4 in the code string of the ROI portion 36 shown in FIG. 19 is deleted in the order of bit data of number 0 of YHH5 in the downward direction. Then, if the target noise removal effect is achieved by truncating the bit data up to YHH1, the data at the corresponding dot portion in FIG. 19 is discarded. At this time, if the target image quality cannot be obtained even if the data of YHH1 is rounded down, the bit data of number 0 of ULL4, the number of bit data of ULL4, and the number of YLH5 are subsequently shifted from the VLL4 number 0 bit data in the ROI portion 36. Bit data of 0 ... are deleted in order. Bit data deletion is continued until the target image quality is obtained.

尚、ビットデータ(ビットプレーン)は、図27に示すようにSIGパス,MRパス,CLパスに分解できる。符号量制御部22によるレート制御は、上述したようにビットプレーン単位で行う態様の他、パス単位で行う態様であっても構わない。   The bit data (bit plane) can be decomposed into SIG path, MR path, and CL path as shown in FIG. The rate control by the code amount control unit 22 may be performed in units of paths in addition to the mode performed in units of bit planes as described above.

このように本実施の形態に係る圧縮符号化装置1によれば、量子化ステップサイズΔbの値に従って並べ替えとビットシフトを行い、さらにROI部分の設定情報に基づいて並べ替えとビットシフトを行った各サブバンドのビットデータまたはパスを、所望のノイズ除去効果が得られるまで(つまり所望の目標画質となるまで)、下位ビットから削除してゆくことで、レート制御を行う。その結果、ノイズ除去効果のある目標画質になるよう、厳密に制御することが可能となる。 According to the compression encoding device 1 according to this embodiment performs sorting and bit shifting according to the value of the quantization step size delta b, further sorting and bit shifting based on the setting information of the ROI The rate control is performed by deleting the bit data or pass of each performed subband from the lower bits until a desired noise removal effect is obtained (that is, until a desired target image quality is obtained). As a result, it is possible to strictly control the target image quality with a noise removal effect.

また、従来のように、レート・歪み最適化処理のために各符号化パスにおける歪み量を算出せずに済むため、リアルタイム性が高く、オーバーヘッドが大幅に低減した高効率のレート制御を実現できる。画像圧縮により、ノイズを除去した画像を生成することが可能となる。   Moreover, since it is not necessary to calculate the amount of distortion in each coding pass for rate / distortion optimization processing as in the past, it is possible to realize high-efficiency rate control with high real-time performance and significantly reduced overhead. . Image compression makes it possible to generate an image from which noise has been removed.

また、優先度の高いROI部分から順に、データの切り捨てが行われる。そのため、優先度の高いROI部分の情報がレート制御によってノイズ成分などの高周波成分を含んでいる部分を優先的に除去でき、優先度の高いROI部分のノイズ除去効果のある目標画質になるよう厳密に制御したまま圧縮符号化することが可能となる。   In addition, data is truncated in order from the ROI part with the highest priority. For this reason, it is possible to preferentially remove information including high-frequency components such as noise components from the ROI information with a high priority by rate control, and to achieve a target image quality that has a noise removal effect for the ROI portion with a high priority. Thus, it is possible to perform compression encoding while being controlled.

例えば人間の肌などをROI部分としてレート制御することにより、肌のシワやシミなどをノイズ成分として除去することができるため、美肌効果を得ることができる。   For example, by controlling the rate of human skin or the like as an ROI portion, wrinkles or spots on the skin can be removed as noise components, so that a skin beautifying effect can be obtained.

図20は、本実施の形態の変形例を示すブロック図である。図11に示した例と異なるのは、ROI部15で設定したROI部分に係る情報が、量子化部14ではなく符号量制御部22に入力される点である。   FIG. 20 is a block diagram showing a modification of the present embodiment. The difference from the example shown in FIG. 11 is that information on the ROI part set by the ROI unit 15 is input to the code amount control unit 22 instead of the quantization unit 14.

図11に示した例では、量子化の段階で量子化ステップサイズに基づくデータの並べ替えおよびビットシフトの処理と、ROI部分の設定情報に基づくデータの並べ替えおよびビットシフトの処理と、を行っている。これに対し、図20に示した例では、量子化部14では、量子化ステップサイズに基づく量子化のみを行う。そして、量子化部14から出力され係数ビットモデリング部20および算術符号化部21によるブロックベースのエントロピー符号化を施された後、符号量制御部22がレート制御を行う際に、量子化ステップサイズに基づく並べ替えおよびビットシフトの処理と、ROI部分の設定情報に基づくデータの並べ替えおよびビットシフトの処理が行われる。ROI部分の設定情報に基づくデータの並べ替えおよびビットシフトの処理を、量子化部14ではなく符号量制御部22が行うということ以外は、図11に示した例と同様であるため、詳細な説明は省略する。   In the example shown in FIG. 11, data rearrangement and bit shift processing based on the quantization step size is performed at the quantization stage, and data rearrangement and bit shift processing based on the setting information of the ROI portion is performed. ing. On the other hand, in the example shown in FIG. 20, the quantization unit 14 performs only the quantization based on the quantization step size. Then, after block-based entropy coding is performed by the coefficient bit modeling unit 20 and the arithmetic coding unit 21 output from the quantization unit 14, the quantization step size is determined when the code amount control unit 22 performs rate control. The rearrangement and bit shift processing based on the data, and the data rearrangement and bit shift processing based on the setting information of the ROI portion are performed. Since the processing of data rearrangement and bit shift based on the setting information of the ROI part is performed by the code amount control unit 22 instead of the quantization unit 14, it is the same as the example shown in FIG. Description is omitted.

図20に示した例では、並べ替えおよびビットシフトの処理を全て符号量制御部22で行っている。従って、量子化部14がビットシフトに係る機能を有さない圧縮符号化装置においても、符号量制御部22の機能および動作の変更のみで、本実施の形態を実現することができる。   In the example shown in FIG. 20, all the rearrangement and bit shift processes are performed by the code amount control unit 22. Therefore, even in a compression coding apparatus in which the quantization unit 14 does not have a function related to bit shift, the present embodiment can be realized only by changing the function and operation of the code amount control unit 22.

(第3の実施の形態)
第1の実施の形態では、量子化ステップサイズΔbを用いて量子化した後、符号量制御処理に基づいてノイズ除去効果(美肌効果)のある目標画質なるように、データの切り捨てを行った。各サブバンドの量子化に用いる量子化ステップサイズΔbは、式(1)と、合成フィルタ係数のノルムを用いた式(2)、または、非特許文献2に記載される"energy weighting factor"の数値及び合成フィルタ係数のノルムの積を用いた式(8)とによって決定されていた。
(Third embodiment)
In the first embodiment, after quantization using the quantization step size Δ b , data is truncated so that the target image quality with a noise removal effect (skin-beautifying effect) is obtained based on the code amount control process. . The quantization step size Δ b used for quantization of each subband is expressed by Equation (1), Equation (2) using the norm of the synthesis filter coefficient, or “energy weighting factor” described in Non-Patent Document 2. And the equation (8) using the product of the norms of the synthesis filter coefficients.

これに対し、本実施の形態では、量子化ステップサイズΔbを用いて量子化した後、符号量制御処理において"energy weighting factor"の数値で異なる"Viewing distance(視距離)"を適応する場合についての実施例について述べる。 On the other hand, in the present embodiment, after quantization using the quantization step size Δ b , a “Viewing distance” that differs in the numerical value of “energy weighting factor” is applied in the code amount control process. An example of the above will be described.

以下、本実施の形態における圧縮符号化装置の構成および動作について、第1の実施の形態と異なる点を中心に説明する。   Hereinafter, the configuration and operation of the compression coding apparatus according to the present embodiment will be described focusing on differences from the first embodiment.

符号量制御処理において異なる"Viewing distance(視距離)"を用いた量子化ステップサイズΔb’を次式(14)とする。 The quantization step size Δ b ′ using a different “Viewing distance” in the code amount control process is represented by the following equation (14).

Figure 2007104645
Figure 2007104645

ここで、Qp’は、符号量制御処理における目標画質情報に従って入力される正の数、すなわち量子化パラメータであって、高画質であるほど小さな値を入力する。Qb’は、合成フィルタ係数のノルムを用いた式(2)、または、非特許文献2に記載される"energy weighting factor"の数値と合成フィルタ係数のノルムの積を用いた式(8)と同様である。 Here, Q p ′ is a positive number input according to the target image quality information in the code amount control process, that is, a quantization parameter, and a smaller value is input as the image quality is higher. Q b ′ is the expression (2) using the norm of the synthesis filter coefficient, or the expression (8) using the product of the numerical value of “energy weighting factor” described in Non-Patent Document 2 and the norm of the synthesis filter coefficient. It is the same.

Δb’とΔbの関係を次式(15)のように規定する。 The relationship between Δ b ′ and Δ b is defined as in the following equation (15).

Figure 2007104645
Figure 2007104645

ここで、αは、各サブバンドの量子化に用いる量子化ステップサイズΔbに対する、符号量制御処理における量子化ステップサイズΔb’の重みとなる。 Here, α is a weight of the quantization step size Δ b ′ in the code amount control process with respect to the quantization step size Δ b used for quantization of each subband.

例えば、第1の実施の形態では、輝度信号Y、色差信号UおよびVの全てについて、量子化パラメータQp=16として、YUV422形式のカラーの画像データにおいてViewing distance(視距離)3000の視覚的重み付けを行ったときの輝度信号Y、色差信号UおよびVの量子化ステップサイズΔbは、表16〜表18に示されている。符号量制御処理において輝度信号Y、色差信号UおよびVの全てについて、量子化パラメータQp’=16として、YUV422形式のカラーの画像データにおいてViewing distance(視距離)1000の視覚的重み付けを行ったときの輝度信号Y、色差信号UおよびVの量子化ステップサイズΔb’になるようなαは、次式(16)となる。 For example, in the first embodiment, for all of the luminance signal Y and the color difference signals U and V, the quantization parameter Q p = 16 is used, and the visual distance of 3000 in the viewing image (viewing distance) 3000 in the color image data in the YUV422 format. luminance signal Y, a quantization step size delta b of the color difference signals U and V when performing weighting is shown in Table 16 to Table 18. In the code amount control processing, visual weighting of viewing distance 1000 was performed on the color image data in the YUV422 format with the quantization parameter Q p ′ = 16 for all of the luminance signal Y and the color difference signals U and V. Α such that the quantization step size Δ b ′ of the luminance signal Y and the color difference signals U and V is expressed by the following equation (16).

Figure 2007104645
Figure 2007104645

量子化ステップサイズΔb’の重みαは、符号量制御部22で画質制御部23から通知された量子化ステップサイズΔbと符号量制御部22に入力する目標画質情報とによって決定される。 The weight α of the quantization step size Δ b ′ is determined by the quantization step size Δ b notified from the image quality control unit 23 by the code amount control unit 22 and the target image quality information input to the code amount control unit 22.

{並べ替えおよびビットシフト}
このように求められた、符号量制御処理において異なる"Viewing distance(視距離)"を用いた量子化ステップサイズΔb’と量子化ステップサイズの重みαとに基づいて、第1の実施の形態と同様に、並べ替えおよびビットシフトを行う。
{Sort and bit shift}
The first embodiment is based on the quantization step size Δ b ′ using the different “Viewing distance” and the weight α of the quantization step size obtained in this way in the code amount control process. Similar to the above, rearrangement and bit shift are performed.

図1に示した符号量制御部22は、符号量制御部22内で計算された量子化ステップサイズの重みαを用いて、次式(17)のようにビットシフトするビット数Sを決定する。   The code amount control unit 22 illustrated in FIG. 1 determines the number of bits S to be bit-shifted using the quantization step size weight α calculated in the code amount control unit 22 as shown in the following equation (17). .

Figure 2007104645
Figure 2007104645

ここで、ROUNDは小数点を丸める関数であり、切捨て、切り上げ、四捨五入が考えられる。値が正の場合は左シフトし、負の場合は右シフトする。式(16)のViewing distance(視距離)3000の量子化ステップサイズΔbとViewing distance(視距離)1000の量子化ステップサイズΔb’で四捨五入した場合のビットシフトするビット数Sの例を表19〜表21に示す。 Here, ROUND is a function for rounding the decimal point, and rounding down, rounding up, and rounding can be considered. Shifts to the left if the value is positive, and to the right if the value is negative. An example of the number of bits S to be bit-shifted when rounding off with a quantization step size Δ b of Viewing distance 3000 in Expression (16) and a quantization step size Δ b ′ of Viewing distance 1000 of 1000 19 to Table 21.

Figure 2007104645
Figure 2007104645

Figure 2007104645
Figure 2007104645

Figure 2007104645
Figure 2007104645

次に、各符号列を、符号量制御部22で求められた量子化ステップサイズΔb’に基づいて、第1の実施の形態と同様にΔb’の小さい順(昇順)に並べ替える。表19〜表21のビットシフトするビット数Sに対応する量子化ステップサイズΔb’を表22〜表24に示す。量子化ステップサイズΔb’は並び替えにのみ用いられる。 Next, the respective code strings are rearranged in the ascending order of Δ b ′ (ascending order) as in the first embodiment, based on the quantization step size Δ b ′ obtained by the code amount control unit 22. Tables 22 to 24 show quantization step sizes Δ b ′ corresponding to the bit shift number S in Tables 19 to 21. The quantization step size Δ b ′ is used only for reordering.

Figure 2007104645
Figure 2007104645

Figure 2007104645
Figure 2007104645

Figure 2007104645
Figure 2007104645

本実施の形態でも、画質制御部23では、量子化ステップサイズΔbを求め、これを量子化部14に通知する。そして、量子化部14では、各サブバンド毎に、通知された量子化ステップサイズΔbに従って量子化を行う。このとき、量子化ステップサイズΔbが1より小さければ、2の累乗を乗算して1以上の値にしてから利用するのは、上述したのと同様である。 In the present embodiment, the image quality control unit 23 obtains the quantization step size delta b, and notifies the quantization unit 14. Then, the quantization unit 14, for each subband, performs quantization in accordance with the notified quantization step size delta b. In this case, smaller than 1 the quantization step size delta b, to use that after one or more values by multiplying the power of 2, is the same as described above.

従って、実際のシフト量は上記のシフト量と式(17)のシフト量の合計になる。   Therefore, the actual shift amount is the sum of the shift amount and the shift amount of Expression (17).

{符号量制御処理}
次に、図1に示した符号量制御部22の処理内容について説明する。第1の実施の形態との違いは、図21に示すように、量子化ステップサイズの重みαに基づいて決定されたビットシフトするビット数Sによるシフト分の違いだけである。図21に示すように、例えばYHH1に関しては8ビット左にシフトされており、UHH1に関しては4ビット左にシフトされている。
{Code amount control processing}
Next, processing contents of the code amount control unit 22 shown in FIG. 1 will be described. As shown in FIG. 21, the difference from the first embodiment is only the difference in the shift amount due to the number of bits S to be bit-shift determined based on the weight α of the quantization step size. As shown in FIG. 21, for example, YHH1 is shifted to the left by 8 bits, and UHH1 is shifted to the left by 4 bits.

この結果、符号量制御部22で"Viewing distance(視距離)"を自由に変更することができるため、圧縮用の量子化値で符号化した画像も、符号量制御部22でノイズ除去効果(美肌効果)のある目標画質となるよう厳密に制御することが可能である。   As a result, since the “Viewing distance” can be freely changed by the code amount control unit 22, an image encoded with the compression quantization value can also be reduced by the code amount control unit 22. It is possible to strictly control to achieve a target image quality with a skin-beautifying effect.

なお、第1の実施の形態と同様に、並び替え及びビットシフトの処理を全て符号量制御部22で行っても良い。この場合、量子化部14がビットシフトに係る機能を有さない圧縮符号化装置においても、符号量制御部22の機能及び動作の変更のみで、本実施の形態を実現することができる。   Similar to the first embodiment, all the rearrangement and bit shift processes may be performed by the code amount control unit 22. In this case, even in a compression coding apparatus in which the quantization unit 14 does not have a function related to bit shift, the present embodiment can be realized only by changing the function and operation of the code amount control unit 22.

(第4の実施の形態)
第2の実施の形態では、量子化ステップサイズΔbを用いて量子化した後、各ROIで優先度をつけてビットシフトすることにより、符号量制御処理に基づいてノイズ除去効果(美肌効果)のある目標画質となるようにデータの切り捨てを行った。
(Fourth embodiment)
In the second embodiment, after quantizing using the quantization step size Δ b , a bit shift is performed by assigning a priority to each ROI, thereby performing a noise removal effect (skin-beautifying effect) based on the code amount control process. The data was truncated to achieve a certain target image quality.

これに対し、本実施の形態では、第3の実施の形態と同様に、量子化ステップサイズΔbを用いて量子化した後、符号量制御処理において"energy weighting factor"の数値で異なる"Viewing distance(視距離)"を各ROIに適応する場合についての実施例について述べる。 On the other hand, in this embodiment, as in the third embodiment, after quantization using the quantization step size Δ b , “Viewing”, which differs in the numerical value of “energy weighting factor” in the code amount control process An embodiment in the case where “distance (viewing distance)” is applied to each ROI will be described.

以下、本実施の形態における圧縮符号化の構成および動作について、第1〜第3の実施の形態と異なる点を中心に説明する。圧縮符号化装置、量子化、ROI部分の設定は、第2の実施の形態と同じである。   Hereinafter, the configuration and operation of compression encoding in the present embodiment will be described focusing on differences from the first to third embodiments. The setting of the compression encoding device, quantization, and ROI part is the same as in the second embodiment.

{並べ替えおよびビットシフト}
図11または図20に示した量子化部14は、画質制御部23から通知された量子化ステップサイズに基づいて、入力された符号化データADの並べ替えおよびビットシフトの処理を行う。このとき、1以上になるように変換した量子化ステップサイズを利用して量子化した変換係数については、変換時に乗算した2の累乗の指数に対応するビット数だけ左方向にビットシフトする。
{Sort and bit shift}
The quantization unit 14 illustrated in FIG. 11 or 20 performs the rearrangement and bit shift processing of the input encoded data AD based on the quantization step size notified from the image quality control unit 23. At this time, the transform coefficient quantized using the quantization step size transformed so as to be 1 or more is bit-shifted to the left by the number of bits corresponding to the exponent of power of 2 multiplied at the time of transformation.

例えば、第3の実施の形態と同様に、量子化パラメータQp=16として、YUV422形式のカラーの画像データにおいて、Viewing distance(視距離)3000の視覚的重み付けを行って量子化されたものに、符号量制御処理において量子化パラメータQp’=16として、YUV422形式のカラーの画像データにおいてViewing distance(視距離)1000の視覚的重み付け行った量子化ステップサイズに基づく並べ替えおよびビットシフトの処理を行うと、図22に示すような符号列が得られる。 For example, in the same manner as in the third embodiment, the quantization parameter Q p = 16 and the image data in the YUV422 format color is quantized by visual weighting of viewing distance 3000. In the code amount control process, the quantization parameter Q p ′ = 16, and the rearrangement and bit shift process based on the quantization step size obtained by visually weighting the viewing distance 1000 in the color image data in the YUV422 format Is performed, a code string as shown in FIG. 22 is obtained.

次に、図11に示した量子化部14または図20に示した符号量制御部22は、図10に示した符号列に対し、さらにROI部15から通知されたROI部分の設定情報に基づく並べ替えおよびビットシフトの処理を行う。非ROI部分よりもROI部分の符号量をより多く切り捨てるよう処理することで、符号化処理によるROI部分のノイズ除去効果(美肌効果)が期待できる。   Next, the quantization unit 14 shown in FIG. 11 or the code amount control unit 22 shown in FIG. 20 is based on the setting information of the ROI part notified from the ROI unit 15 to the code string shown in FIG. Sorting and bit shifting are performed. By performing processing so that the code amount of the ROI part is cut off more than that of the non-ROI part, the noise removal effect (skin-beautifying effect) of the ROI part by the encoding process can be expected.

まず、図11に示した量子化部14または図20に示した符号量制御部22は、上述したように量子化ステップサイズΔb’に基づいて並べ替えとビットシフトの処理を施された符号化列を、ROI部15から通知されたROI部分の設定情報に基づいてROI部分と非ROI部分のデータに分ける。 First, the quantization unit 14 shown in FIG. 11 or the code amount control unit 22 shown in FIG. 20 performs the code subjected to the rearrangement and bit shift processing based on the quantization step size Δ b ′ as described above. Based on the setting information of the ROI portion notified from the ROI unit 15, the conversion column is divided into data of the ROI portion and the non-ROI portion.

図5と図18の対応から分かるように、実際には、図10に示した各サブバンドのデータには、図18に示した4つのROI部分36a〜39aと非ROI部分40aの全てのデータが含まれている。   As can be seen from the correspondence between FIG. 5 and FIG. 18, in fact, the data of each subband shown in FIG. 10 includes all the data of the four ROI portions 36a to 39a and the non-ROI portion 40a shown in FIG. It is included.

図11に示した量子化部14または図20に示した符号量制御部22は、ROI部15から通知されたROI部分の設定情報に基づいて、図10に示した符号列を、図19に示したように、4つのROI部分36〜39のデータと非ROI部分40のデータとに分離する。   The quantization unit 14 shown in FIG. 11 or the code amount control unit 22 shown in FIG. 20 converts the code string shown in FIG. 10 into the code sequence shown in FIG. 19 based on the setting information of the ROI part notified from the ROI unit 15. As shown, the data of the four ROI parts 36 to 39 and the data of the non-ROI part 40 are separated.

各ROIを設定した領域に対し、符号量制御処理において異なる"Viewing distance(視距離)"を用いた量子化ステップサイズΔb’を用いるため、第3の実施の形態で用いたように、式(17)の量子化ステップサイズの重みαを用いてビットシフトするビット数Sを各ROIに適用する。 Since the quantization step size Δ b ′ using a different “Viewing distance” is used in the code amount control process for each ROI set region, as in the third embodiment, the expression The number of bits S to be bit-shifted using the quantization step size weight α in (17) is applied to each ROI.

図19では、各ROI部分に対して優先度をつけて全体をビットシフトしていただけであった。図21と同様に、各ROI部分に対しても、量子化ステップサイズΔbで用いた"Viewing distance(視距離)"を符号量制御処理において"energy weighting factor"の数値で異なる"Viewing distance(視距離)"に変更できる。 In FIG. 19, priority is given to each ROI part, and the whole is just bit-shifted. Similar to FIG 21, also for each ROI portions, the code amount control processing "the Viewing distance (viewing distance)" used in the quantization step size delta b different figures "energy weighting factor""Viewing distance ( (Viewing distance) "can be changed.

図22では、ROI部分36,37についてはViewing distance 1000で、ROI部分38,39及び非ROI部分40についてはViewing distance 3000で、符号量制御処理を行っている。   In FIG. 22, the code amount control processing is performed at the viewing distance 1000 for the ROI portions 36 and 37 and at the viewing distance 3000 for the ROI portions 38 and 39 and the non-ROI portion 40.

{符号量制御}
符号量制御部22は、図22に示したように並べ替えられた符号列に対して、ノイズ除去効果(美肌効果)のある目標画質となるようにデータの切り捨てを行う。データの切り捨ては、右端のビットから順に行う。例えば、図22に示すROI部分36のVHL4の番号0のビットデータから、下方向へYHH5の番号0のビットデータ…と順に削除してゆく。そして、YHH3までのビットデータを切り捨てれば目標画質になるとすれば、該当する部分のデータを切り捨てる。このとき、YHH3までのデータまで切り捨てても目標画質とならないときは、続いて、ROI部分36のVLL4の番号0のビットデータから、下方向へULL4の番号0のビットデータ…と順に削除してゆく。ビットデータの削除は、右側に位置するビットから順に、目標画質となるまで続けられる。
{Code amount control}
The code amount control unit 22 performs data truncation on the code string rearranged as shown in FIG. 22 so as to obtain a target image quality with a noise removal effect (skin-beautifying effect). Data truncation is performed in order from the rightmost bit. For example, the bit data of number 0 of VHL4 in the ROI portion 36 shown in FIG. 22 is deleted in the order of bit data of number 0 of YHH5 in the downward direction. Then, if the target image quality is obtained by truncating the bit data up to YHH3, the corresponding portion of data is discarded. At this time, if the target image quality is not achieved even if the data up to YHH3 is cut off, then the bit data of number 0 of VLL4 in the ROI portion 36 is deleted in the order of bit data of number 0 of UL4 downward. go. The deletion of bit data is continued in order from the bit located on the right side until the target image quality is achieved.

第3の実施の形態と同様に第4の実施の形態においても、図11に示した量子化部14または図20に示した符号量制御部22で"Viewing distance(視距離)"を自由に変更することができるため、圧縮用の量子化値で符号化した画像も、ノイズ除去効果(美肌効果)のある目標画質となるよう厳密に制御することが可能となる。   Similarly to the third embodiment, in the fourth embodiment, the “Viewing distance” can be freely set by the quantization unit 14 shown in FIG. 11 or the code amount control unit 22 shown in FIG. Since it can be changed, it is possible to strictly control an image encoded with a quantization value for compression so as to obtain a target image quality with a noise removal effect (skin-beautifying effect).

なお、第2の実施の形態と同様に、並び替え及びビットシフトの処理を全て符号量制御部22で行っても良い。この場合、量子化部14がビットシフトに係る機能を有さない圧縮符号化装置においても、符号量制御部22の機能及び動作の変更のみで、本実施の形態を実現することができる。   Similar to the second embodiment, all the rearrangement and bit shift processes may be performed by the code amount control unit 22. In this case, even in a compression coding apparatus in which the quantization unit 14 does not have a function related to bit shift, the present embodiment can be realized only by changing the function and operation of the code amount control unit 22.

この発明の第1の実施の形態に係る圧縮符号化装置の概略構成を示す図である。It is a figure which shows schematic structure of the compression coding apparatus based on 1st Embodiment of this invention. Energy weighting factorの数値テーブルを示す図である。It is a figure which shows the numerical table of Energy weighting factor. Energy weighting factorの数値テーブルを示す図である。It is a figure which shows the numerical table of Energy weighting factor. Energy weighting factorの数値テーブルを示す図である。It is a figure which shows the numerical table of Energy weighting factor. 輝度信号のウェーブレット平面を示す図である。It is a figure which shows the wavelet plane of a luminance signal. YUV422形式の色差信号のウェーブレット平面を示す図である。It is a figure which shows the wavelet plane of the color difference signal of a YUV422 format. YUV420形式の色差信号のウェーブレット平面を示す図である。It is a figure which shows the wavelet plane of the color difference signal of YUV420 format. 符号列のビットシフトの処理を示す図である。It is a figure which shows the bit shift process of a code sequence. 符号列の並べ替えの処理を示す図である。It is a figure which shows the process of rearrangement of a code string. YUV形式の符号列の並べ替えおよびビットシフトの処理を示す図である。It is a figure which shows the process of rearrangement of a code string of YUV format, and a bit shift. この発明の第2の実施の形態に係る圧縮符号化装置の概略構成を示す図である。It is a figure which shows schematic structure of the compression coding apparatus which concerns on 2nd Embodiment of this invention. 原画像の例を示す図である。It is a figure which shows the example of an original image. 図12の原画像に対して設定された単一のマスク領域を示す図である。It is a figure which shows the single mask area | region set with respect to the original image of FIG. 図13のマスク領域をウェーブレット平面に展開した状態を示す図である。It is a figure which shows the state which expand | deployed the mask area | region of FIG. 13 on the wavelet plane. 逆ウェーブレット5×3フィルタにおける低域側及び高域側と入力側との間のマスク領域の対応関係を示す図である。It is a figure which shows the correspondence of the mask area | region between the low-frequency side and high frequency side in an inverse wavelet 5x3 filter, and an input side. 逆ウェーブレット9×7フィルタにおける低域側及び高域側と入力側との間のマスク領域の対応関係を示す図である。It is a figure which shows the correspondence of the mask area | region between the low-frequency side and high frequency side in an inverse wavelet 9x7 filter, and the input side. 画像データのROI部分の設定例を示す図である。It is a figure which shows the example of a setting of the ROI part of image data. 図17のROI設定情報をウェーブレット平面に展開した状態を示す図である。It is a figure which shows the state which expand | deployed the ROI setting information of FIG. 17 on the wavelet plane. 図17のROI設定情報に基づく符号列の並べ替えおよびビットシフトの処理を示す図である。FIG. 18 is a diagram illustrating code string rearrangement and bit shift processing based on the ROI setting information of FIG. 17. 第2の実施の形態の変形例に係る圧縮符号化装置の概略構成を示す図である。It is a figure which shows schematic structure of the compression coding apparatus which concerns on the modification of 2nd Embodiment. この発明の第3の実施の形態に係る符号列の並べ替えおよびビットシフトの処理を示す図である。It is a figure which shows the rearrangement of a code sequence and the process of a bit shift which concern on 3rd Embodiment of this invention. この発明の第4の実施の形態に係る符号列の並べ替えおよびビットシフトの処理を示す図である。It is a figure which shows the rearrangement of the code sequence and bit shift process which concern on 4th Embodiment of this invention. JPEG2000方式による圧縮符号化装置の概略構成を示す図である。It is a figure which shows schematic structure of the compression encoding apparatus by a JPEG2000 system. オクターブ分割方式に従って帯域分割された2次元画像を示す模式図である。It is a schematic diagram which shows the two-dimensional image divided | segmented according to the octave division system. 複数のコードブロックに分解された2次元画像を示す模式図である。It is a schematic diagram which shows the two-dimensional image decomposed | disassembled into the some code block. コードブロックを構成する複数枚のビットプレーンを示す模式図である。It is a schematic diagram which shows the several bit plane which comprises a code block. 3種類の符号化パスを示す模式図である。It is a schematic diagram which shows three types of encoding passes. レートと歪みの関係を表すR−D曲線を示す図である。It is a figure which shows the RD curve showing the relationship between a rate and distortion. 量子化部でのROI部分のシフトを示す図である。It is a figure which shows the shift of the ROI part in a quantization part.

符号の説明Explanation of symbols

1 圧縮符号化装置
10 DCレベルシフト部
11 色空間変換部
12 タイリング部
13 DWT部
14 量子化部
15 ROI部
17 ビットストリーム生成部
20 係数ビットモデリング部
21 算術符号化部
22 符号量制御部
23 画質制御部
DESCRIPTION OF SYMBOLS 1 Compression encoding apparatus 10 DC level shift part 11 Color space conversion part 12 Tiling part 13 DWT part 14 Quantization part 15 ROI part 17 Bit stream production | generation part 20 Coefficient bit modeling part 21 Arithmetic coding part 22 Code amount control part 23 Image quality control unit

Claims (33)

画像信号を圧縮符号化する圧縮符号化装置であって、
ウェーブレット変換により画像信号を高域成分と低域成分とに再帰的に帯域分割して複数の帯域成分の変換係数を生成出力するウェーブレット変換部と、
目標画質を示す量子化パラメータを、フィルタ係数のノルムで除算して量子化ステップサイズを求める画質制御部と、
前記変換係数をエントロピー符号化するエントロピー符号化部と、
前記エントロピー符号化部の出力する符号化データを、前記量子化ステップサイズに基づいて所定の走査順序に並べ替えて符号列を生成し、前記符号列において前記符号化データの全体容量が目標画質となるように、前記符号列の一部を切り捨てるレート制御を行う符号量制御部と、
を備えることを特徴とする圧縮符号化装置。
A compression encoding device for compressing and encoding an image signal,
A wavelet transform unit that recursively divides an image signal into a high-frequency component and a low-frequency component by wavelet transform to generate and output transform coefficients of a plurality of band components;
An image quality control unit for obtaining a quantization step size by dividing a quantization parameter indicating a target image quality by a norm of a filter coefficient;
An entropy encoding unit for entropy encoding the transform coefficient;
The encoded data output from the entropy encoding unit is rearranged in a predetermined scanning order based on the quantization step size to generate a code string, and the total capacity of the encoded data in the code string is equal to the target image quality. A code amount control unit that performs rate control for truncating a part of the code string;
A compression encoding apparatus comprising:
画像信号を圧縮符号化する圧縮符号化装置であって、
ウェーブレット変換により画像信号を高域成分と低域成分とに再帰的に帯域分割して複数の帯域成分の変換係数を生成出力するウェーブレット変換部と、
目標画質を示す量子化パラメータを、フィルタ係数のノルムで除算して量子化ステップサイズを求める画質制御部と、
前記画像信号に関心領域を設定する関心領域設定部と、
前記変換係数に対して、前記量子化ステップサイズに基づく量子化および並べ替えと、前記関心領域の設定情報に基づく並べ替えおよびビットシフトと、を施す量子化部と、
前記量子化部から入力される前記変換係数をエントロピー符号化するエントロピー符号化部と、
前記エントロピー符号化部の出力する符号化データの全体容量が目標画質となるように、前記符号化データの一部を切り捨てるレート制御を行う符号量制御部と、
を備えることを特徴とする圧縮符号化装置。
A compression encoding device for compressing and encoding an image signal,
A wavelet transform unit that recursively divides an image signal into a high-frequency component and a low-frequency component by wavelet transform to generate and output transform coefficients of a plurality of band components;
An image quality control unit for obtaining a quantization step size by dividing a quantization parameter indicating a target image quality by a norm of a filter coefficient;
A region-of-interest setting unit that sets a region of interest in the image signal;
A quantization unit that performs quantization and rearrangement on the transform coefficient based on the quantization step size, and rearrangement and bit shift based on the setting information of the region of interest;
An entropy encoding unit for entropy encoding the transform coefficient input from the quantization unit;
A code amount control unit that performs rate control for truncating a part of the encoded data so that the entire capacity of the encoded data output by the entropy encoding unit is a target image quality;
A compression encoding apparatus comprising:
画像信号を圧縮符号化する圧縮符号化装置であって、
ウェーブレット変換により画像信号を高域成分と低域成分とに再帰的に帯域分割して複数の帯域成分の変換係数を生成出力するウェーブレット変換部と、
前記画像信号に関心領域を設定する関心領域設定部と、
前記変換係数の量子化を行う量子化部と、
前記量子化部から入力される前記変換係数をエントロピー符号化するエントロピー符号化部と、
前記エントロピー符号化部の出力する符号化データに対して、前記関心領域の設定情報に基づく並べ替えおよびビットシフトを施した符号列を生成し、前記符号化データの全体容量が目標画質となるように、前記符号列の一部を切り捨てるレート制御を行う符号量制御部と、
を備えることを特徴とする圧縮符号化装置。
A compression encoding device for compressing and encoding an image signal,
A wavelet transform unit that recursively divides an image signal into a high-frequency component and a low-frequency component by wavelet transform to generate and output transform coefficients of a plurality of band components;
A region-of-interest setting unit that sets a region of interest in the image signal;
A quantization unit that quantizes the transform coefficient;
An entropy encoding unit for entropy encoding the transform coefficient input from the quantization unit;
A code string is generated by performing rearrangement and bit shift based on the setting information of the region of interest for the encoded data output from the entropy encoding unit, so that the entire capacity of the encoded data becomes the target image quality. A code amount control unit that performs rate control for truncating a part of the code string;
A compression encoding apparatus comprising:
請求項3に記載の圧縮符号化装置であって、さらに、
目標画質を示す量子化パラメータを、フィルタ係数のノルムで除算して量子化ステップサイズを求める画質制御部、
を備え、
前記量子化部は、前記量子化ステップサイズに基づいて前記変換係数の量子化を行い、
前記符号量制御部は、前記量子化ステップサイズに基づいて前記符号化データの並べ替えを行うことを特徴とする圧縮符号化装置。
The compression encoding apparatus according to claim 3, further comprising:
An image quality control unit for obtaining a quantization step size by dividing a quantization parameter indicating a target image quality by a norm of a filter coefficient,
With
The quantization unit quantizes the transform coefficient based on the quantization step size,
The code amount control unit rearranges the encoded data based on the quantization step size.
請求項2ないし請求項4のいずれかに記載の圧縮符号化装置であって、
前記関心領域設定部は、設定した各関心領域に優先度を付与し、
前記関心領域の設定情報に基づく前記ビットシフトのシフト量は前記優先度に応じて決定されることを特徴とする圧縮符号化装置。
A compression encoding device according to any one of claims 2 to 4,
The region-of-interest setting unit gives priority to each set region of interest,
The compression coding apparatus according to claim 1, wherein a shift amount of the bit shift based on the setting information of the region of interest is determined according to the priority.
請求項1ないし請求項5のいずれかに記載の圧縮符号化装置であって、
前記符号量制御部は、前記レート制御の切り捨て対象をビットプレーン単位で決定することを特徴とする圧縮符号化装置。
A compression encoding device according to any one of claims 1 to 5,
The code amount control unit determines a truncation target for the rate control in units of bit planes.
請求項1ないし請求項5のいずれかに記載の圧縮符号化装置であって、
前記符号量制御部は、前記レート制御の切り捨て対象をパス単位で決定することを特徴とする圧縮符号化装置。
A compression encoding device according to any one of claims 1 to 5,
The code amount control unit determines a truncation target for the rate control in units of paths.
請求項1、請求項2、請求項4ないし請求項7のいずれかに記載の圧縮符号化装置であって、
前記画質制御部は、フィルタ係数のノルムと人間の視覚特性に基づいて定められた所定の数値であるenergy weighting facotorとを乗算した値で、指定された前記量子化パラメータを除算して、人間の視覚特性を考慮した重み付けを施した前記量子化ステップサイズを求めることを特徴とする圧縮符号化装置。
A compression encoding device according to any one of claims 1, 2, and 4 to 7,
The image quality control unit divides the specified quantization parameter by a value obtained by multiplying a norm of a filter coefficient by an energy weighting facotor that is a predetermined value determined based on human visual characteristics, and A compression encoding apparatus characterized by obtaining the quantization step size weighted in consideration of visual characteristics.
請求項1、請求項2、請求項4ないし請求項8のいずれかに記載の圧縮符号化装置であって、
前記画質制御部は、前記量子化ステップサイズが所定の数値より小さいときは、前記量子化ステップサイズが前記所定の数値以上になる2の累乗を乗算して得られた値を前記量子化ステップサイズとすることを特徴とする圧縮符号化装置。
A compression encoding device according to any one of claims 1, 2, 4 to 8,
When the quantization step size is smaller than a predetermined numerical value, the image quality control unit calculates a value obtained by multiplying a power of 2 that makes the quantization step size equal to or larger than the predetermined numerical value. A compression encoding apparatus characterized by the above.
請求項9に記載の圧縮符号化装置であって、
前記量子化ステップサイズが前記画質制御部において2の累乗を乗算して求めた値であるときは、当該量子化ステップサイズに基づく並べ替えを行うときに、前記変換係数または前記符号化データを、前記2の累乗の指数に対応するビット数分だけビットシフトすることを特徴とする圧縮符号化装置。
The compression encoding apparatus according to claim 9, wherein
When the quantization step size is a value obtained by multiplying the power of 2 in the image quality control unit, when performing the rearrangement based on the quantization step size, the transform coefficient or the encoded data, 2. A compression encoding apparatus, wherein a bit shift is performed by the number of bits corresponding to an exponent of the power of 2.
請求項1に記載の圧縮符号化装置であって、
前記符号量制御部は、Viewing distanceを変更可能であり、Viewing distanceの変更に応じて前記符号列をビットシフトすることを特徴とする圧縮符号化装置。
The compression encoding device according to claim 1,
The code amount control unit can change a viewing distance, and bit-shifts the code string in accordance with the change of the viewing distance.
請求項2に記載の圧縮符号化装置であって、
前記量子化部は、Viewing distanceを変更可能であり、Viewing distanceの変更に応じて前記変換係数をさらにビットシフトすることを特徴とする圧縮符号化装置。
The compression encoding apparatus according to claim 2, wherein
The quantization unit is capable of changing a viewing distance, and further performs bit shift of the transform coefficient in accordance with the change of the viewing distance.
請求項3に記載の圧縮符号化装置であって、
前記符号量制御部は、Viewing distanceを変更可能であり、Viewing distanceの変更に応じて前記符号列をさらにビットシフトすることを特徴とする圧縮符号化装置。
The compression encoding device according to claim 3, wherein
The code amount control unit can change a viewing distance, and further performs bit shift of the code string in accordance with the change of the viewing distance.
画像信号を圧縮符号化する圧縮符号化方法であって、
(a)ウェーブレット変換により画像信号を高域成分と低域成分とに再帰的に帯域分割して複数の帯域成分の変換係数を生成する工程と、
(b)目標画質を示す量子化パラメータを、フィルタ係数のノルムで除算して量子化ステップサイズを求める工程と、
(c)前記変換係数をエントロピー符号化する工程と、
(d)前記工程(c)で符号化した符号化データを、前記量子化ステップサイズに基づいて所定の走査順序に並べ替えて符号列を生成し、前記符号列において前記符号化データの全体容量が目標画質となるように、前記符号列の一部を切り捨てるレート制御を行う工程と、
を備えることを特徴とする圧縮符号化方法。
A compression encoding method for compressing and encoding an image signal,
(A) a step of recursively dividing the image signal into a high-frequency component and a low-frequency component by wavelet transform to generate conversion coefficients of a plurality of band components;
(B) dividing the quantization parameter indicating the target image quality by the norm of the filter coefficient to obtain a quantization step size;
(C) entropy encoding the transform coefficient;
(D) The encoded data encoded in the step (c) is rearranged in a predetermined scanning order based on the quantization step size to generate a code string, and the total capacity of the encoded data in the code string Performing a rate control for truncating a part of the code string so that a target image quality is achieved;
A compression encoding method comprising:
画像信号を圧縮符号化する圧縮符号化方法であって、
(a)ウェーブレット変換により画像信号を高域成分と低域成分とに再帰的に帯域分割して複数の帯域成分の変換係数を生成する工程と、
(b)目標画質を示す量子化パラメータを、フィルタ係数のノルムで除算して量子化ステップサイズを求める工程と、
(c)前記画像信号に関心領域を設定する工程と、
(d)前記変換係数に対して、前記量子化ステップサイズに基づく量子化および並べ替えと、前記関心領域の設定情報に基づく並べ替えおよびビットシフトと、を施す工程と、
(e)前記工程(d)の処理を施した前記変換係数をエントロピー符号化する工程と、
(f)前記工程(e)で符号化した符号化データの全体容量が目標画質となるように前記符号化データの一部を切り捨てるレート制御を行う工程と、
を備えることを特徴とする圧縮符号化方法。
A compression encoding method for compressing and encoding an image signal,
(A) a step of recursively dividing the image signal into a high-frequency component and a low-frequency component by wavelet transform to generate conversion coefficients of a plurality of band components;
(B) dividing the quantization parameter indicating the target image quality by the norm of the filter coefficient to obtain a quantization step size;
(C) setting a region of interest in the image signal;
(D) Applying quantization and rearrangement based on the quantization step size to the transform coefficient, and rearrangement and bit shift based on the setting information of the region of interest;
(E) entropy encoding the transform coefficient subjected to the process of step (d);
(F) performing a rate control for truncating a part of the encoded data so that the entire capacity of the encoded data encoded in the step (e) becomes a target image quality;
A compression encoding method comprising:
画像信号を圧縮符号化する圧縮符号化方法であって、
(a)ウェーブレット変換により画像信号を高域成分と低域成分とに再帰的に帯域分割して複数の帯域成分の変換係数を生成する工程と、
(b)前記画像信号に関心領域を設定する工程と、
(c)前記変換係数の量子化を行う工程と、
(d)前記工程(c)で量子化した前記変換係数をエントロピー符号化する工程と、
(e)前記工程(d)で符号化した符号化データに対して、前記関心領域の設定情報に基づく並べ替えおよびビットシフトを施した符号列を生成し、前記符号化データの全体容量が目標画質となるように、前記符号列の一部を切り捨てるレート制御を行う工程と、
を備えることを特徴とする圧縮符号化方法。
A compression encoding method for compressing and encoding an image signal,
(A) a step of recursively dividing the image signal into a high-frequency component and a low-frequency component by wavelet transform to generate conversion coefficients of a plurality of band components;
(B) setting a region of interest in the image signal;
(C) quantizing the transform coefficient;
(D) entropy encoding the transform coefficient quantized in step (c);
(E) A code string is generated by performing reordering and bit shifting based on the setting information of the region of interest for the encoded data encoded in the step (d), and the total capacity of the encoded data is a target Performing rate control for truncating a part of the code string so as to obtain image quality;
A compression encoding method comprising:
請求項16に記載の圧縮符号化方法であって、
前記量子化を行う工程は、
目標画質を示す量子化パラメータを、フィルタ係数のノルムで除算して量子化ステップサイズを求める工程と、
前記量子化ステップサイズに基づく前記変換係数の量子化を行う工程と、
を含み、
前記符号化データを並べ替える工程は、
前記量子化ステップサイズに基づく前記符号化データの並べ替えを行う工程、
を含むことを特徴とする圧縮符号化方法。
The compression encoding method according to claim 16, comprising:
The step of performing the quantization includes:
Dividing a quantization parameter indicating a target image quality by a norm of a filter coefficient to obtain a quantization step size;
Quantizing the transform coefficient based on the quantization step size;
Including
The step of rearranging the encoded data includes:
Rearranging the encoded data based on the quantization step size;
A compression encoding method comprising:
請求項15ないし請求項17のいずれかに記載の圧縮符号化方法であって、
前記関心領域を設定する工程は、
設定した各関心領域に優先度を付与する工程、
を含み、
前記関心領域の設定情報に基づくビットシフトを行う工程は、
前記優先度に応じて決定された所定のビット数分だけビットシフトする工程、
を含むことを特徴とする圧縮符号化方法。
A compression encoding method according to any one of claims 15 to 17, comprising:
The step of setting the region of interest includes:
Giving priority to each set region of interest;
Including
The step of performing a bit shift based on the setting information of the region of interest includes
Bit shifting by a predetermined number of bits determined according to the priority,
A compression encoding method comprising:
請求項14ないし請求項18のいずれかに記載の圧縮符号化方法であって、
前記レート制御を行う工程は、
前記レート制御の切り捨て対象をビットプレーン単位で決定する工程、
を含むことを特徴とする圧縮符号化方法。
A compression encoding method according to any one of claims 14 to 18, comprising:
The step of performing the rate control includes:
Determining a rate control truncation target in bit plane units;
A compression encoding method comprising:
請求項14ないし請求項18のいずれかに記載の圧縮符号化方法であって、
前記レート制御を行う工程は、
前記レート制御の切り捨て対象をパス単位で決定する工程、
を含むことを特徴とする圧縮符号化方法。
A compression encoding method according to any one of claims 14 to 18, comprising:
The step of performing the rate control includes:
Determining the rate control truncation target in units of paths;
A compression encoding method comprising:
請求項14、請求項15、請求項17ないし請求項20のいずれかに記載の圧縮符号化方法であって、
前記量子化ステップサイズを求める工程は、
フィルタ係数のノルムと人間の視覚特性に基づいて定められた所定の数値であるenergy weighting facotorとを乗算した値で、指定された前記量子化パラメータを除算して、人間の視覚特性を考慮した重み付けを施した前記量子化ステップサイズを求める工程、
を含むことを特徴とする圧縮符号化方法。
A compression encoding method according to any one of claims 14, 15, and 17 to 20,
The step of obtaining the quantization step size includes:
Weighting that takes into account human visual characteristics by dividing the specified quantization parameter by the value obtained by multiplying the norm of the filter coefficient by energy weighting facotor, which is a predetermined value determined based on human visual characteristics Obtaining the quantization step size subjected to
A compression encoding method comprising:
請求項14、請求項15、請求項17ないし請求項21のいずれかに記載の圧縮符号化方法であって、
前記量子化ステップサイズを求める工程は、
前記量子化ステップサイズが所定の数値より小さいときは、前記量子化ステップサイズが前記所定の数値以上になる2の累乗を乗算して得られた値を前記量子化ステップサイズとする工程、
を含むことを特徴とする圧縮符号化方法。
A compression encoding method according to any one of claims 14, 15, and 17 to 21,
The step of obtaining the quantization step size includes:
When the quantization step size is smaller than a predetermined numerical value, a value obtained by multiplying a power of 2 at which the quantization step size is equal to or larger than the predetermined numerical value is set as the quantization step size;
A compression encoding method comprising:
請求項22に記載の圧縮符号化方法であって、
前記量子化ステップサイズに基づく並べ替えを行う工程は、
前記量子化ステップサイズが2の累乗を乗算して求めた値であるときは、当該量子化ステップサイズで量子化された前記変換係数または前記符号化データを、前記2の累乗の指数に対応するビット数分だけビットシフトして前記符号列を生成する工程、
を含むことを特徴とする圧縮符号化方法。
The compression encoding method according to claim 22, comprising:
Reordering based on the quantization step size is:
When the quantization step size is a value obtained by multiplying by a power of 2, the transform coefficient or the encoded data quantized with the quantization step size corresponds to the exponent of the power of 2 Generating the code string by bit-shifting by the number of bits;
A compression encoding method comprising:
マイクロプロセッサに画像信号を圧縮符号化させるためのプログラムであって、
ウェーブレット変換により画像信号を高域成分と低域成分とに再帰的に帯域分割して複数の帯域成分の変換係数を生成出力するウェーブレット変換部と、
目標画質を示す量子化パラメータを、フィルタ係数のノルムで除算して量子化ステップサイズを求める画質制御部と、
前記変換係数をエントロピー符号化するエントロピー符号化部と、
前記エントロピー符号化部の出力する符号化データを、前記量子化ステップサイズに基づいて所定の走査順序に並べ替えて符号列を生成し、前記符号列において前記符号化データの全体容量が目標画質となるように、前記符号列の一部を切り捨てるレート制御を行う符号量制御部として、
前記マイクロプロセッサを機能させることを特徴とするプログラム。
A program for causing a microprocessor to compress and encode an image signal,
A wavelet transform unit that recursively divides an image signal into a high-frequency component and a low-frequency component by wavelet transform to generate and output transform coefficients of a plurality of band components;
An image quality control unit for obtaining a quantization step size by dividing a quantization parameter indicating a target image quality by a norm of a filter coefficient;
An entropy encoding unit for entropy encoding the transform coefficient;
The encoded data output from the entropy encoding unit is rearranged in a predetermined scanning order based on the quantization step size to generate a code string, and the total capacity of the encoded data in the code string is equal to the target image quality. As a code amount control unit that performs rate control to cut off a part of the code string,
A program for causing the microprocessor to function.
マイクロプロセッサに画像信号を圧縮符号化させるためのプログラムであって、
ウェーブレット変換により画像信号を高域成分と低域成分とに再帰的に帯域分割して複数の帯域成分の変換係数を生成出力するウェーブレット変換部と、
目標画質を示す量子化パラメータを、フィルタ係数のノルムで除算して量子化ステップサイズを求める画質制御部と、
前記画像信号に関心領域を設定する関心領域設定部と、
前記変換係数に対して、前記量子化ステップサイズに基づく量子化および並べ替えと、前記関心領域の設定情報に基づく並べ替えおよびビットシフトと、を施す量子化部と、
前記量子化部から入力される前記変換係数をエントロピー符号化するエントロピー符号化部と、
前記エントロピー符号化部の出力する符号化データの全体容量が目標画質となるように、前記符号化データの一部を切り捨てるレート制御を行う符号量制御部として、
前記マイクロプロセッサを機能させることを特徴とするプログラム。
A program for causing a microprocessor to compress and encode an image signal,
A wavelet transform unit that recursively divides an image signal into a high-frequency component and a low-frequency component by wavelet transform to generate and output transform coefficients of a plurality of band components;
An image quality control unit for obtaining a quantization step size by dividing a quantization parameter indicating a target image quality by a norm of a filter coefficient;
A region-of-interest setting unit that sets a region of interest in the image signal;
A quantization unit that performs quantization and rearrangement on the transform coefficient based on the quantization step size, and rearrangement and bit shift based on the setting information of the region of interest;
An entropy encoding unit for entropy encoding the transform coefficient input from the quantization unit;
As a code amount control unit that performs rate control for truncating a part of the encoded data so that the entire capacity of the encoded data output by the entropy encoding unit becomes a target image quality,
A program for causing the microprocessor to function.
マイクロプロセッサに画像信号を圧縮符号化させるためのプログラムであって、
ウェーブレット変換により画像信号を高域成分と低域成分とに再帰的に帯域分割して複数の帯域成分の変換係数を生成出力するウェーブレット変換部と、
前記画像信号に関心領域を設定する関心領域設定部と、
前記変換係数の量子化を行う量子化部と、
前記量子化部から入力される前記変換係数をエントロピー符号化するエントロピー符号化部と、
前記エントロピー符号化部の出力する符号化データに対して、前記関心領域の設定情報に基づく並べ替えおよびビットシフトを施した符号列を生成し、前記符号化データの全体容量が目標画質となるように、前記符号列の一部を切り捨てるレート制御を行う符号量制御部として、
前記マイクロプロセッサを機能させることを特徴とするプログラム。
A program for causing a microprocessor to compress and encode an image signal,
A wavelet transform unit that recursively divides an image signal into a high-frequency component and a low-frequency component by wavelet transform to generate and output transform coefficients of a plurality of band components;
A region-of-interest setting unit that sets a region of interest in the image signal;
A quantization unit that quantizes the transform coefficient;
An entropy encoding unit for entropy encoding the transform coefficient input from the quantization unit;
A code string is generated by performing rearrangement and bit shift based on the setting information of the region of interest for the encoded data output from the entropy encoding unit, so that the entire capacity of the encoded data becomes the target image quality. In addition, as a code amount control unit that performs rate control for truncating a part of the code string,
A program for causing the microprocessor to function.
請求項26に記載のプログラムであって、さらに、
目標画質を示す量子化パラメータを、フィルタ係数のノルムで除算して量子化ステップサイズを求める画質制御部として、
前記マイクロプロセッサを機能させると共に、
前記マイクロプロセッサを前記量子化部として機能させるときは、
前記量子化ステップサイズに基づいて前記変換係数の量子化を行うように機能させ、
前記マイクロプロセッサを前記符号量制御部として機能させるときは、
前記量子化ステップサイズに基づいて前記符号化データの並べ替えを行うように機能させることを特徴とするプログラム。
The program according to claim 26, further comprising:
As an image quality control unit for obtaining a quantization step size by dividing a quantization parameter indicating a target image quality by a norm of a filter coefficient,
Allowing the microprocessor to function;
When the microprocessor functions as the quantization unit,
Function to quantize the transform coefficient based on the quantization step size;
When the microprocessor functions as the code amount control unit,
A program that functions to perform rearrangement of the encoded data based on the quantization step size.
請求項25ないし請求項27のいずれかに記載のプログラムであって、
前記マイクロプロセッサを前記関心領域設定部として機能させるときに、
設定した各関心領域に優先度を付与するように機能させ、
前記マイクロプロセッサで前記関心領域の設定情報に基づく前記ビットシフトを行うときに、
前記優先度に応じて決定された所定のビット数分だけビットシフトするように機能させることを特徴とするプログラム。
A program according to any one of claims 25 to 27,
When the microprocessor functions as the region of interest setting unit,
It works to give priority to each set region of interest,
When performing the bit shift based on the setting information of the region of interest in the microprocessor,
A program for causing a function to shift a bit by a predetermined number of bits determined according to the priority.
請求項24ないし請求項28のいずれかに記載のプログラムであって、
前記マイクロプロセッサを前記符号量制御部として機能させるときは、
前記レート制御の切り捨て対象をビットプレーン単位で決定するように機能させることを特徴とするプログラム。
A program according to any one of claims 24 to 28, wherein
When the microprocessor functions as the code amount control unit,
A program for causing a rate control truncation target to be determined in units of bit planes.
請求項24ないし請求項28のいずれかに記載のプログラムであって、
前記マイクロプロセッサを前記符号量制御部として機能させるときは、
前記レート制御の切り捨て対象をパス単位で決定するように機能させることを特徴とするプログラム。
A program according to any one of claims 24 to 28, wherein
When the microprocessor functions as the code amount control unit,
A program for causing a rate control truncation target to be determined in units of paths.
請求項24、請求項25、請求項27ないし請求項30のいずれかに記載のプログラムであって、
前記マイクロプロセッサを前記画質制御部として機能させるときは、
フィルタ係数のノルムと人間の視覚特性に基づいて定められた所定の数値であるenergy weighting facotorとを乗算した値で、指定された前記量子化パラメータを除算して、人間の視覚特性を考慮した重み付けを施した前記量子化ステップサイズを求めるように機能させることを特徴とするプログラム。
A program according to any one of claims 24, 25, 27 to 30,
When the microprocessor functions as the image quality control unit,
Weighting that takes into account human visual characteristics by dividing the specified quantization parameter by the value obtained by multiplying the norm of the filter coefficient by energy weighting facotor, which is a predetermined value determined based on human visual characteristics A program that functions to obtain the quantization step size that has been subjected to.
請求項24、請求項25、請求項27ないし請求項31のいずれかに記載のプログラムであって、
前記マイクロプロセッサを前記画質制御部として機能させるときは、
前記量子化ステップサイズが所定の数値より小さいときは、前記量子化ステップサイズが前記所定の数値以上になる2の累乗を乗算して得られた値を前記量子化ステップサイズとするように機能させることを特徴とするプログラム。
A program according to any one of claims 24, 25, 27 to 31,
When the microprocessor functions as the image quality control unit,
When the quantization step size is smaller than a predetermined numerical value, the value obtained by multiplying a power of 2 that makes the quantization step size equal to or larger than the predetermined numerical value is caused to function as the quantization step size. A program characterized by that.
請求項32に記載のプログラムであって、
前記マイクロプロセッサで前記量子化ステップサイズに基づく並べ替えを行うときに、
前記量子化ステップサイズが前記画質制御部において2の累乗を乗算して求めた値であるときは、前記変換係数または前記符号化データを、前記2の累乗の指数に対応するビット数分だけビットシフトするように機能させることを特徴とするプログラム。
A program according to claim 32, wherein
When performing the reordering based on the quantization step size in the microprocessor,
When the quantization step size is a value obtained by multiplying the power of 2 by the image quality control unit, the transform coefficient or the encoded data is represented by the number of bits corresponding to the exponent of the power of 2. A program characterized by functioning to shift.
JP2006237961A 2005-09-06 2006-09-01 Compression encoding apparatus, compression encoding method and program Expired - Fee Related JP4789148B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006237961A JP4789148B2 (en) 2005-09-06 2006-09-01 Compression encoding apparatus, compression encoding method and program

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2005257636 2005-09-06
JP2005257636 2005-09-06
JP2006237961A JP4789148B2 (en) 2005-09-06 2006-09-01 Compression encoding apparatus, compression encoding method and program

Related Child Applications (2)

Application Number Title Priority Date Filing Date
JP2011048899A Division JP5034018B2 (en) 2005-09-06 2011-03-07 Compression encoding apparatus, compression encoding method and program
JP2011126144A Division JP2011217389A (en) 2005-09-06 2011-06-06 Compressing encoder, compressing encoding method, and program

Publications (2)

Publication Number Publication Date
JP2007104645A true JP2007104645A (en) 2007-04-19
JP4789148B2 JP4789148B2 (en) 2011-10-12

Family

ID=38031077

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006237961A Expired - Fee Related JP4789148B2 (en) 2005-09-06 2006-09-01 Compression encoding apparatus, compression encoding method and program

Country Status (1)

Country Link
JP (1) JP4789148B2 (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010239221A (en) * 2009-03-30 2010-10-21 Panasonic Corp Image communication system
JP2012511870A (en) * 2008-12-09 2012-05-24 マイクロソフト コーポレーション Remote desktop protocol compression acceleration using single instruction multiple patch instructions
US8422804B2 (en) 2008-06-23 2013-04-16 The Modern Video Company Compressed domain system and method for compression gains in encoded data
US8639057B1 (en) 2012-03-19 2014-01-28 The Modern Video Company Artifact removal method and system for contoured images and video
US8811736B2 (en) 2006-04-28 2014-08-19 Cinova Media Efficient content compression and decompression system and method
WO2016158310A1 (en) * 2015-03-31 2016-10-06 株式会社メガチップス Image processing system and image processing method
WO2016158309A1 (en) * 2015-03-31 2016-10-06 株式会社メガチップス Image processing system and image processing method
US10015506B2 (en) 2013-05-20 2018-07-03 Cinova Media Frequency reduction and restoration system and method in video and image compression
WO2018190199A1 (en) * 2017-04-14 2018-10-18 株式会社メガチップス Image processing device, image processing system, information processing system, and image processing method
US10460700B1 (en) 2015-10-12 2019-10-29 Cinova Media Method and apparatus for improving quality of experience and bandwidth in virtual reality streaming systems
US10462477B2 (en) 2015-02-25 2019-10-29 Cinova Media Partial evaluator system and method
US10944971B1 (en) 2017-05-22 2021-03-09 Cinova Media Method and apparatus for frame accurate field of view switching for virtual reality
CN113473138A (en) * 2021-06-30 2021-10-01 杭州海康威视数字技术股份有限公司 Video frame encoding method, video frame encoding device, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004064115A (en) * 2002-07-24 2004-02-26 Mega Chips Corp Code amount control apparatus and program
JP2005192087A (en) * 2003-12-26 2005-07-14 Mega Chips Corp Compression-coding apparatus, compression-coding method and program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004064115A (en) * 2002-07-24 2004-02-26 Mega Chips Corp Code amount control apparatus and program
JP2005192087A (en) * 2003-12-26 2005-07-14 Mega Chips Corp Compression-coding apparatus, compression-coding method and program

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8811736B2 (en) 2006-04-28 2014-08-19 Cinova Media Efficient content compression and decompression system and method
US9230341B2 (en) 2006-04-28 2016-01-05 Cinova Media Compressed domain system and method for compression gains in encoded data
US8422804B2 (en) 2008-06-23 2013-04-16 The Modern Video Company Compressed domain system and method for compression gains in encoded data
KR101313952B1 (en) * 2008-06-23 2013-10-01 픽스센스 인코포레이티드 Compressed domain system and method for compression gains in encoded data
JP2012511870A (en) * 2008-12-09 2012-05-24 マイクロソフト コーポレーション Remote desktop protocol compression acceleration using single instruction multiple patch instructions
JP2010239221A (en) * 2009-03-30 2010-10-21 Panasonic Corp Image communication system
US8639057B1 (en) 2012-03-19 2014-01-28 The Modern Video Company Artifact removal method and system for contoured images and video
US9042644B2 (en) 2012-03-19 2015-05-26 Cinova Media Artifact removal method and system for contoured images and video
US10015506B2 (en) 2013-05-20 2018-07-03 Cinova Media Frequency reduction and restoration system and method in video and image compression
US10015507B2 (en) 2013-05-20 2018-07-03 Cinova Media Transform system and method in video and image compression
US10462477B2 (en) 2015-02-25 2019-10-29 Cinova Media Partial evaluator system and method
JP2016192669A (en) * 2015-03-31 2016-11-10 株式会社メガチップス Image processing system and image processing method
JP2016192054A (en) * 2015-03-31 2016-11-10 株式会社メガチップス Image processing system and image processing method
WO2016158309A1 (en) * 2015-03-31 2016-10-06 株式会社メガチップス Image processing system and image processing method
US10298928B2 (en) 2015-03-31 2019-05-21 Megachips Corporation Image processing system and image processing method
US10410079B2 (en) 2015-03-31 2019-09-10 Megachips Corporation Image processing system and image processing method
WO2016158310A1 (en) * 2015-03-31 2016-10-06 株式会社メガチップス Image processing system and image processing method
US10460700B1 (en) 2015-10-12 2019-10-29 Cinova Media Method and apparatus for improving quality of experience and bandwidth in virtual reality streaming systems
WO2018190199A1 (en) * 2017-04-14 2018-10-18 株式会社メガチップス Image processing device, image processing system, information processing system, and image processing method
US10944971B1 (en) 2017-05-22 2021-03-09 Cinova Media Method and apparatus for frame accurate field of view switching for virtual reality
CN113473138A (en) * 2021-06-30 2021-10-01 杭州海康威视数字技术股份有限公司 Video frame encoding method, video frame encoding device, electronic equipment and storage medium
CN113473138B (en) * 2021-06-30 2024-04-05 杭州海康威视数字技术股份有限公司 Video frame coding method, device, electronic equipment and storage medium

Also Published As

Publication number Publication date
JP4789148B2 (en) 2011-10-12

Similar Documents

Publication Publication Date Title
JP5034018B2 (en) Compression encoding apparatus, compression encoding method and program
JP4489605B2 (en) Compression encoding apparatus, compression encoding method and program
JP4789148B2 (en) Compression encoding apparatus, compression encoding method and program
JP4273996B2 (en) Image encoding apparatus and method, and image decoding apparatus and method
JP4191592B2 (en) Compression encoding apparatus, compression encoding method and program
US6985632B2 (en) Image processing system, image processing apparatus, and image processing method
JP3461821B2 (en) Memory management system and memory management method
US6574372B2 (en) Wavelet transform coding technique
US6876770B2 (en) Image encoding device, electronic camera and recording medium for image encoding program
JP2006295299A (en) Digital aperture system
JP2015192321A (en) Image decoding device and image decoding method
JP4449400B2 (en) Image encoding apparatus and method, program, and recording medium
US7330598B2 (en) Image encoding apparatus and method
JP4086196B2 (en) Image encoding apparatus, program, and storage medium
JP3989788B2 (en) Code amount control apparatus and program
JP3989787B2 (en) Compression encoding apparatus, compression encoding method and program
JP2000041249A (en) Visual progressive coding method
JP3989786B2 (en) Compression encoding apparatus, compression encoding method and program
JP2004350034A (en) Image encoding device and method and image decoding device and method
JP4367113B2 (en) Image coding apparatus and method
JP2002135781A (en) Image encoding apparatus, image decoding apparatus methods for them and recording medium
JP4250304B2 (en) Image decoding apparatus and image decoding method
Li A line-based lossless backward coding of wavelet trees (BCWT) and BCWT improvements for application

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090303

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20090303

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20090303

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110118

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110307

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110405

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: 20110628

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110713

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

Free format text: PAYMENT UNTIL: 20140729

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4789148

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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