TWI373959B - Wavelet codec with a function of adjustable image quality - Google Patents

Wavelet codec with a function of adjustable image quality Download PDF

Info

Publication number
TWI373959B
TWI373959B TW97121450A TW97121450A TWI373959B TW I373959 B TWI373959 B TW I373959B TW 97121450 A TW97121450 A TW 97121450A TW 97121450 A TW97121450 A TW 97121450A TW I373959 B TWI373959 B TW I373959B
Authority
TW
Taiwan
Prior art keywords
quality
coefficient
code
bit
block
Prior art date
Application number
TW97121450A
Other languages
Chinese (zh)
Other versions
TW200952461A (en
Inventor
Yuan Long Jeang
Chuan Cheng Weng
Original Assignee
Kun Shan University Of Technology
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 Kun Shan University Of Technology filed Critical Kun Shan University Of Technology
Priority to TW97121450A priority Critical patent/TWI373959B/en
Publication of TW200952461A publication Critical patent/TW200952461A/en
Application granted granted Critical
Publication of TWI373959B publication Critical patent/TWI373959B/en

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)

Description

1373959 九、發明說明: 【發明所屬之技術領域】 置’特別是關於— 裝置。 本發明係關於一種影像壓縮處理裝 種可調節影像品質之小波轉換編碼處理 【先前技術】1373959 IX. Description of the invention: [Technical field to which the invention pertains] The arrangement is particularly concerned with the device. The present invention relates to an image compression processing apparatus for adjusting image quality of wavelet transform coding processing. [Prior Art]

在今日的網路環境中,多媒體的應用已經扮演了一個 重要的角色’對於影像壓縮編碼器的要求變得越來越嚴苛 ’除了要求在高壓鮮下仍必__原後的影像品質, 更進-步要求影像編能夠支援多種特性,例如,還原 品質的控制,還原解析度的控制,具有感興趣區域(r〇i, Region Of lnterest)的檢索能力等等·.·。為了因應這些要求 ,近年來出現了許多不同的影像壓縮編碼標準。 由於一些吸引人的特性,小波轉換已經被證明對於在 影像及視訊的編碼上是非常有用的,因此近年來所提出的 影像編碼器多是基於小波轉換。其中知名的編碼標準,如 EZW(Embedded Zerotree Wavelets)是使用樹狀結構, SPIHT(Set Partitioned in Hierarchical Trees)是使用串列結 構,SPECK(Set Partitioned Embedded Block Coder)則同時 使用了零區塊和串列結構,而零區塊與陣列之嵌入式小波 編瑪(Embedded Wavelet Image Coding Based on Zero-Blocks and Array,EZBA)和改良型零區塊與陣列之嵌 入式小波編碼(Improved Embedded Wavelet Image CodingIn today's network environment, the application of multimedia has played an important role. 'The requirements for image compression encoders are becoming more and more stringent'. In addition to the requirement for high-quality images, the original image quality will still be More advanced steps require image editing to support a variety of features, such as control of restoration quality, control of reduced resolution, search capabilities with regions of interest (r〇i, Region Of lnterest), etc. In response to these requirements, many different image compression coding standards have emerged in recent years. Due to some attractive features, wavelet transform has proven to be very useful for encoding video and video. Therefore, the image encoders proposed in recent years are mostly based on wavelet transform. Well-known coding standards, such as EZW (Embedded Zerotree Wavelets), use a tree structure, SPIHT (Set Partitioned in Hierarchical Trees) uses a serial structure, and SPECK (Set Partitioned Embedded Block Coder) uses zero blocks and strings simultaneously. Embedded Wavelet Image Coding Based on Zero-Blocks and Array (EZBA) and Improved Zero-Block and Array Embedded Wavelet Coding (Improved Embedded Wavelet Image Coding)

Based on Zero-Blocks and Array, I-EZBA)使用零區塊和陣 列結構。 —6 — 1373959Based on Zero-Blocks and Array, I-EZBA) uses a zero block and array structure. —6 — 1373959

