TWI247246B - Scaling device and method for scaling a digital picture - Google Patents

Scaling device and method for scaling a digital picture Download PDF

Info

Publication number
TWI247246B
TWI247246B TW93111793A TW93111793A TWI247246B TW I247246 B TWI247246 B TW I247246B TW 93111793 A TW93111793 A TW 93111793A TW 93111793 A TW93111793 A TW 93111793A TW I247246 B TWI247246 B TW I247246B
Authority
TW
Taiwan
Prior art keywords
buffer
block
scaling
digital picture
weighting
Prior art date
Application number
TW93111793A
Other languages
Chinese (zh)
Other versions
TW200535733A (en
Inventor
Wen-Kuo Lin
Original Assignee
Silicon Integrated Sys 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 Silicon Integrated Sys Corp filed Critical Silicon Integrated Sys Corp
Priority to TW93111793A priority Critical patent/TWI247246B/en
Publication of TW200535733A publication Critical patent/TW200535733A/en
Application granted granted Critical
Publication of TWI247246B publication Critical patent/TWI247246B/en

Links

Abstract

A scaling device and method for scaling a digital picture in only one pass requires only a small amount of buffer memory which can be used in real time. The method includes inputting the digital picture, generating a block of the digital picture from the digital picture, creating a first weighting matrix and a second weighting matrix, and multiplying the block of the digital picture by the first weighting matrix and the second weighting matrix.

Description

日修(更)正替換頁 案號:093111793 94年7月I2日修正 玖、發明說明: 【發明所屬之技術領域】 本發明提供一種可縮放一數位圖片之縮放裝置以及相關之方 法,尤指一種可縮放一數位圖片之縮放裝置以及相關之方法,其 僅利用一轉換來處理水平縮放以及垂直縮放,以及僅需利用少部 份的緩衝區記憶體來達成縮放數位圖片。 ° 【先前技術】 傳統數位圖片縮放技術係將二維縮放處理分為兩個—維縮放 處理^換句話說,二維縮放處理先做水平(寬度)縮放處理,再 垂直(高度)縮放處理。 理 理論上 ,該方程ΓΓ下取樣方程式來取得新的取樣點以執行-維縮放處 40= (1) 係為由索弓U平移七之^^為在索引n時的原始像素值,h(卜η) 數值。再者,㈣· β 插式(interP°lati〇n funCtion)之 =二共使用_原始像素,⑼ weighting)。 )係為索引η時之級數加權值(tap 一,傳統縮放方法的兩次縮放處 因為必須等到水平縮放處理完全 傳統縮放技術有兩個缺點, 理並不適用於即時之應用層面, 1247246 】 」 -. 案號:093111793 94年7月12曰修正 結束後才可執行垂直縮放處理,或必須等到垂直縮放處理完全結 束後才可執行水平縮放處理。此外,由於兩次縮放處理,傳統縮 放技術需要緩衝區記憶體來儲存水平縮放的影像以及需要緩衝區 記憶體提供可任意使用任何長度之内插濾波器,以達到所需的縮 放品質。 圖一為習知放大處理的概念圖,其中WoH與Hoid係為原始數位 影像之寬度與高度,與Η_係為縮放後影像之寬度與高度。緩 衝記憶體係用來儲存水平縮放後的影像,而緩衝區的大小係為(界心 X H〇id)位元組。 傳統縮放技術有很多缺點,尤其是放大圖片。假設將輸入的原 始影像之寬度與高度皆放大兩倍,則所需的緩衝區大小為(Wnew X H_) = 2 X (W〇id X Hold)。此外,傳統縮放技術的延遲時間無法適 用於某些應用,如此大記憶容量之需求便不適用於如積體電路(1C) 等硬體方面之設計,且較長的資料延遲時間不適用於即時的應用 層面。 為了解決以上所述之問題,一般的做法為降低垂直縮放的品質 以達到減少緩衝區記憶體的需求,意即利用減少資料延遲時間。 舉例來說,垂直縮放處理僅使用一二級數之濾波器,因此只需一 個兩行大小之緩衝區。然而,縮小所需的緩衝區會降低縮放的品 質,因此需要一種可適用於即時應用、縮放品質高以及記憶體需 求小之裝置與方法。 【發明内容】 本發明係提供一種可縮放一數位圖片之縮放裝置以及相關之 方法,以解決上述之問題。 1247246 ; : . 94年7月12日修正 . 94. „7. 1.2 — J ,……一 案號:093111793 本發明係揭露一種可縮放一數位圖片之縮放裝置,其包含一原 始缓衝區,用以儲存該數位圖片,一處理單元,用以產生一第J; 加權矩陣以及一第二加權矩陣,一中間緩衝區,用以儲存該第一 加權矩陣乘以該數位圖片之區塊所得之中間資料,以及一目標緩 衝區,用以儲存該第二加權矩陣乘以儲存於該中間緩衝區之中間 貧料所得之輸出貢料。 再者,縮放一數位圖片之方法包含輪入該數位圖片,根據該數 位圖片產生該數位圖片之區塊,產生一第一加權矩陣以及一第二 加權矩陣,以及將該數位圖片之區塊乘以該第一加權矩陣以及^ 第二加權矩陣。 【實施方式】 圖二為本發明縮放技術200之概念圖,其為放大處理。縮放技 術2〇〇中,先擷取數位圖片210之寬度(Wcld)與高度αι〇,再利用 長度為m以及n之内插濾波器分別對數位圖片21〇做垂直以及水 平縮放,以連續產生複數個區塊220,每—區塊22㈣大小為m χ 二’而每一區塊220再與兩個加權矩陣相乘,以得到l X η㈣的 縮放後圖片230,縮小處理利用相同之概念。 本發明減少絲式丨的複雜度,本發明係洲兩個加權矩陣來 ^存據波器級數的加權係數,這些加權係數係為聽精密計算之係 數’其可做適當的調整讀合不同的“,而在方程幻中,七的 ^被分為數個區段,每-隨係代表所有落人此區段範圍之取樣 =另外’本發明可視祕的S求提供Mm級數,因此, 用本發明之“要求高精密度,t的範圍必須精密地被分割 為更夕的區段,而所需的濾、波器級數數目將增加;相反地,若系統 I2fZ24f 案號:093111793 p 士 94年7月12日修正 而所需的 =制的條件’則t的範圍僅需被分割為較少之 遽波為級數數目將減少。 段,:ί”Γ加權矩陣之流程圖。假設'的範圍分割成h個區 的數目為L,縮放係數為S,而^ b為加權係數, ^驟320中輸入3、3、1)、11與^步驟33()中放 =標AdjustEn=〇 (disable),且在步驟㈣中若s小於广則 iTml- Sa=15 5 S"S ° ^ AdjustEn=1 (enable) * 步驟340中若s小於卜則調整縮放係數㈣,反之,Sa=秦在 步驟360建立加權矩陣WeightMat如下:Japanese revision (more) is replacing the page number: 093111793 July 2014 I2 revision, invention description: [Technical field of the invention] The present invention provides a scaling device for zooming a digital picture and related methods, especially A scaling device that scales a digital picture and associated method that utilizes only one conversion to handle horizontal scaling and vertical scaling, and that only a small portion of the buffer memory is needed to achieve a scaled digital picture. ° [Prior Art] The traditional digital image scaling technique divides the two-dimensional scaling processing into two-dimensional scaling processing. In other words, the two-dimensional scaling processing first performs horizontal (width) scaling processing and then vertical (height) scaling processing. Theoretically, the equation is subsampled to obtain a new sampling point to perform a -dimensional scaling 40= (1) is the translation of the original pixel value by the cable U at the index n, h ( η) Numerical value. Furthermore, (4)·β insert (interP°lati〇n funCtion) = two total use _ original pixels, (9) weighting). The weight of the series is the index η (tap one, the two scaling of the traditional scaling method because of the need to wait for the horizontal scaling process completely traditional scaling technology has two shortcomings, the principle is not applicable to the instant application level, 1247246] -. Case No.: 093111793 The vertical scaling process can be performed after the correction is completed on July 12, 1994, or the horizontal scaling process must be performed after the vertical scaling process is completely finished. In addition, due to the two scaling processes, the traditional scaling technique Buffer memory is required to store horizontally scaled images and buffer memory is required to provide any interpolation filter of any length to achieve the desired zoom quality. Figure 1 is a conceptual diagram of a conventional magnification process, in which WoH And Hoid is the width and height of the original digital image, and Η _ is the width and height of the scaled image. The buffer memory system is used to store the horizontally scaled image, and the buffer size is (boundary XH〇id) Bits. Traditional scaling techniques have a number of disadvantages, especially magnifying the picture. Suppose the width and height of the original image being input is high. If you zoom in twice, the required buffer size is (Wnew X H_) = 2 X (W〇id X Hold). In addition, the delay time of traditional scaling technology cannot be applied to some applications, so the demand for large memory capacity It is not suitable for hardware design such as integrated circuit (1C), and the long data delay time is not applicable to the immediate application level. In order to solve the above problems, the general approach is to reduce the quality of vertical scaling. In order to reduce the buffer memory requirements, it means to reduce the data delay time. For example, the vertical scaling process uses only one or two filters, so only one buffer of two rows is needed. The required buffer will reduce the quality of the zoom, and therefore there is a need for a device and method that can be applied to an instant application, with high quality of zoom and low memory requirements. SUMMARY OF THE INVENTION The present invention provides a zooming device that can zoom a digital picture and Related methods to solve the above problems. 1247246 ; : . July 12, 1994 amendment. 94. „7. 1.2 — J , ... a case number: 093111793 The invention discloses a scaling device for zooming a digital picture, which comprises an original buffer for storing the digital picture, a processing unit for generating a Jth; a weighting matrix and a second weighting matrix, and a middle a buffer for storing intermediate data obtained by multiplying the first weighting matrix by the block of the digital image, and a target buffer for storing the second weighting matrix multiplied by the middle of the intermediate buffer The obtained output tribute. The method for scaling a digital image includes rotating the digital image, generating a block of the digital image according to the digital image, generating a first weighting matrix and a second weighting matrix, and The block of the digital picture is multiplied by the first weighting matrix and the second weighting matrix. [Embodiment] FIG. 2 is a conceptual diagram of a zooming technique 200 of the present invention, which is an enlargement process. In the zooming technique, the width (Wcld) and the height αι〇 of the digital picture 210 are first captured, and the digital picture 21〇 is vertically and horizontally scaled by the interpolation filters of length m and n, respectively, to continuously generate A plurality of blocks 220 each having a size of m χ 2' and each block 220 is multiplied by two weighting matrices to obtain a scaled picture 230 of l X η (4), and the reduction process utilizes the same concept. The invention reduces the complexity of the silk enthalpy, and the invention has two weighting matrices for storing the weighting coefficients of the waver series, and the weighting coefficients are the coefficients of the precision calculation, which can be appropriately adjusted and read and combined. ", and in the illusion of the equation, the ^ of the seven is divided into several sections, each - with the system represents all the sampling of the extent of this segment = other 'the invention of the secret S to provide the Mm series, therefore, With the "high precision required of the present invention, the range of t must be precisely divided into sections, and the number of filter stages required will increase; conversely, if the system I2fZ24f case number: 093111793 p The condition of the = system required for the amendment on July 12, 1994, then the range of t only needs to be divided into fewer chopping waves, and the number of series will be reduced. Segment,: ί" 流程图 weighting matrix flow chart. Suppose that the range of 'divided into h areas is L, the scaling factor is S, and ^ b is the weighting coefficient, ^3, enter 3, 3, 1), 11 and ^ Step 33 () in the = standard AdjustEn = 〇 (disable), and in step (four) if s is less than wide then iTml- Sa = 15 5 S " S ° ^ AdjustEn = 1 (enable) * If in step 340 If s is smaller than 卜, adjust the scaling factor (4). Otherwise, Sa=Qin establishes the weighting matrix WeightMat in step 360 as follows:

Hhj)Hhj)

