TWI390989B - Mobile communication apparatus and image adjusting method thereof - Google Patents

Mobile communication apparatus and image adjusting method thereof Download PDF

Info

Publication number
TWI390989B
TWI390989B TW97124877A TW97124877A TWI390989B TW I390989 B TWI390989 B TW I390989B TW 97124877 A TW97124877 A TW 97124877A TW 97124877 A TW97124877 A TW 97124877A TW I390989 B TWI390989 B TW I390989B
Authority
TW
Taiwan
Prior art keywords
video stream
image
mobile communication
information
error
Prior art date
Application number
TW97124877A
Other languages
Chinese (zh)
Other versions
TW201004366A (en
Inventor
Hsiang Hsi Peng
Original Assignee
Compal Communications Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Compal Communications Inc filed Critical Compal Communications Inc
Priority to TW97124877A priority Critical patent/TWI390989B/en
Publication of TW201004366A publication Critical patent/TW201004366A/en
Application granted granted Critical
Publication of TWI390989B publication Critical patent/TWI390989B/en

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Description

行動通訊裝置及其影像調整方法Mobile communication device and image adjustment method thereof

本發明係與影像處理有關,並且特別地,本發明係關於一種具有視訊影像之後處理功能之行動通訊裝置及其影像調整方法。The present invention relates to image processing, and in particular, the present invention relates to a mobile communication device having a video image post-processing function and an image adjustment method thereof.

近年來,由於影音傳播技術的進步加上數位化的潮流下,世界各國均陸續開始發展高品質的數位電視,也帶動了數位電視相關產業的蓬勃發展。In recent years, due to the advancement of audio-visual communication technology and the trend of digitalization, countries around the world have begun to develop high-quality digital TVs, which has also led to the vigorous development of digital TV-related industries.

相較於傳統類比訊號在傳輸處理過程中累積許多無法去除之雜訊,數位訊號並無此問題,因此可維持高品質的訊號。此外,數位訊號還可以被壓縮以使得傳送資訊量加大,例如一個類比電視頻道只能播送一個節目,而一個數位電視頻道卻可播送三、四個或更多節目。這些都是將電視訊號數位化後可以帶來的好處。Compared with the traditional analog signal, many digital signals cannot be removed during the transmission process. The digital signal does not have this problem, so high-quality signals can be maintained. In addition, digital signals can be compressed to increase the amount of information transmitted. For example, an analog TV channel can only broadcast one program, while a digital TV channel can broadcast three, four or more programs. These are the benefits of digitizing TV signals.

為了實現「行動式數位電視」之未來趨勢,歐洲數位視訊廣播技術發展組織以原有應用於「固定式數位電視」的數位視訊地面廣播(Digital Video Broadcasting-Terrestrial,DVB-T)傳輸技術標準為基礎,提出一種手持式數位視訊廣播(Digital Video Broadcasting-Handheld,DVB-H)之傳輸技術標準,並於2004年進入驗證與標準化程序,同時於歐洲數個地區進行DVB-H傳輸技術標準之實驗性試播與研究計畫。In order to realize the future trend of "mobile digital TV", the European Digital Video Broadcasting Technology Development Organization has adopted the Digital Video Broadcasting-Terrestrial (DVB-T) transmission technology standard originally applied to "fixed digital television". Based on the basic technical requirements of Handheld Digital Video Broadcasting-Handheld (DVB-H), it entered the verification and standardization process in 2004, and conducted experiments on DVB-H transmission technology standards in several regions in Europe. Sexual trials and research projects.

相較於原有的DVB-T傳輸技術,DVB-H傳輸技術為了滿足應用於手持裝置之特殊需求,具有低功耗、高行動性、容易接收、共通平台及網路切換服務不中斷等優點。展望未 來,藉由行動通訊網路與DVB-H廣播網路之整合,可提供使用者更多樣化的內容與互動式服務。Compared with the original DVB-T transmission technology, DVB-H transmission technology has the advantages of low power consumption, high mobility, easy reception, common platform and network switching service without interruption in order to meet the special needs of handheld devices. . Outlook By integrating mobile communication networks with DVB-H broadcast networks, users can provide more diverse content and interactive services.

至於數位電視所強調的高壓縮率之視訊壓縮技術,過去一直由MPEG-4視訊壓縮標準獨領風騷。然而,隨著視訊壓縮技術不斷地發展,一種嶄新的H.264視訊壓縮標準已被提出。As for the high compression video compression technology emphasized by digital TV, the MPEG-4 video compression standard has been dominated in the past. However, as video compression technology continues to evolve, a new H.264 video compression standard has been proposed.

H.264視訊壓縮標準可利用極小的視訊資料,即能提供使用者極佳的視訊品質。也就是說,使用者只需開啟資料量相當小的H.264視訊檔案,即可看到非常清晰的視訊畫面。The H.264 video compression standard provides extremely good video quality with minimal video content. In other words, users only need to open a H.264 video file with a relatively small amount of data to see a very clear video picture.

例如H.264視訊壓縮標準只需三分之一至二分之一的資料傳輸率,即可提供與MPEG-2視訊壓縮標準一樣的畫質。 若以相同的資料傳輸率來看,則H.264視訊壓縮標準之解析度可達MPEG-4視訊壓縮標準的四倍。For example, the H.264 video compression standard requires only one-third to one-half of the data transfer rate to provide the same picture quality as the MPEG-2 video compression standard. If the same data transmission rate is used, the resolution of the H.264 video compression standard can reach four times that of the MPEG-4 video compression standard.

有鑑於上述之優點,DVB-H傳輸技術所採用之視訊壓縮標準即是H.264視訊壓縮標準。藉由H.264視訊壓縮技術,DVB-H傳輸技術每秒可傳送30幅影像至手持裝置,讓透過手持裝置收看數位電視之使用者亦能享受到和在家觀賞一樣高畫質、速度快的數位電視節目。In view of the above advantages, the video compression standard adopted by the DVB-H transmission technology is the H.264 video compression standard. With H.264 video compression technology, DVB-H transmission technology can transmit 30 images per second to handheld devices, so that users who watch digital TVs through handheld devices can enjoy the same high quality and fast speed as home viewing. Digital TV shows.

然而,當DVB-H所傳輸的訊號不穩定時,很可能會造成H.264視訊解碼器發生錯誤,因而產生了錯誤之影像區塊。此時,解碼後視訊之影像後處理機制就變得很重要。However, when the signal transmitted by DVB-H is unstable, it is likely to cause an error in the H.264 video decoder, resulting in an erroneous image block. At this point, the image post-processing mechanism of the decoded video becomes very important.

目前所採用之影像後處理方法大致可分成下列兩種類型。The image post-processing methods currently used can be roughly classified into the following two types.

第一種方法是直接以解碼時的參考影像作為影像修補之依據;此方法運算複雜度雖低,但在動態視訊中會造成影像 不連續之現象,因此並不實用。The first method is to directly use the reference image during decoding as the basis for image repair; this method has low computational complexity but causes image in dynamic video. The phenomenon of discontinuity is therefore not practical.

另一種方法是採取高階的影像處理技術,例如邊緣偵測、輪廓偵測、紋理抑制或鄰近邊點分析等步驟。此方法之缺點在於其運算複雜度太高,並不適用於運算能力及資源相當有限的手持裝置上。Another approach is to take high-level image processing techniques such as edge detection, contour detection, texture suppression, or proximity edge analysis. The disadvantage of this method is that its computational complexity is too high, and it is not suitable for handheld devices with limited computing power and resources.

因此,本發明之主要範疇在於提供一種行動通訊裝置及其影像調整方法,以解決上述問題。Therefore, the main scope of the present invention is to provide a mobile communication device and an image adjustment method thereof to solve the above problems.

本發明所提出之行動通訊裝置及其影像調整方法,可於不增加行動通訊裝置之運算負擔並同時兼顧視訊串流之影像品質的前提下,對視訊串流中之錯誤區域進行適當的即時影像補償。The mobile communication device and the image adjustment method thereof provided by the invention can perform appropriate real-time image on the error region in the video stream without increasing the computing burden of the mobile communication device and taking into consideration the image quality of the video stream. make up.

根據本發明之一具體實施例係一種行動通訊裝置。該行動通訊裝置具有解碼及播放一視訊串流之功能。該行動通訊裝置包含一判斷模組、一擷取模組、一計算模組及一修正模組。A mobile communication device in accordance with an embodiment of the present invention. The mobile communication device has the function of decoding and playing a video stream. The mobile communication device comprises a determination module, a capture module, a calculation module and a correction module.

由於在一解碼後視訊串流中通常包含了相當多張連續播放的影像,因此,很有可能因為傳輸訊號或解碼器不穩定,導致在部分影像中產生一些錯誤之影像區域。因此,該判斷模組之功用在於判斷該解碼後視訊串流中之一目前影像是否包含一錯誤區域。Since a video stream usually contains a relatively large number of continuously played images after decoding, it is very likely that some of the erroneous image areas are generated in some of the images because the transmission signal or the decoder is unstable. Therefore, the function of the determining module is to determine whether one of the current video images in the decoded video stream contains an error region.

該擷取模組係電連接至該判斷模組。若該判斷模組之判斷結果為是,該擷取模組將會擷取關於該錯誤區域之一鄰近區域資訊。實際上,該鄰近區域資訊可以是與位於該錯誤區域附近之一鄰近區域相關的一動態向量。The capture module is electrically connected to the determination module. If the judgment result of the judgment module is yes, the capture module will retrieve information about the neighboring area of the error area. In fact, the neighborhood information may be a dynamic vector associated with a neighboring region located near the error region.

該計算模組係電連接至該擷取模組,並係用以根據該鄰近區域資訊計算對應於該錯誤區域之一推測資訊。實際上,該推測資訊可以是與該錯誤區域相關之一推測動態向量。也就是說,該計算模組可根據該錯誤區域附近區域之動態向量估算出對應於該錯誤區域之動態向量。The computing module is electrically connected to the capturing module, and is configured to calculate speculative information corresponding to one of the error regions according to the neighboring area information. In fact, the speculative information can be one of the speculative dynamic vectors associated with the error region. That is, the computing module can estimate the dynamic vector corresponding to the error region according to the motion vector of the region near the error region.

該修正模組係電連接至該計算模組,並係用以根據該解碼後視訊串流中之一參考影像及該推測資訊修正該錯誤區域。實際上,該參考影像可以是該視訊串流中相對於該目前影像之一先前影像。The correction module is electrically connected to the computing module and configured to correct the error region according to one of the reference video and the speculative information in the decoded video stream. In fact, the reference image may be a previous image in the video stream relative to one of the current images.

在實際應用中,該行動通訊裝置可進一步包含一解碼模組。該解碼模組電連接至該判斷模組,其功用在於將一原始視訊串流解碼後產生該解碼後視訊串流。In practical applications, the mobile communication device can further include a decoding module. The decoding module is electrically connected to the determining module, and the function is to decode the original video stream to generate the decoded video stream.

根據本發明之另一具體實施例為一種影像調整方法。實際上,該影像調整方法可應用於具有解碼及播放視訊串流功能之行動通訊裝置。首先,該方法將一原始視訊串流解碼後產生一解碼後視訊串流。接著,該方法判斷該解碼後視訊串流中之一目前影像是否包含一錯誤區域。若判斷結果為是,該方法擷取關於該錯誤區域之一鄰近區域資訊。實際上,該鄰近區域資訊可以是與位於該錯誤區域附近之一鄰近區域相關的一動態向量。Another embodiment of the present invention is an image adjustment method. In fact, the image adjustment method can be applied to a mobile communication device having a function of decoding and playing video streams. First, the method decodes an original video stream to generate a decoded video stream. Then, the method determines whether one of the current video images in the decoded video stream contains an error region. If the result of the determination is yes, the method extracts information about the neighboring area of the error area. In fact, the neighborhood information may be a dynamic vector associated with a neighboring region located near the error region.

接著,該方法根據該鄰近區域資訊計算對應於該錯誤區域之一推測資訊。實際上,該推測資訊可以是與該錯誤區域相關之一推測動態向量。之後,該方法根據該解碼後視訊串流中之一參考影像及該推測資訊修正該錯誤區域。實際上,該參考影像可以是該視訊串流中相對於該目前影像之一先前影像。Then, the method calculates speculative information corresponding to one of the error regions according to the neighboring area information. In fact, the speculative information can be one of the speculative dynamic vectors associated with the error region. Thereafter, the method corrects the error region according to one of the reference video and the speculative information in the decoded video stream. In fact, the reference image may be a previous image in the video stream relative to one of the current images.

相較於先前技術,根據本發明之行動通訊裝置及其影像調整方法,提供了一種解碼後視訊串流之影像後處理機制,不僅可得到良好的影像處理效果,避免直接以解碼時之先前參考影像作為影像修補之依據所造成之影像不連續現象,同時由於其所需之運算複雜度不高,因此,根據本發明之影像調整方法非常適用於運算資源相當有限的行動通訊裝置。Compared with the prior art, the mobile communication device and the image adjustment method thereof according to the present invention provide an image post-processing mechanism for the decoded video stream, which not only can obtain good image processing effects, but also avoids the previous reference when decoding directly. The image as a basis for image repair is caused by image discontinuity, and because the computational complexity required is not high, the image adjustment method according to the present invention is very suitable for a mobile communication device with relatively limited computing resources.

關於本發明之優點與精神可以藉由以下的發明詳述及所附圖式得到進一步的瞭解。The advantages and spirit of the present invention will be further understood from the following detailed description of the invention.

本發明提出一種行動通訊裝置及其影像調整方法,以對於行動通訊裝置所接收之一視訊串流中的錯誤區域進行即時的影像補償。The invention provides a mobile communication device and an image adjustment method thereof for performing instantaneous image compensation on an error region in a video stream received by the mobile communication device.

根據本發明之第一具體實施例為一種行動通訊裝置。在此實施例中,該行動通訊裝置具有解碼及播放一視訊串流之功能。請參照圖一,圖一係繪示該行動通訊裝置之功能方塊圖。如圖一所示,行動通訊裝置1包含一判斷模組12、一擷取模組14、一計算模組16及一修正模組18。接下來,將分別就行動通訊裝置1所包含各模組間之關連及其具有之功能進行詳細的介紹。A first embodiment of the present invention is a mobile communication device. In this embodiment, the mobile communication device has the function of decoding and playing a video stream. Please refer to FIG. 1 , which is a functional block diagram of the mobile communication device. As shown in FIG. 1 , the mobile communication device 1 includes a determination module 12 , a capture module 14 , a calculation module 16 , and a correction module 18 . Next, the relationship between the modules included in the mobile communication device 1 and the functions thereof will be described in detail.

一般而言,無論是在視訊傳輸或是視訊解碼的過程中,很有可能因為訊號傳輸或解碼器之不穩定,導致在該視訊串流之某些解碼後影像中出現錯誤的影像區域,因而造成不連續的視訊串流,嚴重地影響使用者欣賞影片之感受。因此,行動通訊裝置1中之判斷模組12的功用即在於判斷一解碼後視訊串流中之一目前影像是否包含一錯誤區域。舉例而言,於H.264視訊壓縮標準中,可藉由檢查一區塊的標頭(header) 得知該區塊是否為一錯誤區塊,藉此判斷影像是否包含一錯誤區域。In general, in the process of video transmission or video decoding, it is very likely that due to the instability of the signal transmission or the decoder, an erroneous image area appears in some decoded images of the video stream. This causes discontinuous video streaming, which seriously affects the user's feeling of enjoying the video. Therefore, the function of the determining module 12 in the mobile communication device 1 is to determine whether a current image in a decoded video stream contains an error region. For example, in the H.264 video compression standard, by checking the header of a block It is known whether the block is an error block, thereby determining whether the image contains an error area.

在實際應用中,該解碼後視訊串流可以是一手持式數位視訊廣播(Digital Video Broadcasting-Handheld,DVB-H)視訊串流。該DVB-H視訊串流可藉由DVB-H傳輸技術以滿足行動通訊裝置所需之低功耗、高行動性、容易接收及網路切換服務不中斷等特殊要求。In practical applications, the decoded video stream may be a Digital Video Broadcasting-Handheld (DVB-H) video stream. The DVB-H video stream can meet the special requirements of low power consumption, high mobility, easy reception and uninterrupted network switching services required by mobile communication devices through DVB-H transmission technology.

在此實施例中,擷取模組14係電連接至判斷模組12。若判斷模組12之判斷結果為是,亦即解碼後視訊串流中之目前影像包含錯誤區域,擷取模組14將會擷取關於該錯誤區域之一鄰近區域資訊。在實際應用中,該鄰近區域資訊可以是與位於該錯誤區域附近之一鄰近區域相關的一動態向量。In this embodiment, the capture module 14 is electrically connected to the determination module 12. If the judgment result of the module 12 is YES, that is, the current image in the decoded video stream contains the error area, the capture module 14 will retrieve information about the neighboring area of the error area. In practical applications, the neighbor information may be a dynamic vector associated with a neighbor located near the error region.

計算模組16係電連接至擷取模組14,並係用以根據該鄰近區域資訊計算對應於該錯誤區域之一推測資訊。實際上,該推測資訊可以是與該錯誤區域相關之一推測動態向量。The computing module 16 is electrically connected to the capturing module 14 and is configured to calculate speculative information corresponding to one of the error regions based on the neighboring area information. In fact, the speculative information can be one of the speculative dynamic vectors associated with the error region.

在此實施例中,修正模組18係電連接至計算模組16,並係用以根據該解碼後視訊串流中之一參考影像及該推測資訊修正該錯誤區域。實際上,該參考影像可以是該視訊串流中相對於該目前影像之一先前影像。In this embodiment, the correction module 18 is electrically connected to the computing module 16 and is configured to correct the error region according to one of the reference video and the speculative information in the decoded video stream. In fact, the reference image may be a previous image in the video stream relative to one of the current images.

接下來,將透過一範例說明行動通訊裝置1如何在該視訊串流中,藉由目前影像之該錯誤區域附近的鄰近區域動態向量估算出該錯誤區域之推測動態向量,並根據該推測動態向量以及一先前影像修正該錯誤區域。Next, an example will be used to describe how the mobile communication device 1 estimates the estimated motion vector of the error region in the video stream by using the neighbor region motion vector near the error region of the current image, and according to the speculative motion vector. And a previous image corrects the error area.

由於本發明係利用DVB-H之訊號特性以及可能的錯誤情形,並透過錯誤修正之方式將目前影像恢復為高品質的影 像,因此,本發明必須利用空間的特性,藉由錯誤區域與其鄰近區域間之關連性得到有助於錯誤修正之資訊。如圖二所示,此範例僅考慮錯誤區域26之左方、上方、左上方及右上方等四個方向的鄰近區域。由於視訊中之影像具有動態的特性,因此在不同的影像畫面中,某一特定區域之位置很可能會有所不同。如圖二所示,目前影像22中之錯誤區域26與參考影像24中之對應區域27相對於背景圖案28之相對位置即有所不同。因此,本發明採用動態向量之方法。Since the present invention utilizes the signal characteristics of DVB-H and possible error conditions, and restores the current image to a high quality image through error correction. For example, the present invention must utilize the characteristics of the space to obtain information that facilitates error correction by the correlation between the error region and its neighboring region. As shown in FIG. 2, this example only considers the adjacent areas in the four directions of the left side, the upper side, the upper left side, and the upper right side of the error area 26. Since the images in the video have dynamic characteristics, the location of a particular area is likely to be different in different image frames. As shown in FIG. 2, the relative position of the error region 26 in the current image 22 and the corresponding region 27 of the reference image 24 relative to the background pattern 28 is different. Therefore, the present invention employs a method of dynamic vectors.

此外,為了提升H.264編碼之效能,可將這些鄰近區域進一步切割成不同之大小。如圖二所示,目前影像22中之錯誤區域26上方之區域被切割成上下兩區塊,其中下方斜線之區塊可被視為錯誤區域26之鄰近區域;錯誤區域26左方之鄰近區域被切割成四個區塊,其中右上方及右下方兩個斜線之區塊可被視為錯誤區域26之鄰近區域;至於錯誤區域26左上方及右上方的兩個鄰近區域則維持原來的大小不變,均可被視為錯誤區域26之鄰近區域。In addition, in order to improve the performance of H.264 encoding, these adjacent regions can be further cut into different sizes. As shown in FIG. 2, the area above the error area 26 in the current image 22 is cut into upper and lower blocks, wherein the block of the lower diagonal line can be regarded as the adjacent area of the error area 26; the adjacent area of the left side of the error area 26 It is cut into four blocks, wherein the blocks of the upper right and lower right diagonal lines can be regarded as the adjacent areas of the error area 26; as for the two adjacent areas in the upper left and upper right areas of the error area 26, the original size is maintained. The same can be regarded as the adjacent area of the error area 26.

如圖二所示,在目前影像22中,每一個被分割的區塊及未被分割之鄰近區域均各自對應一個動態向量。在H.264系統中,提供了7種不同大小與外型的區塊可供選擇(16×16、16×8、8×16、8×8、8×4、4×8、4×4),因此一個鄰近區域最多可被分割成十六個區塊,故該鄰近區域最多可包含十六個動態向量。As shown in FIG. 2, in the current image 22, each of the divided blocks and the undivided adjacent regions each correspond to one dynamic vector. In the H.264 system, seven different sizes and shapes are available (16×16, 16×8, 8×16, 8×8, 8×4, 4×8, 4×4). Therefore, a neighboring area can be divided into up to sixteen blocks, so the neighboring area can contain up to sixteen dynamic vectors.

此外,由於每一個鄰近區域對於該錯誤區域所具有之重要性均不相同,因此,可藉由加權之方式得到一組新的動態向量。在此範例中,假設鄰近區域與錯誤區域之距離與兩者間之相關性成反比,即可根據其距離為比例作為計算新的動態向量時加權之權重。In addition, since each adjacent area has different importance to the wrong area, a new set of dynamic vectors can be obtained by weighting. In this example, assuming that the distance between the adjacent area and the wrong area is inversely proportional to the correlation between the two, the weight can be weighted according to the distance as a weight when calculating the new dynamic vector.

根據上述方法,錯誤區域26上方區域之動態向量mv2 可以由下列方程式求得:mv2 =(mv21 1+mv22 2)/3。According to the above method, the motion vector mv 2 of the region above the error region 26 can be obtained by the following equation: mv 2 = (mv 21 * 1 + mv 22 * 2) / 3.

同理,錯誤區域26左方區域之動態向量mv4 可以由下列方程式求得:mv4 =(mv41 1+mv42 1+mv43 2+mv44 2)/6。Similarly, the motion vector mv 4 of the left region of the error region 26 can be obtained by the following equation: mv 4 = (mv 41 * 1 + mv 42 * 1 + mv 43 * 2+mv 44 * 2) / 6.

在錯誤區域26之四個方向的鄰近區域之動態向量mv1 、mv2 、mv3 及mv4 均求得之後,對此四個動態向量取其中位數,即可得到在參考影像24中之對應區域27的推測動態向量mv0 ,可由下列方程式表示:mv0 =median(mv1 ,mv2 ,mv3 ,mv4 )。After the motion vectors mv 1 , mv 2 , mv 3 and mv 4 of the adjacent regions in the four directions of the error region 26 are obtained, the median of the four motion vectors is taken, and the reference image 24 is obtained. The estimated dynamic vector mv 0 of the corresponding region 27 can be expressed by the following equation: mv 0 =median(mv 1 ,mv 2 ,mv 3 ,mv 4 ).

由於動態向量可以表示一影像區域之移動特性,並藉以得知該影像區域在時域上與參考影像(先前影像)之相對位置,經由動態向量估測後所得到之推測動態向量可代表錯誤區域在時域上與之前影像的關連性,並利用推測動態向量對錯誤區域進行修正。Since the motion vector can represent the moving characteristics of an image region, and the relative position of the image region to the reference image (previous image) in the time domain is known, the estimated motion vector obtained after the dynamic vector estimation can represent the error region. The correlation with the previous image in the time domain, and the error region is corrected by the speculative dynamic vector.

由於解碼器進行解碼時,通常會儲存前一張或前幾張影像作為參考解碼之依據,因此,利用推測動態向量可以在先前影像中定位出對應於目前影像中之錯誤區域的對應區域,並將該對應區域之二維像素資料搬移至目前影像之錯誤區域的位置,藉以改善影像之品質。相較於傳統上,直接將先前影像相同位置之區域的二維像素資料搬移至目前影像之錯誤區域的位置所造成影像不連續之現象,忽略了影像具有動態之特性,根據本發明之影像處理效果可大幅改善此一現象,得到高品質之視訊影像。Since the decoder usually decodes the previous or previous images as the basis for reference decoding, the speculative motion vector can be used to locate the corresponding region corresponding to the error region in the current image in the previous image, and The two-dimensional pixel data of the corresponding area is moved to the position of the error area of the current image, thereby improving the quality of the image. Compared with the conventional method, directly moving the two-dimensional pixel data of the same position of the previous image to the position of the wrong area of the current image causes the image to be discontinuous, ignoring the dynamic characteristics of the image, and the image processing according to the present invention The effect can greatly improve this phenomenon and get high quality video images.

如圖三所示,行動通訊裝置1可以進一步包含接收模組10及解碼模組20。實際上,接收模組10可以包含一天線。在此實施例中,行動通訊裝置1之接收模組10所接收之一視訊串流可能包含了相當多張連續播放的影像。舉例而言,若行動通訊裝置1所接收之視訊串流係透過DVB-H傳輸技術傳送,由於DVB-H傳輸技術採用H.264視訊壓縮標準,故每秒可傳送高達30張影像至行動通訊裝置1。As shown in FIG. 3, the mobile communication device 1 can further include a receiving module 10 and a decoding module 20. In fact, the receiving module 10 can include an antenna. In this embodiment, one of the video streams received by the receiving module 10 of the mobile communication device 1 may contain a relatively large number of continuously played images. For example, if the video stream received by the mobile communication device 1 is transmitted through the DVB-H transmission technology, since the DVB-H transmission technology adopts the H.264 video compression standard, it can transmit up to 30 images per second to the mobile communication. Device 1.

在此實施例中,解碼模組20係電連接至判斷模組12,其功用在於將一原始視訊串流解碼後產生該解碼後視訊串流。實際上,解碼模組20可以是一H.264視訊串流解碼器。由於該H.264視訊串流解碼器係採用H.264視訊壓縮標準對一視訊串流進行壓縮,因此能與同樣採用H.264視訊壓縮標準的DVB-H傳輸技術彼此配合。In this embodiment, the decoding module 20 is electrically connected to the determining module 12, and the function is to decode the original video stream to generate the decoded video stream. In fact, the decoding module 20 can be an H.264 video stream decoder. Since the H.264 video stream decoder compresses a video stream using the H.264 video compression standard, it can cooperate with the DVB-H transmission technology that also adopts the H.264 video compression standard.

圖四係繪示H.264視訊串流解碼程序之一範例。在此例中,經過H.264解多工器所擷取出之視訊資料為一二位元流,假設此二位元流為000010001110010111101101。該位元流包含了每張影像之參數特性及壓縮資料,經由接下來的H.264解碼流程以獲得重建之影像。Figure 4 shows an example of the H.264 video stream decoding procedure. In this example, the video data extracted by the H.264 demultiplexer is a one-bit stream, assuming that the binary stream is 000010001110010111101101. The bit stream contains the parameter characteristics and compressed data of each image, and the reconstructed image is obtained through the following H.264 decoding process.

如圖四所示,首先,H.264解碼器執行一可適性紋理變數長度解碼(Context Adaptive Variable Length Decoding,CAVLD)之步驟將該二位元流轉換成一頻域資料。As shown in FIG. 4, first, the H.264 decoder performs a Context Adaptive Variable Length Decoding (CAVLD) step to convert the binary stream into a frequency domain data.

接著,再藉由一反量化之步驟,H.264解碼器可將該頻域資料中之係數作適當地放大以符合該編碼器之編碼技術。之後,該頻域資料可藉由一整數的離散餘弦反轉換(Inverse Discrete Transform,IDCT)之步驟被反轉換成空間域之係數。上述的反量化及整數離散餘弦反轉換之步驟均屬於反轉換(inverse transform)之步驟。Then, by an inverse quantization step, the H.264 decoder can appropriately amplify the coefficients in the frequency domain data to conform to the encoding technique of the encoder. Thereafter, the frequency domain data can be inversely converted into coefficients of the spatial domain by an integer discrete step of inverse cosine transform (IDCT). The above steps of inverse quantization and integer discrete cosine inverse conversion are all steps of an inverse transform.

最後,H.264解碼器配合空間域之影像預測技術或時間域之動態補償技術,可獲得完整之空間像素資訊,亦即使用者於行動通訊裝置之螢幕上所見之視訊影像。Finally, the H.264 decoder cooperates with the spatial domain image prediction technology or the time domain dynamic compensation technology to obtain complete spatial pixel information, that is, the video image seen by the user on the screen of the mobile communication device.

藉由H.264視訊壓縮技術,行動通訊裝置1可以利用相當小的視訊串流提供使用者極佳的視訊品質,因此,使用者只需開啟一個很小的H.264視訊檔案,即可透過行動通訊裝置1欣賞到非常清晰的視訊內容。With H.264 video compression technology, the mobile communication device 1 can provide users with excellent video quality by using a relatively small video stream. Therefore, the user only needs to open a small H.264 video file to pass through. The mobile communication device 1 enjoys very clear video content.

根據本發明之第二具體實施例為一種影像調整方法。在此實施例中,該影像調整方法可應用於一行動通訊裝置,並且該行動通訊裝置可具有解碼及播放一視訊串流之功能。A second embodiment of the present invention is an image adjustment method. In this embodiment, the image adjustment method can be applied to a mobile communication device, and the mobile communication device can have the function of decoding and playing a video stream.

請參照圖五,圖五係繪示該影像調整方法之流程圖。如圖五所示,首先,該方法執行步驟S10,將一原始視訊串流解碼後產生一解碼後視訊串流。其中該原始視訊串流與該解碼後視訊串流均包含複數張影像。Please refer to FIG. 5 , which is a flow chart showing the image adjustment method. As shown in FIG. 5, first, the method performs step S10 to decode an original video stream to generate a decoded video stream. The original video stream and the decoded video stream each include a plurality of images.

實際上,該方法在步驟S10中所執行之解碼程序可以透過該行動通訊裝置中之一H.264視訊串流解碼器以達成。該解碼後視訊串流可以是一手持式數位視訊廣播視訊串流。In fact, the decoding process performed by the method in step S10 can be achieved by one of the H.264 video stream decoders in the mobile communication device. The decoded video stream can be a handheld digital video broadcast video stream.

由於訊號傳輸或解碼器之不穩定,可能導致在某些解碼後之影像中產生錯誤的影像區域。因此,該方法將會執行步驟S11,判斷該解碼後視訊串流中之一目前影像是否包含一錯誤區域。舉例而言,於H.264視訊壓縮標準中,可藉由檢查一區塊的標頭(header)得知該區塊是否為一錯誤區塊,藉此判斷影像是否包含一錯誤區域。Due to the instability of the signal transmission or decoder, it may result in an erroneous image area in some decoded images. Therefore, the method will perform step S11 to determine whether one of the current video images in the decoded video stream contains an error region. For example, in the H.264 video compression standard, whether a block is an error block can be determined by checking a header of a block to determine whether the image contains an error area.

若步驟S11之判斷結果為是,該方法執行步驟S12,擷取關於該錯誤區域之一鄰近區域資訊。實際上,該鄰近區域資訊係與該錯誤區域之一鄰近區域相關的一動態向量。If the result of the determination in step S11 is YES, the method proceeds to step S12 to extract information about the neighboring area of the error area. In effect, the neighboring area information is a dynamic vector associated with one of the adjacent areas of the error area.

之後,該方法執行步驟S13,根據該鄰近區域資訊計算對應於該錯誤區域之一推測資訊。實際上,該推測資訊係與該錯誤區域相關之一推測動態向量。Thereafter, the method performs step S13, and calculates speculative information corresponding to one of the error regions according to the neighboring area information. In fact, the speculative information is one of the speculative dynamic vectors associated with the error region.

最後,該方法執行S14,根據該解碼後視訊串流中之一參考影像及該推測資訊修正該錯誤區域。實際上,該參考影像係該解碼後視訊串流中相對於該目前影像之一先前影像。Finally, the method performs S14, and the error region is corrected according to one of the reference video and the speculative information in the decoded video stream. In effect, the reference image is a previous image of the decoded video stream relative to one of the current images.

相較於先前技術,根據本發明之行動通訊裝置及其影像調整方法,提供了一種解碼後視訊串流之影像後處理機制,不僅可得到良好的影像處理效果,避免直接以解碼時之先前參考影像作為影像修補之依據所造成之影像不連續現象,同時由於其所需之運算複雜度不高,因此,根據本發明之影像調整方法非常適用於運算資源相當有限的行動通訊裝置。Compared with the prior art, the mobile communication device and the image adjustment method thereof according to the present invention provide an image post-processing mechanism for the decoded video stream, which not only can obtain good image processing effects, but also avoids the previous reference when decoding directly. The image as a basis for image repair is caused by image discontinuity, and because the computational complexity required is not high, the image adjustment method according to the present invention is very suitable for a mobile communication device with relatively limited computing resources.

藉由以上較佳具體實施例之詳述,係希望能更加清楚描述本發明之特徵與精神,而並非以上述所揭露的較佳具體實施例來對本發明之範疇加以限制。相反地,其目的是希望能涵蓋各種改變及具相等性的安排於本發明所欲申請之專利範圍的範疇內。The features and spirit of the present invention will be more apparent from the detailed description of the preferred embodiments. On the contrary, the intention is to cover various modifications and equivalents within the scope of the invention as claimed.

S10~S15‧‧‧流程步驟S10~S15‧‧‧ Process steps

1‧‧‧行動通訊裝置1‧‧‧Mobile communication device

10‧‧‧接收模組10‧‧‧ receiving module

12‧‧‧判斷模組12‧‧‧Judgement module

14‧‧‧擷取模組14‧‧‧Capture module

16‧‧‧計算模組16‧‧‧Computation Module

18‧‧‧修正模組18‧‧‧Correction module

20‧‧‧解碼模組20‧‧‧Decoding module

22‧‧‧目前影像22‧‧‧ Current image

24‧‧‧參考影像24‧‧‧Reference image

26‧‧‧錯誤區域26‧‧‧Wrong area

27‧‧‧對應區域27‧‧‧Corresponding area

28‧‧‧背景圖案28‧‧‧Background pattern

mv0 ~mv44 ‧‧‧動態向量Mv 0 ~mv 44 ‧‧‧dynamic vector

圖一係繪示根據本發明之第一具體實施例之行動通訊裝置的功能方塊圖。1 is a functional block diagram of a mobile communication device in accordance with a first embodiment of the present invention.

圖二係繪示計算推測動態向量之一範例。Figure 2 shows an example of calculating a speculative dynamic vector.

圖三係繪示圖一所示之行動通訊裝置的詳細功能方塊圖。FIG. 3 is a detailed functional block diagram of the mobile communication device shown in FIG.

圖四係繪示H.264視訊串流解碼程序之一範例。Figure 4 shows an example of the H.264 video stream decoding procedure.

圖五係繪示根據本發明之第二具體實施例之影像調整方法的流程圖。FIG. 5 is a flow chart showing an image adjustment method according to a second embodiment of the present invention.

1‧‧‧行動通訊裝置1‧‧‧Mobile communication device

12‧‧‧判斷模組12‧‧‧Judgement module

14‧‧‧擷取模組14‧‧‧Capture module

16‧‧‧計算模組16‧‧‧Computation Module

18‧‧‧修正模組18‧‧‧Correction module

Claims (15)

一種行動通訊裝置,包含:一判斷模組,用以判斷一解碼後視訊串流中之一目前影像是否包含一錯誤區域,其中該解碼後視訊串流包含複數張影像;一擷取模組,電連接至該判斷模組,該擷取模組擷取關於該錯誤區域之一鄰近區域之資訊;一計算模組,電連接至該擷取模組,用以根據該鄰近區域之資訊計算對應於該錯誤區域之一推測資訊;以及一修正模組,電連接至該計算模組,用以根據該解碼後視訊串流中之一參考影像及該推測資訊修正該錯誤區域。A mobile communication device includes: a determining module, configured to determine whether a current image of a decoded video stream includes an error region, wherein the decoded video stream includes a plurality of images; and a capture module, Electrically connected to the judging module, the capturing module captures information about a neighboring area of the error area; a computing module is electrically connected to the capturing module for calculating a correspondence according to information of the neighboring area The information is estimated in one of the error areas; and a correction module is electrically connected to the calculation module for correcting the error area according to the reference image and the speculation information in the decoded video stream. 如申請專利範圍第1項所述之行動通訊裝置,其中該鄰近區域包含該錯誤區域之左上方、上方、右上方及左方的區域。The mobile communication device according to claim 1, wherein the adjacent area includes an upper left, upper, upper right, and left area of the error area. 如申請專利範圍第1項所述之行動通訊裝置,其中該鄰近區域之資訊為該鄰近區域之一動態向量。The mobile communication device of claim 1, wherein the information of the neighboring area is a dynamic vector of the neighboring area. 如申請專利範圍第1項所述之行動通訊裝置,其中該推測資訊為與該錯誤區域相關之一推測動態向量。The mobile communication device of claim 1, wherein the speculative information is a speculative dynamic vector associated with the error region. 如申請專利範圍第1項所述之行動通訊裝置,其中該參考影像係該視訊串流中相對於該目前影像之一先前影像。The mobile communication device of claim 1, wherein the reference image is a previous image of the video stream relative to one of the current images. 如申請專利範圍第1項所述之行動通訊裝置,其中該解碼後視訊串流係一手持式數位視訊廣播(Digital Video Broadcasting-Handheld,DVB-H)視訊串流。The mobile communication device of claim 1, wherein the decoded video stream is a Digital Video Broadcasting-Handheld (DVB-H) video stream. 如申請專利範圍第1項所述之行動通訊裝置,進一步包含:一解碼模組,電連接至該判斷模組,用以將一原始視訊串流解碼後產生該解碼後視訊串流。The mobile communication device of claim 1, further comprising: a decoding module electrically connected to the determining module, configured to decode an original video stream to generate the decoded video stream. 如申請專利範圍第7項所述之行動通訊裝置,其中該解碼模組係一H.264視訊串流解碼器。The mobile communication device of claim 7, wherein the decoding module is an H.264 video stream decoder. 一種影像調整方法,包含下列步驟: (a)判斷一解碼後視訊串流中之一目前影像是否包含一錯誤區域,其中該解碼後視訊串流包含複數張影像;(b)若步驟(a)之判斷結果為是,擷取關於該錯誤區域之一鄰近區域之資訊;(c)根據該鄰近區域之資訊計算對應於該錯誤區域之一推測資訊;以及(d)根據該解碼後視訊串流中之一參考影像及該推測資訊修正該錯誤區域。An image adjustment method includes the following steps: (a) determining whether a current image in a decoded video stream includes an error region, wherein the decoded video stream includes a plurality of images; (b) if the determination in step (a) is yes, (c) calculating, based on information of the neighboring region, information corresponding to the error region; and (d) determining, according to the information of the decoded video stream, the reference image and the speculative information Fix the error area. 如申請專利範圍第9項所述之影像調整方法,其中該鄰近區域包含該錯誤區域之左上方、上方、右上方及左方的區域。The image adjustment method according to claim 9, wherein the adjacent area includes an upper left, upper, upper right, and left areas of the error area. 如申請專利範圍第9項所述之影像調整方法,其中該鄰近區域之資訊為該鄰近區域之一動態向量。The image adjustment method of claim 9, wherein the information of the neighboring area is a dynamic vector of the neighboring area. 如申請專利範圍第9項所述之影像調整方法,其中該推測資訊係與該錯誤區域相關之一推測動態向量。The image adjustment method according to claim 9, wherein the speculation information is one of a speculative motion vector associated with the error region. 如申請專利範圍第9項所述之影像調整方法,其中該參考影像係該解碼後視訊串流中相對於該目前影像之一先前影像。The image adjustment method of claim 9, wherein the reference image is a previous image of the decoded video stream relative to one of the current images. 如申請專利範圍第9項所述之影像調整方法,其中該解碼後視訊串流係一手持式數位視訊廣播視訊串流。The image adjustment method of claim 9, wherein the decoded video stream is a handheld digital video broadcast video stream. 如申請專利範圍第9項所述之影像調整方法,進一步包含下列步驟:(e)將一原始視訊串流解碼後產生該解碼後視訊串流。The image adjustment method of claim 9, further comprising the following steps: (e) decoding the original video stream to generate the decoded video stream.
TW97124877A 2008-07-02 2008-07-02 Mobile communication apparatus and image adjusting method thereof TWI390989B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW97124877A TWI390989B (en) 2008-07-02 2008-07-02 Mobile communication apparatus and image adjusting method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW97124877A TWI390989B (en) 2008-07-02 2008-07-02 Mobile communication apparatus and image adjusting method thereof

Publications (2)

Publication Number Publication Date
TW201004366A TW201004366A (en) 2010-01-16
TWI390989B true TWI390989B (en) 2013-03-21

Family

ID=44825861

Family Applications (1)

Application Number Title Priority Date Filing Date
TW97124877A TWI390989B (en) 2008-07-02 2008-07-02 Mobile communication apparatus and image adjusting method thereof

Country Status (1)

Country Link
TW (1) TWI390989B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9659350B2 (en) * 2014-01-31 2017-05-23 Morpho, Inc. Image processing device and image processing method for image correction, and non-transitory computer readable recording medium thereof

Also Published As

Publication number Publication date
TW201004366A (en) 2010-01-16

Similar Documents

Publication Publication Date Title
CN101982977B (en) For the method and apparatus carrying out data alignment with time domain border
TWI495349B (en) Bit depth enhancement for scalable video coding
RU2372743C2 (en) Scalable video coding with two-level coding and one-level decoding
JP5108026B2 (en) Extended inter-layer coding for spatial scalability
JP4747917B2 (en) Digital broadcast receiver
JP4981927B2 (en) CAVLC extensions for SVCCGS enhancement layer coding
US20070009041A1 (en) Method for video data stream integration and compensation
KR101266667B1 (en) Dual-mode compression of images and videos for reliable real-time transmission
MX2007000810A (en) Method and apparatus for encoder assisted-frame rate up conversion (ea-fruc) for video compression.
TW200830883A (en) Block information adjustment techniques to reduce artifacts in interpolated video frames
CN101313580A (en) Content driven transcoder that orchestrates multimedia transcoding using content information
US20080259921A1 (en) System and method for multi-rate video delivery using multicast stream
CA2886995A1 (en) Rate-distortion optimizers and optimization techniques including joint optimization of multiple color components
US20090103603A1 (en) Simulcast reproducing method
Arun et al. Ultra-HEVC using frame frequency error optimization technique for IPTV realization
CN101035275A (en) Novel embedded multimedia stream server with the TV function
US20110170005A1 (en) Automatic switching between simulcast video signals in a mobile media device
TWI390989B (en) Mobile communication apparatus and image adjusting method thereof
JP2009081579A (en) Motion picture decoding apparatus and motion picture decoding method
JP4672734B2 (en) Digital broadcast reception signal processing apparatus, signal processing method, signal processing program, and digital broadcast reception apparatus
KR20070006006A (en) System for digital multimedia broadcast performance improvement with watermark and error concealment
KR100803132B1 (en) Method and apparatus for reduction MPEG noise using wavelet transform
CN2648737Y (en) Decoding code translator based on digital video broadcasting
CN106612448A (en) Method of set-top box for projecting television signals to intelligent mobile phone
Tröger et al. Joint temporal and inter-sequence error concealment for multi-broadcast-reception

Legal Events

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