上述所提到的編碼標準只支援失真度可調整,並不 援解析度可調整以及⑽選取能力。為了解決這個問題, Gu.O〇e提出了 S_SPECK編碼標準,它是由spEcK所擴展 而來’使得編—能同時支援失真度可調整、解析度可 整及ROI選取能力等三項特性,並且不會增加太多運算複 雜度。然而,該S-SPECK編碼的壓縮核心所產生出來的編 碼位元較為分散,不一定會將屬於相同的單位代碼 (codeunit ’或是sul&gt;band)的係數所編出來的碼放置在一起 ’又為了取得解析度可調整性必須將屬於相同單位代碼的 編瑪位το放置在_起’因此需要湘記舰先將這些 的編碼位元收集在-起,之後再填人品f層中。因此在 形u層的階段需要使用大量的記憶體空間,並且在編 碼串流中使用不少額外的記錄位元。 、 【發明内容】 本發明之主要目的係提供一種可調節影像品質之小 波轉換編碼處理裝置,其射婦失真度、輕解析度及 對至少-感興趣區域進行選取,以便大幅降低在編碼程序 中之-品Ϊ層形成階段所需的A量記憶體空間,以及在一 、’扁碼串流中使難少量的額外位元,使得本發明具有降低 成本及運算複雜度之功效。 本發月之= 人要目的係提供一種可調節影像品質之小 波轉換編碼處理裝置’其係可使—壓縮編解元之麗縮編 碼作業及&quot;層控制n之輪出作㈣步進行,使得本發 明具有提高編碼效率之功效。 —7〜 根據本發明之可調節影像品質之小波轉換編碼處理 裝置,其包含一離散小波轉換單元、一小波係數分群單元 、一壓縮編碼單元及一品質層控制器。該離散小波轉換單 元將一輸入影像進行二維小波轉換,並對應該輸入影像大 小產生一小波係數矩陣;該小波係數分群單元用以接收該 小波係數矩陣,並將該小波係數矩陣内的各係數對應數個 感興趣區塊(ROI)進行係數重組;該壓縮編碼單元接收該重 組後的係數’並利用一零區塊編碼技術進行編碼;該品質 層控制器將壓縮編碼後的資料依據數個預設的位元預算及 數個解析度層級填入數個品質層格式。 【實施方式】 為讓本發明之上述及其他目的、特徵及優點能更明顯 易僅’下文特舉本發明之較佳實關,並配合所附 作詳細說明如下: 品皙1圖所示,本發明較佳實施例之可調節影像 區域㈣’、換編碼處理裝置1,其係為—可調整感興趣 00 ^ 小波編碼器(Scalable ROI Image Wavelet S咖A),_ _碼器之ϋ f, :;波轉rr處理裝置單; 波轉;㈣舰碱轉置1之離散小 轉換,產生^^壓縮的影像,以進行二維小波 ”原衫像大小相同的小波係數矩陣;兮】波 —8 — 係數分群單元12用以接收該小波係數矩陣’經過一係數分 群子單元121及一 ROI區塊分群子單元122的重新編排和 集合’以進行該小波係數矩陣之係數重組,使該編碼系統 1取得感興趣區域(Region of Interest,ROI)之檢索能力及解 析度的可調整性,其中該係數分群子單元121用以將該小The coding standards mentioned above only support distortion adjustment, not resolution adjustment and (10) selection ability. In order to solve this problem, Gu.O〇e proposed the S_SPECK coding standard, which is extended by spEcK to enable the editing to support three characteristics of distortion, adjustable resolution and ROI selection. Does not add too much computational complexity. However, the coded bits generated by the S-SPECK encoded compression core are relatively scattered, and the codes compiled by the coefficients of the same unit code (codeunit 'or sul>band) are not necessarily placed together. In order to obtain the resolution adjustability, the numerator bits το belonging to the same unit code must be placed at _', so it is necessary for the Xiangji ship to collect these coded bits first, and then fill in the character f layer. Therefore, a large amount of memory space is required at the stage of forming the u layer, and a lot of extra recording bits are used in the encoded stream. SUMMARY OF THE INVENTION The main object of the present invention is to provide a wavelet transform coding processing apparatus capable of adjusting image quality, which has a projection degree of distortion, a light resolution, and a selection of at least a region of interest, so as to greatly reduce the encoding process. The amount of A memory space required for the formation phase of the pin layer, and the difficulty of making a small number of extra bits in the 'flat code stream, make the invention have the effect of reducing cost and computational complexity. The purpose of this month is to provide a wavelet transform coding processing device that can adjust the image quality, which can be used to compress and compile the condensed coding operation and the layer control (n) step. The invention has the effect of improving coding efficiency. 7~ The image-converted wavelet transform coding processing apparatus according to the present invention comprises a discrete wavelet transform unit, a wavelet coefficient grouping unit, a compression coding unit and a quality layer controller. The discrete wavelet transform unit performs two-dimensional wavelet transform on an input image, and generates a wavelet coefficient matrix corresponding to the input image size; the wavelet coefficient grouping unit is configured to receive the wavelet coefficient matrix, and the coefficients in the wavelet coefficient matrix Performing coefficient recombination corresponding to a plurality of ROIs; the compression coding unit receives the recombined coefficient 'and encodes using a zero block coding technique; the quality layer controller compresses the encoded data according to several The preset bit budget and several resolution levels are filled in several quality layer formats. The above and other objects, features, and advantages of the present invention will become more apparent from the <RTIgt; The adjustable image area (4) of the preferred embodiment of the present invention, the code conversion processing device 1 is Scalable ROI Image Wavelet S, and _ _ coder , :; wave to rr processing device single; wave rotation; (four) ship base transposition 1 discrete small conversion, generate ^ ^ compressed image to perform two-dimensional wavelet "original shirt image size of the wavelet coefficient matrix; 8 - the coefficient grouping unit 12 is configured to receive the wavelet coefficient matrix 're-arrangement and set ' through a coefficient grouping sub-unit 121 and a ROI block grouping sub-unit 122 to perform coefficient recombination of the wavelet coefficient matrix, so that the encoding The system 1 obtains the retrievability of the Region of Interest (ROI) and the adjustability of the resolution, wherein the coefficient sub-unit 121 is used to

波係數矩陣之係數分群’以形成數個r0I區塊,而該R〇I 區塊分群子單元122則將該數個R〇l區塊區分成數個單位 代瑪(Codeunit);該壓縮編碼單元13可接收該重組後的係 數’並利用I-EZBA編碼技術進行編碼;該品質層控制器 14 &quot;T依照使用者的需求,在設定不同的位元預算以及解析 度層級後’將壓縮編碼後的位元填入該S_EZBA之編竭系 統1所制定的格式,形成能符合使用者要求的位元串流, 並藉由一解碼裝置,使該影像還原時選擇所要還原的影像 品質和解析度。 上述I-EZBA編碼利用直接萃取特徵值的方式完成影 像之特徵值萃取處理,相較於習用該EZBA編碼需建立係 數對應圖的編碼方式,該^EZBA編碼因不需要重要係數 對應圖的建立,而可達成減少記憶體使用量的目的。 為了取得ROI檢索能力’可以將該欲壓縮的影像所有 的小波係數重組成一空間導向樹,並對該空間導向樹獨立 的進行編碼。如第2圖所示,其揭示該空間導向樹呈現出 在不同次頻帶 LL3、LH3、HL3、HH3、LH2、HL2、HH2 LHl HL1及HH1的父子係數關係,所有的係數被組織 成樹狀結構,並且樹根位在最低頻次頻帶LL3中;第2圖 —9 — 1373959The coefficients of the wave coefficient matrix are grouped to form a plurality of r0I blocks, and the R〇I block grouping subunit 122 divides the plurality of R〇1 blocks into a plurality of unit code units (Codeunit); the compression coding unit 13 can receive the recombined coefficient 'and encode using I-EZBA coding technology; the quality layer controller 14 &quot;T according to the user's needs, after setting different bit budgets and resolution levels, 'compress coding The subsequent bits are filled in the format defined by the S_EZBA's editing system 1 to form a bit stream that meets the user's requirements, and a decoding device is used to select the image quality and resolution to be restored when the image is restored. degree. The above I-EZBA coding uses the method of directly extracting the feature values to complete the feature value extraction processing of the image. Compared with the conventional EZBA code, the coding mode of the coefficient correspondence map needs to be established, and the ^EZBA code does not require the establishment of the correspondence map of the important coefficients. The purpose of reducing the amount of memory used can be achieved. In order to obtain the ROI search capability, all wavelet coefficients of the image to be compressed can be reconstructed into a spatial steering tree, and the spatial steering tree is independently encoded. As shown in Fig. 2, it is revealed that the spatially oriented tree exhibits a parent-child coefficient relationship in different sub-bands LL3, LH3, HL3, HH3, LH2, HL2, HH2, LH1, HL1, and HH1, and all coefficients are organized into a tree structure. And the root of the tree is in the lowest frequency band LL3; Figure 2-9 — 1373959

,成二頻帶中的係數在空間上與該原始的影像中的某-個 =相互對應”空間導向樹的父子係數在其所 的人頻帶巾’會對應到該原始影像巾的相同位置。因此 ’該原始影像中—個方職域可以由單獨—個空間導向樹 的係數進仃重建。其中若第2圖中最低頻次頻帶LL3的大 J為4 4即16個係數,因此共有16個空間導向樹可 以用來重建出16個對應的ROI影像。 該原始影像經過小波轉換可分解出不同的次頻帶,K 段的分解可以產生3K+1個次頻帶及κ+ι層解析度層級 -月參照第3圖所不’其揭示一個經過三階段(κ=3)小波轉 換的次頻帶結構及四層解析度層級RQ、R1、Μ及Μ的 關係’其中最低的解析度層'級R〇由該最低頻的次頻帶LL3 所組成;次低的解析度層級R1贱再額外包含三個高頻 次頻帶HL3、LH3及翻,接下來的解析度層級,則以相 似的方法,增加組成的次頻帶。當需要某一個解析度的影 像時’只要將不包含在此解析度⑽次鮮排除,以剩^ 的次頻帶進行還原即可。例如,當需要該解析度幻時, 可以將該三個次頻帶HU、聰及Lm排除,而不對該三 個次頻帶HU、HH1及LH1中的係數進行編碼。因此= 了取得解析度的可調整性,將次頻帶⑽錢係數依照解 ^度層級分成不同的子集合,並對該子集合獨立進*行壓縮 綜上所述,本發明較佳實施例之小波係數分群單元Η 為了達成同時ROI檢索能力和解析度可調整性,其必須先 —10 — 1373959 將該小波餘祕之魏組織成為魏個郎導 後進-步將空間導向樹中的係數依照所屬的解析度、,、、 將相同解析度層級的係數集合起來以形成如第4圖^_、 數個單位代碼(Codeunit)CO、Cl、C2,转+ 不之 開舌之’ 的杳 建能力係可藉由該小波係數矩陣解析出的數個空 所獲得,紐再由該空間導向樹區分出該數個單位° I、C2,以便各該R〇l獲得解析度的可調整性。其中該 些早位代媽CO、a、C2是壓縮編碼的基本單位。如: 圖所示,因為要進行該ΜΖΒΑ之零區塊壓 最小單位至少要I個2χ2的區塊,因此⑶至少 個2x2的區塊,所以縱使在3階段的小波轉換可以區= 4 :解:度層級的次頻帶,不過為了屈就零區塊 的取小早位,所以將位在第一層解析度R〇〔 =〕,跟第二層解析度則的3個係數共同組成該單 C0’因此在空間導向射只分出3個解析度層級,所=辱 早位代碼co是由空間導向樹中,位在次頻帶lu和^ 、LH3、HH3中的係數所組成’該單位代碼α由空間 =中的次頻帶HL2、LH2、㈣所纽成,該單位代碼q 由二間導向樹中的次頻帶、_、Hm所組成。 在完賴小波餘矩陣之餘重_,即可利用該屢 碼早70 13對其進行後續眺缩編碼作業。請參昭第5 圖所不,在該壓縮編碼單元13令,本發明對⑽區塊中 的係數之壓縮編碼作業係利用2字型的編碼順序,即對該 单位代碼由低解析度到高解析度順序編碼,而其編碼位元〆 —11 — 1373959 的輪出如第6圖所示,由高位元平面到低位元平面 個位元平健讀單錄碼c : 代碼C2 ’如此,可方便解瑪時能夠輕易地分辨== 解析度層、㈣編雖元。_树_彻啦ba進行: 碼作業,因此相較於習用編碼技術_係數與門捏值對應 比較的結果,具餅低編瑪運算的複雜度,並節省在比: 中大量記憶體之使用。The coefficients in the two frequency bands are spatially corresponding to a certain one of the original images. The parent-child coefficients of the spatially-oriented tree correspond to the same position of the original image towel in the human band towel. In the original image, the square domain can be reconstructed by the coefficients of the individual spatial steering tree. If the large J of the lowest frequency band LL3 in Fig. 2 is 4 4 or 16 coefficients, there are 16 spatial orientations. The tree can be used to reconstruct 16 corresponding ROI images. The original image can be decomposed into different sub-bands by wavelet transform, and the K-segment decomposition can generate 3K+1 sub-bands and κ+1 layer resolution level-month reference. Figure 3 does not reveal a relationship between a sub-band structure undergoing three-stage (κ=3) wavelet transform and a four-layer resolution level RQ, R1, Μ and ' 'the lowest resolution layer' level R〇 The lowest frequency sub-band LL3 is composed; the second low resolution level R1贱 additionally includes three high-frequency sub-bands HL3, LH3 and flip, and the next resolution level is increased in a similar manner. Frequency band. When a certain solution is needed In the case of image degree, as long as it is not included in this resolution (10), it is necessary to perform the reduction in the sub-band of the remaining ^. For example, when the resolution is required, the three sub-bands HU, Cong and Lm is excluded, and the coefficients in the three sub-bands HU, HH1, and LH1 are not encoded. Therefore, the adjustability of the resolution is obtained, and the sub-band (10) money coefficient is divided into different sub-sets according to the resolution level, and The wavelet coefficient grouping unit of the preferred embodiment of the present invention is described in detail. In order to achieve simultaneous ROI retrieval capability and resolution adjustability, the wavelet must be first -10 - 1373959. The Wei Wei organization becomes Wei Gelang, and the coefficients in the space-oriented tree are grouped according to the resolution, , and the coefficients of the same resolution level to form a unit code as shown in Fig. 4 (Codeunit) CO, Cl, C2, turn + no open tongue's built-in ability can be obtained by the number of spaces parsed by the wavelet coefficient matrix, and then the space guide tree distinguishes the several Unit ° I, C2, so Each of the R〇l obtains the adjustability of the resolution, wherein the early generations of the mothers CO, a, and C2 are the basic units of the compression coding, as shown in the figure, because the minimum unit of the zero block pressure is to be performed. At least one block of 2χ2 is required, so (3) at least 2x2 blocks, so even if the wavelet transform in the 3 stage can be the area = 4: solution: the sub-band of the degree level, but in order to yield the small block of the zero block , so it will be in the first layer resolution R 〇 [ = ], and the three coefficients of the second layer resolution together constitute the single C0 ', therefore, only three resolution levels are separated in the space-oriented shot, The early code co is composed of the coefficients in the sub-bands lu and ^, LH3, HH3 in the space-oriented tree. The unit code α is formed by the sub-bands HL2, LH2, (4) in the space=, the unit The code q consists of the sub-bands, _, Hm in the two leading trees. After the residual weight _ of the wavelet residual matrix is over, the subsequent coded encoding operation can be performed by using the code. Referring to FIG. 5, in the compression coding unit 13, the compression coding operation of the coefficients in the (10) block of the present invention utilizes a 2-word coding order, that is, the unit code is from low resolution to high. The resolution sequence is encoded, and the rounding of its encoding bit 〆-11-1373959 is as shown in Fig. 6, from the high bit plane to the low bit plane, the bit reading is simple. The code c: 'C2' It is easy to distinguish between == resolution layer and (4) code although it is convenient to solve the problem. _Tree_Cheerba performs: Code operation, so compared with the comparison result of the conventional coding technique _ coefficient and gate pinch value, the complexity of the cake low-margin operation is saved, and the use of a large amount of memory is saved. .

請參照第7a及7b圖所示,其揭示本發明之小波轉換 編碼處理裝置1所制定的品質層格式2,當各該R〇i區塊 進行壓縮編碼之後,可將其輪出的編碼位元分配到該格式 2中。其中該品質層格式2設有數個品質層,以本發明較 佳貝施例為例’該品質層格式2包令--第一品質屬Q〇、一Referring to FIG. 7a and FIG. 7b, the quality layer format 2 defined by the wavelet transform coding processing apparatus 1 of the present invention is disclosed. After each R〇i block is compression-encoded, the coded bits that can be rotated are displayed. The meta is assigned to this format 2. The quality layer format 2 is provided with a plurality of quality layers, and the preferred embodiment of the present invention is as an example. The quality layer format 2 package order--the first quality belongs to Q〇, one

第一品質層Q1、一第二品質層Q2、一第四品質層Q3及 一第五品質層Q4,其用以使該R0I區塊進行重建時能夠 藉由該品質層Q0至Q4之選擇以進行解碼,進而可以選擇 該ROI區塊影像品質的重建。如第8圖所示,該數個品質 層Q0至Q4可以位元率來作為分界,例如當需要〇.25bpp (bit per pixel,每像素位元數)的品質時,即可選擇該第一 品質層Q0和第二品質層Q1進行解碼。 清再參照第7 a圖所不’在該品質層格式2之第一品質 層Q0中包含一額外位元(overhead bit)及一交錯編碼位元 (interleavedbit)23兩個部份,在該第一品質層Q〇的額外位 元中進一步設有一第一欄位21及一第二欄位22,該第一 棚位用以紀錄品質層的長度’該第二糊位22用以紀錄該 一 12 — 1373959 ROI區塊所能提供的解析度層級的數量,此外,如第7b圖 所示,包含該第二品質層Q1之後的所有品質層Q2至Q4 之額外位元僅設有該第一欄位21及該交錯編碼位元23。 該交錯編碼位元23可供該壓縮編碼單元13之輸出直接填 入此部份’直到該品質層的長度達到該第一攔位21所記錄 的長度為止,在進行下一個品質層的位元分配時,同樣將 該第一攔位21先輸出,然後延續上一個品質層的交錯編碼 位元23,將後續的編碼位元填入該品質層的交錯編碼位元 23部份’直到位元預算到達為止。 請參照第9圖所示,其揭示該小波轉換編碼處理裝置 1之壓縮編碼單元13的電路方塊圖,其中該電路方塊圖係 適合用以處理8*8像素大小的R〇i區塊。該壓縮編碼單元 13的電路方塊圖係包含一單位代碼讀取器131、一係數處 理模組132、一 16位元暫存器133、一符號記憶元件134 、一決策編碼器135、一係數/符號合成模組136、一符號 旗標137及一門檻產生器丨38。 該單位代碼讀取器131讀取存放在一外部記憶體的 ROI區塊的係數;該單位代碼讀取器131將該係數送至該 係數處理模組132,該係數處理模組132將該係數的符號 位元擷取出來並存入該符號記憶元件134,藉由該係數處 理模組132擷取出二進制位元平面值,並輸入該16位元暫 存器133,接著由該決策編碼器〖35讀取係數的二進制值 進行重要係數或區塊的判斷並輸出第一階段的編碼位元, 再由該係數/符號合成模組13 6將編碼位元和相對應的符號 —13 — 1373959 曰德令口暫思 編碼位元,即I缩編碼的結果 ’取後U層控制器14依照所要求的位元預算和解析 度層級,將編媽位元填入到各該品質層中,並立即的將編 碼位讀Μ職元預算職為止,#該品質層控制器Μ ,㈣―訊號通知 該早位代糾取㈣丨,—辦㈣碼的係數。a first quality layer Q1, a second quality layer Q2, a fourth quality layer Q3, and a fifth quality layer Q4, which are used to enable the selection of the quality layers Q0 to Q4 when the ROI block is reconstructed. Decoding is performed to select the reconstruction of the image quality of the ROI block. As shown in FIG. 8, the plurality of quality layers Q0 to Q4 can be used as a boundary by a bit rate. For example, when a quality of 2525bpp (bit per pixel) is required, the first one can be selected. The quality layer Q0 and the second quality layer Q1 are decoded. In the first quality layer Q0 of the quality layer format 2, an additional extra bit and an interleaved bit 23 are included in the first quality layer Q0. Further, a first field 21 and a second field 22 are further disposed in the extra bit of the quality layer Q, the first booth is used to record the length of the quality layer. The second paste 22 is used to record the first bit. 12 — 1373959 The number of resolution levels that can be provided by the ROI block. In addition, as shown in FIG. 7b, the extra bits including all the quality layers Q2 to Q4 after the second quality layer Q1 are only provided with the first Field 21 and the interleaved coded bit 23. The interleaved coding bit 23 can be used to directly fill the output of the compression coding unit 13 until the length of the quality layer reaches the length recorded by the first barrier 21, and the bit of the next quality layer is performed. When allocating, the first interceptor 21 is also output first, and then the interleaved coded bit 23 of the previous quality layer is continued, and the subsequent coded bits are filled into the interleaved coded bit 23 of the quality layer until the bit The budget has arrived. Referring to FIG. 9, a circuit block diagram of the compression coding unit 13 of the wavelet transform coding processing apparatus 1 is disclosed, wherein the circuit block diagram is suitable for processing R〇i blocks of 8*8 pixel size. The circuit block diagram of the compression coding unit 13 includes a unit code reader 131, a coefficient processing module 132, a 16-bit temporary register 133, a symbol memory element 134, a decision encoder 135, a coefficient/ The symbol synthesis module 136, a symbol flag 137, and a threshold generator 丨38. The unit code reader 131 reads the coefficient of the ROI block stored in an external memory; the unit code reader 131 sends the coefficient to the coefficient processing module 132, and the coefficient processing module 132 sets the coefficient. The symbol bit is retrieved and stored in the symbol memory component 134, and the coefficient processing module 132 extracts the binary bit plane value and inputs the 16-bit scratchpad 133, and then the decision encoder 35 reading the binary value of the coefficient to judge the important coefficient or block and output the coding bit of the first stage, and then the coefficient/symbol synthesis module 13 6 will encode the bit and the corresponding symbol - 13 - 1373959 曰De Lingkou temporarily thinks about the coding bit, that is, the result of the I-coupling code. After the U-layer controller 14 takes the required bit budget and the resolution level, the user-defined bit is filled into each quality layer, and Immediately read the coded position to the job budget, #Quality layer controller Μ, (4) ― signal to inform the early generation to correct (four) 丨, - do (four) code coefficient.

如上所述,本發明之小波轉換編碼處理裝置i在分配 :=:品質層時’可以縮編碼和品質層之輸出 ::=于,不需要等到該品質層的位元預算到達才 β„订、入、作,並且不需要使用記憶體空間將屬於相同 2代碼之位置的編碼位元收集在一起,以減少記憶體的 2,進而使本發明具有降低成本、降低運算複雜度及提 局編碼效率之功效。 雖然本發明已利用上述較佳實施例揭示,鮮並非用 以限定本發明,任域習此技藝者在不脫離本發明之精神 =範圍之内,相對上述實施例進行各種更動與修改仍屬本 1所保護之技術料,因此本發明之倾細當·視後附 之申睛專利範圍所界定者為準。 1373959 【圖式簡單說明】 第1圖:本發明較佳實施例之可調節影像品質之小波轉 換編碼處理裝置之編碼流程示意圖。 第2圖:本發明較佳實施例之可調節影像品質之小波轉 換編碼處理裝置之空間導向樹示意圖。 第3圖:本發明較佳實施例之可調節影像品質之小波轉 換編碼處理裝置之解析度層級示意圖。 第4圖:本發明較佳實施例之可調節影像品質之小波轉 換編碼處理裝置之各單位代碼之組成示意圖。 第5圖:本發明較佳實施例之可調節影像品質之小波轉 換編碼處理裝置之Z字型的編碼示意圖。 第6圖:本發明較佳實施例之可調節影像品質之小波轉 換編碼處理裝置之編碼位元輸出順序之示意圖。 第7a圖:本發明較佳實施例之可調節影像品質之小波 轉換編碼處理裝置之品質層格式示意圖。 第7b圖:本發明較佳實施例之可調節影像品質之小波 轉換編碼處理裝置之品質層格式示意圖。 第8圖:本發明較佳實施例之可調節影像品質之小波轉 換編碼處理裝置以位元率作為數個品質層分界之示意圖。 第9圖:本發明較佳實施例之可調節影像品質之小波轉 換編碼處理裝置之壓縮編碼單元的電路方塊圖。 【主要元件符號說明】 1 小波轉換編碼處理裝置11 離散小波轉換單元 —15 — 1373959 12 小波係數分群單元 122 ROI區塊分群子單元 131單位代碼讀取器 133 16位元暫存器 135決策編碼器 137符號旗標 14 品質層控制器 21 第一欄位 23 交錯編碼位元 121係數分群子單元 13 壓縮編碼早.元 132係數處理模組 134符號記憶元件 136係數/符號合成模組 138門檻產生器 2 編碼格式 22 第二欄位As described above, the wavelet transform coding processing apparatus i of the present invention can reduce the coding and the output of the quality layer when assigning the == quality layer::=, does not need to wait until the bit budget of the quality layer arrives. , input, and do not need to use the memory space to collect the coding bits belonging to the same 2 code position to reduce the memory 2, so that the invention has the cost reduction, the computational complexity and the extraction code The present invention has been described with reference to the preferred embodiments of the present invention, and is not intended to limit the invention, and various modifications may be made to the above embodiments without departing from the spirit and scope of the invention. The modification is still the technical material protected by the present invention, and therefore the invention is defined by the scope of the patent application. 1373959 [Simple Description of the Drawing] FIG. 1 : Preferred Embodiment of the Invention Schematic diagram of the encoding process of the wavelet transform encoding processing device capable of adjusting image quality. FIG. 2 is a wavelet transform encoding processing device capable of adjusting image quality according to a preferred embodiment of the present invention. Schematic diagram of the interleaving tree. Fig. 3 is a schematic diagram showing the resolution level of the wavelet transform encoding processing device capable of adjusting image quality according to a preferred embodiment of the present invention. Fig. 4 is a diagram showing wavelet transform of an adjustable image quality according to a preferred embodiment of the present invention. Schematic diagram of the composition of each unit code of the encoding processing device. Fig. 5 is a schematic diagram of the zigzag encoding of the wavelet transform encoding processing device capable of adjusting image quality according to a preferred embodiment of the present invention. Fig. 6 is a view showing a preferred embodiment of the present invention. FIG. 7a is a schematic diagram of a quality layer format of a wavelet transform encoding processing device capable of adjusting image quality according to a preferred embodiment of the present invention. FIG. 7b is a schematic diagram of a quality layer format of a wavelet transform encoding processing device capable of adjusting image quality. A quality layer format diagram of a wavelet transform coding processing apparatus capable of adjusting image quality according to a preferred embodiment of the present invention. FIG. 8 is a diagram showing a wavelet transform coding processing apparatus capable of adjusting image quality according to a preferred embodiment of the present invention. A schematic diagram of several quality layer boundaries. Figure 9: Small image quality of the preferred embodiment of the present invention Circuit block diagram of the compression coding unit of the conversion coding processing device. [Description of main component symbols] 1 Wavelet transform coding processing apparatus 11 Discrete wavelet transform unit-15 - 1373959 12 Wavelet coefficient grouping unit 122 ROI block grouping subunit 131 unit code reading Picker 133 16-bit temporary register 135 decision encoder 137 symbol flag 14 quality layer controller 21 first field 23 interlaced coded bit 121 coefficient grouping sub-unit 13 compression coding early. element 132 coefficient processing module 134 symbol Memory Element 136 Coefficient/Symbol Synthesis Module 138 Threshold Generator 2 Encoding Format 22 Second Field

Claims (1)

、申請專職101 丨丨。丨年年月Μ修正本 種可调筇影像品質之小波轉換編碼處理裝置,其包含 離政小波轉換單元,將一輸入影像進行二維小波轉換 並對應該輸入影像大小產生一小波係數矩陣; J、波係數分群單TG ’用以接㈣錢絲矩陣,並將 ^波係數矩㈣的各係數職數·興趣區r 進行係數重組; 鈿編碼單元,接收該重組後的係數,並利用 塊編碼技術進行編碼;及 Z品質層控制器,賴縮編碼後的資料依據數個預設的 兀預异及數個解析度層級填人數個品f層格式; 卢、該麵編碼單元包含—單位代碼讀取器、一係數 LT、一16位元暫存器、—符號記憶元件、-決 一係數/符號合成模組、—符號旗標及一門 =生器’該單位代碼讀取器用以讀取該⑽區塊的 也將轉絲處賴組,料、數處理模 並存人料號記憶元 模組触H餘元平面值, ’並由該決策編碼11讀取係數 要係數的判斷並輸出階段的 、,扁碼位兀,該係數/符號人 的符號位元合併,送出將編碼位元和相對應 編碼位元填入到各該品卿:編碼位元,並將該 負層&amp;制态中,以完成一個單位 代碼之編碼位元的輸出。 2、依申請專利範圍第丨項所述之可調節影像品質之小波轉 換編碼處理裝置,其中該小波係數分群單元包含—供^ =群子單it及-脇區塊分群子單^,該係數分群子 用以將該小波係數_之係數分群,以形成數個 1區塊’該ROI區塊分群子單元將該數個膽區塊 區分成數個單位代碼。 利範㈣1項所述之调影像品質之小波轉 、碼處理裝置,其中該小波係數重組成—空間導向樹 斜=間導向樹用以重建出一個對應的R0I區塊,並 在導向樹獨立的進行編碼’該空間導向樹呈現出 在不同次頻帶的父子係數關係。 4、=專圍第1項所述之可調節影像品質之小波轉 換、,扁碼處理裳置,盆中K p比^^^ 產生3K+I:f 小波轉換,用以分解 頻帶及K+1層解析度層級。 1说晴專利範圍第2項所述之可調節影像品質之小波轉 .低解析度物析度順序t碼早讀該單位代碼由 6、依申請專利範圍第丨項所述之 換編碼處理!晋,1卩办像口口負之小波轉 第 -第五品質層,其用以^^塊 該五個品質層之選擇進行解碼。[塊進仃重建時猎由 、依申請專圍第6項所述之可影像品質之小波轉 質居Γ其中_品質層格式包含-第 為層、一第二品質層“ 牙 101年4月12日修正替換頁 換編碼處理裝置,其中該五個品質層以位元率來作為分 界。 8、 依申請專利範圍第6項所述之可調節影像品質之小波轉 換編碼處理裝置,其中各該品質層包含一額外位元及一 交錯編碼位元,該第一品質層之額外位元設有一第一欄 位及一第二攔位,而該第二品質層、第三品質層、第四 品質層及第五品質層分別之額外位元設有第一攔位,該 第一攔位用以紀錄品質層的長度,該第二攔位用以紀錄 該ROI區塊所能提供的解析度層級的數量,該交錯編 碼位元供該壓縮編碼單元將輸出直接填入此部份。 9、 依申請專利範圍第1項所述之可調節影像品質之小波轉 換編碼處理裝置,其中該品質層控制器在完成一個單位 代碼之編碼位元的輸出後,發出一訊號通知該單位代碼 讀取器讀取下一個係數。Apply for a full-time 101 丨丨. The wavelet transform coding processing device of the adjustable image quality is modified in the following year, which comprises a political wavelet transform unit, which performs two-dimensional wavelet transform on an input image and generates a wavelet coefficient matrix for the input image size; The wave coefficient group TG ' is used to connect (4) the money matrix, and the coefficients of the coefficient coefficient moment (4) are recombined by the coefficients of the number of positions and the interest region r; the coding unit receives the recombined coefficient and uses block coding. The technology encodes; and the Z quality layer controller, the data after the encoding is based on a plurality of preset 兀 pre-existing and a plurality of resolution levels to fill the number of the product f-layer format; Lu, the coding unit of the surface includes - the unit code Reader, a coefficient LT, a 16-bit scratchpad, a symbol memory component, a decision coefficient/symbol synthesis module, a symbol flag, and a gate=storage unit. The unit code reader is used to read The (10) block will also be turned on, and the material and the number of processing modules will be stored in the memory element module to touch the H-element plane value, and the decision coefficient 11 will be read by the decision code 11 and the output order will be output. The segment of the segment, the flat code bit 兀, the symbol/symbol human symbol bit is merged, and the coded bit and the corresponding coded bit are sent to each of the quality: coded bits, and the negative layer &amp; In the state, to complete the output of the coded bits of a unit code. 2. The wavelet transform coding processing apparatus of the adjustable image quality according to the application scope of the patent application, wherein the wavelet coefficient grouping unit comprises: a ^^ group sub-it and a threat block sub-group ^, the coefficient The sub-group is used to group the coefficients of the wavelet coefficients _ to form a plurality of 1-blocks. The ROI block sub-group divides the plurality of biliary blocks into a plurality of unit codes. Li Fan (4) The image-quality wavelet transform and code processing device described in item 1 wherein the wavelet coefficients are recombined—the spatial steering tree skew=inter-steering tree is used to reconstruct a corresponding R0I block and independently performed in the guiding tree. The code 'the spatially oriented tree exhibits a parent-child coefficient relationship in different sub-bands. 4, = specializes in the wavelet transform of the adjustable image quality described in item 1, and the flat code processing is performed, and the K p ratio ^^^ in the basin produces 3K+I:f wavelet transform for decomposing the frequency band and K+ 1 layer resolution level. 1 Said that the fine image of the adjustable image quality mentioned in the second paragraph of the patent scope is low-resolution resolution sequence t code early reading the unit code by 6. According to the application of the patent scope, the conversion code processing! Jin, 1 卩 像 像 口 负 第 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [When the block is rebuilt, the image quality of the wavelet is transferred to the product according to item 6 of the application. The quality layer format includes - the first layer and the second quality layer. On the 12th, the replacement page-changing code processing device is modified, wherein the five quality layers are demarcated by a bit rate. 8. The image-converted wavelet transform coding processing device according to claim 6 of the patent application scope, wherein each The quality layer includes an extra bit and an interlaced bit, the extra bit of the first quality layer is provided with a first field and a second block, and the second quality layer, the third quality layer, and the fourth Each of the quality layer and the fifth quality layer respectively has a first block, the first block is used to record the length of the quality layer, and the second block is used to record the resolution that the ROI block can provide. The number of levels, the interleaved coded bits are used by the compression coding unit to directly fill the output into the portion. 9. The image-converted wavelet transform coding processing device according to claim 1 of the patent application scope, wherein the quality layer The controller is completing one After the output coded bits of the code bits, sent a signal to notify the unit code reader to read the next coefficient.
TW97121450A 2008-06-09 2008-06-09 Wavelet codec with a function of adjustable image quality TWI373959B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW97121450A TWI373959B (en) 2008-06-09 2008-06-09 Wavelet codec with a function of adjustable image quality

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW97121450A TWI373959B (en) 2008-06-09 2008-06-09 Wavelet codec with a function of adjustable image quality

Publications (2)

Publication Number Publication Date
TW200952461A TW200952461A (en) 2009-12-16
TWI373959B true TWI373959B (en) 2012-10-01

Family

ID=44872072

Family Applications (1)

Application Number Title Priority Date Filing Date
TW97121450A TWI373959B (en) 2008-06-09 2008-06-09 Wavelet codec with a function of adjustable image quality

Country Status (1)

Country Link
TW (1) TWI373959B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106454371B (en) 2010-04-13 2020-03-20 Ge视频压缩有限责任公司 Decoder, array reconstruction method, encoder, encoding method, and storage medium
CN106067984B (en) 2010-04-13 2020-03-03 Ge视频压缩有限责任公司 Cross-plane prediction
TWI678916B (en) 2010-04-13 2019-12-01 美商Ge影像壓縮有限公司 Sample region merging
ES2904650T3 (en) 2010-04-13 2022-04-05 Ge Video Compression Llc Video encoding using multitree image subdivisions
TWI501652B (en) * 2012-01-05 2015-09-21 Ambarella Taiwan Ltd An image process method having a function of determining the suitable properties of the directional filter

Also Published As

Publication number Publication date
TW200952461A (en) 2009-12-16

Similar Documents

Publication Publication Date Title
Christopoulos et al. The JPEG2000 still image coding system: an overview
TWI373959B (en) Wavelet codec with a function of adjustable image quality
TW517501B (en) Quality based image compression
AU2006204634B2 (en) Runlength encoding of leading ones and zeros
CN101729896B (en) Information processing device and method
CN1221284A (en) Digital recording and playback apparatus having MPEG code decoder and method therefor
JP2000299863A (en) Image compressing device
CN101076117A (en) Image processing apparatus and image processing method
CN101404772B (en) VLSI image compression encoder based on wavelet transformation
JP2005218124A (en) Data compression system
CN101917622B (en) 14-bit width image compression hardware coder
CN1211146A (en) Image compression
KR20040023606A (en) Method and apparatus for three-dimensional wavelet transform
Bao et al. Design of wavelet-based image codec in memory-constrained environment
JP2002135593A (en) Image processing apparatus and image processing method, and storage medium
JP2003115765A (en) Encoding device and method therefor decoding device and method therefor and editing device and method therefor
Rao et al. Video Codec IP using Discrete Wavelet Transform
TW200915227A (en) Encoding method and device for image data
JP2006352365A (en) Image processing apparatus, image processing method, program, and recording medium
Chen et al. Multiple region-of-interest image coding with embedded watermark
Venugopal et al. Wavelet based Convolutional Autoencoder for Medical Image Compression
JP4194311B2 (en) Moving picture encoding apparatus, moving picture decoding apparatus, and methods thereof
JP2004221781A (en) Image processing apparatus
JP4117886B2 (en) Image processing apparatus, image processing method, program, and information recording medium
JP2005151018A (en) Image encoder and image decoder

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees