TW395118B - Image encoding method, image encoding device, image decoding method and image decoding device - Google Patents

Image encoding method, image encoding device, image decoding method and image decoding device Download PDF

Info

Publication number
TW395118B
TW395118B TW86115728A TW86115728A TW395118B TW 395118 B TW395118 B TW 395118B TW 86115728 A TW86115728 A TW 86115728A TW 86115728 A TW86115728 A TW 86115728A TW 395118 B TW395118 B TW 395118B
Authority
TW
Taiwan
Prior art keywords
encoding
image
mode
coding
information
Prior art date
Application number
TW86115728A
Other languages
Chinese (zh)
Inventor
Shunichi Sekiguchi
Yoshimi Isu
Kotaro Asai
Hirobumi Nishikawa
Shinichi Kuroda
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to TW86115728A priority Critical patent/TW395118B/en
Application granted granted Critical
Publication of TW395118B publication Critical patent/TW395118B/en

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

The load of attached information in image signals can be reduced even when the conditions such as bit stream change. Based on the most suitable encoding mode that will not lower the encoding rate, the encoding mode selector 2 of the image-encoding device has two encoding mode table A & B which include the identification number of encoding mode in the encoded image. One of the encoding mode table 1 and 2 is selected according to the encoding mode table. The encoding mode with best encoding rate is selected from several encoding modes in the selected encoding mode table to get the encoded image signal.

Description

第86115728號說明書修正頁 Λ7 B? ^曰期:88·1·26 五、發明説明(32) 換部%將預測影像219輸出至加法部7 將預測影像219加至逆正交變換部7巾,加法部77 號216上,並輸出為解竭影像信镜217。、^預测誤差信 内部模式編碼的被解碼影像區域 另—方面,在以 中,轉換部76將輪出。至加法部77中下二在步驟ST57 正交變換部73的解碼預測誤差信以逆 信號217。 輸出為解碼影像 社联傻的步驟ST58中 經濟部中央標準局負工消費合作社印製 :碼部71係根據如第5圖所示之被編;影::: = :等,判_影像的每-解碼處理二== 可檢出被編喝影像區域的編碼資料等的情況 的全部編碼資料還有’由於解碼 护虛理U AL上 丹董複從最初的步驟ST51開 ^情況^ * 法檢出被編碼影㈣柄編碼資料等 」 由於解碼的全部編碼f料已經沒有以 解碼處理。此解碼影像信號217係 f :=^裝置(未_,在以後的Sr. 亏和像218,並寫入至記憶體75中。 暮27圖係表示句法解析•可變長度編碼部η的動 也就是第26目的步驟ST51的處理之流程圖。 資π艇w在步驟灯61中’第24圖的編碼模式表選擇 β解碼。"1係對編碼位元流213令 擇資訊200進行解石馬。 ,模式表選 在步驟ST62中,轉換部82係根據被解碼的編碼模式 表選擇資訊200’判斷該編碼模式表選擇資訊2〇〇是否被 -----------— (請先閱讀背面之注意事項再填寫本頁) 1T^----- _ ::」:LL_No. 86115728 amendment page Λ7 B? ^ Date: 88 · 1 · 26 V. Description of the invention (32) Change the unit% to output the predicted image 219 to the addition unit 7 Add the predicted image 219 to the inverse orthogonal transform unit 7 , On the No. 77 of the addition section 216, and output as the exhaustion image signal mirror 217. ^ Prediction error signal Decoded image region encoded by the internal mode. On the other hand, in the above, the conversion section 76 will rotate out. In the addition section 77, the second and lower decoded prediction error signals of the orthogonal transform section 73 in step ST57 are inverse signal 217. The output is decoded in the step ST58 of the Decoding Video Association. Printed by the Consumers' Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs: The code 71 is compiled according to the figure shown in Figure 5. Shadow ::: =: Etc. Every-decoding process 2 == all the encoded data in the case where the encoded data of the image area can be detected and there is also 'Dong Dong Fu from the initial step ST51 due to the decoding of the security guard U AL ^ case ^ * method Detected encoded video encoding data, etc. "Because all the decoded encoded data has not been processed for decoding. This decoded video signal 217 is a f: = ^ device (not _, a later Sr. loss image 218, and is written into the memory 75. Fig. 27 shows the syntax analysis and the operation of the variable-length encoding unit η. That is, the flowchart of the processing of step ST51 of the 26th objective. In the step lamp 61, the π boat selects β decoding in the encoding mode table of FIG. 24. " 1 is to decode the encoding bit stream 213 command selection information 200. Shima. In step ST62, the conversion unit 82 judges whether the coding mode table selection information 200 has been decoded according to the decoded coding mode table selection information 200 '------------ — (Please read the notes on the back before filling this page) 1T ^ ----- _ :: ”: LL_

」IJJ ~~:______ 35 本紙張尺錢 Μ Β7 五、發明説明(ι ) 本發明係有關於一種影像編碼方法、影像編碼裝置、 影像解碼方法及影像解碼裝置,其對應於傳送編碼位&.流_ 座絶位元率等條件,從預先登鳞的複數個編碼模式中,皇_ 擇編碼及解碼的被編碼影像信號或被解碼影像信號(以 *…________________ ' 下,稱為被編碼影像信號)的最適合之編碼模式,以進行編 ----------- 碼與解碼。_ 首先,說明與本發明之技術背景有關的一般影像編碼 裝置與影像解碼裝置及其問題。 第1圖係繪示在影像編碼裝置與影像解碼裝置間的一"IJJ ~~: ______ 35 paper rule M B7 V. Description of the invention (ι) The present invention relates to an image encoding method, an image encoding device, an image decoding method, and an image decoding device, which correspond to the transmission encoding bit & .Stream_ block absolute bit rate and other conditions, from a plurality of pre-scaled multiple encoding modes, Huang_Choose the encoded and decoded video signal or decoded video signal (with * ...________________ ', referred to as coded Video signal) the most suitable encoding mode for encoding ----------- encoding and decoding. _ First, the general video encoding device and video decoding device related to the technical background of the present invention and their problems will be described. FIG. 1 is a diagram showing an example between an image encoding device and an image decoding device.

般傳送接收的編碼位元流的構造之圖式.Q ... - ...' ….. . 編碼位元流,由於在各個時間均被作成一幀(1個晝 面),如第1圖所示,其係由被編碼影像標頭資訊及將一幀 (frame)分為N慨區域時的各區域1〜N的每一編碼資料所構 成。 在被編碼影像標頭資訊中*於編碼及解碼侧採用量子 化方法的轉換方式時,包含量子化方法選擇資訊等。 各區域1〜N的每一編碼資料係由壓縮影像資料,及由 —乂 >-〆*·_, - '. - 對應於各量子化楱.式之編碼樣式潢訊、量子化步長資m ' 變化資訊等所組成之物體資訊所構成。 因此,在編碼模式種類不多的情況下,編碼資料中的 編碼模式資訊量變少,結果物體資訊的量也變少,不能經 由被編碼影像信號得到最適合的編碼模式,因而無法得到 效率良好的編碼,造成晝質變差。 另一方面,若為了在解碼時提昇晝質,而配合各種被 本紙張尺度適用中國國家標準(CNS ) A4規格(210X 297公釐) (請先閱讀背面之注意事項再填寫本頁 r\ 訂 線-HI-· 經濟部中央標準局員工消費合作社印製 . \ 經濟部中央標準局員工消費合作社印製 A7 B7 五、發明説明(2 ) 編碼的影像信號,登錄了許多編碼模式,則由於編碼資料 t的遍石馬模式資訊的量增加,物體資訊的量也增加,在勢 用固定長度與可變長度決定編碼資料的大小時,壓縮影像 資料側的量會變小,晝質反而變差,因而有編碼效率差的 ···'·. . -— - 問題。此一問題在不僅編碼資料量小而且位元率低時特別 地明顯。 接下來,利用ISO/IEC JTC1/SC29/WG11,具體說明 影像編碼裝置及影像解碼裝置,特別是在使用目前的標準 化作業的MPEG-4時的上述問題。 對視訊 VM8.0(ISO/IEC JTC1/SC29/WG11/N1796)而 言,建議! 4個微區塊編碼模式(以下,簡稱MBT-YPE)中 選擇一個,對 B-VOP (Bidirectionally Predictive-Video ;__________—...Schematic diagram of the structure of a coded bit stream that is generally transmitted and received. Q ...-... '… ... Because the coded bit stream is made into a frame (1 day surface) at each time, as As shown in FIG. 1, it is composed of encoded image header information and each piece of encoded data of each region 1 to N when a frame is divided into N regions. The encoded video header information * includes the quantization method selection information when the quantization method is used at the encoding and decoding side. Each coded data of each area 1 ~ N is composed of compressed image data and-乂 > -〆 * · _,-'.-Corresponding to each quantization code. It is composed of object information composed of change information, etc. Therefore, when there are not many types of coding modes, the amount of coding mode information in the coded data decreases, and as a result, the amount of object information also decreases. The most suitable coding mode cannot be obtained through the encoded video signal, so it is not possible to obtain a highly efficient Encoding, resulting in poor day quality. On the other hand, in order to improve the day quality during decoding, the Chinese National Standard (CNS) A4 specification (210X 297 mm) is applied to match the paper size. (Please read the precautions on the back before filling in this page. -HI- · Printed by the Consumer Cooperatives of the Central Standards Bureau of the Ministry of Economic Affairs. \ Printed by the Consumer Cooperatives of the Central Standards Bureau of the Ministry of Economic Affairs A7 B7. 5. Description of the invention (2) The encoded video signals are registered in many encoding modes. The amount of information in the stone horse mode of data t increases, and the amount of object information also increases. When the size of the encoded data is determined by a fixed length and a variable length, the amount on the compressed image data side will become smaller, and the day quality will worsen. Therefore, there is a problem of poor coding efficiency ... This problem is particularly obvious when not only the amount of coded data is small but also the bit rate is low. Next, use ISO / IEC JTC1 / SC29 / WG11 Describe the above-mentioned problems in the video coding device and video decoding device, especially when using the current standardization MPEG-4. For video VM8.0 (ISO / IEC JTC1 / SC29 / WG11 / N1796), it is recommended ! Select one of the 4 microblock coding modes (hereinafter referred to as MBT-YPE). For B-VOP (Bidirectionally Predictive-Video; __________—...

Object Plane)的各微區塊進行編碼。 \____·—一 " 第2圖係繪示在此建議之VM8.0的B-VOP編碼用 MBTYPE表(ΜΒΤΥΡΕ-0)的圖式。在此,建議選擇以 MBTYPpO〜4所指定的4個編碼模系卞的一個進行编碼。 選擇的基準並非是標準化的範圍,推薦使用預測誤差電 力。在圖中,X表示在各編碼模式中使用的資料 (DQUANT,MVDf,MVDb,MVDB)。詳細記載於 vM8.〇 的 pp.77、3_5.5 項中。 對此一 VM8.0的建議而言’因為模&遵有4釋〜,. 根據上述理由,無,產生對微區塊進行效率良好的編碼, 而有晝質低下的問題。 一·....................... . , 如上述建議的B-VOP編碼方法,若過於偏向對應低位 5 本紙張尺度適用中國國家( CNS ) A4規格(210X^97公釐)' -- —-------r';^------IT------^1®—ί ,--. (請先閱讀背面之注意事項再填寫本頁) A7 B7 五、發明説明(3 ) 元率因為4種編碼模式並不多,其柔軟性低。對此的對 策可考慮對B-VOP的各微區塊設置 10種以上的編碼模 ' —· — -··" ..... ..-· . .. ' 〜式。然而此時’雖然編碼時的柔軟性上升,但用以表現各 -----.......- , ..... ' ..... 斤碼模式的位元數卻增加,在低位元率編碼時’對 物體資訊的增加之影響變大,而使得編碼效率變差。特別 . · ..........._ ------....--一 是在不用預測而只是一時的表示即以足夠的B_v〇p中, DCT係數所佔的比例應該是比i_v〇p(Intra_vide〇 〇bjeetObject Plane). \ ____ · 一 " Figure 2 is a diagram showing the MBTYPE table (MBTVΡΕ-0) for B-VOP coding of VM8.0 proposed here. Here, it is recommended to select one of the four encoding modes 卞 designated by MBTYPpO ~ 4 for encoding. The selected benchmark is not a standardized range, and it is recommended to use prediction error power. In the figure, X indicates data (DQUANT, MVDf, MVDb, MVDB) used in each encoding mode. Details are described in vM8.〇 pp.77, 3_5.5. For this VM8.0 proposal, ‘because the module & complies with 4 releases ~. According to the above reasons, none, encoding of microblocks is performed efficiently, and there is a problem of poor day quality. I ............... As the B-VOP coding method suggested above, if it is too biased to correspond to the low 5 paper standards applicable to Chinese countries ( CNS) A4 specification (210X ^ 97mm) '---------- r'; ^ ------ IT ------ ^ 1®—ί,-. (Please Read the notes on the back before filling this page) A7 B7 V. Description of the invention (3) There are not many 4 coding modes and the flexibility is low. As a countermeasure for this, consider setting more than 10 kinds of encoding modes for each microblock of the B-VOP '— · —-·· " ..... ..- · ... However, at this time, 'Although the softness during encoding is increased, the number of bits used to express each -----.......-, .....' Increase, when low bit rate encoding, the influence on the increase of object information becomes larger, which makes the encoding efficiency worse. In particular .................._ ------....-- First, in the absence of prediction, but only for a temporary representation, that is, with sufficient B_v〇p, the DCT coefficient occupies The ratio should be more than i_v〇p (Intra_vide〇〇bjeet

Plane)或 p_v〇P(Rredictive-Video Object Plane)低,對 B- VOP而言,只有該部分的物體資訊的比例會變高,而編碼 效率會變低。 為了解決上述問題,本發明之目的在於提供一種影像 編碼方法、影像編碼裝置、影像解碼方法及影像解竭裝置, 其即㈣元率等.的條件改變的情況中,也: i下:可在聽絲的魏㈣顯^選擇—最= 合的編瑪模式,以進行編碼與鏟碼。、、一—、.最適 又’本發明之另一目的在於提供一種影像 影像編碼裝置、影像解碼方法及影像_裝置,复、 輕濟部中央標準局員工消費合作社印製 對於擊CM的影_碼氧置及影像解碼裝置時 广曹影像信號傳送時的位元率等條件改變時;可以 健體麵(負擔,不會造成編崎效*,也就β 减 U可麵先登錄的複數個編碼模式中選擇最:合::: 模式’以進行編碼與解碼。. '碼, 面 (請先閲讀背面之注意事項再填寫本頁} 線 有關於本發明之影像編碼方法係在規定的區域上一 -*··*—— — 本紙張尺度適用中國國家標 CNS )^4娜(210^7^ 五 經濟部中央標準局員工消費合作社印製 A7 B7 發明説明(4) 轉換編碼模式一面對輸入影像編碼的友庚中,根據從登錄 〜· · - 一. -*-* - —_ 可選擇各區域的編碼模式的複數編碼模式群中所規寒的編 碼模式群選擇資訊,選擇編碼模式群,根據該選擇的編碼 模式群,將备區域中之上述輸入影像編碼,產生編碼位元 流,將上述編碼模式群選擇資訊附加在該編碼位元流上輸 ·〜__ - ··-·-. . ···〜... .出。. 據此,即使編碼模式增加,編碼模式資訊的量也不會 -- _ _ ·-... 增加,所以可實瑪可以進行效率良好之編碼的影像編碼方 法。 與本發明有關之影像編碼裝置係包括在規定的區域上 一面轉換編竭 1¾式一面對輸入影像編碼中,登錄可選擇各 __區域的編碼模式的複數編碼模式群,根據規定的編碼模式 群壤擇資訊,選擇編碼處理.的編碼模式群之編碼模式群— " ' * ·— ......— ~_ 選邏一裝置,從登陸在該被選擇的編』馬展式群的編碼模式 Φ,選擇在上述各區域中ϋ編屋篮羞擇裝 .. ................—--— _ ' 置,根據該被選擇的編碼模式,輸出將上述各區域編碼的 編碼資料之編碼裝置,使上述編碼模式群選擇資訊、上述 •—........-............ ............. · … ..... 編碼模式及上述編碼資料被多工化,並輸出為編碼位元流 r _ ''' .......................... ........ 的多工裝置。 一 據此,即使編碼模式增加,編碼模式資訊的量也不會 增加,所以可實現可以進行效率良好之編碼的影像編碼裝 置。— 有關本發明之影像編碼裝置,鱼熬」固」峰碍模武群係先_ 登錄可選擇作為被編碼影像單位的懲區塊之編碼模式,編 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐) (請先閱讀背面之注意事項再填寫本I-) 訂 -線 經濟部中央標準局員工消費合作社印製 A7 五、發明説明(5 ) 碼模.式群選擇裝置係在由表示視訊物體各時刻狀態之影像 故藥款個上述微、區塊所構成的視訊物體平面上,根據編碼 模式群選擇資訊,從上述複數個編碼模式群中選擇用於編_ 碼的編碼模式群。 ’如此’即使編碼模式I力,u樽式賓fi的量m: 增加,所以可實現可以進行效率良好之編碼的MPEG-4對 —-------------------- -------- „ - · .. - - ·-. 應的影像編碼.裝置. 有關本發明灰影像編碼裝置,$碼裝置係包括複、數個 不同的量子化裝置,根據量子化方法選擇資訊,選擇上述 ...... '·—___—. . ._.........-...............—........-_ . _..-〆· 複數量子化裝置中的任一個之量子化選蘀裝置' 在編碼 時,使用上述選擇的量子化裝置進行量子化,且編碼镬式 群選擇裝置使用上述量子化方法選擇資訊做為編碼模式群 選擇資訊。 如此,即使編碼模式增加,編碼模式資訊的量也不會 增加,在被給予的條件下,可實施效率良好的編碼,同時 由於鄉旦已有的量子化方法選擇資訊,做為編碼模式群選擇 _________----—— 資訊,5*以實現可實施效率良好的編碼$影像編碼裝置。 、 ' —. . - - - - -... — "* * - 有關本發明之影像編碼裝置,複數個編碼模式群係由 r'、........... .. 比規定的基準位元率低的位元率所對應之編碼模式所登錄 …...... 的抵位元率對應編碼模式群,與比上述基準位元率高的位 元率所對應之編碼模式所登錄的高位元率對應編碼模式群 所構成。 如此,可實現可對應從低位元率至高位元率的寬廣範 圍之位元率的影像編碼裝置。 8 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐) (請先閱讀背面之注意事項再填寫本頁) Λ 訂 A7 A7 經濟部中央標準局貝工消費合作社印製 、發明説明(6) 有關本發明之影像解碼方法係 之編石馬位元流,並在規定的區域入將影像壓縮編碼 L 將衫'像解碼的方法中, 區域I碼位元流將編碼模式群選擇資訊解碼,在上述各 羡以上述麟賴錢熟農訊^的編碟模式 該被選擇的編碼模:式群,從上*編碼位A流中將 各玛埼之編碼資料解碼。 二此,即料在編碼模式資訊的量,卜之編碼位元流的 清況中’可正破地解碼,在所給予的條件下,可實現能進 行效率良好之解碼的解碼方法。 2關本發明之影包括在私紐像壓縮編 瑪位元流,並在規定的區域上·像㈣中,在上 時’㈣可輯細編碼模式之複數個編碼 *丄士群’從上述編碼彳m定將編碼模式群選擇資訊解碼 的編碼模式群選擇資訊解碼裝置,從複數個編瑪模式群 中丄以上述編碼模處群選擇資訊選提被指示的編碼模式群 的触模式群選擇裝置,從使用該選擇的模式群的上 述編碼位元財,對在上述t區域中在編碼^使用!編. —. 置’根據該編碼模式’ 從上述編碼位元流中將各區域的編碼資料解碼的解碼裝 置。 如此,即使在編碼模式資訊的量小之編碼位元流的情 況中,也可以正確地解碼,在所給予的條件下,可實現能 進行效率良好之解碼的解碼裝置。 本紙依又度逋前中首'準Α4規格(210X297公楚:) (請先閲讀背面之注意事項再填寫本頁) ---1 S-IT------------^TIIL--- 經濟部中央標準局員工消費合作社印製 A7 B7 五、發明説明(7 ) 有關本發明的影像解碼裝置,複數個編碼模式乾係4系、 .... ..-----—-_ ' 先登錄可能選擇作為被編碼影像單位的微區塊之編碼模 . .〜—一*----------一 -一 編碼模式群選擇裝置係在由表示視訊物體各時刻狀態 之影像的複數個上述微區塊所構成的視訊物體平面上,根 據編碼模式群選擇資訊,從複數個編碼模式群中選擇用於 " --- --..... ..................... 編碼的編碼模式群。 \ _ 1 .................. 如此,即使在編碼模式資訊的量小之編碼位元流的情 況中,也可以正確地解碼,在所給予的條件下,所以可實 現可以進行效率良好之編碼的MPEG-4對應的編碼裝置。 有關本發明之影像解碼裝置,解碼裝置係包括複數個 ..." . - -............— — ——·———~ 不同的逆量子化裝置,根據量子化方法選擇資訊,選擇上 -〆-· _ — ........................_ ....... .......* —— _____________——— 述逆複數量子化裝置中的任一個之逆量子化選擇裝置。在 解碼時,使用上述選擇的逆量子化裝置進行逆量子化,且 編碼模式群選擇裝置使用上述量子化方法選擇資訊做為編 碼模式群選擇資訊。 如此,即使在編碼模式資訊的量小之編碼位元流的情 況中,正確地解碼,在魏給予的條#下,可實施效 率良好的解碼,1同日夺由於挪用已有的量子化方法選擇資% 做為編碼模式群選擇資訊,可~實現能實施敢率良好的解碼 .之解碼裝置。 有關本發明之影像解碼裝置,複數個編碼模式群係由 •—~~ — - 比規|故基JMi·元產A的位元率所對應之編碼模式所登錄 的低位元率對應編碼模式群,與比上述基準位元率高的位 —-------_________ . -·.·· 元率所對應之編碼模式所登錄的高位元率對應編碼模式群 10 本紙張尺度適用中國國家標準(CNS ) Α4規格(210X297公釐) (請先閲讀背面之注意事項再填寫本頁) *1Τ 線 經濟部中央標準局員工消費合作社印製 A7 B7 五、發明説明(8 ) 所構成。______ 如此,可實現可對應從低位元率至高位元率的寬廣範 圍之位元率的影像解碼裝置。 圖式之簡單說明 第1圖係繪示在影像編碼裝置及影像解碼裝置間一般 傳送接收信號的先前之編碼位元流的構造之圖式。 > / 第2圖係繪示VM8.0之B-VOP編碼用MBTYPE表 (Mb type-〇)的圖式。 第3圖係繪示本發明實施例1之影像編碼裝置的構成 之方塊圖。 第4圖係繪示本發明實施例1之編碼模式判定部的構. 成之方塊圖。 第5圖係繪示本發明實施例1之編碼位元流的構造之 圖式。 第6圖係繪示本發明實施例1之影像編碼裝置的動作 乏流程圖。 第7圖係繪示本發明實施例2之影像編碼裝置的構成 之方塊圖。 ' 第8圖係繪示本發明實施例2之MBTY-PE判定部的構 成之方塊圖。 第9圖係繪示本發明實施例.2.之MBTYPE-1表的内客 v 之圖式。 第10圖係繪示本發明實施例2之MBTYPE-2表的内 容之圖式。 11 (請先閱讀背面之注意事項再填寫本頁) - 訂 !^wi. 本紙張尺度適用中國國家標準(CNS〉A4規格(210X297公釐〉 經濟部中央標準局員工消費合作社印製 A7 B7 五、發明説明(9 ) 第11圖係繪示本發明實施例2之,影像編碼裝置的動作 之流程圖。 第12圖係繪示本發明實施例2冬編蓋位元流的構造之 ......~------ 圖式。 第13圖係繪示MBTYFE-3—表的麻容之圖式二。 第14圖係繪示MBTYPE-皮表_的_包容之圖式。 .....— -.......^一 第15圖係繪示MBTYPE-5表的内容之U。 第16圖係繪示ΜΒΤΎΡΕ-6表的内容之圖式。 第17圖係說明修正直接預測之圖式。 第18圖係繪示MBTYPE-7表的内容之圖式。 第19圖係繪示本發明實施例3之影像編碼裝置的構成 之方塊圖。 第20圖係繪示本發明實施例3之MBTYPE判定部的 構成之方塊圖。 第21圖係繪示本發明實施例3之量予化處理的動作之 流程圖。 第22圖係|示本發明實施例之編廣位元流故構造; _圖式。 第23圖係繪示本發明實施例4之影像弟碼裝置的構成 之方塊圖。 .第24圖係繪示本發明實施例4之句法解板a可變長度 解碼部的構成之方塊圖。. 第25圖係繪示本發明實施例4之變化補償部的構成之 方塊圖。 12 本紙張尺度適用中國國家標準(CNS ) A4規格(210X 297公釐) (請先閲讀背面之注意事項再填寫本頁) 訂 線-m-· 經濟部中央標準局貝工消費合作社印製 A7 B7 五、發明説明(10 ) 第26圖係繪示本發明實施例4之影—像解裝置的動作 .......〜 之流程圖。^ 第…2.7—圖J糸—緣發—明實-施列之〜句-法-解-析,.可..變長度 解碼部的/動鲁之流程圖。 第28圖係繪示本聲.at實施例4、之變化補償部的動作之1 流程圖。 第29圖係繪示本發明實施例5之影像解碼裝置的—構成 之方塊圖。 , 第3 0圖係繪示本發明實施例5之^句法解析•可-昏長渡_ 解碼部的構成之方塊圖。 第31圖係繪示本發明實施例5之變化補償部的構成之 方塊圖。 第32圖係繪示本發明實施例5之解碼裝置的動作之淹 '程圖。 、 第33圖係繪示本發明實施例5之句法澥求二5]:髮ϋ 解碼部的動作之流程圖。 第34圖係繪示根據本發明實施例5之ΜΒΤΥΡΕ-5表 的解碼次序I之流程圖。 第35圖係繪示根據本發明實施例r5之MRTYPE-6表 的解碼次序II之流程圖。 第3 6圖係繪示本發明實施例5之變化補償部的動作之_ 流程圖。 第37圖係繪示本發明實典例6之影像解碼裝置的構成 之方塊圖。 13 本紙張尺度適用中國國家標準(CNS ) Α4規格(210X 297公釐) ---------Γ----_---.玎------ (請先閱讀背面之注意事項再填寫本頁) A7 五、發明説明(11 ) 第38圖係繪示太ιηη ^ 解碼部的構成之方塊二貫施例紅峰解株,耳變長度 ,第39圖係繪示太恭 之流程圖。 聲月實施例6之影像解爲-裝-置的動砟 蒂4〇圖係繪示本 解碼部的動作之流程^實施例6之料解析、可變長度 最佳實施例之說明 了面為了詳岣說明本 最佳實施例。 / %配合附圖說明本發明之 實施例1 實施例1之影傻铯饭版 裝置從被編碼影像區域上的特徵為對應於先前的編石馬 的编踩掇Y一'灰上之複數個編碼模式中選擇最適合 之條件的被編抑像〜u 上規定 模式群了一一 一、、像風多上,利用表轉—槔可能€輝的辨碼 * ~ _., 一~~一 有關本發明之影像編瑪裝置,實施構成數位動態影像 的衫像序列之各相㈣像之編碼以做為單位,由於各 ’y邊被欠ίί $碼成^動緣區域,最小編碼單位之影像 區域便稱為,,被編碼影像區域,,,利用集合該被編碼影像區 域所構成之各時刻'的影像被稱為”被^碣影像,〜被編碼影 像區域的例子係如IS0/IEC 13818_2所明確指出的微區 塊’被編碼影像的例子則如視訊信號之影像幀、IS〇/IETC JTC1/SC29/WG11 N1796所明確指示的視訊物體平面 (VOP)。 本紙張尺度適用中國國家檩準(CNS ) A4規格(210X297公釐) (請先閲讀背面之注意事項再填寫本頁> -訂Plane) or p_v〇P (Rredictive-Video Object Plane) is low. For B-VOP, only the proportion of object information in this part will be higher, and the coding efficiency will be lower. In order to solve the above problems, an object of the present invention is to provide an image encoding method, an image encoding device, an image decoding method, and an image depletion device, that is, a unit rate and the like. When the conditions are changed, also: i: Wei Yanxian, who listens to the silk, chooses the most suitable mode for encoding and shovel. 、, 一 — 、. Optimized and another 'Another object of the present invention is to provide an image image encoding device, an image decoding method, and an image _ device. When conditions such as code set and bit rate of Guang Cao ’s video signal transmission when the video decoding device is changed; can be healthy and decent (burden, will not cause editing effects *, which means that the number of β minus U can be registered first. Select the best encoding mode in the encoding mode for encoding and decoding .. Code, front (Please read the precautions on the back before filling this page} The video encoding method of the present invention is in the specified area Previous-* ·· * —— — This paper size is applicable to the Chinese national standard CNS) ^ 4 娜 (210 ^ 7 ^ Five printed by the Central Bureau of Standards of the Ministry of Economy Staff Consumer Cooperatives A7 B7 Description of invention (4) One side of coding mode For the encoding of the input video, you can select the encoding according to the encoding mode group selection information in the complex encoding mode group that can select the encoding mode for each area from the registration ~ ·--1. Pattern group The selected coding mode group encodes the input image in the prepared area to generate a coded bit stream, and adds the above coding mode group selection information to the coded bit stream and outputs it to the code bit stream. ·· ~.... According to this, even if the encoding mode increases, the amount of encoding mode information will not-_ _ · -... increase, so Kosima can perform efficient encoding of image encoding Method: The image encoding device related to the present invention includes a plurality of encoding modes in a predetermined area, which are converted and edited on the input side, and are inputted into an input image encoding mode. The coding mode group selects the information and selects the coding mode group. The coding mode group of the coding mode group — " '* · — ...... — ~ _ Select a device to log in to the selected program. The coding mode of the exhibition group Φ, choose to assemble the house basket in the above areas....... The selected encoding mode outputs an encoding device that encodes the encoded data of each area, so that the encoding mode Group selection information, above • —........-............ ............. Coding The mode and the above-mentioned encoding data are multiplexed and output as an encoded bit stream r_ '' '................. … Multiplexing device. According to this, even if the encoding mode is increased, the amount of encoding mode information will not increase, so an image encoding device that can perform efficient encoding can be realized. — The image related to the present invention Encoding device, fish boil "solid" peak obstructive model Wu Wuxian first _ login to select the encoding mode of the punishment block as the unit of the encoded image, the paper size of the edition applies the Chinese National Standard (CNS) A4 specification (210X297 mm) (Please read the notes on the back before filling in this I-) Order-line printed by the Consumer Standards Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs A7. 5. Description of the invention (5) Code. The group selection device is used to display the video object at each moment. The state of the video and the video object plane composed of the above micro and block, according to the coding mode group selection information, select the coding mode for coding the _ code from the plurality of coding mode groups. Group. 'So' Even if the encoding mode I is strong, the amount m of the u-bin type is increased: so that it can realize MPEG-4 pairs that can perform efficient encoding —--------------- ----- -------- „-· ..--·-. Appropriate image encoding device. Regarding the gray image encoding device of the present invention, the $ code device includes a plurality of different quantums. Device, select the information according to the quantization method, and select the above ... '· —___—.. ..........-............. ..—........-_. _..- 〆 · Quantization Selector of Any of the Quantizers' When encoding, use the selected quantizer to perform quantization, And the coding group selection device uses the above quantization method selection information as the coding mode group selection information. In this way, even if the coding mode is increased, the amount of coding mode information will not increase, and it can be implemented efficiently under the given conditions. At the same time, due to the existing quantization method of Xiangdan, the information is selected as the coding mode group. _________---- Information, 5 * to implement a highly efficient encoding $ image encoding device. '' ' ..-----... — " * *-Regarding the image coding device of the present invention, a plurality of coding mode groups are defined by r ', ........... The encoding mode corresponding to the bit rate corresponding to the low bit rate is registered as the encoding mode group corresponding to the bit rate corresponding to the encoding mode group, and the encoding mode corresponding to the bit rate higher than the above reference bit rate The registered high bit rate corresponds to the coding mode group. In this way, it is possible to realize an image coding device that can correspond to a wide range of bit rates from low bit rates to high bit rates. 8 This paper standard applies Chinese National Standards (CNS) A4 specification (210X297 mm) (Please read the notes on the back before filling in this page) Λ Order A7 A7 Printed by the Central Standards Bureau of the Ministry of Economic Affairs, Printed and Invented by the Cooperative Consumer Cooperative (6) The image decoding method related to the present invention is In the method of editing the bit stream of the stone and encoding the image into a predetermined region, the method of decoding the image is decoded, and the region I code bit stream decodes the encoding mode group selection information. The coding mode of the cooked farm news ^ should be the selected coding mode: Decode the encoding data of each mater in the * coded bit A stream. Second, it is expected that the amount of coding mode information and the status of the coded bit stream can be decoded positively under the given conditions A decoding method that can perform efficient decoding can be realized. 2 The video of the present invention includes the compression of a bit stream in a private image, and in a predetermined area and image, it can be edited at the time. The plurality of codes of the fine coding mode * 丄 士 群 'selects a coding mode group selection information decoding device that decodes the coding mode group selection information from the above coding, and selects the coding mode group selection information from the plurality of coding mode groups by using the coding mode. The touch mode group selection device that selects the indicated coding mode group from the information, and uses the coding bit property of the selected mode group to use the coding ^ in the above-mentioned t region! Editing means — According to the encoding mode, a decoding means that decodes the encoded data of each region from the encoded bit stream. In this way, even in the case of a coded bit stream with a small amount of coding mode information, it can be correctly decoded. Under the given conditions, a decoding device capable of efficient decoding can be realized. This paper is based on the specifications of the former middle and first quasi-A4 (210X297): (Please read the precautions on the back before filling this page) --- 1 S-IT ------------ ^ TIIL --- Printed by A7 B7 of the Consumer Cooperatives of the Central Standards Bureau of the Ministry of Economic Affairs 5. Description of the Invention (7) Regarding the image decoding device of the present invention, a plurality of coding modes are related to 4 series, .....--- ----_ 'Register the coding mode of the microblock that may be selected as the unit of the coded image first. ~~ 一 * ---------- One-one coding mode group selection device is indicated by On the video object plane composed of a plurality of the above-mentioned microblocks of the image of the state of the video object at each moment, according to the coding mode group selection information, select from a plurality of coding mode groups for use in " --- --.... ........... Coding mode group for encoding. \ _ 1 ........ In this way, even in the case of a coded bit stream with a small amount of coding mode information, it can be correctly decoded. Under these conditions, an encoding device corresponding to MPEG-4 that can perform efficient encoding can be realized. With regard to the image decoding device of the present invention, the decoding device includes a plurality of ... &-quot;.--............- — —— · ———— ~ different inverse quantization devices, Select the information according to the quantization method, and select -〆- · _ — .................... .... * —— _____________——— An inverse quantization selection device for any of the inverse quantization devices. In decoding, the selected inverse quantization device is used for inverse quantization, and the encoding mode group selection device uses the above quantization method selection information as the encoding mode group selection information. In this way, even in the case of a coded bit stream with a small amount of coding mode information, it can be correctly decoded. Under the # given by Wei, efficient decoding can be implemented. On the same day, the existing quantization method was selected. As the selection information of the coding mode group, the% can realize a decoding device that can implement a good decoding rate. Regarding the image decoding device of the present invention, a plurality of coding mode groups are registered with the coding mode group corresponding to the low bit rate registered by the coding mode corresponding to the bit rate of the original JMi · Gensan A , And a bit higher than the above-mentioned reference bit rate -----------_________. -......... The high bit rate corresponding to the encoding mode registered in the encoding mode group 10 This paper standard applies to China Standard (CNS) Α4 specification (210X297 mm) (Please read the precautions on the back before filling this page) * 1T Printed by the Consumer Standards Cooperative of the Central Bureau of Standards of the Ministry of Economic Affairs A7 B7 5. Composition of the invention (8). ______ In this way, an image decoding device capable of supporting a wide range of bit rates from a low bit rate to a high bit rate can be realized. Brief Description of the Drawings Fig. 1 is a drawing showing a structure of a previously encoded bit stream that generally transmits and receives signals between an image encoding device and an image decoding device. > / FIG. 2 is a diagram showing an MBTYPE table (Mb type-〇) for B-VOP encoding of VM8.0. Fig. 3 is a block diagram showing the structure of an image coding device according to the first embodiment of the present invention. Fig. 4 is a block diagram showing the structure of a coding mode determination unit according to the first embodiment of the present invention. Fig. 5 is a diagram showing a structure of a coded bit stream according to the first embodiment of the present invention. Fig. 6 is a flowchart showing the operation of the image encoding device according to the first embodiment of the present invention. Fig. 7 is a block diagram showing the structure of an image coding device according to a second embodiment of the present invention. 'FIG. 8 is a block diagram showing the configuration of the MBTY-PE determination unit according to the second embodiment of the present invention. Fig. 9 is a diagram showing the internal guest v of the MBTYPE-1 table in the second embodiment of the present invention. Fig. 10 is a diagram showing the contents of the MBTYPE-2 table in Embodiment 2 of the present invention. 11 (Please read the notes on the back before filling this page)-Order! ^ Wi. This paper size applies to Chinese national standards (CNS> A4 specification (210X297 mm)> Printed by the Consumers Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs A7 B7 5 Explanation of the invention (9) FIG. 11 is a flowchart showing the operation of the image encoding device in the second embodiment of the present invention. FIG. 12 is a diagram showing the structure of the bit stream of the winter knitting in the second embodiment of the present invention .. .... ~ ------ Schematic. Figure 13 is the second drawing of MBTYFE-3—table's hemp capacity. Figure 14 is the drawing of MBTYPE-leather table __ 's tolerance. .....— -....... ^^ Figure 15 shows the U of the contents of the MBTYPE-5 table. Figure 16 shows the contents of the MBTΎPEE-6 table. Figure 17 The figure is a diagram illustrating the modification of the direct prediction. Fig. 18 is a diagram showing the contents of the MBTYPE-7 table. Fig. 19 is a block diagram showing the structure of an image encoding device according to Embodiment 3 of the present invention. Fig. 20 FIG. 21 is a block diagram showing the configuration of the MBTYPE determination unit in Embodiment 3 of the present invention. FIG. 21 is a flowchart showing the operation of the pre-quantization process in Embodiment 3 of the present invention. FIG. 22 shows the present invention. The structure of the wide-range element stream in the embodiment; _scheme. Figure 23 is a block diagram showing the structure of the image code device of the fourth embodiment of the present invention. Figure 24 is a diagram showing the fourth embodiment of the present invention. Block diagram of the structure of the variable-length decoding section of the syntax solution board a. Figure 25 is a block diagram showing the structure of the change compensation section of the embodiment 4 of the present invention. 12 This paper size applies the Chinese National Standard (CNS) A4 specification (210X 297mm) (Please read the notes on the back before filling out this page) Thread-m- · Printed by A7 B7, Shellfish Consumer Cooperative, Central Bureau of Standards, Ministry of Economic Affairs 5. Description of the invention (10) Figure 26 is a drawing Shows the shadow of the fourth embodiment of the present invention—the operation of the image interpretation device ....... ~ The flow chart. ^ No. 2.7—Picture J 糸 —Yuanfa—Mingshi-Shiliezhi ~ Sentence-Method-Solution -Analysis, ... / Variable Flowchart of Variable Length Decoding Unit. Figure 28 shows the flow chart of the operation of the change compensation unit in the fourth embodiment of the sound. Figure 29 shows the flowchart. The block diagram of the structure of the image decoding device in Embodiment 5 of the present invention. FIG. 30 is a diagram illustrating the ^ syntax analysis of the embodiment 5 of the present invention. Block diagram of the structure of the decoding unit. FIG. 31 is a block diagram showing the structure of the change compensation unit in Embodiment 5 of the present invention. FIG. 32 is a flowchart showing the operation of the decoding device in Embodiment 5 of the present invention. Fig. 33 is a flowchart showing the syntax of the fifth embodiment of the present invention. 5]: Flow chart of the operation of the decoding unit. Fig. 34 is a diagram showing the decoding of the MBTPE-5 table according to the fifth embodiment of the present invention. Flowchart of sequence I. FIG. 35 is a flowchart of decoding sequence II of the MRTYPE-6 table according to the embodiment r5 of the present invention. Fig. 36 is a flowchart showing the operation of the change compensation unit in the fifth embodiment of the present invention. Fig. 37 is a block diagram showing the structure of an image decoding device according to Example 6 of the present invention. 13 This paper size applies to China National Standard (CNS) Α4 size (210X 297 mm) --------- Γ ----_---. 玎 ------ (Please read the back first Please note this page and fill in this page again) A7 V. Description of the invention (11) Figure 38 shows the structure of the decoding section. The second example of the structure of the decoding section is the red peak solution, the ear changes the length. Christine's flowchart. The solution of the sixth embodiment of the sound month is-installation-placement of the moving body 40. The diagram shows the flow of the operation of the decoding unit. ^ The analysis of the sixth embodiment and the description of the best embodiment of the variable length. The preferred embodiment will be described in detail. /% Description of the first embodiment of the present invention in accordance with the accompanying drawings The feature of the shadow silly cesium rice plate device of the first embodiment from the coded image area is a plurality of corresponding hi-hats Y-'s on the gray corresponding to the previous choreographer. In the coding mode, select the most suitable image to be edited ~ u The specified patterns on the group are one by one, and the image is more windy. Use the table to turn— 槔 may be the distinguishing code * ~ _., One ~~ one With regard to the image editing device of the present invention, the coding of each phase image of a shirt image sequence constituting a digital dynamic image is implemented as a unit. Since each 'y edge is owed to a $ code into a moving edge region, the minimum coding unit is The image area is called, the coded image area, and the image of each time formed by the collection of the coded image area is called "the image". The example of the coded image area is IS0 / IEC Examples of the microblock 'encoded image explicitly indicated by 13818_2 are the image frame of the video signal, the video object plane (VOP) clearly indicated by IS0 / IETC JTC1 / SC29 / WG11 N1796. This paper scale is applicable to the country of China 檩Standard (CNS) A4 (210X297 mm) (Please read the notes on the back before filling in this page> -Order

-M 經濟部中央操準局員工消費合作社印製 A7 B7 五、發明説明(12) 第3圖係繪示本發明實施例1之影像編碼裝置的構成 之方塊圖。在圖中,1是減法部,2是編碼模式判定部,3 是正交變換部,4是量子化部,5是可變長度編碼•多工 部,6是逆量子化部,7是逆正交變換部,8是加法部,9 是記憶體,10是變化檢出部,11是變化補償部,12使轉 換部。 第4圖係繪示第3圖所示之編碼模式判定部2的構成 之方塊圖。在圖中,,21是判定處理部,22是編碼模式表 A,23係編碼模式表B,24是轉換部。 編碼模式判定部2係具有包含在被可變長度編碼的密 語等的i被編碼影像中可取得之編碼模式的識別物或識別 號碼等的2個編碼模式表A22、B23。 ..... -·· ' 在本實施例1中,一方面,編碼模式表^:2係包含由 使用於在以比規定的基準位元率低的位元率進行編碼時的 — — -.. - - - ------- | _ 複數編碼模式所欉成的如先前之第2圖所示的編碼模式 群,另一方面,編碼模式表_上23係包含由像覆兔在以比規 定的基準位元率高的位元率進行編碼時的編碼模式群。’ ..... , 經濟部中央標準局員工消費合作社印製 (請先閱讀背面之注意事項再填寫本頁) 第5圖係繪示根據本發明實施例1之影像編碼裝置編 碼輸出的編碼信號之編碼位元流.的彳冓造之圖式。此編碼位 元流213,和第1圖所示之先前的編碼位元流_ 一樣,由於 每次作成各個時間之1幀(1個晝面),其係由被編碼影像標-M Printed by the Consumer Cooperatives of the Central Bureau of Accreditation of the Ministry of Economic Affairs A7 B7 V. Description of the Invention (12) Figure 3 is a block diagram showing the structure of the image coding device in Embodiment 1 of the present invention. In the figure, 1 is a subtraction unit, 2 is a coding mode determination unit, 3 is an orthogonal transform unit, 4 is a quantization unit, 5 is a variable-length encoding / multiplexing unit, 6 is an inverse quantization unit, and 7 is an inverse quantization unit. The orthogonal transform unit, 8 is an addition unit, 9 is a memory, 10 is a change detection unit, 11 is a change compensation unit, and 12 is a conversion unit. Fig. 4 is a block diagram showing the configuration of the encoding mode determination section 2 shown in Fig. 3. In the figure, 21 is a determination processing unit, 22 is a coding mode table A, 23 is a coding mode table B, and 24 is a conversion unit. The coding mode determination unit 2 includes two coding mode tables A22 and B23 including identifiers or identification numbers of coding modes that can be obtained from i-coded images such as ciphers that are variable-length-encoded. ..... -... "In the first embodiment, on the one hand, the encoding mode table ^: 2 includes the encoding mode table used when encoding at a bit rate lower than a predetermined reference bit rate- -..---------- | | _ The encoding mode group formed by the complex encoding mode as shown in the previous Figure 2. On the other hand, the encoding mode table _ on 23 series contains the image overlay Group of coding modes when the rabbit is coding at a bit rate higher than a predetermined reference bit rate. '..... Printed by the Consumer Cooperatives of the Central Standards Bureau of the Ministry of Economic Affairs (please read the precautions on the back before filling out this page) Figure 5 shows the encoding output of the image encoding device according to Embodiment 1 of the present invention A fabricated pattern of the encoded bit stream of the signal. This coded bit stream 213 is the same as the previous coded bit stream _ shown in FIG. 1, because each time a frame (1 day surface) is created, it is encoded by the coded image

I 頭資訊,與將1幀分為例如N個區域時的各個區域1〜N的 每個編碼資料所構成。 但是,與第1圖所示之先前的編碼位元流不同,在被 15 本紙張尺度適用中國國家標準(CNS ) A4規格(210'〆297公釐) 經濟部中央標準局員工消費合作社印製 A7 B7 五、發明説明(13 ) _轉碼影像標頭資訊上,新追加了做為編碼模式群選擇資訊 的編碼模式表選擇資訊200之1位元的資訊。1個彳立元只 對編碼模式表A22、B23兩個足夠,在設置更多的編碼模................. 式表時,編碼模式表選擇資訊200的位元數必須配合可選 擇的表之數目增加。各區域1〜N的每一編碼資料,和第1 圖所示之先前的編碼位元流一樣,編碼資料係由壓縮影像 資料205,及由例如對應於各量子化模式之編碼模式資訊 206、量子化步長,資訊207與變化資訊208等所組成的附 加(overhead)資訊所構成。 接下來說明其動作。 第6圖係繪示本發明實施例1之影像編碼裝置的動作 之流程圖。 、(1)編碼模式的選擇•決定等. 首先在最初的步驟ST1中,在此編碼裝置啟動時,使 用者對應於本裝置使用的位元率等條件,利用開關及程式 設定用以選擇使用該編碼模式表A22、B23的編碼模式表 選擇資訊200,並輸出至編碼模式判定部2及可變長度編 碼·多工部5。總之,使用者在遇到此編碼裝置驅動時, 可設定目標位元率,該被設定的位元率具有一閾值以區分 低位元率/高位元率,此即編碼模式表選擇資訊200。 接下來,在步驟ST2中,編碼模式判定部2的轉換部 24根據編碼模式表選擇資訊200,在低位元率編碼時,選 擇決定低位元率所對應的編碼模式表A22,在高位元率編 碼時,選擇決定高位元率所對應的編碼模式表B23。 16 (請先閲讀背面之注意事項再填寫本頁) Γ 訂 線-#- 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐) 經濟部中夾標準局員工消費合作社印製 A7 B7 五、發明説明(14 ) (2)被編碼影像信號之生成與編碼模式的選擇 接下來,編碼模式判定部2的判定處理部21,相對於 被輸入的被編碼影像區域的輸入影像信號201,利用接下 來的步驟ST3〜步驟ST14的處理,產生對應於可取得之全 部的編碼核式之被編碼影像信號5選擇編碼效率最佳的編 碼模式。 在此說明編碼模式,以輸入影像信號做為被編碼影像 信號的模式也是個編碼模式,通常,轉為内部模式。又,: 利用.變化補償預測產生預測影彳%,以求出的預測誤差信@_ $為被編碼影像信號則為相互模式。在相互模式時,使用 預測方式設定隨同的編碼模式。例如,對ISO/IEC 13818-2所明不的B圖片而言’由時間上在前的編碼完成之影像 進行變化補償預測之前方向預測,由時間上在後的編碼完 成之影像進行變化補償預測之後方向預測,將經由前方向 預測與後方向預測所得到之預測影像相加平均以做為預測 影像,可得到兩方向預測等的複數種預測方式,對應於此 等設定各種編碼模式。從如此之複數種編碼模式中選擇編 一一r.—- -........_ **· ' t 碼效率最好的模式所得到的被編碼影像信號變為壓縮編碼. 的對象。因此,内部模式的編碼模式中,雖然由於輸入影 像信號201被用做這樣的被編碼影像信號,而無需產生, 在相互模式的編碼模式中,對應於相互模式的可能選擇的 各種預測方式之預測誤差信號係利用第3圖之變化檢出部 10、變化補償部11及減法部1而被產生。 首先,在步驟ST3中,變化檢出部10從記憶體9中的 17 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐) (請先閱讀背面之注意事項再填寫本頁) 訂 線 A7 A7 經濟部中央標準局員工消費合作社印製 五、發明説明¢5 ) 參考影像信號211中求出對應於預測方式的變化資訊 208。 接著在步驟ST4中,變化補償部11根據變化資訊208 從記憶體9中讀出參考影像t料211,進行必要之演算以 產生預測影像212。如此,預測影像212在減法部1中與 輸入影像信號201相減,而得到預測誤差信號202或被編 碼影像信號203。以上的處理係由登錄在被選擇之一方的 編碼模式表上之所有的編碼模式實行。 然後在步驟ST5中,對被登錄在被選擇的編碼表上的 全部編碼模式,會檢查被編碼影像信號的產生所進行的處 理是否結束。 當結束時,在接下來的步驟ST6中,判定處理部21 對對應於被包含在該被選擇的編碼模式表中的各編碼模式 之被編碼影像信號203進行評價判定,同時選擇編碼效率 最好的被編碼影像信號203,選擇對應於此的編碼模式做 為該被編碼影像區域的編碼模式,分別輸出被編碼影像信 號203、該識別因子以做為編碼模式資訊206。 (1)壓縮編碼處理 在接下來的步驟ST7中,正交變換部3係將編碼模式 判定部2輸出的被編碼影像信號203變換成實行DCT(離散 餘弦變換)等變換的正交變換係數204。然後在後面的步驟 ST8中,量子化部4將正交變換係數204以規定的量子化 步長進行量子化,輸出為壓縮影像資料205,同時並輸出 表示該量子化步長的量子化步長資訊207。 18 本紙張尺度適用中國國家標準(CNS ) A4規格(2丨0X297公釐) (請先閱讀背面之注意事項再填寫本頁) •iv 訂 經濟部中央標準局員工消費合作社印製 A7 B7 五、發明説明(16 ) (2) 可變長度編碼及多工化 在步驟ST9中,量子化部4的壓縮影像資料205、編 碼模式表選擇資訊200、編碼模式判定部2的編碼模式資 訊206、變化檢出部10的變化資訊208等的附加資訊係利 用可變長度編碼·多工部5變換成位元列,依照規定的句 法被多工化,如第5圖所示,1位元的編碼模式表選擇資 訊200本身被設定為被編碼標頭資訊,其被輸出為該構造 的編碼位元流213,。又,表示量子化部4之量子化步長的 量子化步長資訊207也可事先在可變長度編碼·多工部5 側得知並登錄。 (3) 局部解碼處理 壓縮影像資料係,在步驟ST10、ST11中,經由逆量 子化部6、逆正交變換部7,而得到被局部解碼成被編碼 影像信號之狀態的局部解碼預測誤差信號209。 然後,在步驟ST12中,轉換部12依據編碼模式資訊 206將必須的預測影像212送到加法部8,加法部8進行局 部解碼預測誤差信號209與預測影像212的相加,而得到 局部解碼影像信號210。接著,利用步驟ST13,為了後續 的編碼,局部解碼影像信號210被儲存在記憶體9中。 在最後的步驟ST14中,對步驟ST3-ST13之連續的處 理,檢查在全部的被編碼影像區域上是否已經結束,當在 全部的被編碼影像區域上已經結束時,即結束上面的編碼 處理。 如上,若依據本實施例1,對應於目標位元率等條件, 19 (請先閱讀背面之注意事項再填寫本頁) 訂 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐) 經濟部中央標準局員工消費合作社印製 A7 B"7 五、發明説明(17 ) 先將每一預先被分配的編碼模式表準備為複數適合的編碼 模式群’在本裝置起動時5對應該條件設定編碼模式表選 擇資訊,並選擇適合的編碼模式表,同時更從該被選擇的 編碼模式表中選擇最適合的編碼模式,該編碼模式表選擇 資訊並不在各區域的每一個編碼資料中,由於其被設定為 .被編碼影像標頭資訊,經由設置複數個編碼模式表,雖然 編碼模式增加’編碼資料的附加資訊中之編碼模式資訊的 量並沒有增加,而可以得到能實行效果良好之編碼的影像 編碼裝置。 更具體地說明,例如,在高位元率時,由於編碼位元 $全部的資訊量很充足,若歿盖碼模式多―而—可,適應迆 編碼,則即使編碼模式資訊的附加;賣訊辞多,整體而言, 編碼效率可以提升。但是,在低位元率日I,因為不得不抑 .__________________ ------------------------------------------- " s---------------------- 盤益整農的資料暈,.相里全壓蓋敫像農姓池資篇 量,包含編碼模式資訊等的附加資訊的資訊量的比例變 大。因此,若使用大量的編碼模式,壓縮影像資料的編竭 效率不大會提升,會造成編碼模式資m等的附加資訊的負_ 荷變大,使得編碼效率變差。這對於只固定有1個編碼模 式表的編碼裝置而言,在位元率改變時,就算編碼效率沒 有變差,也很難維持適應性。 對本實施例而言,雖然顯示了對應於位元率的通信條 件之編碼模式表的轉換的例子,其並不限定本發明,對於 其他的條件,例如對應於影像的時間解像度(例如幀率)、 被編碼影像的大小(利用視訊物體平面的長寬)等的編碼模 20 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐) ---------C----------tr-------If (請先閱讀背面之注意事項再填寫本頁) A7 B7 五、發明説明(18 ) 經濟部中央標準局員工消費合作社印製 式也可進行轉換。總之,若幀率轡彳 办i 由於被編碼影像盥 不同預測方式,可提升編碼效率。又、; —\一 ® 於士二入’破編碼影像的大小 係表示編碼對象的動態影像序列的空 、二 Μ鮮像度’這是直接 反映目標位元率的量,與本實施例所+ π所不的例子相同的編碼 模式表的轉換會變得有效。這對其他的實_也H 又對本實施例i,說明對低位元率、高位元率對應之 兩個編碼模式群众別設置各自的編碼模式表A、B ' 發明而言,對應於位元率等條件的編竭模式群即使是H 個多也可以。X,將複數個編碼模式群登錄在i個編碼模 式表上也可以,此時’編碼模式判定部2的轉換部以係利 用編碼模式表選擇資訊,從複數個編碼模式群中,選擇i 個編碼模式群/並加以轉換。這與其他實施例均相同。 對本實施例1,說明在影像幘等的被編碼影像上將編 碼模式表選擇資訊設定為被編碼影像標頭資訊,對本發明 而言’並不限定於被編碼影像’在被編碼影像概括有幾個 的規定的被編碼影像上’將被編碼影像標頭資訊設定為被 編碼影像標頭資訊,在新的被編碼影像標頭資訊出現時, 依據先被檢出的被編碼影像標頭資訊的編碼模式表選擇資 訊’選擇編碼模式表’或者是相對於做為被編碼影像標頭 資訊的上位階層之所有被編碼影像,將編碼模式表選擇資 訊設定為標頭資訊,也可以對所有的被編碼影像(例如 MPEG-4的VOL標頭資訊等)選擇1個編碼模式表。這對其 他的實施例也都一樣。 21 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐) (請先閱讀背面之注意事項再填寫本頁)The I header information is composed of each coded data of each region 1 to N when one frame is divided into, for example, N regions. However, unlike the previous coded bit stream shown in Figure 1, it is printed on 15 paper sizes to the Chinese National Standard (CNS) A4 (210'〆297 mm). It is printed by the Consumers' Cooperative of the Central Bureau of Standards of the Ministry of Economic Affairs. A7 B7 V. Description of the invention (13) _ The encoding mode table selection information 200 bit information is newly added as the encoding mode group selection information to the transcoded image header information. One Li Yuan is only enough for two encoding mode tables A22 and B23. When setting more encoding modes .................... The number of 200 bits must increase with the number of selectable tables. Each of the encoded data of each region 1 to N is the same as the previous encoded bit stream shown in FIG. 1. The encoded data is composed of compressed image data 205 and, for example, encoding mode information 206 corresponding to each quantization mode. The quantized step size, the information 207 and the change information 208 are composed of overhead information. Next, the operation will be described. Fig. 6 is a flowchart showing the operation of the image encoding device according to the first embodiment of the present invention. (1) Selection and decision of encoding mode. First, in the first step ST1, when this encoding device is activated, the user selects the use of switches and programs according to the conditions such as the bit rate used by the device. The coding mode table selection information 200 of the coding mode tables A22 and B23 is output to the coding mode determination unit 2 and the variable-length coding / multiplexing unit 5. In short, when the user encounters the driving of the encoding device, the target bit rate can be set. The set bit rate has a threshold to distinguish the low bit rate from the high bit rate. This is the encoding mode table selection information 200. Next, in step ST2, the conversion unit 24 of the encoding mode determination unit 2 selects the information 200 based on the encoding mode table. When encoding at a low bit rate, it selects and determines the encoding mode table A22 corresponding to the low bit rate, and encodes at the high bit rate. At this time, the encoding mode table B23 corresponding to the high bit rate is determined. 16 (Please read the precautions on the back before filling this page) Γ 线 线-#-This paper size is applicable to China National Standard (CNS) A4 (210X297 mm) Printed by A7 B7, Employees ’Cooperative of Zhongjia Standard Bureau, Ministry of Economic Affairs V. Description of the invention (14) (2) Generation of coded video signal and selection of coding mode Next, the determination processing unit 21 of the coding mode determination unit 2 with respect to the input video signal 201 of the input coded video area, Using the processing of the following steps ST3 to ST14, the encoded video signal 5 corresponding to all the available encoding kernels is selected to select the encoding mode with the best encoding efficiency. The encoding mode is described here. The mode in which the input image signal is used as the encoded image signal is also an encoding mode. Usually, it is switched to the internal mode. In addition, the prediction shadow percentage is generated by using the change compensation prediction, and the obtained prediction error letter @ _ $ is the encoded video signal, and the mutual mode is used. In mutual mode, the prediction mode is used to set the accompanying encoding mode. For example, for B-pictures not specified in ISO / IEC 13818-2, change-prediction prediction is performed from previously completed coding images, and change-compensated prediction is performed from previously completed coding images. In the subsequent direction prediction, the prediction images obtained through the forward direction prediction and the backward direction prediction are added and averaged as prediction images, and a plurality of prediction methods such as two-direction prediction can be obtained, and various coding modes are set correspondingly. From such a plurality of encoding modes, selecting a one-to-one r .—- -........_ ** ** The coded video signal obtained from the mode with the best code efficiency becomes compression coding. Object. Therefore, in the coding mode of the internal mode, although the input video signal 201 is used as such a coded video signal, it does not need to be generated. In the coding mode of the mutual mode, prediction of various prediction modes corresponding to the possible selection of the mutual mode The error signal is generated using the change detection section 10, the change compensation section 11, and the subtraction section 1 of FIG. First, in step ST3, the change detection unit 10 applies the Chinese paper standard (CNS) A4 specification (210X297 mm) from the 17 paper sizes in the memory 9. (Please read the precautions on the back before filling this page) Order Line A7 A7 Printed by the Consumer Cooperatives of the Central Standards Bureau of the Ministry of Economic Affairs 5. Description of the invention ¢ 5) The reference image signal 211 obtains the change information 208 corresponding to the prediction method. Next, in step ST4, the change compensation unit 11 reads the reference image 211 from the memory 9 based on the change information 208, and performs necessary calculations to generate a prediction image 212. In this way, the prediction video 212 is subtracted from the input video signal 201 in the subtraction unit 1 to obtain a prediction error signal 202 or a coded video signal 203. The above processing is performed by all the encoding modes registered in the selected encoding mode table. Then, in step ST5, it is checked whether or not the processing for generating the encoded video signal is completed for all the encoding modes registered in the selected encoding table. When it is finished, in the next step ST6, the determination processing unit 21 evaluates and determines the encoded video signal 203 corresponding to each encoding mode included in the selected encoding mode table, and selects the best encoding efficiency at the same time. For the encoded video signal 203, the encoding mode corresponding to this is selected as the encoding mode of the encoded image area, and the encoded video signal 203 and the identification factor are output as the encoding mode information 206, respectively. (1) Compression encoding processing In the next step ST7, the orthogonal transform unit 3 converts the encoded video signal 203 output from the encoding mode determination unit 2 into an orthogonal transform coefficient 204 that performs a transform such as DCT (Discrete Cosine Transform). . Then, in the subsequent step ST8, the quantization unit 4 quantizes the orthogonal transform coefficient 204 in a predetermined quantization step, outputs the compressed image data 205, and outputs a quantization step indicating the quantization step. Information 207. 18 This paper size applies to China National Standard (CNS) A4 specification (2 丨 0X297 mm) (Please read the notes on the back before filling out this page) • iv Order printed by the Consumer Standards Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs A7 B7 5. Description of the invention (16) (2) Variable length encoding and multiplexing In step ST9, the compressed image data 205, encoding mode table selection information 200, encoding mode information 206 of the encoding mode determination unit 2 and changes in the quantization unit 4 The additional information such as the change information 208 of the detection unit 10 is converted into a bit string using variable-length coding and the multiplexing unit 5 is multiplexed in accordance with a predetermined syntax. As shown in FIG. 5, a 1-bit code The mode table selection information 200 itself is set as encoded header information, which is output as the encoded bit stream 213 ′ of the structure. The quantization step information 207 indicating the quantization step size of the quantization section 4 may be known and registered in advance on the variable-length coding / multiplexing section 5 side. (3) The local decoding process compresses the video data. In steps ST10 and ST11, the inverse quantization unit 6 and the inverse orthogonal transform unit 7 are used to obtain a locally decoded prediction error signal that is locally decoded into a coded video signal. 209. Then, in step ST12, the conversion unit 12 sends the necessary prediction image 212 to the addition unit 8 according to the encoding mode information 206, and the addition unit 8 adds the locally decoded prediction error signal 209 and the prediction image 212 to obtain a locally decoded image. Signal 210. Next, in step ST13, the local decoded video signal 210 is stored in the memory 9 for subsequent encoding. In the last step ST14, for the continuous processing of steps ST3-ST13, it is checked whether all the coded image areas have ended, and when all the coded image areas have ended, the above coding process is ended. As above, if according to this embodiment 1, corresponding to the target bit rate and other conditions, 19 (Please read the precautions on the back before filling out this page) The paper size of this edition applies the Chinese National Standard (CNS) A4 specification (210X297 mm) Printed by A7 B " 7 of the Consumers 'Cooperatives of the Central Standards Bureau of the Ministry of Economic Affairs 5. Description of the Invention (17) First prepare each pre-assigned coding pattern table as a plurality of suitable coding pattern groups' 5 corresponding conditions when this device is started Set the encoding mode table selection information, and select the appropriate encoding mode table, and at the same time select the most suitable encoding mode from the selected encoding mode table. The encoding mode table selection information is not in every encoding data in each region. Since it is set to be the encoded image header information, by setting a plurality of encoding mode tables, although the encoding mode is increased, the amount of encoding mode information in the additional information of the encoded data has not increased, and a good effect can be obtained. Encoded image encoding device. To be more specific, for example, at a high bit rate, because the entire amount of information in the encoding bit $ is sufficient, if there are many 殁 code patterns-and-can be adapted to 迤 encoding, even if the encoding mode information is added; There are many words, and overall, the coding efficiency can be improved. However, at the low bit rate I, because I have to suppress. __________________ ----------------------------------- -------- " s ---------------------- The information of Panyi whole farmer is halo.. Xiangli full cover 敫 like farmer The share of surname pool information, including additional information such as coding mode information, has a greater proportion. Therefore, if a large number of encoding modes are used, the exhaustion efficiency of compressed image data will not be improved, which will cause the burden of additional information such as the encoding mode information m to increase, which will cause the encoding efficiency to deteriorate. For a coding device that has only one coding mode table fixed, when the bit rate is changed, it is difficult to maintain adaptability even if the coding efficiency does not deteriorate. For the present embodiment, although an example of conversion of a coding mode table corresponding to a communication condition of a bit rate is shown, it does not limit the present invention. For other conditions, for example, a time resolution corresponding to an image (such as a frame rate) , Encoding size of the encoded image (using the length and width of the video object plane), etc. 20 This paper size applies the Chinese National Standard (CNS) A4 specification (210X297 mm) --------- C --- ------- tr ------- If (Please read the notes on the back before filling out this page) A7 B7 V. Description of the invention (18) Printed by the Consumer Cooperatives of the Central Standards Bureau of the Ministry of Economic Affairs Can be converted. In short, if the frame rate is different, the encoding image can improve the encoding efficiency due to different prediction methods. Also, — \ 一 ® Yu Shier'er, “The size of a broken coded image represents the empty and two M freshness of the moving image sequence of the coding object.” This is a quantity that directly reflects the target bit rate. + π does not change the same encoding mode table as the example. This is also true for the other embodiments, and for this embodiment i, explaining that the two encoding modes corresponding to the low bit rate and the high bit rate are provided with respective encoding mode tables A and B. For the invention, corresponding to the bit rate Even if there are many H number of equal-edged exhaustion pattern groups, it is sufficient. X, it is also possible to register a plurality of coding mode groups on the i coding mode tables. At this time, the conversion unit of the 'coding mode determination unit 2 selects information using the coding mode table, and selects i from the plurality of coding mode groups. Coding pattern groups and transforming them. This is the same as the other embodiments. In the first embodiment, it is described that the encoding mode table selection information is set to the encoded video header information on the encoded video such as video, etc. For the present invention, 'is not limited to the encoded video'. On the specified encoded image, the encoded image header information is set as the encoded image header information. When new encoded image header information appears, it is based on the first detected encoded image header information. Encoding mode table selection information 'Select encoding mode table' or relative to all encoded images in the upper hierarchy as the encoded image header information, setting the encoding mode table selection information to header information can also For encoding video (such as MPEG-4 VOL header information, etc.), select one encoding mode table. This is the same for other embodiments. 21 This paper size applies to Chinese National Standard (CNS) A4 (210X297 mm) (Please read the precautions on the back before filling this page)

r'Y 訂 線-Φ-· A7 B7 五、發明説明(19 ) 對本實施例1,對於登錄在被選擇之一方的編碼表上 的所有編碼模式’進行變化'補償,得到預測誤差信號,以 產生被編碼影像信號,評價該被編碼影像信號,選擇經判 定為效率最好的編碼模式,對本發明,不進行該等評價、 判定,利用其他方法,也可從複數個編碼模式中選擇效率 最好的編碼模式。 實施例2 本實施例2'影像編碼裝置係將第3圖所示之實施例 1的影像編碼裝置,對應於MPEGZ4的規格加以改良。 —一' …----- …… 第7圖係繪示實施例2之影像編碼裝置的構成之方塊 圖。在圖中,3 1係MBTYPE(微區塊編碼類型)判定部、32 係DCT部、33係逆DCT部、34係形狀編碼部、其他具 有相同參考編號者係與實施例1之第3圖所示的構成相同 者。 對與第3圖之實施例1的編碼裝置間的差異加以描 述,在實施例2中,設置有做為編碼模式判定部2的 MBTYPE判定部3 1、做為正交變換部3的DCT部32、做 - 〆__________—--------- - — 為逆正交變換部7的逆DCT部33 ,,另外新設置的有 ...—----^-----~---- — - ........ ........ 經濟部中央標準局員工消費合作社印製 ----------r''.ϊ- - (請先閲讀背面之注意事項再填寫本頁〉 MPEG-4特有的形狀編碼部34,該壓縮形狀資料301係以 可變長度編碼•多工部5加以進行可變長度編碼•多工化, 形狀編碼部34的局部解碼形狀資料303係被輸入至 MBTYPE判定部31、DCT部32、逆DCT部33、變化補 償部11及變化檢出部10而被構成。然而即使是MPEG-4, 在使用例如視訊信號等的矩形影像幀做為被編碼影像時, 22 本紙張尺度適用中國國家標準(CNS ) A4規格(210Χ297公釐) 經濟部中央標準局員工消費合作社印裂 A7 B7 五、發明説明(20 ) 由於形狀資料一定是矩形的,所以此時無需形狀編碼部 34 〇 第8圖係繪示第7圖的MBTYPE判定部31的構成之. 方塊圖。在圖中,41是判定處理部、42是MBTYPE-1(微 區塊編碼類型1)表、4是MBTYPE-2(微區塊編碼類型2) 表、44是依據MBTYPE表"還骨f訊一而-轉燕妨轉:換〜_ 部。r'Y order-Φ- · A7 B7 V. Description of the invention (19) For this embodiment 1, compensation is performed on all coding modes registered in the selected one's coding table to 'change' to obtain a prediction error signal. Generate an encoded video signal, evaluate the encoded video signal, and select the encoding mode that is determined to be the most efficient. In the present invention, such evaluation and determination are not performed, and other methods may be used to select the most efficient encoding mode from a plurality of encoding modes. Good coding mode. Embodiment 2 The video encoding device according to the second embodiment is a video encoding device according to the first embodiment shown in Fig. 3, which is improved in accordance with the MPEGZ4 standard. — 一 '… ----- ...... Fig. 7 is a block diagram showing the structure of the image coding device of the second embodiment. In the figure, 3 1 series MBTYPE (microblock coding type) determination section, 32 series DCT section, 33 series inverse DCT section, 34 series shape coding section, and others with the same reference number are the same as those in the third figure of the first embodiment. The configuration shown is the same. The difference from the encoding device of the first embodiment shown in FIG. 3 is described. In the second embodiment, an MBTYPE determination unit 31 serving as the encoding mode determination unit 2 and a DCT unit serving as the orthogonal transformation unit 3 are provided. 32. Do-〆 __________------------------is the inverse DCT section 33 of the inverse orthogonal transform section 7, and the other new settings are ... ----- ^ --- -~ ------........ ........ Printed by the Consumer Cooperatives of the Central Standards Bureau of the Ministry of Economic Affairs ---------- r ''. Ϊ --(Please read the precautions on the back before filling out this page> MPEG-4's unique shape coding section 34, the compressed shape data 301 is variable length coding • multiplexing section 5 performs variable length coding • multiplexing The local decoded shape data 303 of the shape coding unit 34 is input to the MBTYPE determination unit 31, the DCT unit 32, the inverse DCT unit 33, the change compensation unit 11, and the change detection unit 10. However, even MPEG-4 When a rectangular image frame such as a video signal is used as the encoded image, 22 paper sizes are applicable to the Chinese National Standard (CNS) A4 specification (210 × 297 mm). The Consumers Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs has printed A7. B7 V. Description of the invention (20) Since the shape data must be rectangular, no shape coding unit 34 is needed at this time. Figure 8 shows the structure of the MBTYPE determination unit 31 of Figure 7. Block diagram. In the figure, 41 is a decision processing unit, 42 is an MBTYPE-1 (microblock encoding type 1) table, 4 is an MBTYPE-2 (microblock encoding type 2) table, and 44 is based on the MBTYPE table " Reconstructive Information- Zhuan Yanzhuan: Change ~ _ Department.

第9圖係繪布第8圖的MBTYPE-1表42的内容之圖 式。在圖中,此MBTYPE-1表42上,模式號碼0〜3(MBTYPE 的值)的直锋預測、後!向預麗+量子化轉換、前方向預測+ ..... 〜轉換及填充(stuffing)的4獐罐瑪模武,每一種均登 ,錄經由各自的編碼模式以在編碼時使用的X所表示的資料 之量子化步長差分值(DQUANT)、前方向預測用變化向量 差分值(MVDf)、後方向預測用變化向量差分值(MVDb)、 直接預測用差分向量(MVDB),及表示各自的編碼模式的 密語β 此MBTYPE-1表42係將用以配合位元率的填充加至 第2圖所示之取代MBTYPE-Ο表的兩方向預測+量子化轉 換模式所得到的表《填充係加上用以配合位元率的虛位元 (dummy bit)之填充位元的編碼,在對相當於填充位元等的 填充之密語解碼時,藉由將填充的密語在解碼時捨去,其 後的微區塊資料便不存在。如此,可以小的微區塊單位併 入位元率。因此,在填充的編碼模式時,如MBTYPE-1表 42所示’沒有使用全部的資料。各編碼模式的密語由於係 23 本紙張尺度適用中國國家標準(CNS ) A4規格(210 X 297公釐) (請先閲讀背面之ir意事項再填寫本頁} ----.—-IT------.ilI®------ A7 B7 五、發明説明(21 ) 根據各編碼模式的發生準確率加以決定,在當下最佳的密 語並未決定。 第10圖係繪示第8圖之MBTYPE-2表43的内容之圖 式。在圖中,岭MBTYPE-2表43上,模式號碼0〜8 _的一9- 種編碼模式’也就是内部編.碼、.内部編碼+量..子化轉換、 _______________ -. .... ---------- 兩方向預測、兩方向預測+量子化轉換、後方向預測、後 -· ......- . . 方向預測+量子化轉換、前方向預測、前方向預測+量子化 轉換及填充的編崎模式,每一種均登錄經由各自的編碼模 式以在編碼時使用的資料之量子化步長差分值 (DQUANT)、前方向預測用變化向量差分值(MVDf)、後方 向預測用變化向量差分值(MVDb),及表示各自的編碼模式 的密語。 接著說明其動作。 第11圖係繪示本發明實施例2之影像編碼裝置的動作 之流程圖。在此重點說明與實施例1的動作流程不同處。 去除步驟ST22-1,步驟ST21〜ST34的處理,分別相 當於實施例1的第6圖之步驟ST1〜ST14的處理,僅是處 理的名稱不同,實質上與對應的步驟實行一樣的處理。 經濟部中央標準局畐〈工消費合作社印製 (請先閱讀背面之注意事項再填寫本頁) 對實施例2 ,在步驟ST22與ST23間,加入步驟 ST22-1,即利用形狀編碼部34進行微區塊單位的形狀編 碼處理,經由此處理,壓縮形狀資料301及局部解碼形狀 資料303等被輸出。 第12圖係繪示實施例2之影像編碼裝置編碼輸出之編 碼位元流3 16的構造之圖式。在此,VOL(Video Object 24 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐) 經濟部中央標準局員工消費合作社印製 A7 B7 五、發明説明(22 )FIG. 9 is a drawing showing the contents of MBTYPE-1 table 42 in FIG. 8. In the figure, on this MBTYPE-1 table 42, the forward prediction of pattern numbers 0 to 3 (the value of MBTYPE), and after! To Pre-Li + quantization conversion, forward direction prediction + ..... ~ 4 獐 cans of mamowu for conversion and stuffing, each of which is recorded, and the X that is used in encoding is recorded through its own encoding mode The quantized step size difference (DQUANT), forward direction change vector difference value (MVDf), backward direction change vector difference value (MVDb), direct prediction difference vector (MVDB), and representation Secrets of the respective coding modes β This MBTYPE-1 table 42 is a table obtained by adding the padding to match the bit rate to the two-direction prediction + quantization conversion mode instead of the MBTYPE-O table shown in Figure 2 " The padding is an encoding of dummy bits to match the bit rate of the bit rate. When decoding padding equivalent to padding bits, etc., the padding cipher is discarded during decoding. Then, the subsequent microblock data will not exist. In this way, the bit rate can be incorporated in small microblock units. Therefore, as shown in Table 42 of MBTYPE-1 in the coding mode of padding, not all data are used. The cipher words of each coding mode are 23 paper sizes. The Chinese National Standard (CNS) A4 specification (210 X 297 mm) is applicable. (Please read the ir notice on the back before filling out this page} ----.- IT- -----. ilI® ------ A7 B7 V. Description of the invention (21) It is determined according to the occurrence accuracy rate of each coding mode, and the best secret word is not decided at present. Figure 10 is a drawing Figure 8 shows the contents of MBTYPE-2 table 43. In the figure, MBTYPE-2 table 43 shows a 9-coding mode with mode numbers 0 to 8 _, which is internal coding, coding, and internal Encoding + Quantity: Sub-transformation, _______________-. .... ---------- Two-way prediction, two-way prediction + quantization conversion, backward direction prediction, post -... ..... .-.. Direction prediction + quantization conversion, forward direction prediction, forward direction prediction + quantization conversion and padding, each of them is registered in the quantization step size of the data to be used for encoding through the respective encoding mode Difference value (DQUANT), change vector difference value for forward prediction (MVDf), change vector difference value for backward prediction (MVDb), and their respective coding modes Secret words. Next, the operation will be described. FIG. 11 is a flowchart showing the operation of the image encoding device according to the second embodiment of the present invention. Here, the explanation will focus on the differences from the operation flow of the first embodiment. Step ST22-1 is removed, steps The processing of ST21 to ST34 is equivalent to the processing of steps ST1 to ST14 in FIG. 6 of Embodiment 1, except that the name of the processing is different, and the processing is substantially the same as that of the corresponding step. Printed by a consumer cooperative (please read the precautions on the back before filling out this page) For Example 2, between steps ST22 and ST23, add step ST22-1, that is, use the shape coding unit 34 to perform shape coding processing in microblock units. Through this processing, the compressed shape data 301, the locally decoded shape data 303, and the like are output. FIG. 12 is a diagram showing the structure of the encoded bit stream 3 16 encoded and output by the image encoding device of Embodiment 2. Here, VOL (Video Object 24 This paper size is applicable to Chinese National Standard (CNS) A4 specification (210X297 mm)) Printed by the Consumer Cooperatives of the Central Standards Bureau of the Ministry of Economic Affairs A7 B7 V. Description of the invention (22 )

Layer)係包含時間轴之動態影像物體v〇(Video Object)的 構成要素,由複數個乂〇?('^丨(160〇咖(^?1&1^)所組成。\^0? 係表示V0在各時刻之狀態。 說明與第5圖所示的實施例1之編碼位元流間的差 異,對此實施例2 ’因為特定為MPEG-4,被編碼影像標 敗資訊係VOP標頭資訊’在該VOP標頭資訊,或更上位 If層的視訊物體層之VOL標頭資訊中’設定做為編碼模式 群考一擇資訊的,ΜΒΤΥΡΕ表選擇資訊(b VOP mode type)302。又設定壓縮形狀資料301,做為各被編碼影像 區域1〜N的編碼資料之附加資訊。 杳VOL!頭資訊中設定MBTYPE表選擇資訊(B VOP mode type) 302的方式,比在VOP的每一被設定的VOP標 頭資訊中設定MBTYF6表選擇資訊302,鲁MBTYPE表 餐—資tfLj_〇2故氮患量可減少,編碼效率可提升,此時, 不能選擇VOP的每一編碼模式表》 在附加資訊中的編碼邊式資訊(MBTYPE)308係由對 應於MBTYPE 土孓每一所有的MBTYgE的編鳴模式之密 語加以設定。一方面,附加資訊中的量子化步長資訊3〇9 .·.·.〆一 . 係在使用DQUANT時被設定。舉例而言,即第9圖之 MBTYPE-1表的情況’後方向預測+量子化轉換的編碼模式 的情況、與前方向預測+量子化轉換的編碼模式的情況。 在附加資訊中的動態資訊係在使用MVDf、MVDb 、 MVDB時被設定。 如上述’若依據特定為MPEG-4的實施例2,相對於 25 ----------t、------IT------^1®, I (請先閲讀背面之注意事項再填寫本頁) 尽,.氏悵尺度通辭關豕標準(CNS ) A4規格(2H)X297公釐 A7 A7 經濟部中央標準局員工消費合作社印製 ___B7 _____ 五、發明説明(23 ) 實施例1,實際上增;形狀編屬部-3寸,該壓縮形狀資料 301棘可變長度編碼及多工化,局|解碼形狀資料在 DCT、逆DCT、變化檢出及變化補償時被使用,編碼模式 表之MBTYPE表的選擇,由於與實施例1的情況一樣實進 行,和施例1的情況一樣,即使經由設置複數個編碼模式 表而使編碼模式增加,編碼資料的附加資訊中的編碼模式 資訊308的量並未增加,所以可得到能進行效率良好冬編 碼的影像編碼裝覃。 對實施例2而言,由!將填充之編碼模式犖錄在2個 MBTYPE表42、43的雙方,與沒有此填充之編碼模式的 情況相比,可以小的微區塊單位併入位元率β - . ... <' 、. > 第10圖之ΜΒΤΥΡΕ-2表43,不只對於填充,也將第 2圖所示之建議的ΜΒΤΥΡΕ-0表的直接預測均變更為内部 編碼,由於在雙方分別準備了對應於各編碼模式的量子化 步長轉換ΟΝ/OFF的模式,其中各編碼模式係對應於内部 編碼、兩方向預測、後方向預測'、前方向預測的各編碼模 式,如此,與ΜΒΤΥΡΕ-0表相比,即使在以任一模式進行 編碼的情況下,也可變更量子化步長,且在附近的微區塊 之量子化步長值沒有變化的情況下,不必將量子化步長資 訊(DQUANT)309多工化成位元流,而可得到效率良好之編 碼0 . . 對實施例2而言,以編碼模式表之MBTYPE表為例, 說明第9圖及第10圖所示之MBTYPE-1表及MBTYPE-2 表,對本發明而言,並未被限定於這些表,舉例而言,使 26 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐) ---------r-^--T. .* ' - (請先閲讀背面之注意事項再填寫本頁) 訂 線 經濟部中央標準局員工消費合作社印袋 ΑΊ ____ Β7五、發明説明(24 ) 用從MBTYPE-1表及MBTYPE_2表中除去填充的編碼模式 的表,或是從MBTYPE-2表中除去填充的編碼模式,也可 使用在兩方分別準備了量子化步長轉換〇N/〇FF的模式的 表,其中量子化步長轉換ΟΝ/OFF的模式係對應於將該表 上之内部編碼、内部編碼+量子化轉換分別置換為直接預 測、直接預測+量子化轉換的直接預測、兩方向預測、後 方向預測、前方向預測之各編碼模式。 又,編碼模式表,舉例而言,也可選擇使用第13圖所 示内容之MBTYPE-3表,及第14圖所示内容之ΜΒΤγρΕ_4 表。若此,何上述實施例1、2的情況一樣,由於編碼模 ϋ有複.數個,即使編碼模式增加,編碼資料的附加資訊 宁一雙編碼模式資訊的量也不會增加,色哲給予條件的影響 Τ..,仍可實_施—效率I好的.、編—,二針對直接預測和兩方向預 測有相同的預測效果’經由根據V〇L標頭資訊或ν〇Ρ標 頭資訊中的ΜΒΤΥΡΕ表選擇資訊(B V〇P m〇de type),適應 地轉換依據編碼位元率,變化向量編碼量不多的直接預 測’與希望提升在更廣的探索範圍的預測效率之兩方向預 測’即使將量子化轉換附加至全部的模式上,仍可節省表 示ΜΒΤΥΡΕ之密語的位元數。 此外,也可選擇使用第10所示之ΜΒΤγρΕ_2表及第 15學所示的ΜΒΤΥΡΕ-5表。如此,和上述情況一樣,由於 '編碼i莫—文表有複數個’即使編碼模式增加,編碼資料的附 加資sfl中的編瑪模式資訊的量也不會增加,在所給予條件_ 的影響下’仍可實施效率良好的編竭。特別地,MBTYPE-5 ---------Γ,— (請先閲讀背面之注意事項再填寫本頁) -β 線-#- r 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐) 經濟部中央標準局員工消費合作社印製 A7 B7 五、發明説明(25 ) 表,相對於第13圖所示之MBTYPE-3表,係加上了用以 配合位元率的填充之表。在相當於填充的密語解碼時,其 後的微區塊資料並不存在。因此,可符合根據微區塊單位 的小位元率。填充的密語在解碼時僅僅讀取並捨去。 再者,也可選擇使用第10所示之MBTYPE-2表及第 16圖所示的MBTYPE-6表。如此,同樣,即使編碼模式增 加’編碼資料的附加資訊中的編碼模式資訊的量也不會增 加,在所給予條件的影響下,仍可實施效率良好的編碼。 特別地,因為MBTYPE-6表係以未使用直接預測用差分向 量(MVDB)的修正直接預測模式做為第9圖所示之 MBTYPE-1表的直接預測模式的表,經由使用此修正直接 預測模式,在微區塊解碼的過程中,直接預測用差分向量 (MVDB)的解碼過程變成不完全必要,由於附加資訊的量 減少,據此,編碼效率提升。 修正直|預測模式,如第17圖所示,與直接預測不 同,直接預須jJ差分向量(MVDB)通常為0,也就是說不使 用直接預測用差分向量(MVDB),其係使用變化向量本身, _______—----------------------.. 求出f方H利服變化向暈(MVf)、後方向預測用變化_也 *(MVb)的預測方式。 再者,也可選擇使用第10所示之MBTYPE-2表及第 18圖所示的MBTYPE-7表。如此,同樣地即使編碼模式增 加,編碼資料的附加資訊中的編碼模式資訊308的量也不 會增加,在所給予條件的影響下,仍可實施效率良好的編 碼。特別地,因為MBTYPE-7表係將第15圖所示的 28 (請先閲讀背面之注意事項再填寫本頁) r'1 訂 線-#-· 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐) 經濟部中央標準局員工消費合作社印製 A7 B7 五、發明説明(26 ) ~~ MBTYPE-5表的直接預測模式變更為未使用差分向量 (MVDB)的修正直接預測模式的表,,从皇正直接預 測模式」上氣區應鮮碼的過程中,直接預測用差分向量 (MVDB)的料過程變成不完全必要,由於附加資訊的量 減少,據此,編碼效率提升。 — , ' .實施例3 第19 | #'纷不根據實施例3之影像編碼裝置的構成之 方塊圖。在圖中、51係根據章予化方法選擇資訊4〇2兩動 作!1ίΒΤ翌ft錢、52係根據量子化方法選蓋.資 而轉換的轉換部、53係H.263類型量子北-部_、义^ ]VJPEG-2類型1子化部、55係h.263類型逆量子化部、 係MPEG-2類型逆量子化部’其他具有相同參考編號者係 與實施例2之第7圖所示的構成相同者。 總之,貫施例3之影像編碼裝置,更詳細地記载於第 7圖所示之對應於MPEG-4規格的實施例2的影像編碼裝 置之量子化部的構成中,其特徵在於設置了對應使用低 .—.....—…. .....響^^·% f率之H.2^3,格的H·263類型量子化部53及jj·263類型' 逆量子化部55 ’對應使用高位元率的位元率之MPEG-2以 MPEG-2類型量子化部54及MPEG-2類型逆量子化部56, 與根據既存於該等2類型的量子化部之量子化方法選擇資 訊(video object layer quant type)402 而轉換的轉換部 52。 第20圖係繪示第19所示之實施例3的MBTYPE判定 部51的構成之方塊圖。 實施例3的影像編碼裝置的MBTYPE判定部51,基 29 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐) (請先閲讀背面之注意事項再填寫本頁) 、-'0 線Layer) is a component of a moving image object v〇 (Video Object) that includes a time axis, and is composed of a plurality of 乂 〇? ('^ 丨 (160〇Ca (^? 1 & 1 ^). \ ^ 0? Department Shows the status of V0 at each moment. Describes the difference from the encoded bit stream of the first embodiment shown in FIG. 5. In this second embodiment, 'because it is specifically MPEG-4, the encoded video information is VOP standard. The header information 'in the VOP header information, or in the VOL header information of the video object layer of the higher If layer' is set as the encoding mode group selection information, and the MBTPEE table selection information (b VOP mode type) 302. The compressed shape data 301 is also set as additional information of the encoded data of each of the encoded image regions 1 to N. 的 The method of setting the MBTYPE table selection information (B VOP mode type) 302 in the VOL! Header information is greater than that in each VOP Once the VOP header information is set, the MBTYF6 table selection information 302 is set, and the MBTYPE table meal—data tfLj_〇2 can reduce the amount of nitrogen and increase the coding efficiency. At this time, it is not possible to select each coding mode table of the VOP. 》 Encoding side information (MBTYPE) 308 in the additional information The secret of every choreography mode of MBTYgE is set. On the one hand, the quantization step size information in the additional information is 309....... Is set when using DQUANT. For example, that is, The case of the MBTYPE-1 table in FIG. 9 is the case of the encoding mode of backward prediction + quantization conversion, and the case of the encoding mode of forward prediction + quantization conversion. The dynamic information in the additional information uses MVDf, MVDb and MVDB are set. As described above, 'If according to Embodiment 2 which is specifically MPEG-4, relative to 25 ---------- t, ------ IT ------ ^ 1®, I (Please read the precautions on the back before filling this page) Exhaust.. Standards of Standards (CNS) A4 specifications (2H) X297 mm A7 A7 Employee Consumer Cooperatives, Central Standards Bureau, Ministry of Economic Affairs Printed ___B7 _____ V. Description of the invention (23) The first embodiment is actually added; the shape editor belongs to -3 inches. The compressed shape data is 301 spine variable length coding and multiplexing, and the bureau | decoded shape data is in DCT. , Inverse DCT, change detection and change compensation are used. The selection of the MBTYPE table of the encoding mode table is the same as in the first embodiment. The situation is the same as in the case of Embodiment 1. Even if the encoding mode is increased by setting a plurality of encoding mode tables, the amount of encoding mode information 308 in the additional information of the encoded data is not increased, so that efficiency can be obtained. Good winter coding video coding equipment Qin For the second embodiment, by! The padding encoding mode is recorded on both MBTYPE tables 42 and 43. Compared with the case where there is no padding encoding mode, the bit rate can be merged into the bit rate β-... ≪ ',. ≫ The MBTΜPEE-2 table 43 in Fig. 10 not only for padding, but also the direct prediction of the proposed MBTΥPEE-0 table shown in Fig. 2 is changed to internal encoding. The quantization step size of each coding mode is switched to ON / OFF mode, where each coding mode corresponds to each coding mode of internal coding, two-direction prediction, backward direction prediction, and forward direction prediction. In addition, even when encoding in any mode, the quantization step size can be changed, and if the quantization step value of a nearby microblock does not change, it is not necessary to provide quantization step information (DQUANT ) 309 is multiplexed into a bit stream, and a code 0 with good efficiency can be obtained. For Embodiment 2, the MBTYPE table of the encoding mode table is taken as an example to illustrate MBTYPE-1 shown in FIG. 9 and FIG. 10 Table and MBTYPE-2 table, for the purposes of the present invention, It is not limited to these tables, for example, to make 26 paper sizes apply the Chinese National Standard (CNS) A4 specification (210X297 mm) --------- r-^-T.. * ' -(Please read the precautions on the back before filling this page) Printed bags of the Consumer Cooperatives of the Central Standards Bureau of the Ministry of Economics of the Thread ΑΊ ____ Β7 V. Description of the Invention (24) Use the code to remove the padding from the MBTYPE-1 and MBTYPE_2 tables A table of modes, or a coded mode that removes padding from the MBTYPE-2 table, or a table of modes in which quantization step size conversion 0N / 〇FF is prepared on both sides, where quantization step size conversion 0N / The OFF mode corresponds to the encoding of the internal encoding, internal encoding + quantization conversion on the table with direct prediction, direct prediction + direct prediction of quantization conversion, two-direction prediction, backward prediction, and forward prediction. mode. For the encoding mode table, for example, the MBTYPE-3 table shown in FIG. 13 and the MBTγρΕ_4 table shown in FIG. 14 may be used. If this is the case with the above-mentioned embodiments 1 and 2, since there are multiple encoding modes, even if the encoding mode is increased, the amount of additional information of the encoded data will not increase, and the amount of additional encoding mode information will not increase. The impact of the conditions T .., can still be implemented-the efficiency I is good., Edit-, two have the same prediction effect for direct prediction and two-direction prediction 'via the VOL header information or ν〇P header The MBTQPE table selection information (BV〇P m〇de type) in the information is adaptively converted according to the coding bit rate, the direct prediction of the change vector encoding amount is not much, and the hope is to improve the prediction efficiency in a wider exploration range. Direction prediction 'Even if the quantization conversion is added to all modes, the number of bits representing the secret of MBTQPE can be saved. Alternatively, the MBTγρE_2 table shown in Fig. 10 and the MBTQPEE-5 table shown in Fig. 15 may be used. In this way, as in the above case, since the "encoding i-mo-text table has a plurality of numbers", even if the encoding mode is increased, the amount of encoding mode information in the additional data sfl of the encoded data will not increase. It is still possible to implement efficient editing. In particular, MBTYPE-5 --------- Γ, — (Please read the notes on the back before filling out this page) -β 线-#-r This paper size applies to China National Standard (CNS) A4 (210X297 mm) A7 B7 printed by the Consumer Cooperatives of the Central Bureau of Standards of the Ministry of Economic Affairs 5. Description of the invention (25) Tables are added to the MBTYPE-3 table shown in Figure 13 to match the bit rate. Filled table. When the equivalent cipher is decoded, the subsequent microblock data does not exist. Therefore, a small bit rate according to a microblock unit can be met. The filled cipher is only read and discarded when decoding. Alternatively, the MBTYPE-2 table shown in Fig. 10 and the MBTYPE-6 table shown in Fig. 16 may be used. In this way, similarly, even if the amount of coding mode information in the additional information of the coded data is not increased, efficient coding can be performed under the influence of the given conditions. In particular, because the MBTYPE-6 table uses a modified direct prediction mode that does not use a direct prediction difference vector (MVDB) as the table of the direct prediction mode of the MBTYPE-1 table shown in FIG. 9, the direct prediction is performed by using this modification. In the microblock decoding mode, the decoding process of the direct prediction differential vector (MVDB) becomes incomplete. As the amount of additional information is reduced, the coding efficiency is improved accordingly. Modified straight | prediction mode, as shown in Figure 17, unlike direct prediction, the direct prerequisite jJ difference vector (MVDB) is usually 0, which means that the direct prediction difference vector (MVDB) is not used, which uses the change vector Itself, _______--------------- .. Find the f-side H service change to halo (MVf), change in the backward direction prediction_also * (MVb). Alternatively, the MBTYPE-2 table shown in Fig. 10 and the MBTYPE-7 table shown in Fig. 18 may be used. In this way, even if the encoding mode is increased, the amount of encoding mode information 308 in the additional information of the encoded data will not increase, and efficient encoding can still be performed under the influence of the given conditions. In particular, because the MBTYPE-7 table is the 28 shown in Figure 15 (please read the precautions on the back before filling this page) r'1 Order-#-· This paper size applies to China National Standard (CNS) A4 Specifications (210X297 mm) Printed by the Consumers' Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs A7 B7 V. Description of the invention (26) ~~ The direct prediction mode of the MBTYPE-5 table was changed to the modified direct prediction mode without using the differential vector (MVDB) Table, from the Huangzheng direct prediction model, in the process of applying fresh codes to the gas area, the process of directly predicting the difference vector (MVDB) is not completely necessary. As the amount of additional information is reduced, the coding efficiency is improved accordingly. —, '. Embodiment 3 19th | #' It is not a block diagram of the structure of the image coding apparatus according to Embodiment 3. In the picture, 51 is based on the chapter pre-chemical method to select the information 402 two actions! 1ίΒΤ 翌 ft, 52 series are selected according to the quantization method. Conversion section for conversion, 53 series H.263 type quantum north-part _, meaning ^] VJPEG-2 type 1 sub-chemical part, 55 series h.263 The type inverse quantization unit and the MPEG-2 type inverse quantization unit are those having the same reference numbers as those having the same configuration as shown in FIG. 7 of Embodiment 2. In short, the video encoding device of the third embodiment is described in more detail in the structure of the quantization unit of the video encoding device of the second embodiment corresponding to the MPEG-4 standard shown in FIG. Corresponding to the use of low .—.....—… .......... ^^ ·% f rate of H.2 ^ 3, lattice H · 263 type quantization unit 53 and jj · 263 type 'inverse quantum The quantization unit 55 ′ corresponds to the MPEG-2 using a high bit rate, the MPEG-2 type quantization unit 54 and the MPEG-2 type inverse quantization unit 56, and the The quantization method selects a video object layer quant type 402 and converts the conversion unit 52. Fig. 20 is a block diagram showing the configuration of the MBTYPE determination unit 51 of the third embodiment shown in Fig. 19. MBTYPE judging unit 51 of the image coding device of the third embodiment is based on the paper size of China National Standard (CNS) A4 (210X297 mm) (please read the precautions on the back before filling this page), -'0 line

經濟部中央標準局員工消費合作社印製 A7 B7 五、發明説明(27 ) 本上和第8圖所示之實施例2的MBTYPE判定部31相同, 其不同點在於,如圖所示,轉換部61,取代了 MBTYPE_ ..... _ ------- ....... 表選擇資訊302,而根據現有的量子化選擇資訊402丄 轉換MBTYPE-1表42及MBTYPE-2表43。其他的構成, 由於與實施例2的影像編碼裝置之構成相同,故以相同之 標號標示,其說明則省略。 接著,說明其動作。 實施例3之動作,基本上和第11圖所示的實施例2的 動作一樣。但是,在實施例3中,由於是利用H.263類型 量子化部53與MPEG-2類型量子化部54進行量子化方法 ^--------------------------------------- ---------— ................................................- 的轉換,所以下面的處理不同。 第21圖係繪示第11圖之步驟ST28的量子化處理的動 作之流程圖。在第21圖的步驟ST41中,第19圖的轉換部 52係根據現有的量子化方法選擇資訊402,判斷量子化方 法是否為H.263方式。 在此,當量子化方法選擇資訊402為H.263時,在接 下來的步驟ST42中,H_263類型量子化部53依據低位元 率所對應的MBTYPE-5表進行量子化。另一方面,當量子 化方法選擇資訊402為MPEG-2時,在步驟ST43中, MPEG-2類型量子化部54依據高位元率所對應的 MBTYPE-2表進行量子化。 對實施例3,在第11圖的步驟ST30之逆量子化處理 中,轉換部52在第21圖的步驟ST41中,當量子化方法選 擇資訊402被判斷是H.263時,H.263類型逆量子化部55 30 本紙張尺度適用中國國家標準(CNS ) Α·4規格(210X 297公釐) I--------C------、βτ------#-111- (請先閱讀背面之注意事項再填寫本頁) 經濟部中央標準局員工消費合作社印製 A’7 —------------B7 五、發明説明(28 ) 一' 依據低位元率所對應的ΜΒΤγρΕ_丨表進行逆量子化。另一 方面’當量子化方法選擇資訊4〇2判斷為MPEg_2時, MPEG-2類型逆量子化部56依據高位元率所對應的 MBTYPE-2表進行逆量子化。 第22圖係繪示實施例3的影像轉磾裝置編碼輸出之轉 不I位元流的構造之圖式。茲說明與第12圖所示之實施例2 的編碼位元流間的差異,在實施例3中,使用儲存有v〇L 標頭資訊的現有夂量子化方法選擇資訊(video 〇bject iayer quant type)402,做為編碼模式群選擇資訊的MBTYPE表 選擇資訊(B VOP m〇de type)302,並不重新設置MBTYPE 表選擇資訊(B VOP m〇de type)302給VOL標頭資訊或VOP 標頭資訊。 因此,只要不重新設置MBTYPE表選擇資訊(B VOP modetype)302,編碼位元流416 +的VOL標頭資訊或VOP 標頭資訊的量就不會增加,無須附加任何的附加資訊至編 碼位元流416的現狀的句法中,編碼效率便可提升。 如上述’若依據實施例3,由於除了量子化方法的轉 換外均與實施例2的裝置相同,和上述實施例2的情況一 樣’即使編碼模式增加,編碼資料的附加資訊中的編碼模 式資訊的量也不會增加,在所給予條件的影響下,仍可實 施效率良好的編碼,由教像_用· YOL-標頭資訊中的既有的量 子池方法選擇資訊4.02做為MBTYPE表選禪資訊302,無 .一 ^ . …- --... 須附加色何的既和資m至編碼位元瘫416的現狀的句法 中,便可實現能提升編碼效率的影像編碼裝置。 .......•一 ‘ 31 本紙張尺度適用中國國家標準(CNS ) Α4規格(210X297公釐) ---------r--------IT------ (請先閲讀背面之注意事項再填寫本頁) A7 B7 經濟部中央操準局員工消費合作社印製 五、發明説明(29 ) 對於使用低位元率的H 263規格,依據對應於使用高 位το率的位兀率之MPEG-2,可實現可能對應於低位元率 至咼位兀率之寬廣範圍之位元率的影像編碼裝置。 對實施例3,以說明mbtypej表及ΜΒΤγρΕ_2表為 例,如對上述實施例2的說明,另外,可使用對應低位元 率的 ΜΒΤΥΡΕ 表’例如 ΜΒΤγρΕ 〇、μΒΤΥΡΕ_3、 ΜΒΤΥΡΕ-5、ΜΒΤΥΡΕ-6、ΜΒΤΥΡΕ-7,也可使用對應高 位元率的MBTYPp表,例如μβτυρε_4。 實施例4 實施例4之影像解碼裝置係對構成數位動態影像等的 景列之各時刻的影像做為單位進行解碼,各影像係以 刀割為更小衫像區域的單位進行解碼,對應於編碼裝置侧 的被編碼影像區域做為最小解碼單位的影像區域被稱為,, 被解馬〜像區域’對應於編碼裝置侧的被編碼影像,利用 集合被解碼影像區域所構成的各時刻之影像被稱為,,被解 碼影像,,。被解觸㈣例子為㈣13818领明確指 出的微區塊,被解碼影像的例子則如視訊信號之影像幢、 ISO/ IETC JTC1/SC29/WG11 Ν1796所明確指示的視訊物體 平面。 實施例4之影像解媽裝置係包括根據由被解碼影像區 域決定的編碼模式,相對於進行解碼的先前之解碼褒置, 加的編碼模式表選擇資訊細,特定 所使用的編鮮鱗·」鄉特㈣表上的編碼模式群 中i定—各轉郷縣義編碼模式,並進行解碼的機 32 卜紙織適用中國 (請先閲讀背面之注意事項再填寫本頁) --- ,1Τ m fit— (i Kn 線--- .J-Lr: 經濟部中央標準局員工消費合作社印製 A7 B7五、發明説明(30 ) 構,對應於上述實施例1的影像編碼裝置之解碼裝置。_ 第23圖係繪示根據實施例4之伸張再現被壓縮編碼的 數位影像之影像解碼裝置的構成之方塊圖。在圖中,71 是句法解析•可變長度編碼部、72係逆量子化部、73係 逆正交變換部、74係變化補償部、75係記憶體、76係轉 換部、77係加法部。 第24圖係第23圖所示之句法解析•可變長度編碼部 71的構成之方塊團。在圖中,81係編碼模式表選擇資訊 解碼部、82係轉換部、83係編碼模式表A解碼部、84 係編碼模式表B解碼部、85係量子化步長解碼部、86係 變化資訊解碼部、87係壓縮影像資料解碼部。 第25圖係第23圖所示之變化補償部74的構成之方塊. 圖。在圖中,91係轉換部、92係預測方式1實施部、93 係預測方式2實施部、94係預測方式3實施部、95係預 測方式4實施部。 接下來說明其動作。 第26圖係繪示實施例4之影像解碼裝置的解碼處理之 動作的流程圖。 首先,在步驟ST51中,第23圖的句法解析•可變長 度編碼部71係解析第5圖所示構造之編碼位元流213,切 分為壓縮影像資料205、量子化步長資訊207、變化資訊 ------------------------------- ........- 208等各個編碼資料並輸出。此時,經由對微區塊等的被 編碼影像區域之每一被預測影像區域晝面内之位置資訊計 數,在總計後輸出。對於此句法解析處理,通常係檢出做 33 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐) (請先閲讀背面之注意事項再填寫本頁) 訂 經濟部中央標準局員工消費合作社印袋 A7 B7 五、發明説明(31 ) 為每一個幀的集合、幀等的單位區隔的啟始碼,據此進行 該階層的解碼,在此的句法解析處理,僅以對微區塊等的 被解碼影像區域的資料之解析的段階之處理為對象。編碼 模式資訊206被用於對被解碼影像區域之上位的被解碼影 像等的位階的資料進行解碼。 - 在步驟ST52中,逆量子化部72係使用量子化步長資 訊207對壓縮影像資料205進行逆量子化,並輸出正交變 換係數215。在隶驟ST53中,逆正交變換部73係對正交 變換係數215進行逆正交變換,並輸出解碼預測誤差信號 216。正交變換係DCT(離散餘弦變換)等,與在編碼側所 使用者相同。 在步驟ST54中,在以相互模式編碼的被解碼影像區 域的解碼時,變化補償部74係以句法解析•可變長度編碼 部71輸入從編碼位元流213解碼的變化資訊208、被預測 影像區域晝面内之位置資訊214,以進行變化補償,並從 記憶體75的參考影像218取出預測影像219,送到轉換部 76 ° 對於步驟ST52、ST53的逆量子化處理及逆正交變換 處理,步驟ST54的變化補償處理,即使不按照此一順序 也可以,此一相反的順序同時進行當然也可以。 在步驟ST55中,轉換部76係根據以句法解析•可變 長度編碼部71從編碼位元流213中解碼的編碼模式資訊 206,判斷是否是以相互模式被編碼。然後,在以相互模 式編碼的被解碼影像區域的情況下,在步驟ST56中,轉 34 (請先閲讀背面之注意事項再填寫本頁) Γ· 訂 ,線-UU· 本紙張又度適用中國國家標準(CNS ) A4規格(210X 297公釐) 第86115728號說明書修正頁 Λ7 B? ^曰期:88·1·26 五、發明説明(32) 換部%將預測影像219輸出至加法部7 將預測影像219加至逆正交變換部7巾,加法部77 號216上,並輸出為解竭影像信镜217。、^預测誤差信 内部模式編碼的被解碼影像區域 另—方面,在以 中,轉換部76將輪出。至加法部77中下二在步驟ST57 正交變換部73的解碼預測誤差信以逆 信號217。 輸出為解碼影像 社联傻的步驟ST58中 經濟部中央標準局負工消費合作社印製 :碼部71係根據如第5圖所示之被編;影::: = :等,判_影像的每-解碼處理二== 可檢出被編喝影像區域的編碼資料等的情況 的全部編碼資料還有’由於解碼 护虛理U AL上 丹董複從最初的步驟ST51開 ^情況^ * 法檢出被編碼影㈣柄編碼資料等 」 由於解碼的全部編碼f料已經沒有以 解碼處理。此解碼影像信號217係 f :=^裝置(未_,在以後的Sr. 亏和像218,並寫入至記憶體75中。 暮27圖係表示句法解析•可變長度編碼部η的動 也就是第26目的步驟ST51的處理之流程圖。 資π艇w在步驟灯61中’第24圖的編碼模式表選擇 β解碼。"1係對編碼位元流213令 擇資訊200進行解石馬。 ,模式表選 在步驟ST62中,轉換部82係根據被解碼的編碼模式 表選擇資訊200’判斷該編碼模式表選擇資訊2〇〇是否被 -----------— (請先閱讀背面之注意事項再填寫本頁) 1T^----- _ ::」:LL_Printed by the Consumer Standards Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs A7 B7 V. Description of the Invention (27) The MBTYPE determination section 31 of the second embodiment shown in FIG. 8 is the same, except that, as shown in the figure, the conversion section 61, replaced MBTYPE_ ..... _ ------- ....... table selection information 302, and converted MBTYPE-1 table 42 and MBTYPE-2 based on existing quantization selection information 402 Table 43. The other structures are the same as those of the video encoding device of the second embodiment, and therefore are denoted by the same reference numerals, and descriptions thereof are omitted. Next, the operation will be described. The operation of the third embodiment is basically the same as that of the second embodiment shown in FIG. However, in Embodiment 3, the quantization method is performed by using the H.263 type quantization unit 53 and the MPEG-2 type quantization unit 54. ---------------------- ----------- ........ .............................- conversion, so the following processing is different. Fig. 21 is a flowchart showing the operation of the quantization process in step ST28 of Fig. 11. In step ST41 in FIG. 21, the conversion unit 52 in FIG. 19 selects information 402 based on the existing quantization method, and determines whether the quantization method is the H.263 method. Here, when the quantization method selection information 402 is H.263, in the next step ST42, the H_263 type quantization unit 53 performs quantization according to the MBTYPE-5 table corresponding to the low bit rate. On the other hand, when the quantization method selection information 402 is MPEG-2, in step ST43, the MPEG-2 type quantization unit 54 performs quantization according to the MBTYPE-2 table corresponding to the high bit rate. In the third embodiment, in the inverse quantization process in step ST30 in FIG. 11, the conversion unit 52 is in the step ST41 in FIG. 21 when the quantization method selection information 402 is determined to be H.263, and the H.263 type Department of Inverse Quantization 55 30 This paper size applies Chinese National Standard (CNS) A · 4 specifications (210X 297mm) I -------- C ------, βτ ------ # -111- (Please read the notes on the back before filling this page) Printed by the Consumer Cooperatives of the Central Bureau of Standards of the Ministry of Economic Affairs A'7 —------------ B7 V. Invention Description (28 ) A 'Perform inverse quantization according to the MBTγρΕ_ 丨 table corresponding to the low bit rate. On the other hand, when the quantization method selection information 402 is judged to be MPEg_2, the MPEG-2 type inverse quantization unit 56 performs inverse quantization according to the MBTYPE-2 table corresponding to the high bit rate. Fig. 22 is a diagram showing the structure of the I-bit stream of the coded output of the image conversion device of the third embodiment. The difference from the encoded bit stream of the second embodiment shown in FIG. 12 will be described. In the third embodiment, the existing 夂 quantization method selection information (video 〇bject iayer quant) which stores the v0L header information is used. type) 402, MBTYPE table selection information (B VOP móde type) 302 as the coding mode group selection information, and does not reset the MBTYPE table selection information (B VOP móde type) 302 to VOL header information or VOP Header information. Therefore, as long as the MBTYPE table selection information (B VOP modetype) 302 is not reset, the amount of VOL header information or VOP header information of the encoded bit stream 416 + will not increase, without any additional information being added to the encoding bit. In the current syntax of stream 416, encoding efficiency can be improved. As described above, "if according to Embodiment 3, since it is the same as the device of Embodiment 2 except for the conversion of the quantization method, it is the same as the case of Embodiment 2" even if the encoding mode is increased, the encoding mode information in the additional information of the encoded data The quantity will not increase, and under the influence of the given conditions, efficient encoding can still be implemented. It is taught by the teacher_using the existing quantum pool method selection information 4.02 in the YOL-header information as the MBTYPE table selection Zen information 302, none. One ^... ---... In the current syntax of the encoding bit paralysis 416, it is necessary to add a color image to an image encoding device that can improve encoding efficiency. ....... • 一 '31 This paper size applies Chinese National Standard (CNS) Α4 specification (210X297 mm) --------- r -------- IT --- --- (Please read the precautions on the back before filling this page) A7 B7 Printed by the Consumer Cooperatives of the Central Office of the Ministry of Economic Affairs V. Invention Description (29) For the H 263 specification using a low bit rate, the basis corresponds to the use The high bit rate MPEG-2 bit rate MPEG-2 can realize an image coding device that can correspond to a wide range of bit rates from low bit rates to high bit rates. For the embodiment 3, the mbtypej table and the MBTγρE_2 table are taken as examples. As described in the above embodiment 2, in addition, the MBT × PEE table corresponding to a low bit rate, such as MBTγρE 0, μΒΤΥΡΕ_3, ΜΒΤΒΡΕ-5, ΜΒΤΒΡΕ-6, MBTQPE-7 can also use MBTYPp tables corresponding to high bit rates, such as μβτυρε_4. Embodiment 4 The image decoding device of Embodiment 4 decodes the image at each moment constituting a scene sequence such as a digital dynamic image as a unit, and each image is decoded in units of a knife-shaped image area, corresponding to The encoded image area on the encoding device side is referred to as the image area with the smallest decoding unit. The decoded image to the image area 'corresponds to the encoded image on the encoding device side. The image is called ,,, and the decoded image. The examples of de-triggering are the microblocks explicitly indicated by the 13818 collar, and the examples of decoded images are the video block of the video signal, and the video object plane clearly indicated by ISO / IETC JTC1 / SC29 / WG11 Ν1796. The image decoding device of the fourth embodiment includes a coding mode table that selects detailed information and specifies the coding scale used according to the coding mode determined by the decoded image area, compared to the previous decoding settings for decoding. " Set the encoding mode group on the township special table—the encoding mode for each county and decode it. 32. Paper weaving is applicable to China (please read the precautions on the back before filling this page) --- 1T m fit— (i Kn line ---. J-Lr: A7 B7 printed by the Consumer Cooperatives of the Central Standards Bureau of the Ministry of Economic Affairs of the People's Republic of China (5) Invention Description (30) structure, corresponding to the decoding device of the image coding device of the first embodiment described above. _ Fig. 23 is a block diagram showing the structure of an image decoding device that expands and reproduces a compression-encoded digital image according to the fourth embodiment. In the figure, 71 is a syntax analysis and variable-length encoding unit, and 72 is inverse quantization. Section, 73 series inverse orthogonal transform section, 74 series change compensation section, 75 series memory, 76 series conversion section, 77 series addition section. Figure 24 shows the syntax analysis and variable length coding section shown in Figure 23 The composition of the block group. In the figure, the 81 series Code mode table selection information decoding section, 82 series conversion section, 83 series coding mode table A decoding section, 84 series coding mode table B decoding section, 85 series quantization step size decoding section, 86 series change information decoding section, 87 series compression Image data decoding section. Figure 25 is a block diagram of the structure of the change compensation section 74 shown in Figure 23. Figure. In the figure, the 91 series conversion section, the 92 series prediction method 1 implementation section, and the 93 series prediction method 2 implementation section The reference numerals 94 and 94 are implementation units of the prediction mode 3. The operations are described below. The operation is described below. Fig. 26 is a flowchart showing the operation of the decoding process performed by the video decoding device of the fourth embodiment. First, in step ST51 In Fig. 23, the syntax analysis and variable length encoding unit 71 analyzes the encoded bit stream 213 constructed in Fig. 5 and divides it into compressed image data 205, quantization step information 207, and change information --- ---------------------------- ........- 208 and other encoded data and output. At this time, A count of the position information in the daytime plane of each predicted image area such as a microblock, etc., is output after totaling. For this syntax solution Analytical processing is usually carried out after checking out 33 paper sizes that are applicable to Chinese National Standard (CNS) A4 specifications (210X297 mm) (please read the precautions on the back before filling this page) Order the printed bags of the Consumer Cooperatives of the Central Standards Bureau of the Ministry of Economic Affairs A7 B7 V. Description of the invention (31) is the start code of the unit segmentation of each set of frames, frames, etc., and the decoding of this hierarchy is performed accordingly, and the syntax analysis processing here is only for microblocks and other The process of analyzing the stages of the data in the decoded image area is targeted. The encoding mode information 206 is used to decode the data of the ranks such as the decoded image above the decoded image area. -In step ST52, the inverse quantization unit 72 performs inverse quantization on the compressed image data 205 using the quantization step information 207, and outputs an orthogonal transform coefficient 215. In step ST53, the inverse orthogonal transform unit 73 performs inverse orthogonal transform on the orthogonal transform coefficient 215, and outputs a decoded prediction error signal 216. The orthogonal transform system, such as DCT (Discrete Cosine Transform), is the same as the user on the encoding side. In step ST54, when decoding the decoded video region coded in the mutual mode, the change compensation unit 74 performs syntax analysis. The variable-length coding unit 71 inputs the change information 208 decoded from the coded bit stream 213 and the predicted video. The position information 214 in the day and time of the area is used to compensate for the change, and the prediction image 219 is taken from the reference image 218 of the memory 75 and sent to the conversion unit 76 °. The inverse quantization processing and inverse orthogonal transform processing of steps ST52 and ST53 The change compensation process in step ST54 may be performed even if the order is not followed, and the reverse order may be performed simultaneously. In step ST55, the conversion unit 76 determines whether or not the encoding is performed in the mutual mode based on the encoding mode information 206 decoded from the encoded bit stream 213 by the syntax analysis / variable length encoding unit 71. Then, in the case of the decoded image area coded in the mutual mode, in step ST56, turn to 34 (please read the precautions on the back before filling this page) Γ · Order, line-UU · This paper is again suitable for China National Standard (CNS) A4 Specification (210X 297mm) No. 86115728 Revised Sheet Λ7 B? ^ Date: 88 · 1 · 26 V. Description of the Invention (32) Change Unit% Output prediction image 219 to Addition Unit 7 The prediction image 219 is added to the 7th inverse orthogonal transform section, and the addition section 77 is No. 216, and is output as an exhaustive image signal mirror 217. ^ Prediction error signal Decoded image region encoded by the internal mode. On the other hand, in the above, the conversion section 76 will rotate out. In the addition section 77, the second and lower decoded prediction error signals of the orthogonal transform section 73 in step ST57 are inverse signal 217. The output is decoded in the step ST58 of the Decoding Video Association. Printed by the Consumers' Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs: The code 71 is compiled according to the figure shown in Figure 5. Shadow ::: =: Etc. Every-decoding process 2 == all the encoded data in the case where the encoded data of the image area can be detected and there is also 'Dong Dong Fu from the initial step ST51 due to the decoding of the security guard U AL ^ case ^ * method Detected encoded video encoding data, etc. "Because all the decoded encoded data has not been processed for decoding. This decoded video signal 217 is a f: = ^ device (not _, a later Sr. loss image 218, and is written into the memory 75. Fig. 27 shows the syntax analysis and the operation of the variable-length encoding unit η. That is, the flowchart of the processing of step ST51 of the 26th objective. In the step lamp 61, the π boat selects β decoding in the encoding mode table of FIG. 24. " 1 is to decode the encoding bit stream 213 command selection information 200 Shima. In step ST62, the conversion unit 82 judges whether the coding mode table selection information 200 has been decoded according to the decoded coding mode table selection information 200 '------------ — (Please read the notes on the back before filling this page) 1T ^ ----- _ :: ”: LL_

」IJJ ~~:______ 35 本紙張尺錢 經濟部中央標準扃員工消費合作社印裝 A7 B7 . 五、發明説明(33 ) 設定為〇,並轉換輸出。在此,當轉換部82判斷該編碼模 式表選擇資訊200被設定為〇時,編碼位元流213被輸出 至編碼模式表A解碼部83,在步驟ST63中,編碼模式表 A解碼部83係將使用編碼模式表a的編碼模式資訊2〇6 解碼另外,在轉換部82判斷該編碼模式表選擇資訊2〇〇 被没定為1時,編碼位元流213被輸出至編碼模式表B解 碼部84,在步驟ST64中,編碼模式表b解碼部84係將使 用編碼模式表B蚱編碼模式資訊206解喝。 在步驟ST65中,量子化步長解碼部85輸入編碼位元 流213及解碼的編碼模式資訊206,以判斷編碼模式資訊 206是否指示量子化步長的變更。當指示量子化步長變更 時,在步驟ST66中,量子化步長解碼部85將量子化步長 資訊207解碼。另外,在不指示量子化步長變更時,在步 驟ST67中’量子化步長解碼部85將量子化步長資訊2〇7 設定為〇。在步驟ST68中,量子化步長解碼部85係決定 輸出量子化步長為步驟ST66或步驟ST67求出的值。 在步驟ST69中,變化資訊解碼部86輸入編碼位元流 213及解碼的編碼模式資訊206,以判斷編碼模式資訊2〇6 是否指示有變化資訊。當指示有變化資訊時,在步驟ST7〇 中’變化資訊解碼部86將變化資訊208解碼。 在最後的步驟ST71中,壓縮影像資料解碼部87係將 輸入編碼位元流213的壓縮影像資料205解碼並輪出。 第28圖係繪示變化補償部74 ’即第26圖之步驟ST54 的變化補償處理的流程圖。 本紙張又度適用中國國家標準(CNS ) A4規格(210X297公釐) ---------Γ-------------線 " (請先閲讀背面之注意事項再填寫本頁) 經濟部中央標準局員工消費合作社印製 A7 B7 五、發明説明(34 ) 在步驟ST81、ST83、ST85中,第25圖的轉換部91 係判斷是否指示編碼模式資訊206為預測方式1〜4中之任 一個。 在步驟ST81中,在判斷指示編碼模式資訊206為預測 方式1時,變化資訊208被送到預測方式1實施部92,在 步驟ST82中,預測方式1實施部92輸入變化資訊208及 被預測影像區域晝面内位置資訊214,根據預測方式1產 生預測影像217。, 同樣地,在步驟ST83中,在判斷指示編碼模式資訊 206為預測方式2時,在步驟ST84中,預測方式2實施部 93根據預測方式2產生預測影像217。 在步驟ST85中,在判斷指示編碼模式資訊206為預測 方式3時,在步驟ST86中,預測方式3實施部94根據預 測方式3產生預測影像217。然後,在步驟ST85中,在判 斷指示編碼模式資訊206為預測方式4時,在步驟ST87 中,預測方式4實施部95根據預測方式4產生預測影像 217。 如上述,若依據實施例4的影像解碼裝置,接收編碼 模式表選擇資訊及編碼模式資訊被多工化而成的位元流, 根據編碼模式表選擇資訊,選擇編碼模式表解碼部,由於 根據編碼模式資訊轉換預測方式並進行解碼,即使是附加 資訊中的編碼模式資訊的量小的編碼位元流時,也可以正 確地進行解碼,在所給予的條件下,仍可得到能進行效率 良好之解碼的解碼裝置。 37 (請先閎讀背面之注意事項再填寫本頁)”IJJ ~~: ______ 35 This paper ruler Central Standard of the Ministry of Economic Affairs 印 Printed by employee consumer cooperatives A7 B7. V. Description of Invention (33) Set to 0 and convert the output. Here, when the conversion unit 82 determines that the encoding mode table selection information 200 is set to 0, the encoded bit stream 213 is output to the encoding mode table A decoding unit 83. In step ST63, the encoding mode table A decoding unit 83 is Decoding encoding mode information 20 using the encoding mode table a. When the conversion unit 82 determines that the encoding mode table selection information 200 is not set to 1, the encoding bit stream 213 is output to the encoding mode table B and decoded. The unit 84 decodes the encoding mode table b grasshopper encoding mode information 206 in step ST64. In step ST65, the quantization step size decoding unit 85 inputs the encoded bit stream 213 and the decoded encoding mode information 206 to determine whether the encoding mode information 206 indicates a change in the quantization step size. When the quantization step size is instructed to change, the quantization step size decoding unit 85 decodes the quantization step size information 207 in step ST66. When the quantization step size change is not instructed, the 'quantization step size decoding unit 85 sets the quantization step size information 207 to 0 in step ST67. In step ST68, the quantization step size decoding unit 85 determines that the output quantization step size is the value obtained in step ST66 or step ST67. In step ST69, the change information decoding section 86 inputs the encoded bit stream 213 and the decoded encoding mode information 206 to determine whether the encoding mode information 206 indicates that there is change information. When the change information is instructed, the 'change information decoding unit 86 decodes the change information 208 in step ST70. In the last step ST71, the compressed video data decoding unit 87 decodes the compressed video data 205 of the input coded bit stream 213 and rotates it out. Fig. 28 is a flowchart showing a change compensation process of the change compensation unit 74 ', that is, step ST54 of Fig. 26. This paper is again applicable to China National Standard (CNS) A4 specification (210X297 mm) --------- Γ ------------- line " (Please read the Note: Please fill in this page again) Printed by the Consumer Standards Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs A7 B7 V. Description of the invention (34) In steps ST81, ST83, and ST85, the conversion section 91 in Figure 25 determines whether to instruct the coding mode information It is one of prediction methods 1 to 4. In step ST81, when it is determined that the encoding mode information 206 is prediction method 1, the change information 208 is sent to the prediction method 1 implementation section 92. In step ST82, the prediction method 1 implementation section 92 inputs the change information 208 and the predicted image. The regional in-day position information 214 generates a prediction image 217 according to the prediction method 1. Similarly, when it is determined in step ST83 that the encoding mode information 206 is the prediction mode 2, in step ST84, the prediction mode 2 implementation unit 93 generates a prediction image 217 based on the prediction mode 2. In step ST85, when it is determined that the encoding mode information 206 is the prediction method 3, in step ST86, the prediction method 3 implementation unit 94 generates a prediction image 217 based on the prediction method 3. Then, in step ST85, when it is determined that the encoding mode information 206 is the prediction mode 4, in step ST87, the prediction mode 4 implementation unit 95 generates a prediction video 217 based on the prediction mode 4. As described above, if the image decoding device according to Embodiment 4 receives the bit stream obtained by multiplexing the encoding mode table selection information and the encoding mode information, and selects the encoding mode table decoding unit according to the encoding mode table selection information, The encoding mode information is converted into a prediction method and decoded. Even when the encoding bit stream has a small amount of encoding mode information in the additional information, it can be correctly decoded. Under the given conditions, it can still achieve good efficiency. Decoding device for decoding. 37 (Please read the notes on the back before filling out this page)

—W 訂 線#- 本纸張尺度適用中國國家標準(CNS ) A4規格(210X 297公釐) A7 經濟部中 / 央標準局員工消費合作社印裝 五、發明説明(35 ) 實施例5 實施例5的影像解碼裝置係將第23 的影像解碼裝置改良為對應於MPEG-4的規5的實施例4 於:施例2之對應__4規格之影像編:置:::應 碼裝置。 ’衣置的影像解 ,29圖係繪示實施例5之影像解碼 圖。在圖中,101係句法解析•可變長度編碼二,方塊 碼部、叫係逆DCT部、_係變化補償部:: ^相同參考編號者係與實施例4之第23圖所示的構成相 第23圖繪示與實施例4的解碼裝置間的差異,在實施 例5中’設置了逆DCT部1〇3以做為逆正交變換部,句誇 解析•可變長度編碼部1G1從編竭位元流316中將做為編 碼的PE3 0.?、做為壓縮影像資料的區塊資 料307、還有壓縮形狀廣料3〇 1解碼。然後重新設置MPEG_4 特有的形狀解碼部1〇2,形狀解碼部1〇2將壓縮形狀資料 301解碼,而求出解碼形狀資料318。此解碼形狀資料318 係由逆DCT部1〇3、變化補償部1〇4所反映而被構成。即 使疋MPEG-4,在使用做為被編碼影像的視訊信號等的矩 形影像幀時,由於形狀資料一定是矩形,所以在此時不需 要形狀解碼部102。 第30圖係繪示第29圖所示之實施例5的句法解析· 可變長度解碼部101的構成之方塊圖。在圖中,ιη係 MBTYPE表選擇資訊解碼部、112係形狀資料解碼部、 38 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐) (請先聞讀背面之注意事項再填寫本頁) .W. -訂. 線 經濟部中央標準局員工消費合作社印製 A'7 ----------- -B7 五 '發明説明(36 ) ' 113係MODB解碼部、114係轉換部、115係跨越時資料 設定部、116係轉換部、117係碼部、118 係MBTYPE-2解碼部、i丨9係轉換部、i 2〇係cBpB解碼 部、121係CBPB歸零設定部、122係填充快速讀取部、—W 定 线 #-This paper size is applicable to Chinese National Standard (CNS) A4 specification (210X 297 mm) A7 Printed by the Consumer Consumer Cooperative of the Central / Central Standards Bureau of the Ministry of Economic Affairs 5. Description of the invention (35) Example 5 Example The image decoding device of 5 is the embodiment 4 of the MPEG-4 specification 5 which is improved to the 23rd image decoding device. The image coding corresponding to the __4 specification in Example 2: setting ::: should be coded device. The image solution of the clothes is shown in FIG. 29, which is the image decoding image of the fifth embodiment. In the figure, 101 series of syntax analysis • variable length coding 2, block code section, called inverse DCT section, _ series change compensation section: ^ The same reference number is the structure shown in Figure 23 of Embodiment 4 Fig. 23 shows the difference from the decoding device of the fourth embodiment. In the fifth embodiment, "the inverse DCT unit 10 is provided as the inverse orthogonal transform unit, and the sentence exaggeration analysis and the variable length encoding unit 1G1 From the exhausted bit stream 316, PE3 0.?, Which is the encoding, block data 307, which is the compressed image data, and compressed shape material 301, are decoded. Then, the shape decoding unit 102 unique to MPEG_4 is reset, and the shape decoding unit 102 decodes the compressed shape data 301 to obtain the decoded shape data 318. This decoded shape data 318 is configured by being reflected by the inverse DCT section 103 and the change compensation section 104. Even if 疋 MPEG-4 uses a rectangular video frame, such as a video signal as a coded video, the shape data must be rectangular, so the shape decoding unit 102 is not required at this time. Fig. 30 is a block diagram showing the structure of the syntax analysis and variable-length decoding unit 101 of the fifth embodiment shown in Fig. 29. In the figure, ιη series MBTYPE table selection information decoding section, 112 series shape data decoding section, 38 paper sizes are applicable to China National Standard (CNS) A4 specifications (210X297 mm) (Please read the precautions on the back before filling in this Page) .W. -Order. Printed by the Consumers Cooperative of the Central Standards Bureau of the Ministry of Online Economics A'7 ----------- -B7 Five 'Invention Description (36)' 113 MODB Decoding Department, 114 System conversion section, 115 series crossover data setting section, 116 series conversion section, 117 series code section, 118 series MBTYPE-2 decoding section, i 丨 9 series conversion section, i20 series cBpB decoding section, and 121 series CBPB return to zero Setting section, 122 series filling fast reading section,

123係轉換部、124係DQUANT解碼部、125係DQUANT 歸零設定部、126係加法部、127係變化資訊碼部、128 係加法部、130係區塊資料解碼部、131係區塊資料歸零 設定部。 » MBTYPE-1 解碼部 117 的 MBTYPE-1 表、及 MBTYPE-2 解碼部118的MBTYPE-2表各自具有以實施例2的編碼裝 置所說明的第9圖及第1〇圖之内容。 第31圖係繪示第29圖所示的實施例5之變化補償部 104的構成之方塊圖。在圖中,14丨係轉換部、142係直 接預測部、143係前方向預測部、144係後方向預測部、 145係兩方向預測部。 接下來薄明其動作。 第32圖係繪示根據實施例5之解碼裝置的動作之流程 圖。說明其與第26圖所示之實施例4的解碼裝置之動作的 流程圖之差異點。由於實施例5係由具有第29圖所示之形 狀解碣部102的MPEG-4對應的解碼裝置所構成,在步驟 ST51與8丁52之間,加入步驛8丁51-1,以經由形狀編碼部 102進行微區塊單位的形狀解碼處理,又步驟st53、ST55 的處理分別為逆DCT處理,MBTYPE對是否指示相互編 碼的判斷處理僅僅是名稱改變,各個步驟實質上與對應於 39 本紙張又度適用中國國家標準(CNS ) M規格(210X 297公釐) (請先閱讀背面之注意事項再填寫本頁) 訂 A7 A7 經濟部中央標準局員工消費合作社印製 五、發明説明(37 ) 第26圖的步驟ST53、ST55進行同樣的處理。 步驟ST53的逆DCT處理、步驟ST54的變化補償處理 係在步驟ST51-1的形狀解碼處理時,反映從形狀解碼部 102輸出之解碼形狀資料318,而進行各自的處理。 和第26圖所示之實施例4的情況一樣,步-驟ST52、 ST53的逆量子化處理與逆DCT處理,及步驟ST54的變化 補償處理,也可不必按照此一順序,即使是相反的順序, 當然也可以同時f行。步驟ST51的句法解析處理通常係 檢出VO(視訊物體)、VOL(視訊物體層)、VOP(視訊物體 平面)等單位每一個區段的啟始碼,據以進行該階層的解 碼,在此的句法解析處理係僅以微區塊的資料,特別是 B-VOP的資料解析的段階之處理為對象。第30圖之 MBTYPE表選擇資訊302係用於比微區塊更上位的VOP、 VOL等位階的資料進行解碼。 第33圖係繪示句法解析•可變長度解碼部101的動 作,也就是第32圖所示之步驟ST51的句法解析·可變長 度解碼處理之流程圖。 首先,在步驟ST91中,MBTYPE表選擇資訊解碼部 111係對第12圖所示的編碼位元流316中的B-VOP的 MBTYPE表選擇資訊(B-VOP mode type)302進行解碼。在 接下來的步驟ST92中,MODE解碼部113係對做為編碼 位元流316之附加資訊的多工化MODB(跨越判定資訊,未 顯示於第12圖中)進行解碼。在後續的步驟ST93中,轉換 部114係用以判斷被解碼的MODB(跨越判定資訊)是否為0。 40 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐) (請先閲讀背面之注意事項再填寫本頁) 訂 線 經濟部中央標準局員工消費合作社印製 A? 11 "' 1 _ ' ___—丨· 五、發明説明(38 ) 在此’當MODB被判斷為0時(步驟st93為否),因為 此微區塊為跨越的情況,在步驟ST94中,跨越時資料設 定部115係進行做為跨越時設定處理的以下的1)〜3)的設 定。 1) ΜΒΤΥΡΕ=0(直接預測)。又,MVDB(直接預測 用差分向量)為零。 2) CBPB(顯示做為微區塊内之DCT實施單位的8 X 8區塊之于區塊的編碼之所有j)CT係數的有無之 資訊)全部為零。也就是說,DCT係數資料全部為 零。 3) 由以上的兩個條件,根據以MVDB歸零的條件 所得到的直接預測’預測影像為原來的解碼影像。 相對於此’在MODB被判斷不為〇時(步驟ST93為是),因 為此微區塊為不跨越的情況,在步驟ST95中,轉換部116 係判斷在步驟ST91中解碼的MBTYPE表選擇資訊302是 否為0。在MBTYPE表選擇資訊302為〇時(步驟ST95為 是),在步驟ST96中,MBTYPE-1解碼部117係選擇 MBTYPE-1表,並進行MBTYPE的解碼。在步驟ST97中, 進行以下顯示的解碼順序I。另一方面,在MBTYPE表選 擇資訊302不為〇時(步驟ST95為否),在步驟ST98中, MBTYPE-2解碼部118係選擇MBTYPE-2表,並進行 MBTYPE的解碼。 在步驟ST99中’進行以下顯示的解碼順序Π。在最 後的步驟ST100中,區塊資料解碼部130係輸出壓縮影像 41 本紙張尺度適用中國國家標準(CNS ) Α4規格(210X297公釐) ------------ (請先閱讀背面之注意事項具填寫本莧) '?τ 經濟部中央標準局員工消費合作社印製 A7 _____ B7 五、發明説明(39 ) ~' 資料之區塊資料307。第34圖係繪示第33圖所示之步驟 ST97的解碼順序I的流程圖。 依據此處理,首先在步驟ST1〇1中,第3〇圖的轉換部 119係檢出MBTYPE判定(1)處理,也就是被設定為編碼位 元流中編碼模式資訊(MBTYPE)308的密語,參考第9圖所 示之MBTYPE-1表,判斷對應於該檢出的密語之模式號碼 (MBTYPE的值)是否為3。 在此’當模式赛碼為3時,參考第9圖所示的μβτυρε^ 表,因為是在填充的編碼模式的情況下,步驟STi〇i為,, 疋,在後續的步驟ST102中,填充快速讀取部122係以該 編碼模式的壓縮影像資料做為填充位元,進行快速讀取處 理,並回到第33圖的步驟ST92之M〇DB(跨越判定資訊) 的解碼處理。 一方面,當編碼模式不為3時,參考第9圖所示的 MBTYPE-1表’因為是不為填充模式的編碼模式的情況, 此步驟stioi為”否”,在後續的步驟ST1〇3中轉換部工b 判斷MODB(跨越判定資訊)是否為2。 在此’當MODB為1時’在步驟ST1〇4中,CBPB歸 零没定部121係將顯示微區塊内之DCT實施單位的8 X 8 區塊之子區塊的編碼之所有DCT係數的有無之資訊的 CBPB全部設定為零。 另一方面,當MODB為2時,在步驟ST105中,CBPB 解碼部I20係從編碼位元流316中將CBPB解碼。 在後續的步驟ST106中,轉換部123係參考ΜΒΤγρΕ 42 本紙張尺度適用中國國家標準八4麟(--- {請先閲讀背面之注意事項再填寫本頁} _w· 訂 線#-· A7 B7 經濟部中央標準局員工消費合作社印製 五、發明説明(40 ) 判定(1)處理,也就是第9圖所示之μβτυρε^表,判斷對 應於被設定為編碼位元流316中之編碼模式資訊 (MBTYPE308)的密語之模式號碼是否為1、2。MBTYPE 為1、2時’在步驟ST107中,DQUANT解碼部124係從 位元流中將DQUANT(量子化步長差分值).解碼。在 MBTYPE不為1、2時,在步驟1〇8中,DqUANT歸零設 定部將DQUANT設定為零。 在步驟STl〇g中’加法部126將DQUANT解碼部124 或DQUANT歸零設定部125的輸出與附近的微區塊的量子 化步長資訊相加,輸出量子化步長資訊309。 在步驟stiio中,變化資訊解碼部127係參考 MBTYPE-1判定⑺處理’也就是MBTYPE-1表,判斷對應 於被設定為編碼位元流316中之編碼模式資訊 (MBTYPE308)的密語之模式號碼是否為2。MBTYPE為2 時’在步驟ST111中,變化資訊解碼部127從位元流中將 MVDf(前方向預測用變化向量差分值)解碼,加法部128將 該MVDf與附近的微區塊之變化資訊相加,輸出為前方向 預測用變化資訊310。在步驟ST112中,變化資訊解碼部丨27係參考 MBTYPE-1判定(4)處理’也就是MBTYPE-1表,判斷對應 於被設定為編碼位元流316中之編碼模式資訊 (MBTYPE308)的密語之模式號碼是否為1。在步驟ST113 中,變化資訊解碼部127係從位元流中將MVDb(後方向預 測用變化向量差分值)解碼,加法部128將該MVDb與附近 (請先閲讀背面之注意事項再填寫本頁) ,w 訂 線# 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐) 經濟部中央標準局員工消費合作社印製 A7 B7 五、發明説明(41 ) 的微區塊之變化資訊相加,輸出為後方向預測用變化資訊 310。 在步驟ST114中,變化資訊解碼部127係參考 MBTYPE-1判定(5)處理,也就是MBTYPE-1表,判斷對應 於被設定為編碼位元流316中之編碼模式資訊 (MBTYPE308)的密語之模式號碼是否為0。MBTYPE為0 時,在步驟ST115中,變化資訊解碼部127係從位元流中 將MVDB(直接預,用差分向量)解碼,並還原直接預測向 量等的直接預測用的變化資訊310。如上之第34圖所示的 解碼處理結束。 步驟ST109係在步驟ST107、步驟ST108之後,即使 在步驟ST115之後也可以,又步驟ST111、ST113的加法 部128的處理也可以是和步驟ST109同時或以前,也可以 和第33圖的步驟ST100同時或以後。 若步驟ST115的處理結束,在第33圖的最後之步驟 ST100中,轉換部129係判斷從CBPB解碼部120或CBPB 歸零設定部121輸出之CBPB(顯示做為微區塊内的DCT實 施單位之8 X 8區塊的子區塊之編碼全部DCT係數的有無 之資訊)的内容。在CBPB為零區塊時,區塊資料歸零設定 部131係將區塊資料(DCT係數資料)全部輸出為零。一方 面,在CBPB不為零區塊時,區塊資料解碼部130係輸出 被可變長度解碼的區塊資料。 第35圖係繪示第33圖所示之步驟ST99的的解碼次序 * *.....、 II之處理的流程圖。 44 、 本紙張尺度適用中國國家標準(CNS ) A4規格(210X 297公釐) (請先閲讀背面之注意事項再填寫本頁) 訂 A7 B7 經濟部中央標準局員工消費合作社印製 五、發明説明(42 ) 首先’在步驟ST121中,轉換部12〇係檢出ΜΒΤγρΕ_2 判定(1)處理,也就是被設定為編碼位元流316中編碼模式 -貝訊(MBTYPE) 3〇8的密語’參考第1〇圖所示之ΜΒΤγρΕ2 表,判斷對應於該檢出的密語之模式號碼是否為8。 在模式號碼為8時,參考第1〇圖所示之ΜΒΤγρΕ_2 表,因為是在填充的編碼模式的情況下,步驟ST121為,, 是,在後續的步驟ST122中,填充快速讀取部122係以該 編碼模式的壓縮景|像資料做為填充位元,進行快速讀取處 理’並回到第33圖的步驟ST92之MODB(跨越判定資訊) 的解碼處理。 一方面,當編碼模式不為8時,參考第1〇圖所示的 MBTYPE-2表’因為是不為填充模式的編碼模式的情況, 此步驟ST121為”否”,在後續的步驟ST123中,轉換部119 判斷MODB(跨越判定資訊)是否為2。 在此,當MODB為1時,與第34圖所示的情況一樣, 在步驟ST124中,CBPB歸零設定部121係將顯示微區塊 内之DCT實施單位的8 X 8區塊之子區塊的編碼之所有 DCT係數的有無之資訊的CBPB全部設定為零。另一方 面,當MODB為2時’在步驟ST125中,CBPB解碼部120 係從編碼位元流316中將CBPB解竭。 在後續的步驟ST126中’轉換部123係參考MBTYPE-2 判定(2)處理,也就是第1〇圖所示之ΜΒΤγρΕ_2表,判斷 對應於被設定為編碼位元流3丨6中之編碼模式資訊 (ΜΒΤΥΡΕ308)的密語之模式號碼是否為i、3、5、7。 本紙張尺度適用中國國家標準(CNS ) A4規格(2T〇X297公楚) .(請先閱讀背面之注意事項真填寫本 ./Λ. 訂 線 經濟部中央標準局員工消費合作社印製 A7 B7 五、發明説明(43 ) 當MBTYPE為1、3、5、7時,在步驟ST127中, DQUANT解碼部124係從位元流中將DQUANT(量子化步 長差分值)解碼。在MBTYPE308不為1、3、5、7時, 在步驟128中,DQUANT歸零設定部125將DQUANT設 定為零。 - 在步驟ST129中,加法部126將DQUANT解碼部124 或DQUANT歸零設定部125的輸出與附近的微區塊的量子 化步長資訊相加,,輸出量子化步長資訊309。 在步驟ST130中,變化資訊解碼部127係參考 MBTYPE-2判定(3)處理,也就是MBTYPE-2表,判斷對應 於被設定為編碼位元流316中之編碼模式資訊 (MBTYPE308)的密語之模式號碼是否為2、3、6、7。 當MBTYPE為2、3、6、7時,在步驟ST131中,變化 資訊解碼部127從位元流中將MVDf(前方向預測用變化向 量差分值)解碼,加法部128將該MVDf與附近的微區塊之 變化資訊相加’輸出為前方向預測用變化資訊31〇。 在步驟STI32中’變化資訊解碼部丨2?係參考 MBTYPE-2判定⑷處理,也就是MBTYPE-2表,判斷對應 於被設定為.編碼位元流3 16中之編碼模式資訊 (MBTYPE308)的密語之模式號碼是否為2、3、4、5。 在步驟ST133中,變化資訊解碼部丨27係從位元流中將 MVDb(後方向預測用變化向量差分值)解碼,加法部128將 該MVDb與附近的微區塊之變化資訊相加,輸出為後方向 預測用變化資訊310。以上如第34圖所示的解碼處理結 46 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐) ------^---1C-------IT------#11.- B (請先閱讀背面之注意事項再填寫本頁) 經濟部中央標隼局員工消費合作社印製 五、發明説明(44 束。 若步驟STl33的處 S虜中,轉換部129传判:束’在帛33®的最後之步驟123 series conversion section, 124 series DQUANT decoding section, 125 series DQUANT zero reset setting section, 126 series addition section, 127 series change information code section, 128 series addition section, 130 series block data decoding section, 131 series block data return Zero setting section. »The MBTYPE-1 table of the MBTYPE-1 decoding section 117 and the MBTYPE-2 table of the MBTYPE-2 decoding section 118 each have the contents of FIG. 9 and FIG. 10 described by the encoding device of the second embodiment. Fig. 31 is a block diagram showing the configuration of the change compensation unit 104 of the fifth embodiment shown in Fig. 29. In the figure, 14 丨 is a conversion section, 142 is a direct prediction section, 143 is a forward direction prediction section, 144 is a backward direction prediction section, and 145 is a two-direction prediction section. Next, clarify its actions. Fig. 32 is a flowchart showing the operation of the decoding device according to the fifth embodiment. The differences from the flowchart of the operation of the decoding device according to the fourth embodiment shown in Fig. 26 will be described. Since the fifth embodiment is composed of a decoding device corresponding to MPEG-4 having the shape decomposing unit 102 shown in FIG. 29, between steps ST51 and 8d52, step 8d51-1 is added to pass The shape encoding unit 102 performs shape decoding processing in units of microblocks, and processes in steps st53 and ST55 are inverse DCT processing, respectively. MBTYPE's judgment processing for whether to instruct mutual encoding is only a name change. Each step is essentially corresponding to 39 copies. The paper is again applicable to the Chinese National Standard (CNS) M specification (210X 297 mm) (Please read the notes on the back before filling out this page) Order A7 A7 Printed by the Central Consumers Bureau of the Ministry of Economic Affairs Consumer Cooperatives V. Invention Description (37 Steps ST53 and ST55 in FIG. 26 perform the same processing. The inverse DCT process in step ST53 and the change compensation process in step ST54 are performed in the shape decoding process in step ST51-1, and the decoded shape data 318 output from the shape decoding unit 102 is reflected, and each process is performed. As in the case of the fourth embodiment shown in FIG. 26, the inverse quantization processing and inverse DCT processing of steps ST52 and ST53, and the change compensation processing of step ST54 need not follow this order, even if they are reversed. The order, of course, can also be f lines at the same time. The parsing process of step ST51 usually detects the start code of each section of units such as VO (video object), VOL (video object layer), and VOP (video object plane), and performs decoding at this level. Here, The syntactic analysis processing of the system only deals with the processing of the microblock data, especially the stage analysis of the B-VOP data analysis. The MBTYPE table selection information 302 in FIG. 30 is used for decoding higher-level data such as VOP and VOL than microblocks. Fig. 33 is a flowchart showing the operation of the syntax analysis / variable length decoding unit 101, that is, the syntax analysis and variable length decoding processing of step ST51 shown in Fig. 32. First, in step ST91, the MBTYPE table selection information decoding unit 111 decodes the MBTYPE table selection information (B-VOP mode type) 302 of the B-VOP in the encoded bit stream 316 shown in FIG. In the next step ST92, the MODE decoding unit 113 decodes the multiplexed MODB (crossover decision information, not shown in Fig. 12) as additional information of the encoded bit stream 316. In the subsequent step ST93, the conversion unit 114 is used to determine whether the decoded MODB (crossover determination information) is 0 or not. 40 This paper size applies Chinese National Standard (CNS) A4 (210X297 mm) (Please read the precautions on the back before filling this page) Printed by the Consumers Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs " '1 _ '___— 丨 · V. Explanation of the invention (38) Here, when MODB is judged as 0 (NO in step st93), because this microblock is a span, in step ST94, the data setting unit at the time of the span The 115 series performs the following 1) to 3) as the setting processing at the time of span. 1) MBTQPEE = 0 (direct prediction). The MVDB (differential vector for direct prediction) is zero. 2) CBPB (showing all the information about the presence or absence of 8) and 8) of the encoding of the block as the DCT implementation unit in the microblock j) CT coefficients are all zero. In other words, the DCT coefficient data is all zero. 3) From the above two conditions, according to the condition that the MVDB is zeroed, the direct prediction 'predicted image is the original decoded image. In contrast, when the MODB is judged not to be 0 (YES in step ST93), because this microblock does not span, in step ST95, the conversion unit 116 judges the MBTYPE table selection information decoded in step ST91. Whether 302 is 0. When the MBTYPE table selection information 302 is 0 (YES in step ST95), in step ST96, the MBTYPE-1 decoding unit 117 selects the MBTYPE-1 table and performs MBTYPE decoding. In step ST97, the decoding sequence I shown below is performed. On the other hand, when the MBTYPE table selection information 302 is not 0 (NO in step ST95), in step ST98, the MBTYPE-2 decoding unit 118 selects the MBTYPE-2 table and performs MBTYPE decoding. In step ST99 ', the decoding order Π shown below is performed. In the final step ST100, the block data decoding unit 130 outputs the compressed image 41. The paper size applies the Chinese National Standard (CNS) A4 specification (210X297 mm) ------------ (please first Please read the notes on the back to fill in this paper.) "? Τ Printed by the Consumer Cooperatives of the Central Bureau of Standards of the Ministry of Economic Affairs A7 _____ B7 V. Invention Description (39) ~ 'Block data 307 of the data. Fig. 34 is a flowchart showing the decoding sequence I of step ST97 shown in Fig. 33. According to this process, first in step ST101, the conversion unit 119 of FIG. 30 detects the MBTYPE determination (1) process, that is, it is set as the cipher of the encoding mode information (MBTYPE) 308 in the encoded bit stream. Referring to the MBTYPE-1 table shown in FIG. 9, it is determined whether the mode number (the value of MBTYPE) corresponding to the detected cipher phrase is 3. Here, when the pattern match code is 3, refer to the μβτυρε ^ table shown in FIG. 9 because in the case of a filled coding mode, step STi0i is,, 疋, in the subsequent step ST102, fill The fast reading unit 122 performs fast reading processing by using the compressed image data of the encoding mode as a filling bit, and returns to the decoding processing of MODB (crossing judgment information) in step ST92 in FIG. 33. On the one hand, when the coding mode is not 3, refer to the MBTYPE-1 table shown in FIG. 9 because it is a coding mode that is not a padding mode. In this step, stioi is “No”, and in the subsequent step ST103. The intermediate conversion department b judges whether the MODB (crossover judgment information) is 2. Here, 'when MODB is 1,' in step ST104, the CBPB zero resetting unit 121 will display all the DCT coefficients of the encoding of the child block of the 8 X 8 block of the DCT implementation unit in the microblock. The CBPB of all information is set to zero. On the other hand, when MODB is 2, in step ST105, the CBPB decoding unit I20 decodes the CBPB from the encoded bit stream 316. In the subsequent step ST106, the conversion unit 123 refers to the MBTγρΕ 42 paper standard applicable to the Chinese national standard 8 4 Lin (--- {Please read the precautions on the back before filling this page} _w · 线 线 #-· A7 B7 Printed by the Employees' Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs 5. Description of the Invention (40) Decision (1) Processing, which is the μβτυρε ^ table shown in Figure 9, determines that the encoding mode corresponds to the encoding mode set in the encoding bit stream 316 Is the mode number of the secret word of the information (MBTYPE308) 1 or 2. When MBTYPE is 1, 2 'In step ST107, the DQUANT decoding unit 124 decodes DQUANT (quantization step difference value). From the bit stream. When MBTYPE is not 1, 2, the DqUANT zero setting unit sets DQUANT to zero in step 108. In step ST10g, the 'addition unit 126 resets the DQUANT decoding unit 124 or the DQUANT zero setting unit 125. The output is added to the quantized step size information of the nearby microblock to output the quantized step size information 309. In step stiio, the change information decoding unit 127 refers to the MBTYPE-1 determination and processing, which is the MBTYPE-1 table, Judgment corresponds to being set to coded bits Is the mode number of the cipher word of the encoding mode information (MBTYPE308) in the stream 316 2. When MBTYPE is 2, 'in step ST111, the change information decoding unit 127 converts the MVDf (forward direction prediction change vector difference value) from the bit stream. ) Decoding, the addition unit 128 adds the MVDf and the change information of the nearby microblocks, and outputs the change information 310 for forward prediction. In step ST112, the change information decoding unit 27 determines with reference to MBTYPE-1 (4 ) Processing ', that is, the MBTYPE-1 table, determines whether the mode number corresponding to the cipher word set as the encoding mode information (MBTYPE308) in the encoded bit stream 316 is 1. In step ST113, the change information decoding unit 127 follows from Decode the MVDb (change vector difference value for backward direction prediction) in the bit stream, the adder 128 and the nearby MVDb (please read the precautions on the back before filling this page), w 定 线 # This paper size is applicable to China Standard (CNS) A4 specification (210X297 mm) Printed by the Consumer Standards Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs A7 B7 V. Invention information (41) The micro-block change information is added together, and the output is the change for the backward prediction Information 310. In step ST114, the change information decoding unit 127 refers to the MBTYPE-1 determination (5) process, that is, the MBTYPE-1 table, and determines that it corresponds to the encoding mode information (MBTYPE308 set in the encoding bit stream 316). ) Whether the mode number of the cipher is 0. When MBTYPE is 0, in step ST115, the change information decoding unit 127 decodes the MVDB (direct prediction, using a difference vector) from the bit stream, and restores change information 310 for direct prediction, such as a direct prediction vector. The decoding process shown in Fig. 34 above ends. Step ST109 is after steps ST107 and ST108. Even after step ST115, the processing of the addition unit 128 of steps ST111 and ST113 may be performed simultaneously with or before step ST109, or may be performed simultaneously with step ST100 of FIG. 33. Or later. If the processing of step ST115 is completed, in the last step ST100 of FIG. 33, the conversion unit 129 judges the CBPB (displayed as the DCT implementation unit in the microblock) output from the CBPB decoding unit 120 or the CBPB zero setting unit 121. 8 X 8 block of the sub-block encoding all the information about the existence of DCT coefficients). When the CBPB is a zero block, the block data zero setting section 131 outputs all the block data (DCT coefficient data) to zero. On the other hand, when the CBPB is not a zero block, the block data decoding unit 130 outputs the block data decoded with variable length. Fig. 35 is a flowchart showing the decoding sequence ** .., II of step ST99 shown in Fig. 33. 44. This paper size applies Chinese National Standard (CNS) A4 specification (210X 297 mm) (Please read the notes on the back before filling this page) Order A7 B7 Printed by the Consumers Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs (42) First, in step ST121, the conversion unit 120 detects the MBTγρΕ_2 decision (1) processing, that is, it is set as the encoding mode in the encoding bit stream 316-the secret of MBTYPE 3 0 8 'reference The MBTγρE2 table shown in FIG. 10 determines whether the pattern number corresponding to the detected secret word is 8. When the mode number is 8, refer to the MBTγρΕ_2 table shown in FIG. 10, because in the case of a filled coding mode, step ST121 is, Yes, in the subsequent step ST122, the fast reading unit 122 is filled. The compressed scene and image data in this coding mode are used as filling bits, and a fast reading process is performed, and the process returns to the MODB (cross decision information) decoding process in step ST92 in FIG. 33. On the one hand, when the encoding mode is not 8, refer to the MBTYPE-2 table shown in FIG. 10 because it is a case where the encoding mode is not the padding mode. This step ST121 is “No”, and in the subsequent step ST123 The conversion unit 119 determines whether the MODB (crossover determination information) is 2. Here, when MODB is 1, as in the case shown in FIG. 34, in step ST124, the CBPB zero setting unit 121 is a sub-block of 8 × 8 blocks that displays the DCT implementation unit in the microblock. The CBPB of all the information about the presence or absence of the DCT coefficients of the encoding is set to zero. On the other hand, when MODB is 2, 'in step ST125, the CBPB decoding unit 120 exhausts the CBPB from the encoded bit stream 316. In the following step ST126, the conversion unit 123 refers to the MBTYPE-2 decision (2) processing, that is, the MBTγρE_2 table shown in FIG. 10, and determines that the encoding mode corresponds to the encoding mode set in the encoding bit stream 3 丨 6. Is the mode number of the secret word of the information (ΜΒΤΥΡΕ308) i, 3, 5, 7? This paper size is applicable to Chinese National Standard (CNS) A4 specification (2T0X297). (Please read the notes on the back and fill in this form. / Λ. Printed by the Consumer Standards Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs 5 (43) When the MBTYPE is 1, 3, 5, or 7, in step ST127, the DQUANT decoding unit 124 decodes DQUANT (quantized step size difference value) from the bit stream. It is not 1 in MBTYPE308. At 3, 5, 5, and 7, in step 128, the DQUANT zeroing setting unit 125 sets DQUANT to zero.-In step ST129, the addition unit 126 sets the output of the DQUANT decoding unit 124 or the DQUANT zeroing setting unit 125 to the vicinity. The quantized step size information of the microblocks are added to output quantized step size information 309. In step ST130, the change information decoding unit 127 refers to the MBTYPE-2 decision (3) processing, that is, the MBTYPE-2 table, Determine whether the mode number corresponding to the cipher phrase set as the encoding mode information (MBTYPE308) in the encoded bit stream 316 is 2, 3, 6, or 7. When MBTYPE is 2, 3, 6, or 7, in step ST131 The change information decoding unit 127 converts the MVDf (forward direction prediction) from the bit stream The change vector difference value) is decoded, and the addition unit 128 adds the MVDf and the change information of the nearby microblocks and outputs the change information as forward prediction change information 31. In step STI32, the 'change information decoding unit 2' is a reference. The MBTYPE-2 determination process, that is, the MBTYPE-2 table, determines whether the mode number corresponding to the cipher phrase of the encoding mode information (MBTYPE308) in the encoding bit stream 3 16 is 2, 3, 4, or 5. In step ST133, the change information decoding unit 27 decodes the MVDb (change vector difference value for backward direction prediction) from the bit stream, and the addition unit 128 adds the MVDb and change information of the nearby microblock to output It is the change information 310 for backward direction prediction. The decoding process shown in the above figure is as shown in Figure 46. 46 This paper size applies the Chinese National Standard (CNS) A4 specification (210X297 mm) ------ ^ --- 1C- ------ IT ------ # 11.- B (Please read the notes on the back before filling out this page) Printed by the Consumers' Cooperative of the Central Bureau of Standards of the Ministry of Economic Affairs 5. Description of the Invention (44 bundles). If the processing of step STl33 is performed, the conversion unit 129 judges: the beam is in the last step of 帛 33®