WeightMat(i,j)=酽(,·,·/) 其中i的範圍為0至(Η-1),j的範圍為〇至(L—υ,w(i,』·)係為在 (1,j)時先正規化之加權,W(i,j)係為標準化係數,如下: W(i,j) = 2_,/) 先標準化之加權w(i,j)如下:WeightMat(i,j)=酽(,·,··) where i ranges from 0 to (Η-1), and j ranges from 〇 to (L—υ, w(i, 』·) is at ( 1, j) is the weighting of the normalization first, and W(i, j) is the normalization coefficient, as follows: W(i,j) = 2_, /) The weighting w(i,j) of the first normalization is as follows:

Hhj) = h P一 j + Η sa 其中h(s)係為内插濾波器,p=L/2~l,H代表分割t之區段數目 Sa係為調整縮放係數。 圖四為本發明縮放技術的流程圖,步驟410中將數位圖片21〇 輸入並儲存於一原始緩衝區,該原始緩衝區的大小至少為數位圖片 1247246 广\ 嗔 '丨2 ' …案號:093111793 94年7月12日修正 210之高度與寬度乘績的大小。步驟420,根據使用者最後所需之 影像大小來決定水平以及垂直縮放係數,使用者輸入所需之影像大 小,而縮放係數則根據數位圖片210的寬度以及高度分別除以縮放 後圖片230之寬度以及高度所得之,而根據縮放係數以及圖三之流 程圖來建立兩個加權矩陣。在步驟430至450中,根據縮放係數掃 描新取樣點,這些新取樣點之掃描包含以下步驟:步驟430中判定 内插濾波器所需之像素索引,以及根據邊界條件調整這些索引;步 驟440中根據這些索引將數位圖片210之一區塊220儲存於區塊緩 衝區;步驟450根據矩陣乘法運算結果來執行水平以及垂直縮放; 步驟460將步驟450之縮放結果輸入至一目標緩衝區;最後在步驟 470中,不斷重複步驟430至460直到所有新的取樣點皆已產生為 止。假如所有新的取樣點皆已產生,則結束此流程;假如有些新取 樣點未產生,則跳至步驟430並重複執行步驟430至450。 本發明最佳實施例中將t分為16個區段(H=16)且使用4個濾波 器級數(L=4),用以說明本發明之最佳實施方式,而區段數目以及 濾波器級數數目因設計而有所不同,並不會因此而限制本發明之應 用。本發明詳述之流程圖分為三部份,分別為圖五之初始化、圖六 之垂直縮放、圖九之水平縮放以及圖十。 請參考圖五,初始化過程中首先在步驟510中將數位圖片210 輸入至一原始緩衝區SRC,數位圖片210的大小係為W- X H〇ld,原 始緩衝區SRC的大小係足以容納數位圖片210之大小;步驟520, 使用者輸入所需之新影像大小Wnew以及Hnew,而水平以及垂直縮放 係數係分別由下列之方程式得之: _ Wold HoldHhj) = h P a j + Η sa where h(s) is an interpolation filter, p=L/2~l, and H represents the number of segments of the division t. Sa is the adjustment scaling factor. FIG. 4 is a flowchart of the zooming technique of the present invention. In step 410, the digital picture 21〇 is input and stored in an original buffer, and the size of the original buffer is at least a digital picture 1247246 wide \ 嗔 '丨 2 ' ... case number: 093111793 The size of the height and width of the 210 was corrected on July 12, 1994. Step 420, determining the horizontal and vertical scaling factors according to the final image size required by the user, and the user inputs the required image size, and the scaling factor is respectively divided by the width and height of the digital image 210 by the width of the rotated image 230. And the height is obtained, and two weighting matrices are established according to the scaling factor and the flowchart of FIG. In steps 430 to 450, new sampling points are scanned according to the scaling factor, and the scanning of the new sampling points includes the following steps: determining the pixel index required for the interpolation filter in step 430, and adjusting the indexes according to the boundary conditions; The block 220 of the digital picture 210 is stored in the block buffer according to the indexes; the step 450 performs horizontal and vertical scaling according to the matrix multiplication result; the step 460 inputs the scaling result of the step 450 to a target buffer; In step 470, steps 430 through 460 are iteratively repeated until all new sampling points have been generated. If all new sampling points have been generated, the process ends; if some new sampling points have not been generated, then jump to step 430 and repeat steps 430 through 450. In a preferred embodiment of the invention, t is divided into 16 segments (H = 16) and 4 filter stages (L = 4) are used to illustrate the preferred embodiment of the invention, and the number of segments and The number of filter stages varies from design to design and does not limit the application of the invention. The flow chart detailed in the present invention is divided into three parts, namely, the initialization of FIG. 5, the vertical scaling of FIG. 6, the horizontal scaling of FIG. 9, and FIG. Referring to FIG. 5, the digital picture 210 is first input into a raw buffer SRC in step 510. The size of the digital picture 210 is W-XH〇ld, and the size of the original buffer SRC is sufficient to accommodate the digital picture 210. The size is; in step 520, the user inputs the desired new image sizes Wnew and Hnew, and the horizontal and vertical scaling coefficients are respectively obtained by the following equation: _ Wold Hold