係判斷從CBPB解碼部120或cBPB 卸零β又疋°8輪出之C咖(顯示做為微區塊内的DCT實 施單位=X」區塊的子區塊之編碼全部町係數的有盈 之資訊)的内各。在CBPft基办 1Q1 _ _ 為零的區塊時,區塊資料歸零設 疋部131係將區塊資料γ a > ^ 汁(DCT係數資料)307全部輸出為 零。一方面,在CBPB石兔恭 、 , 个馬零區塊時’區塊資料解碼部130 係輸出被可變長度解碼的區塊資料307。 第36圖係繪不變化補償部的動作,也就是第η圖所 示之步驟ST54的變化補償處理之流程圖。第所示的 實施例5之變化補償處理係第㈣所示之實施例*的變化 補償處理之預測方式1〜4的具體化。 變化補仏。P 104的轉換部114,在步驟ST141、 ST143 ST145巾,係根據編碼模式資訊(ΜΒτγρΕ·), 判斷是否指示該編碼模式為直接預測、前方向預測、後方 向預測、兩方向預測之任一個。 在步驟ST141中,當判斷轉換部141才旨示編碼模式為 直接預測時’將變化資訊31〇送到直接預測部M2,在步 驟ST142中,直接預測部142係根據輸入變化資訊31〇及 被預測影像區域晝面内之位置資訊317的直接預測,而產 生預測影像322。 在步驟ST143中’當判斷轉換部ι41指示編碼模式為 前方向預測時,同樣地在步驟ST144中,前方向預測部143 本紙張尺度適用中國國家標準(CNS ) A4規格(21〇χ 297公釐) (請先閲讀背面之注意事項再填寫本頁) 訂 線®- 經濟部中央標準局員工消費合作社印製 A7 B7 五、發明説明(45 ) 根據前方向預測而產生預測影像322。在步驟ST145中, 當判斷轉換部141指示編碼模式為後方向預測時,在步驟 ST146中,後方向預測部144根據後方向預測而產生預測 影像322,當判斷編碼模式不指示為後方向預測時,在步 驟ST147中,兩方向預測部145根據兩方向預測而產生預 測影像322。 如上述,若依據實施例5,在編碼裝置側中,從定義 對應目標位元率,等的條件之適當的編碼模式之組合的 MBTYPE-1表及MBTYPE-2表的複數編碼模式表中,選擇 最適合的編碼模式表,即使在傳送來資料時,設置對應於 該複數個編碼模式表而各自進行解碼的MBTYPE-1解碼部 117、MBTYPE-2解碼部118,根據編碼裝置側的編碼位 元流316中之編碼模式選擇資訊的MBTYPE表選擇資訊 302及編碼模式資訊(MBTYPE308),選擇MBTYPE-1解碼 部117、MBTYPE-2解碼部118,由於依據編碼時的編碼 模式進行解碼,根據編碼裝置側的複數編碼模式表,即使 編碼資料的附加資訊中的編碼模式資訊的量小,也能正確 地進行解碼,在所給予的條件下,可實現能進行效率良好 之解碼的解碼裝置。 實施例6 第37圖係繪示根據實施例6之影像解碼裝置的構成之 方塊圖。實施例6的影像解碼裝置,由於更詳細地記載於 第29圖所示的對應MPEG-4之規格之實施例5的影像解碼 裝置的逆量子化部的構成,其係對應於第19圖之實施例3 48 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐) (請先閲讀背面之注意事項再填寫本頁) 訂 線·- A7 經濟部中央標準局員工消費合作社印製 --—_五、發明説明(46 ) 的影像編碼裝置的影像解碼裝置。在圖中,151係句法解 析•可變長度解碼部、152係根據從編碼位元流416中解 碼之現有的畺子化方法選 type)402而轉換的轉換部、153係使用低位元率之對應 H.263規格的H.263類型逆量子化部、154係使用高位元率 的位元率之對應MPEG-2規格的MPEG_2類型逆量子化、. 一ϋ。其他的構成’由於和第29圖所示之實施例5相同,故 以相同之參考標為標不’並省略其說明。 第38圖係繪示第37圖所示之實施例6的句法解析· 可變長度解碼部151的構成之方塊圖。句法解析·可變長 度解碼部151基本上和第30圖所示之實施例5的句法解 析•可變長度解碼部101相同,其不同處僅為,如圖所示, $子化方法選擇資訊解碼部16][將第22圖所示之編碼位元 oil 416中的現有之里子化方法選擇資訊(video object layer quant type)4〇2解碼,轉換部162依據該量子化方法選擇資 訊402代替MBTYPE選擇資訊,轉換MBTYPE]解碼部 117及MBTYPE-2解碼部118。被解碼的量子化方法選擇 資訊402也從句法解析•可變長度解碼部151輸出至第π 圖的轉換部152。其他的構成,由於與第3〇圖所示之實施 例5的句法解析•可變長度解碼部1〇1的構成相同,故以 相同之參考標號標示,並省略其說明。 第39圖係緣示根據實施例6之影像解媽裝置的動作之 流程圖。 實施例6的動作基本上和第32圖所示之實施例5的動 (請先閲讀背面之注意事項再填寫本頁) 訂 線»- 1 本紙張尺度適用中國國家標準(CNS ) A4規格(2丨OX25»7公釐) 經濟部中央標準局員工消費合作社印製 A7 B7 五、發明説明(47 ) 作相同,其不同點之說明為步驟151的句法解析·編碼資 料解碼的處理,及選擇量子化方法的逆量子化的步驟 ST152〜ST154以外的處理。 總言之,依照實施例6,由於進行量子化方法的轉換, 在步驟ST152中,第37圖的轉換部152根據從編碼位元流 416解碼之現有的量子化方法選擇資訊402,判斷量子化 方法是否為H.263方式。 當量子化方沬為H.263方式時,前進到步驟ST153, H.263類型逆量子化部153依據對應於低位元率的 MBTYPE-1表進4亍逆1:子化。另一方面,當量子化方法選 擇資訊402為MPEG-2時,前進至步驟ST154,MPEG-2 類型逆量子化部154依據對應於高位元率的MBTYPE-2表 進行逆量子化。 第40圖係繪示句法解析•可變長度解碼部151的動 作,也就是第39圖所示之步驟ST151的句法解析·編碼資 料解碼處理之流程圖' ----------.· 第40圖所示的處理係說明,在使用量子化方法選擇資 訊402做為MBTYPE表選擇資訊以外,基本上與第33圖 所示之實施例5的處理相同的不同動作。 首先,在最初的步驟ST161中,量子化方法選擇資訊 解碼部161係從編碼位元流416中將量子化方法選擇資訊 402解碼。在步驟ST162中,轉換部162根據該量子化方 法選擇資訊402,判斷編碼時的量子化是否為H.263類型 量子化,若為H.263類型量子化,在步驟ST96中, 50 本紙張尺度適用中國國家標準(CNS ) Α4規格(210Χ297公釐) (請先閱讀背面之注意事項再填寫本頁)It is judged that the C coffee that is unloaded from the CBPB decoding unit 120 or cBPB to β and 疋 ° 8 rounds (shown as the DCT implementation unit in the microblock = X "All the coefficients of the sub-blocks of the block are positive. Information). When the CBPft base office 1Q1 _ _ is zero, the block data is reset to zero. The unit 131 outputs block data γ a > ^ juice (DCT coefficient data) 307 to all zeros. On the one hand, the block data decoding unit 130 outputs block data 307 that is variable-length decoded when the CBPB stone rabbit Christine, and the horse are zero blocks. Fig. 36 is a flowchart showing the operation of the non-change compensation unit, that is, the change compensation process of step ST54 shown in Fig. N. The change compensation process of the fifth embodiment shown in the first embodiment is the embodiment of the prediction methods 1 to 4 of the change compensation process of the first embodiment * shown in the first embodiment. Change makes up. The conversion unit 114 of P 104, in steps ST141 and ST143 ST145, determines whether the coding mode is instructed to be any of direct prediction, forward prediction, backward prediction, and both directions based on the encoding mode information (MBτγρΕ ·). In step ST141, when it is determined that the conversion unit 141 indicates that the encoding mode is direct prediction, the change information 31o is sent to the direct prediction unit M2. In step ST142, the direct prediction unit 142 is based on the input change information 31o and Direct prediction of the location information 317 in the daytime plane of the predicted image area generates a predicted image 322. In step ST143, when the judgment conversion unit ι41 indicates that the encoding mode is forward prediction, similarly in step ST144, the forward direction prediction unit 143 applies the Chinese national standard (CNS) A4 specification (21〇χ 297 mm) to the paper size. ) (Please read the precautions on the back before filling this page) Threading ®-Printed by A7 B7, Employee Consumer Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs 5. Description of the invention (45) The prediction image 322 is generated according to the forward direction prediction. In step ST145, when the judgment conversion unit 141 instructs the encoding mode to be backward prediction, in step ST146, the backward orientation prediction unit 144 generates a prediction image 322 based on the backward prediction. When it is judged that the encoding mode is not instructed to backward prediction In step ST147, the two-direction prediction unit 145 generates a prediction image 322 based on the two-direction prediction. As described above, according to Embodiment 5, in the encoding device side, from the plural encoding mode tables of the MBTYPE-1 table and the MBTYPE-2 table that define a combination of appropriate encoding modes that correspond to the target bit rate, etc., Select the most suitable encoding mode table. Even when data is transmitted, MBTYPE-1 decoding unit 117 and MBTYPE-2 decoding unit 118 are set to decode each corresponding to the plurality of encoding mode tables, according to the encoding bit on the encoding device side. MBTYPE table selection information 302 and encoding mode information (MBTYPE308) of encoding mode selection information in the meta stream 316. MBTYPE-1 decoding unit 117 and MBTYPE-2 decoding unit 118 are selected. Since the decoding is performed according to the encoding mode during encoding, the encoding is performed according to the encoding. The complex coding mode table on the device can correctly decode even if the amount of coding mode information in the additional information of the coded data is small. Under the given conditions, a decoding device capable of efficient decoding can be realized. Embodiment 6 Fig. 37 is a block diagram showing the configuration of an image decoding device according to Embodiment 6. The image decoding device of the sixth embodiment is described in more detail in the configuration of the inverse quantization unit of the image decoding device of the fifth embodiment corresponding to the MPEG-4 specification shown in FIG. 29, which corresponds to the structure of FIG. Example 3 48 This paper size applies the Chinese National Standard (CNS) A4 specification (210X297 mm) (Please read the notes on the back before filling out this page) Threading ·-A7 Printed by the Staff Consumer Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs- ---_ V. An image decoding device of the image coding device of the invention description (46). In the figure, 151 is a parsing and variable-length decoding unit, 152 is a conversion unit that converts the selected bit type 402 according to the existing bitch method decoded from the encoded bit stream 416, and 153 is a low bit rate. The H.263 type inverse quantization unit corresponding to the H.263 standard, 154 is an MPEG_2 type inverse quantization corresponding to the MPEG-2 standard using a high bit rate bit rate. Since the other configuration is the same as that of the fifth embodiment shown in FIG. 29, the same reference numerals are used to designate the same reference numerals, and descriptions thereof are omitted. Fig. 38 is a block diagram showing the structure of the syntax analysis and variable length decoding unit 151 of the sixth embodiment shown in Fig. 37. The syntax analysis and variable-length decoding section 151 is basically the same as the syntax analysis and variable-length decoding section 101 of the fifth embodiment shown in FIG. 30. The difference is only as shown in the figure. Decoding section 16] [Decodes the existing video object layer quant type 4 2 in the encoding bit oil 416 shown in FIG. 22, and the conversion section 162 selects the information 402 instead of the quantization method 402 MBTYPE selection information, convert MBTYPE] decoding unit 117 and MBTYPE-2 decoding unit 118. The decoded quantization method selection information 402 is also output from the syntax analysis and variable length decoding unit 151 to the conversion unit 152 in the π-th graph. The other structures are the same as those of the syntax analysis / variable length decoding unit 101 of the fifth embodiment shown in FIG. 30, and therefore are denoted by the same reference numerals, and descriptions thereof are omitted. Fig. 39 is a flowchart showing the operation of the image dissolving device according to the sixth embodiment. The operation of Example 6 is basically the same as that of Example 5 shown in Figure 32 (please read the precautions on the back before filling this page). Alignment »-1 This paper size applies the Chinese National Standard (CNS) A4 specification ( 2 丨 OX25 »7mm) A7 B7 printed by the Consumer Cooperatives of the Central Standards Bureau of the Ministry of Economic Affairs 5. The description of the invention (47) is the same, and the difference is explained in step 151. Syntax analysis and encoding data decoding processing, and selection Processes other than steps ST152 to ST154 of the inverse quantization of the quantization method. In summary, according to Embodiment 6, since the quantization method is converted, in step ST152, the conversion unit 152 of FIG. 37 determines the quantization based on the existing quantization method selection information 402 decoded from the encoded bit stream 416, and judges the quantization. Whether the method is H.263. When the quantization method is H.263, the process proceeds to step ST153, and the H.263 type inverse quantization unit 153 advances the 4th inverse 1: subization according to the MBTYPE-1 table corresponding to the low bit rate. On the other hand, when the quantization method selection information 402 is MPEG-2, the process proceeds to step ST154, and the MPEG-2 type inverse quantization unit 154 performs inverse quantization according to the MBTYPE-2 table corresponding to the high bit rate. Fig. 40 shows the operation of the syntax analysis and variable-length decoding unit 151, that is, the flowchart of the syntax analysis and encoding data decoding process of step ST151 shown in Fig. 39 '---------- The processing shown in FIG. 40 is basically the same operation as the processing of the fifth embodiment shown in FIG. 33 except that the quantization method selection information 402 is used as the MBTYPE table selection information. First, in the first step ST161, the quantization method selection information decoding unit 161 decodes the quantization method selection information 402 from the encoded bit stream 416. In step ST162, the conversion unit 162 selects the information 402 according to the quantization method, and determines whether the quantization during encoding is H.263 type quantization. If it is H.263 type quantization, in step ST96, the paper size is 50 Applicable to China National Standard (CNS) Α4 specification (210 × 297 mm) (Please read the precautions on the back before filling this page)

、1T 線一 經濟部中央嫖準局員工消費合作社印製 A7 ____B7____ 五、發明説明(48 ) MBTYPE-1解碼部117選擇MBTYPE-1的編碼模式表,以 進行解碼。另一方面,若不是H.263類型量子化,而是 MPEG-2類型量子化,在步驟ST98中,MBTYPE-2解瑪部 118選擇MBTYPE-2的編碼模式表,以進行解碼。 如上述’若依據實施例6,由於進行量子化方法之轉 換以外的部分均與上述實施例5的影像解碼裝置相同,與 上述實施例5的情況相同,根據編碼裝置侧的複數個;碼 .......一 、*---- 模式表,即使在竭碼資料的附加資訊中的編碼模式資訊的 量小時,也能進行正確地解碼,由於使用VOL標頭資訊中 的現有的量子化方法選擇資訊402做為編碼模式群選擇資 訊的MBTYPE表選擇資訊(B VOP mode type),在編碼位元 流416現狀的句法中無須再附加任何附加資訊,在所給予 的條件下,可實現能進行效率良好之解碼的解碼裝置。 在實施例6中,以MBTYPE-1表及MBTYPE-2表為例 說明,如同在實施例2的說明,至於其他,做為低位元率 對應的MBYTYPE表,例如使用ΜΒΤΥΡΕ-0、MBTYPE-3、MBTYPE-5、MBTYPE-6、MBTYPE-7 等,另外,做 為高位元率對應的MBYTYPE表,例如使用MBTYPE-4等 的編碼模式表當然也是可以。 產業上的利用性 如上述,有些本發明之影像編碼方法、影像編碼裝置、 影像解碼方法及影像解碼裝置,即使編碼模式增加,电t 編碼資料的附加資訊中的編碼模式資訊的量不會增加,適 合於進行效率良好的傳送。 51 * (請先閲讀背面之注意事項再填寫本頁) 訂 線·- 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐) ~1. Line 1T Printed by the Consumer Cooperatives of the Central Bureau of Standards, Ministry of Economic Affairs A7 ____B7____ 5. Description of the Invention (48) The MBTYPE-1 decoding unit 117 selects the MBTYPE-1 encoding mode table for decoding. On the other hand, if it is not quantization of the H.263 type, but quantization of the MPEG-2 type, in step ST98, the MBTYPE-2 decoding unit 118 selects the MBTYPE-2 encoding mode table for decoding. As described above, 'If according to Embodiment 6, the parts other than the conversion of the quantization method are the same as the image decoding device of Embodiment 5 above, and the same as the case of Embodiment 5 above, according to the plurality of encoding device side; code. ... one, * ---- mode table, even if the amount of encoding mode information in the additional information of the exhausted code data is small, it can be correctly decoded, because the existing VOL header information is used The MBTYPE table selection information (B VOP mode type) of the quantization method selection information 402 as the encoding mode group selection information. There is no need to add any additional information in the current syntax of the encoded bit stream 416. Under the given conditions, A decoding device capable of performing efficient decoding is realized. In the sixth embodiment, the MBTYPE-1 table and the MBTYPE-2 table are taken as an example. As described in the second embodiment, as the other, as the MBYTYPE table corresponding to the low bit rate, for example, MBTPPE-0, MBTYPE-3 are used. , MBTYPE-5, MBTYPE-6, MBTYPE-7, etc. In addition, as the MBYTYPE table corresponding to the high bit rate, for example, it is also possible to use an encoding mode table such as MBTYPE-4. The industrial applicability is as described above. In some of the image encoding method, image encoding device, image decoding method, and image decoding device of the present invention, even if the encoding mode is increased, the amount of encoding mode information in the additional information of the electronically encoded data will not increase. , Suitable for efficient transmission. 51 * (Please read the notes on the back before filling out this page) Threading ·-This paper size applies to China National Standard (CNS) A4 (210X297 mm) ~