Sh^W a Sv~ Η f f new and new 其中Wold以及ILid分別為數位圖片210之寬度以及高度,Wnew以及Hnew 1247246 .Μ·.7· Γ2 案號:093111793 94年7月丨2日修正 分別為縮放後圖片230之寬度以及高度。當已決定縮放係數後’水 平矩陣WeightMat2以及垂直矩陣WeightMatl係根據圖三之流程圖 以及先前所述之方程式而產生之。本實施例中,由於H=16以及 L=4,因此WeightMatl以及WeightMat2的大小皆為16x4,注意的 是,加權矩陣的大小係依據所需之解析度而有不同,其藉由數值Η 以及L來做調整。Η數值大代表t的範圍被分割成更多區段,意即 縮放的解析度較高,而L數值大相對應的濾波器級數的數目多,意 即參考的環境像素更多。在建立加權矩陣WeightMatl以及 WeightMat2時,縮放係數旗標AdjustEn之設定不是吖以沾以幻就 是1 (enable),其設定係依據應用層面而調整。在初始化過程最後 之步驟530中,在垂直縮放執行前,先將一新的垂直索引y2設定 為0,圖五之流程圖係連接至圖六中的連接A,僅用以繼續呈述整 個過程。 請參考圖六,圖六係為垂直掃描過程之流程圖,此流程圖藉由 連接A呈續圖五之過程。步驟610中,輸入原始影像之舊垂直^引 yl以及縮放後影像之新垂直索引y2之關係係以以下方程式所定義 之: yl= Sv * y2 y=floor(yl) wi_v=round[(yl-y)xH] 其中sv係為垂直縮放係數,y2係為縮放後影像之新垂直 係為相對應於y2之輸入原始影像之舊垂直索引:、引 〇 71 y係為yl之答數 部分,wi—v係為從WeightMatl中擷取濾波器級數加權之 以執行垂直縮放過程,方程式floor()以及r〇Und ()分別為弓丨’用 (flooring)過程以及捨人(rounding)過程,去小數過二操取$ = 5 索引並將此索引設定為目前垂直索引y用以計管夕田μ 售垂直 T#之用,捨入過程擷 I247|2^~ 日修(4)正替換頁 案號:093111793 94年7月12日修正 取此計算之十進位結果並捨入至最接近之整數。步驟620中,執行 一安全核對用以確認wi—v是否為Η,若為是,則索引wi—v將超出 〇至Η-1之合理範圍,因此無法產生加權數值。如果wi—v=H時,則 跳至步驟630,將Wi一v值重新設定為〇以及將目前垂直索引y加工 以繼績執行垂直放過程。如果wi__v不等於H時,則跳至步驟64〇, 根據所輸入之原始影像以及濾波器級數數目來確認垂直索引。在此 κ %例中,濾波器級數數目為4,因此有4個垂直索引指標 (匕vertical index p〇inter)iO、il、i2 以及 i3,此 4 個垂直索引 寺曰払分別根據邊界條件而設定,邊界條件係根據以下之方程式而 之: “P + abs(pO)] = ((x + p)*e + 他 + (([υ — “ ((-l)'a), 其中iU]係為級數值n之資料修正,n的範圍介於〇至丨之間, W係為資料長度,其他參數分別呈列於下·· n= P + abs(p〇), P〇 - -(L/2-1),Sh^W a Sv~ Η ff new and new where Wold and Ilid are the width and height of the digital picture 210, respectively, Wnew and Hnew 1247246 .Μ·.7· Γ2 Case number: 093111793 July, July 2nd, respectively The width and height of the picture 230 after scaling. When the scaling factor has been determined, the horizontal matrix WeightMat2 and the vertical matrix WeightMatl are generated according to the flowchart of Fig. 3 and the equations previously described. In this embodiment, since H=16 and L=4, the sizes of WeightMat1 and WeightMat2 are both 16x4. Note that the size of the weighting matrix differs according to the required resolution, and the values are Η and L. To make adjustments. A large Η value indicates that the range of t is divided into more segments, meaning that the resolution of the scaling is higher, and the number of filter stages corresponding to a larger L value is larger, meaning that there are more environmental pixels in the reference. When the weighting matrix WeightMatl and WeightMat2 are established, the setting of the scaling factor flag AdjustEn is not set to 1 (enable), and the setting is adjusted according to the application level. In the final step 530 of the initialization process, a new vertical index y2 is set to 0 before the vertical scaling is performed, and the flowchart of FIG. 5 is connected to the connection A in FIG. 6 to continue to represent the entire process. . Please refer to FIG. 6 , which is a flow chart of the vertical scanning process. The flow chart is continued by connecting A to FIG. In step 610, the relationship between the old vertical yl of the original image and the new vertical index y2 of the scaled image is defined by the following equation: yl = Sv * y2 y = floor(yl) wi_v=round[(yl- y)xH] where sv is the vertical scaling factor, y2 is the new vertical system of the scaled image is the old vertical index corresponding to the input original image of y2: 〇 71 y is the answer part of yl, wi -v is to extract the filter series weight from WeightMatl to perform the vertical scaling process, and the equations floor() and r〇Und() are respectively the flooring process and the rounding process. The decimal is over two and fetches the $=5 index and sets this index to the current vertical index y for the use of Xitian μ for selling vertical T#, rounding process 撷I247|2^~ Japanese repair (4) is replacing the page No.: 093111793 On July 12, 1994, the decimal result of this calculation was corrected and rounded to the nearest integer. In step 620, a security check is performed to confirm whether wi-v is Η. If YES, the index wi-v will exceed the reasonable range of 〇-1, and thus the weighted value cannot be generated. If wi-v = H, then go to step 630, reset the Wi-v value to 〇 and process the current vertical index y to perform the vertical placement process. If wi__v is not equal to H, then skip to step 64 and confirm the vertical index based on the input original image and the number of filter stages. In this κ % example, the number of filter stages is 4, so there are 4 vertical index indicators (匕vertical index p〇inter) iO, il, i2, and i3, and the four vertical index temples are respectively based on boundary conditions. The setting, the boundary condition is based on the following equation: "P + abs(pO)] = ((x + p)*e + he + (([υ - " ((-l)'a), where iU ] is corrected for the data of the level n, the range of n is between 〇 and 丨, the W is the length of the data, and the other parameters are listed below·· n= P + abs(p〇), P〇- - (L/2-1),

Pi = L/2, a 二 sign(x+p), b = sign((W-1)-(x+p)), c = W-l-X, d = x+p-(W-l), e = Not(b) & 1, 0 or 1 S 圖 係為控制旗標。圖七以及圖八分 ,當S箄;明不同邊界條件之示意 田寺於1係代表圖七之選擇一, 、伴 向田s專於〇係代表圖八Pi = L/2, a two sign(x+p), b = sign((W-1)-(x+p)), c = WlX, d = x+p-(Wl), e = Not( b) & 1, 0 or 1 S The picture is the control flag. Figure 7 and Figure 8 points, when S箄; Ming different boundary conditions, Tian Temple in 1 series represents the choice of Figure 7, one, with the Tian s specializes in the representative of the Department of Figure 8

1247246 …I 94年7月12臼修正 — 案號:093111793 之選擇二。索引p自p〇至pi循環,索引X自〇至W—1循環,方 程式sign(X)如下: sign{X) 1, X<0; 0, X >= ο. 方程式abs(X)用以計算X之絕對值, 方程式Not(X)係為按位元運算(bit-wise operation),將二進制 之位元作轉換,如Not(O) = 1以及Not(l) =〇。注意的是,雖然 此處的a以及b與圖三中的a以及b相同,但所代表的意義是不 同的。垂直索引指標係根據選擇一之邊界條件之目前垂直索引所 產生,此實施例中, 假如 y=0,則 i〇=y、il=y、i2=y+i 以及 i3=y+2, 作又如 y=H〇id - 2,則 i〇=y-i、n=:y、i2=:y+i 以及 i3=y+i, 假如 y=H〇id - 1,則 i〇=y—i、ii=y、i2=y 以及 i3=y—i, 不然 ’ iO=y_l、il=y、i2=y+l 以及 i3=y+2。 在所有的垂直索引指標確定後,步驟64〇結束並跳至步驟65〇將χ2 没定為0。圖六之流程圖係連接於圖九之連接B,僅用以繼續呈述 整個過程。圖六之連接F代表自圖九中跳回以執行圖六之流程圖, 如部分迴圈的運作。原始影像之垂直掃描用以產生垂直索引指標之 過程則已結束。 叫參考圖九’圖九係為水平掃描過程之流程圖,此流程圖藉由 連接B呈繽圖六之過程。水平掃描與垂直掃描相同,因此詳細之述 敘可參考垂直掃描過程。1247246 ... I July 12, 1994 Amendment — Case No.: 093111793 Option 2. The index p is from p〇 to the pi loop, the index X is self-twisted to the W-1 loop, and the equation sign(X) is as follows: sign{X) 1, X<0; 0, X >= ο. Equation abs(X) To calculate the absolute value of X, the equation Not(X) is a bit-wise operation that converts the bits of the binary, such as Not(O) = 1 and Not(l) = 〇. Note that although a and b here are the same as a and b in Fig. 3, the meanings are different. The vertical index index is generated according to the current vertical index of the boundary condition of selecting one. In this embodiment, if y=0, then i〇=y, il=y, i2=y+i, and i3=y+2 If y=H〇id - 2, then i〇=yi, n=:y, i2=:y+i and i3=y+i, if y=H〇id - 1, then i〇=y—i , ii=y, i2=y, and i3=y—i, otherwise 'iO=y_l, il=y, i2=y+l, and i3=y+2. After all the vertical index indicators have been determined, step 64 ends and jumps to step 65, which sets χ2 to zero. The flow chart of Figure 6 is connected to connection B of Figure 9 and is only used to continue the presentation of the entire process. The connection F of Figure 6 represents the flow back from Figure 9 to perform the flow chart of Figure 6, such as the operation of the partial loop. The process of vertical scanning of the original image to generate the vertical index indicator is over. Referring to Figure IX, Figure 9 is a flow chart of the horizontal scanning process. This flow chart is performed by connecting B to Figure 6. The horizontal scan is the same as the vertical scan, so the detailed description can refer to the vertical scan process.