Claims (1)

A8 B8 C8 D8 六、申請專利範圍 1. 一種影像編碼方法,在規定的區域上轉換編碼模式 同時編碼輸入影像的影像編碼方法中,根據在各區域上登 錄可能選擇龙編碼模式之複數編碼模式群中規定的編碼模、 式群選擇資訊,選擇編碼模式群,根據該選擇的編碼模式 1 、一... . ………-------------------- 群,在各區域上編碼上.述輸入影像,以產生編i馬位元流, 將上述編碼模式群選擇資訊附加至該編碼位元流上並輸 出。 2·—種影像編碼裝置,包括在規定的區域上轉換編$ 模式同時編碼輸入影像的影像編碼裝置中,根據在各區域 ----._________________ ·< : .....…. .... 錄可能選擇皎編碼模式之複數編碼模式群與規定的編 碼模式群選擇資訊,選擇用於編碼處理的編碼模式群之編 ___一一.... ---- - ,费摸立.群,選擇裝置,根據該被選擇的編碼模式群,從被登 ( ·....... 、'. 錄的編碼模式中,…在上述各區域.上選擇編碼模式的編碼模 式選擇裝置,根據被選瘦的緯碼模式,將上述夺區得編^ 並輸出編碼資料的編碼裝置,與將上述編遇麗多群.選擇資 '..........—-------------------------------------------------------"....... 訊、上述編碼模式及上述編碼資料多工化,並輸出編碼位 元流的多工化裝置。 3.如申請專利範圍第2項之影像編碼裝置,_其中,複 經濟部中央標準局員工消費合作社印製 (請先聞讀背面之注意事項再填寫本頁) 數編碼模式群將可能選擇的編碼模式登錄在被編碼影像單 . ______. _______;— 位的微區填▲,編碼模式群選擇裝置係在由表示視訊物體 的各時刻之狀態的影像之上述微區塊所構成的視訊物體平 面上,根據綿碼模式群選擇資訊,從上述複數編展模式群 中選擇使用於編碼的編碼模式群。 ' 4.如申請專利範圍第2項之养像鳞碼裝置,其中,編 52 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐) ....A8 B8 C8 D8 VI. Patent application scope 1. An image coding method that converts the coding mode on a specified area and simultaneously encodes the input image. According to the multiple coding mode groups that may select the dragon coding mode according to the registration in each area Select the coding mode and information group specified in the information, select the coding mode group, and according to the selected coding mode 1, 1, ... -Group, which encodes the above-mentioned input image on each region to generate a compiled bit stream, and appends the coding mode group selection information to the encoded bit stream and outputs it. 2 · —An image encoding device, including an image encoding device that converts an encoding mode on a predetermined area and encodes an input image at the same time, according to ----._________________ · <: ........ ... record the complex coding mode group and the predetermined coding mode group selection information that may select the coding mode, select the coding mode group editor for coding processing ___ one by one ... Touch the group and select the device. Based on the selected coding mode group, from the registered coding modes (........, '., ...), select the coding of the coding mode in the above areas. The mode selection device, according to the selected thin weft code mode, encodes the above-mentioned area and outputs encoding data, and encodes the above into the Lido group. Selection information '......... --------------------------------------------------- ------ " ....... The multiplexing device that multiplexes the above-mentioned encoding mode and the above-mentioned encoding data, and outputs a coded bit stream. 3. As described in item 2 of the scope of patent application Image coding device, _ Among them, the consumer cooperation of the Central Bureau of Standards of the Ministry of Economic Affairs Printed by the company (please read the precautions on the back before filling out this page). The number of coding mode groups will register the coding mode that may be selected in the coded image list. ______. _______; — Fill in the micro area ▲, coding mode group selection The device is based on the video object plane composed of the above-mentioned microblocks of the image representing the state of the video object at each moment, and selects the coding mode to be used for coding from the complex editing mode group based on the selection information of the cotton code mode group. Group. '4. For example, the image scale device of item 2 of the scope of patent application, of which 52 paper sizes are applicable to the Chinese National Standard (CNS) A4 specification (210X297 mm) ... 2置包括複數不同的量子化I置,及根 貝吼選擇上述複數量子化 里匕1法選 裳置’在編碼時,使用上述選擇以 並且編碼模式群選擇裝置使用==進行量子化, ,為_模式群選擇資訊。 子化方法選擇資訊做 經濟部中央標準局員工消費合作社印裝 申請專利範圍 一 元遂你+魏關以胸㈣料衫之其t4 车低的位元率對應之編碼模式的低應土準位 :及登錄比規定之基準位轉高的位元媽模式 式的尚位元率對應編碼模式群所構成。、…、之編碼模 種影像解碼方法:’錢人將影像壓 '疋流,並在規定的區域上將影影】的編蜗 ^ ’從上述編仙元射將編魏式群瑪方法 各區域編碼喊錄可能_ _ _ ’托 模式群中,選擇由上述編養式群選擇贵訊^轉編碼 該選擇的編碼模式群'從上述編模 各區域的編碼資料進行解碼。 ①机中對 7.—種影像解碼裝置,包括在輸入將 編碼位域,並在規定的區域上將影像:像壓縮編媽的 复中’對上述各區域編碼時,登蜂瓦能選擇像解碼裴 群,從上述編碼位補中 資訊解碼的編碼模式群選擇資訊解碼裝專,從複數編 式群中選擇由上述編碼模式群選擇資訊指示的編碼模:、 之編碼模式群選擇裝置,使用該選擇的編碼模式群, ---------1C------、玎-------線 Φ- (請先閲讀背面之注意事項再填.¾本頁} A8 B8 C8 D8 六、申請專利範圍 上述編碼位元流中,將上述各區域編碼時所使用的編碼模 式解碼的編碼模式解碼裝置,與根據該編碼模式,從上述 編碼位元流中將各區域之編碼資料解碼的解碼裝置。. 8. 如申請專利範圍第7項之影像解碼裝置,其中,複 數編碼模式群將可能屢掾妁編-碼模式至it在被編碼影像單 • . - ...... . 位的微區塊上,編碼模式避選擇裝置係在虫表示視訊物體 的各時刻之狀應的影像之上、遥·微區疼所辑成的視訊物體乎 面上,根據編碼模式群選擇資訊,從上述複數編碼模式群 (中選擇使用於解碼的編碼模式群。 9. 如申請專利範圍第7項之影像解碼裝置,其中,解 碼裝置包括複數不同的逆量子化裝置,及根據量子化方法 〔 - 選擇資訊選擇上述複數逆量子化裝置中之任-二個的逆量子 化選擇裝置,在編碼時.,使用上述選擇的逆-量子化裝置進 行逆量子化,並且編碼模式群選擇裝置使用上崖量子化方 法選擇資訊做為編碼模式群選擇資訊。 10. 如申請專利範圍第7項至第9項之佳二·項的影像解 碼裝置,其中,複數編碼模式群m錄比規定之基準位 元率低的位元率對應之編碼模式的低位元率對應編碼.模式 經濟部中央標準局員工消費合作社印製 (請先間讀背面之注意事項再填寫本頁) t群,及登錄比規定之基準位元率高的位元率對應之編碼模 式的高位元率對應編碼模式群所構成。 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐)2 sets include different sets of quantization I sets, and Gen Behr selects the above-mentioned complex quantization methods. 1 When selecting the set, the above selection is used when encoding, and the encoding mode group selection device uses == for quantization, Select information for _ pattern group. The sub method selects information to be the low application level of the coding mode corresponding to the low bit rate of the t4 car of the T4 car of the chest of the material shirt. And the register bit pattern corresponding to the bit pattern that is higher than the predetermined reference bit is composed of a coding pattern group. , ..., encoding mode image decoding method: 'Qian Ren squeezes the image' into the stream, and the shadow is edited in the specified area] 蜗 'from the above-mentioned editing Xianyuan She will edit each region of the Wei-style Gunma method Shout recording possible _ _ _ 'In the support mode group, select the above-mentioned editing type group to select your newsletter ^ transcode the selected encoding mode group' to decode from the encoded data of each area of the editing mode. ① In-machine pair 7. A kind of image decoding device, including inputting a bit field for encoding and encoding the image in a predetermined area: "Compression of a compression codec" When encoding the above areas, Deng Feng tile can select the image Decoding Pei group, selecting information decoding equipment from the encoding mode group for information decoding in the above coding bit complement, and selecting the encoding mode group indicated by the above encoding mode group selection information from the complex encoding group: The selected coding mode group, --------- 1C ------, 玎 ------- line Φ- (Please read the precautions on the back before filling. ¾ This page} A8 B8 C8 D8 VI. Patent application scope In the above-mentioned encoding bit stream, an encoding mode decoding device that decodes the encoding mode used for encoding the above-mentioned regions, and according to the encoding mode, each region is decoded from the above-mentioned encoding bit-stream. Decoding device for decoding encoded data. 8. For example, the image decoding device under the scope of patent application No. 7, in which the complex encoding mode group may be repeatedly encoded-encoded to it in the encoded image list •.-.. ..... On micro-blocks, encoding mode The avoidance selection device is based on the image of the worm representing the video object at each moment, and the video object edited by the remote and micro-area pain is selected on the surface. Based on the coding mode group, it selects information from the complex coding mode group (in the above). Select the encoding mode group to be used for decoding. 9. For example, the image decoding device in the seventh scope of the patent application, wherein the decoding device includes a plurality of different inverse quantization devices, and the complex inverse quantization method is selected according to the quantization method [-selection information. Any of the two inverse quantization selection devices, when encoding, use the selected inverse-quantization device to perform inverse quantization, and the encoding mode group selection device uses the cliff quantization method to select information as Coding mode group selection information. 10. For example, the image decoding device in item 7 to 9 of item 2 of the patent application range, wherein the complex coding mode group m records a bit rate corresponding to a bit rate lower than a predetermined reference bit rate. The low bit rate corresponding to the coding mode is printed. Printed by the Consumer Cooperatives of the Central Standards Bureau of the Ministry of Economic Affairs (please read the precautions on the back before filling in (Page) t group, and registration mode group of high bit rate corresponding coding mode registered with bit rate higher than the specified reference bit rate. This paper size applies Chinese National Standard (CNS) A4 specification (210X297 mm) )
TW86115728A 1997-10-23 1997-10-23 Image encoding method, image encoding device, image decoding method and image decoding device TW395118B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW86115728A TW395118B (en) 1997-10-23 1997-10-23 Image encoding method, image encoding device, image decoding method and image decoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW86115728A TW395118B (en) 1997-10-23 1997-10-23 Image encoding method, image encoding device, image decoding method and image decoding device

Publications (1)

Publication Number Publication Date
TW395118B true TW395118B (en) 2000-06-21

Family

ID=21627152

Family Applications (1)

Application Number Title Priority Date Filing Date
TW86115728A TW395118B (en) 1997-10-23 1997-10-23 Image encoding method, image encoding device, image decoding method and image decoding device

Country Status (1)

Country Link
TW (1) TW395118B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI420892B (en) * 2009-01-09 2013-12-21 Nec Engineering Ltd Image reading apparatus
US9826255B2 (en) 2001-08-31 2017-11-21 Panasonic Intellectual Property Corporation Of America Picture coding method, picture decoding method and apparatuses thereof

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9826255B2 (en) 2001-08-31 2017-11-21 Panasonic Intellectual Property Corporation Of America Picture coding method, picture decoding method and apparatuses thereof
US9986265B2 (en) 2001-08-31 2018-05-29 Panasonic Intellectual Property Corporation Of America Picture coding and decoding apparatuses and methods performing variable length coding and decoding on a slice header stream and arithmetic coding and decoding on a slice data stream
US9986264B2 (en) 2001-08-31 2018-05-29 Panasonic Intellectual Property Corporation Of America Picture coding method, picture decoding method and apparatuses thereof
US10015524B2 (en) 2001-08-31 2018-07-03 Panasonic Intellectual Property Corporation Of America Picture coding and decoding apparatuses and methods performing variable length coding and decoding on a slice header stream and arithmetic coding and decoding on a slice data stream
US10405006B2 (en) 2001-08-31 2019-09-03 Panasonic Intellectual Property Corporation Of America Picture coding and decoding method and apparatuses with variable length code on a header and arithmetic decoding on a frame
US10595051B2 (en) 2001-08-31 2020-03-17 Panasonic Intellectual Property Corporation Of America Picture coding apparatus that codes on a macroblock basis by performing a signal conversion process
US10602194B2 (en) 2001-08-31 2020-03-24 Panasonic Intellectual Property Corporation Of America Picture coding apparatus that codes on a macroblock basis by performing a signal conversion process
TWI420892B (en) * 2009-01-09 2013-12-21 Nec Engineering Ltd Image reading apparatus
US9167123B2 (en) 2009-01-09 2015-10-20 Nec Engineering, Ltd. Image reader apparatus and method of driving the same

Similar Documents

Publication Publication Date Title
TW308776B (en) Memory management for an image signal processor
KR101610419B1 (en) Image signal decoding device, image signal decoding method, image signal encoding device, image signal encoding method, and recording medium
CN101822059B (en) Methods and apparatus for inter-layer residue prediction for scalable video
KR101240089B1 (en) Picture coding apparatus and picture decoding apparatus
KR100878812B1 (en) Method for providing and using information on interlayer prediction of a video signal
JP4838253B2 (en) Image encoding device, image encoding method, image decoding device, image decoding method, and recording method
WO1999022525A1 (en) Image encoding method, image encoder, image decoding method, and image decoder
US20010028725A1 (en) Information processing method and apparatus
US20090168886A1 (en) Moving picture decoding device
JPH1188881A (en) Data structure for image transmission, image encoding method and image decoding method
TW241350B (en)
JP2009207163A (en) Decoding device and method, and recording medium
US20120230388A1 (en) Method and system for protecting image data in frame buffers of video compression systems
WO2007081106A1 (en) Device and method for encoding/decoding video data
JPWO2008120434A1 (en) Decoding circuit, decoding method, encoding circuit, and encoding method
JPH11507485A (en) Advanced television system
TW395118B (en) Image encoding method, image encoding device, image decoding method and image decoding device
JP2006203661A (en) Moving picture coder, moving picture decoder, and coded stream generating method
JP2008035294A (en) Image data recording apparatus, and image data coding device
US20060268989A1 (en) Bit stream generation method and bit stream generatation apparatus
JPH10512730A (en) Method for decoding and encoding compressed video data streams with reduced memory requirements
JP2018125882A (en) Image encoding device, image encoding method and program, image decoding device, and image decoding method and program
JP4364919B2 (en) Video decoding device
JP2004201345A (en) Image encoding method, image encoding apparatus, image decoding method, and image decoding apparatus
JP2002135774A (en) Transmitting apparatus of compressed video information

Legal Events

Date Code Title Description
GD4A Issue of patent certificate for granted invention patent
MK4A Expiration of patent term of an invention patent