Sh 氺 χ2 x=floor(xl) wi—h=round[(xl-χ)χΗ] 12 案痛.093111793 94年7月12曰修正 其中Sh係為水平縮放係數,x2係為縮放後影像之新水平索引,χ1 係為相對應於x2之輸入原始影像之舊水平索引,χ係為χ1之整數 部分,wi_h係為從WeightMat2中擷取濾波器級數加權之索引,用 以執行水平縮放過程。 水平索引指標係根據邊界條件之目前水平索引而產生,在此實 施例中, 假如 x=0,則 i〇=x、il=x、i2=x+l 以及 i3=x+2, 假如 x=W〇id - 2,則 i〇=x-l、il=x、i2=x+l 以及 i3=x+l, 假如 x=W〇ld - 1,則 i〇=x-1,ii=x,i2==x,and i3=x—i, 不然 ’ iO=x-l、il=x、i2=x+l 以及 i3=x+2。 在所有的水平索引指標確定後,步驟73〇結束且結束水平掃描。圖 九之流程圖係連接於圖十之連接C,僅用以繼續呈述整個過程。原 始影像之水平掃描用以產生水平索引指標之過程則已結束。 η月參考圖十,圖十為本發明執行縮放技術之引擎之流程圖。步 驟810,將根據垂直以及水平索引指標之第一區塊内之區段資料傳 ,至區塊緩衝區Β内等待處理,此實施例中,垂直以及水平之濾波 器級數的數α目皆為4,因此,緩衝區的大小最小應為4χ4,亦等同 於^6像素單元(pixe卜un⑴,假如每一像素係為一位元組,區塊 ,衝區的大小則為16位元組。區塊緩衝區β可根據系統需求由許 多不同方式所實施,但一般緩衝區記憶體包括DRM、sdram、快閃 記憶,,以及DSC内部之前述記憶體,以及包括由正反器所構成之 暫存器暫存器標案(register-file, RF),以及1C内部之前述暫 存為。此外,二維區塊緩衝區可藉一維線性緩衝區並使用適當索引 方f來模擬二維區塊緩衝區,根據垂直索引指標以及水平索引指標 將區塊貧料傳中區塊緩衝區B,區塊緩衝區的矩陣資料如下: B(〇,0)=SRC(j〇,i0) B(l,0)^SRC(jl,i〇) B(2, 0)=SRC( j2, i〇) 13 案號:093111793 94年7月12日修正 B(3,0)=SRC(j3, iO) B(0,1)=SRC(jO, il) B(l,1)-SRC(jl, il) B(2,1)=SRC(j2, i1) B(3,l)=SRC(j3, il) B(0,2>SRC(j0,i2)B(l,2)=SRC(jl,i2)B(2,2)=SRC(j2,i2) B(3, 2)=SRC(j3, i2) B(0,3)=SRC(j0,i3)B(l,3)=SRC(jl,i3)B(2,3)=SRC(j2,i3) B(3,3)=SRC(j3, i3)Sh 氺χ2 x=floor(xl) wi-h=round[(xl-χ)χΗ] 12 Case pain. 093111793 July 12, 1994 Corrected where Sh is the horizontal scaling factor and x2 is the new image after scaling The horizontal index, χ1 is the old horizontal index of the input original image corresponding to x2, and the system is the integer part of χ1, and wi_h is the index of the filter series weighted from WeightMat2 to perform the horizontal scaling process. The horizontal index is generated according to the current horizontal index of the boundary condition. In this embodiment, if x=0, then i〇=x, il=x, i2=x+l, and i3=x+2, if x= W〇id - 2, then i〇=xl, il=x, i2=x+l and i3=x+l, if x=W〇ld - 1, then i〇=x-1, ii=x, i2 ==x, and i3=x-i, otherwise 'iO=xl, il=x, i2=x+l, and i3=x+2. After all of the horizontal index indicators are determined, step 73 ends and the horizontal scan ends. The flow chart of Figure 9 is connected to the connection C of Figure 10 and is only used to continue the presentation of the entire process. The process of horizontal scanning of the original image to generate the horizontal index indicator is over. Referring to FIG. 10, FIG. 10 is a flow chart of an engine for performing a scaling technique according to the present invention. Step 810: The segment data in the first block according to the vertical and horizontal index indicators is transmitted to the block buffer buffer for processing. In this embodiment, the number of vertical and horizontal filter stages is 4, therefore, the size of the buffer should be a minimum of 4χ4, which is equivalent to ^6 pixel units (pixebu un(1), if each pixel is a one-tuple, block, the size of the punch is 16-bit The block buffer β can be implemented in many different ways according to system requirements, but the general buffer memory includes DRM, sdram, flash memory, and the aforementioned memory inside the DSC, and includes a flip-flop. The register register (register-file, RF), and the aforementioned temporary storage in 1C. In addition, the 2D block buffer can borrow a 1D linear buffer and use the appropriate index side f to simulate 2D. The block buffer, based on the vertical index indicator and the horizontal index indicator, passes the block poor block to the block buffer B. The matrix data of the block buffer is as follows: B(〇,0)=SRC(j〇,i0) B (l,0)^SRC(jl,i〇) B(2, 0)=SRC( j2, i〇) 13 Case number: 09 3111793 Revised July 12, 1994 B(3,0)=SRC(j3, iO) B(0,1)=SRC(jO, il) B(l,1)-SRC(jl, il) B(2 , 1) = SRC (j2, i1) B (3, l) = SRC (j3, il) B (0, 2 > SRC (j0, i2) B (l, 2) = SRC (jl, i2) B ( 2,2)=SRC(j2,i2) B(3, 2)=SRC(j3, i2) B(0,3)=SRC(j0,i3)B(l,3)=SRC(jl,i3) B(2,3)=SRC(j2,i3) B(3,3)=SRC(j3, i3)

在步驟830中,渡波器加權值(f i Iter weighting)分別由 WeightMatl以及WeightMat2中轉換出並利用wi_v以及Wi_h以產 生兩個向量Wv以及Wh °WV的數值係根據以下式子所產生:In step 830, the values of the fertilizer weights (f i Iter weighting) converted from WeightMatl and WeightMat2, respectively, and using wi_v and Wi_h to generate two vectors Wv and Wh °WV are generated according to the following equation:

Wv(0)=WeightMatl(wi_v, 0) Wv(l)=WeightMatl(wi_v, 1) Wv(2)=WeightMatl(wi_v, 2) Wv(3)=WeightMatl(wi_v, 3)Wv(0)=WeightMatl(wi_v, 0) Wv(l)=WeightMatl(wi_v, 1) Wv(2)=WeightMatl(wi_v, 2) Wv(3)=WeightMatl(wi_v, 3)

Wh的數值係根據以下式子所產生:The value of Wh is generated according to the following formula:

Wh(0)=WeightMat2(wi_v, 〇) Wh(l)=WeightMat2(wi_v, 1) Wh(2)=WeightMat2(wi_v, 2) Wh(3)=WeightMat2(wi_v, 3)Wh(0)=WeightMat2(wi_v, 〇) Wh(l)=WeightMat2(wi_v, 1) Wh(2)=WeightMat2(wi_v, 2) Wh(3)=WeightMat2(wi_v, 3)

在相對應之資料輸入區塊緩衝區β以及向量l以及產生後, 步驟850則將區塊緩衝區B中的資料與兩個向量Wv以及Wh做矩陣 乘法運算,Wv與區塊緩衝區B中的資料作内積乘法運算也與Wh做内 積乘法運算。此矩陣乘法運算的結果係為二維結果,此二維結果係 儲存於目標緩衝區DST中。以下的數學運算式顯示目標緩衝區DST 14 1247246 ( 案號:093111793 94年7月12日修正 中的數值是如何由利用區塊緩衝區之資料所得之 DST(x2,y2)= Wv · B · Wh _5(0,0)5(1,0)5(2,0)5(3,0)_ wh(°y ⑼ Wv ⑴ M;v(2) Wv(3)l· 5(0,1) 5(1,1) 5(2,1) 5(3,1) 5(0,2) 5(1,2) 5(2,2) 5(3,2) 5(0,3) 5(1,3) 5(2,3) 5(3,3) • W〆1) wh(2) 其中DST(x2,y2)係為輸出圖片記憶體衝區,DST(x2,y2)亦為座標 (x2, y2)之内插像素值。執行一檢查處理(checking process)用以 確認縮放過程是否已完成,此檢查處理為步驟870中確認新水平索 引x2是否小於,以及步驟890中確認新垂直索引y2是否小於 Hnew,假如X2小於Wnew,跳至步驟860將X2加1(χ2 = χ2 + 1)並且回到 步驟710。同樣地,假如y2小於Hnew,跳至步驟880將y2加I(y2=y2+1) 並且回到圖六之步驟610。 請參考圖十一,圖十一為本發明縮放裝置1〇〇〇之示意圖,縮放 裝置1000包含一原始緩衝區1010,用以儲存數位圖片,一處理單 元1015,用以產生兩個加權矩陣,一影像分割單元(image divis〇r)1020,用以過濾數位圖片以產生複數個數位圖片區塊,一 區塊緩衝區1030,用以連續地儲存由影像分割單元1〇2〇所產生之 數位圖片區塊,以及一加權矩陣緩衝區,用以儲存加權矩陣,以及 一目標緩衝區1040,用以儲存縮放後之數位圖片。After the corresponding data input block buffer β and vector l and the generation, step 850 performs matrix multiplication operation on the data in the block buffer B and the two vectors Wv and Wh, and Wv and the block buffer B. The data is used for inner product multiplication and also with Wh for inner product multiplication. The result of this matrix multiplication is a two-dimensional result, which is stored in the target buffer DST. The following mathematical expression shows the target buffer DST 14 1247246 (Case number: 093111793 The value in the July 12, 1994 correction is how DST(x2,y2) = Wv · B is obtained from the data of the block buffer. Wh _5(0,0)5(1,0)5(2,0)5(3,0)_ wh(°y (9) Wv (1) M;v(2) Wv(3)l· 5(0,1 5(1,1) 5(2,1) 5(3,1) 5(0,2) 5(1,2) 5(2,2) 5(3,2) 5(0,3) 5 (1,3) 5(2,3) 5(3,3) • W〆1) wh(2) where DST(x2,y2) is the output picture memory area, and DST(x2,y2) is also A pixel value is interpolated between the coordinates (x2, y2). A checking process is performed to confirm whether the scaling process has been completed. This checking process confirms whether the new horizontal index x2 is less than in step 870, and confirms the new in step 890. If the vertical index y2 is smaller than Hnew, if X2 is less than Wnew, jump to step 860 to increase X2 by 1 (χ2 = χ2 + 1) and return to step 710. Similarly, if y2 is less than Hnew, skip to step 880 and add y2 to I ( Y2=y2+1) and returning to step 610 of FIG. 6. Referring to FIG. 11, FIG. 11 is a schematic diagram of a zooming device 1 of the present invention, and the zooming device 1000 includes a raw buffer. 1010, for storing digital pictures, a processing unit 1015 for generating two weighting matrices, an image dividing unit (image divis〇r) 1020 for filtering digital images to generate a plurality of digital image blocks, one block The buffer 1030 is configured to continuously store the digital image block generated by the image dividing unit 1〇2〇, and a weighting matrix buffer for storing the weighting matrix, and a target buffer 1040 for storing the scaled Digital picture.

請參考圖十二,圖十二為圖十一中處理單元1〇15之示意圖, 用以執行本發明之矩陣乘法運算。處理單元1〇15包含複數:乘法 器以及加法器,其係電連接於區塊緩衝區1〇3〇,而每一區塊緩 區1030之資料單元係電連接於一乘法器,該乘法器係電連接於接 收端Wh。區塊緩衝區B中第一行資料單元(丨=〇)與^(〇)相乘,、區 塊緩衝區B中第二行資料單元(i = 1)與Wh(1)相乘,區塊緩衝區Z 15 1247246 顺丨 4)4 ΐ· 12… J ' 案號:093111793 94年7月12曰修正 中第三行資料單元(i = 2)與Wh(2)相乘,以及區塊緩衝區B中第四 行資料單元(i = 3)與Wh(3)相乘,而這些乘法運算之結果在被輸入 另一乘法器與Wv作乘法運算之前係電連接於一加法器,這些乘法 運算之結果以列的方式由加法器將其結果加總起來,如區塊緩衝 區B中第一列資料單元(卜0)與Wv(0)相乘,區塊緩衝區B中第二 列資料單元(j = l)與Wv(l)相乘,區塊緩衝區B中第三列資料單元 (j=2)與Wv(2)相乘,以及區塊緩衝區B中第四列資料單元(j=3)與 Wv(3)相乘。 相較於先前技術,本發明即使在放大一數位圖片時仍可大幅地 降低緩衝區記憶體之需求,此外,在每一區塊之垂直以及水平縮放 過程完成後才繼續執行下一個區塊之縮放,因此本發明可應用在即 時之應用中。本發明亦可應用於單一顏色之圖片以及彩色之圖片。 以上所述僅為本發明之較佳實施例凡依本發明申請專利範 圍,所做之均等變化與修飾,皆應屬本發明專利的涵蓋範圍。 【圖式簡單說明】 圖式之簡單說明 圖一為習知放大處理的概念圖。 圖二為本發明縮放技術之概念圖。 圖三為建立加權矩陣之流程圖。 圖四為本發明縮放技術的流程圖。 圖五為初始化之流程圖。 圖六係為垂直掃描過程之流程圖。 圖七以及圖八分別為本發明不同邊界條件之示意圖。 圖九係為水平掃描過程之流程圖。 16 1247246月日修(考)正替換頁 案號:093111793 94年7月12日修正 圖十為本發明執行縮放技術之引擎之流程圖。 圖十一為本發明縮放裝置之示意圖。 圖十二為圖十一中處理單元之示意圖。 圖式之符號說明 1000 縮放裝置 1010 原始緩衝區 1015 處理單元 1020 影像分割單元 1030 區塊緩衝區 1035 内插渡波器緩衝區 1040 目標緩衝區 17Please refer to FIG. 12, which is a schematic diagram of the processing unit 1〇15 in FIG. 11 for performing the matrix multiplication operation of the present invention. The processing unit 1〇15 includes a complex number: a multiplier and an adder electrically connected to the block buffer 1〇3〇, and the data unit of each block buffer 1030 is electrically connected to a multiplier, the multiplier The system is electrically connected to the receiving end Wh. The first row data unit (丨=〇) in block buffer B is multiplied by ^(〇), and the second row data unit (i = 1) in block buffer B is multiplied by Wh(1). Block Buffer Z 15 1247246 顺丨4)4 ΐ· 12... J ' Case No.: 093111793 The fourth row of data units (i = 2) multiplied by Wh(2) and blocks in July 12, 1994 The fourth row of data elements (i = 3) in buffer B is multiplied by Wh(3), and the result of these multiplication operations is electrically connected to an adder before being input to another multiplier and multiplied by Wv. The result of the multiplication operation is added by the adder in a column manner, such as the first column data unit in block buffer B (b 0) multiplied by Wv(0), and the second in block buffer B The column data unit (j = l) is multiplied by Wv(l), the third column data unit (j=2) in block buffer B is multiplied by Wv(2), and the fourth column in block buffer B is The data unit (j=3) is multiplied by Wv(3). Compared with the prior art, the present invention can greatly reduce the buffer memory requirement even when a digital image is enlarged, and further, the next block is continued after the vertical and horizontal scaling processes of each block are completed. Scaling, so the invention can be applied in real-time applications. The invention can also be applied to pictures of a single color as well as pictures of color. The above is only the preferred embodiment of the present invention, and the equivalent variations and modifications made by the present invention are intended to cover the scope of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a conceptual diagram of a conventional enlargement process. Figure 2 is a conceptual diagram of the zooming technique of the present invention. Figure 3 is a flow chart for establishing a weighting matrix. Figure 4 is a flow chart of the zooming technique of the present invention. Figure 5 is a flow chart of initialization. Figure 6 is a flow chart of the vertical scanning process. Figure 7 and Figure 8 are schematic views of different boundary conditions of the present invention, respectively. Figure IX is a flow chart of the horizontal scanning process. 16 1247246 month day repair (test) is replacing page case number: 093111793 July 12, 1994 revision Figure 10 is a flow chart of the engine for performing the zooming technique of the present invention. Figure 11 is a schematic view of the zooming device of the present invention. Figure 12 is a schematic diagram of the processing unit of Figure 11. Symbol description of the schema 1000 Scaling device 1010 Raw buffer 1015 Processing unit 1020 Image splitting unit 1030 Block buffer 1035 Interpolated wave buffer 1040 Target buffer 17

Claims (1)

1247246 〇4 7. 12' 案號:093111793 94 年 7 月 12 曰修正 拾、申請專利範圍: 1. 一種縮放一數位圖片之方法,其方法包含: (a) 輸入該數位圖片; (b) 根據該數位圖片產生該數位圖片之區塊(block); (c) 產生一第一加權矩陣以及一第二加權矩陣(weighting matrix);以及 (d) 將該數位圖片之區塊乘以該第一加權矩陣以及乘以該 第二加權矩陣。 2. 如申請專利範圍第1項所述之方法,其中步驟(b)包含利用内 插濾波器(interpolation filter)過渡該數位圖片,以產生該 數位圖片之區塊。 3. 如申請專利範圍第2項所述之方法,其中步驟(b)中所產生之 數位圖片之區塊係儲存於一區塊緩衝區(block buffer)。 4. 如申請專利範圍第1項所述之方法,其中步驟(a)包含將該數 位圖片輸入一原始緩衝區(source buffer)。 5. 如申請專利範圍第1項所述之方法,其中步驟(c)包含根據濾 波器級數(filter tap)數目、取樣精密度(sampling precision) 以及一可調整縮放係數(adjusted scaling factor)以產生該第 一加權矩陣以及該第二加權矩陣。 6. 如申請專利範圍第5項所述之方法,其中該可調整縮放係數係 為縮放係數、預設值、第一加權係數、該縮放係數之乘積或第 二加權係數。 18 J247246 rj 案號:093111793 94年7月12日修正 .範圍第1項所述之方法,另包含在執行步驟⑷前, 疋”索引(Pixel index)以及提供邊界條件。 如申明專利乾圍第i項所述之方法,其中步驟⑷包含: (e)將該數位圖片之區塊乘以該第一加權矩陣,以產生一 中間資料;以及 (〇將该中間貢料乘以該第二加權矩陣,以產生一輸出 料。 、 •如申請專利範圍第8項所述之方法,另包含: 將該中間資料儲存於-中間緩衝區;以及 將该輸出資料館存於一目標緩衝區。 圍第9項所述之方法,其中如果仍需自步驟⑷ 中的區塊產生更多的輸出資料,則重複步驟⑷以及⑴。 L種可縮放-數位圖片之縮放裝置,盆包含: -原始,衝區,用以儲存該數位圖片; 處1單疋,用以產生一第一加權矩陣以及一第二加權矩 中門緩衝區用以儲存該第一加權矩陣乘以該數位圖片 之區塊所得之中間資料;以及 -目仏緩衝區,用以儲存該第二加權 間緩衝區之”資料所得之輸出資料。 12·含如申請專利範圍第11項所述之縮放裝置,其中該處理單元包 複數個第一乘法器,用 數; 以將該區塊中的每一資料乘以 係 19 1247246 雜 ,'一 / •一 ‘ 案號:093111793 94年7月12日修正 複數個第一加法器,每一加法器係連接於一組第一乘法器, 用以將該組第一乘法器之所有結果加總起來; 複數個第二乘法器,每一乘法器係連接於一第一加法器,用 以將該第一加法器之結果乘以一係數;以及 一第二加法器,係連接於該複數個第二乘法器,用以將該複 數個第二乘法器之結果加總起來。 13. 如申請專利範圍第11項所述之縮放裝置,另包含内插濾波器, 用以過濾該數位圖片,以產生該數位圖片之區塊。 14. 如申請專利範圍第13項所述之縮放裝置,另包含一區塊緩衝 區,係連接於該内插濾波器,用以儲存該數位圖片之區塊。 20 -· ··〜、•'.d;· :·*.Γ、•狀名12偶6 匕! :正警換1¾! ί 94. 12 案號:093111793 94年7月12日修正 拾壹、圖式= 21 1247246 % : ...〜 ' 案號:093111793 94年7月12日修正 柒、指定代表圖: (一) 本案指定代表圖為:第(十一)圖。 (二) 本代表圖之元件代表符號簡單說明: 1000 縮放裝置 1010 原始緩衝區 1015 處理單元 1020 影像分割單元 1030 區塊緩衝區 1035 内插濾波器緩衝區 1040 目標緩衝區 捌、本案若有化學式時,請揭示最能顯示發明特徵的化學1247246 〇4 7. 12' Case No.: 093111793 July 12, 1994 曰Revised, patentable scope: 1. A method of scaling a digital image, the method comprising: (a) inputting the digital image; (b) according to The digital picture generates a block of the digital picture; (c) generating a first weighting matrix and a second weighting matrix; and (d) multiplying the block of the digital picture by the first The weighting matrix is multiplied by the second weighting matrix. 2. The method of claim 1, wherein the step (b) comprises interpolating the digital picture with an interpolation filter to generate a block of the digital picture. 3. The method of claim 2, wherein the block of the digital image generated in the step (b) is stored in a block buffer. 4. The method of claim 1, wherein the step (a) comprises inputting the digital picture into a source buffer. 5. The method of claim 1, wherein the step (c) comprises, according to the number of filter taps, sampling precision, and an adjusted scaling factor. The first weighting matrix and the second weighting matrix are generated. 6. The method of claim 5, wherein the adjustable scaling factor is a scaling factor, a preset value, a first weighting factor, a product of the scaling factor, or a second weighting factor. 18 J247246 rj Case No.: 093111793 Revised July 12, 1994. The method described in item 1 of the scope, further includes the “Pixel index” and the provision of boundary conditions before the execution of step (4). The method of item i, wherein the step (4) comprises: (e) multiplying the block of the digital picture by the first weighting matrix to generate an intermediate data; and (multiplying the intermediate tribute by the second weighting) a matrix to generate an output material., • The method of claim 8, wherein the method further comprises: storing the intermediate data in an intermediate buffer; and storing the output data in a target buffer. The method of item 9, wherein if it is still necessary to generate more output data from the block in step (4), repeat steps (4) and (1). L kinds of zoom-digital picture zooming device, the basin contains: - original, rushed a region for storing the digital image; a single unit for generating a first weighting matrix and a second weighting moment gate buffer for storing the first weighting matrix multiplied by the block of the digital image And the output data obtained by storing the data of the second weighted buffer. 12. The scaling device according to claim 11, wherein the processing unit comprises The first multiplier, using the number; to multiply each of the data in the block by the system 19 1247246, '一 / • a' Case number: 093111793 July 12, 94 revised a number of first adders, Each adder is coupled to a set of first multipliers for summing all results of the set of first multipliers; a plurality of second multipliers, each multiplier being coupled to a first adder, And multiplying the result of the first adder by a coefficient; and a second adder connected to the plurality of second multipliers for summing up the results of the plurality of second multipliers. The scaling device of claim 11, further comprising an interpolation filter for filtering the digital image to generate a block of the digital image. 14. The scaling as described in claim 13 Device, another area The buffer is connected to the interpolation filter for storing the block of the digital image. 20 -· ··~,•'.d;· :·*.Γ,•Name 12 even 6 匕! :警94.12 Case No.: 093111793 Revised on July 12, 1994, Fig. = 21 1247246 % : ...~ ' Case No.: 093111793 Revised 7, designated representative on July 12, 1994 Figure: (1) The representative representative figure of this case is: (11). (2) The symbol of the representative figure of the representative figure is simple: 1000 scaling device 1010 original buffer 1015 processing unit 1020 image segmentation unit 1030 block buffer 1035 Interpolation filter buffer 1040 Target buffer 捌, if there is a chemical formula in this case, please reveal the chemistry that best shows the characteristics of the invention.
TW93111793A 2004-04-27 2004-04-27 Scaling device and method for scaling a digital picture TWI247246B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW93111793A TWI247246B (en) 2004-04-27 2004-04-27 Scaling device and method for scaling a digital picture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW93111793A TWI247246B (en) 2004-04-27 2004-04-27 Scaling device and method for scaling a digital picture

Publications (2)

Publication Number Publication Date
TW200535733A TW200535733A (en) 2005-11-01
TWI247246B true TWI247246B (en) 2006-01-11

Family

ID=37399816

Family Applications (1)

Application Number Title Priority Date Filing Date
TW93111793A TWI247246B (en) 2004-04-27 2004-04-27 Scaling device and method for scaling a digital picture

Country Status (1)

Country Link
TW (1) TWI247246B (en)

Also Published As

Publication number Publication date
TW200535733A (en) 2005-11-01

Similar Documents

Publication Publication Date Title
Lan et al. MADNet: a fast and lightweight network for single-image super resolution
Kim et al. Curvature interpolation method for image zooming
JP2821489B2 (en) Still image compression processing apparatus and method
Fu et al. Residual scale attention network for arbitrary scale image super-resolution
CN103985085A (en) Image super-resolution amplifying method and device
DE102015114162A1 (en) Efficient interpolation
JP2010003297A (en) Method for filtering of image with bilateral filter and power image
Upneja et al. Fast computation of Jacobi-Fourier moments for invariant image recognition
CN111402139A (en) Image processing method, image processing device, electronic equipment and computer readable storage medium
CN108921801B (en) Method and apparatus for generating image
Jin et al. Light field super-resolution via attention-guided fusion of hybrid lenses
Xu et al. Exploiting raw images for real-scene super-resolution
Han et al. TSR-VFD: Generating temporal super-resolution for unsteady vector field data
Hussain et al. Quadratic trigonometric B-spline for image interpolation using GA
Qiu Interresolution look-up table for improved spatial magnification of image
TWI247246B (en) Scaling device and method for scaling a digital picture
Baus et al. Fully Smoothed ℓ 1-TV Models: Bounds for the Minimizers and Parameter Choice
Jiang et al. An adaptive anchored neighborhood regression method for medical image enhancement
US20150213578A1 (en) Method for electronic zoom with sub-pixel offset
CN114627293A (en) Image matting method based on multi-task learning
Boccuto et al. A fast algorithm for the demosaicing problem concerning the bayer pattern
Zemčík et al. Accelerated image resampling for geometry correction
Zheng et al. Novel algorithm for image interpolation
Lee et al. Hardware design of a context-preserving filter-reorganized CNN for super-resolution
Kekre et al. Grid based image scaling technique

Legal Events

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