TW201608875A - Method and device for encoding a high-dynamic range frame and/or decoding a bitstream - Google Patents

Method and device for encoding a high-dynamic range frame and/or decoding a bitstream Download PDF

Info

Publication number
TW201608875A
TW201608875A TW104115464A TW104115464A TW201608875A TW 201608875 A TW201608875 A TW 201608875A TW 104115464 A TW104115464 A TW 104115464A TW 104115464 A TW104115464 A TW 104115464A TW 201608875 A TW201608875 A TW 201608875A
Authority
TW
Taiwan
Prior art keywords
frame
shape
backlight
decoding
decoded
Prior art date
Application number
TW104115464A
Other languages
Chinese (zh)
Inventor
大衛 拖茲
法布列斯 拉蘭奈克
揚尼克 奧利維
塞巴斯汀 萊塞里
Original Assignee
湯姆生特許公司
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 湯姆生特許公司 filed Critical 湯姆生特許公司
Publication of TW201608875A publication Critical patent/TW201608875A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/30Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using hierarchical techniques, e.g. scalability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/70Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards

Abstract

The present disclosure generally relates to a method and device for encoding a frame, comprising a processor configured for: - encoding (12) a backlight frame determined (11) from the frame to be encoded; - obtaining (13) at least one component of a residual frame by dividing each component of the frame by a decoded version of the backlight frame; - encoding (19) the residual frame; the method is characterized in that the processor is further configured in order that the backlight frame is represented by a weighted linear combination of at least one set of 2D shape functions, the 2D shape functions of each set forming a partition of unity of a domain defined by the union of their supports. The disclosure relates also to a method and device for decoding a bitstream representing a residual frame calculated by dividing a frame by a backlight frame.

Description

訊框之編碼方法和裝置以及訊框之解碼方法和裝置,電腦程式製品及處理器可讀式媒體和非暫態儲存媒體 Frame coding method and device, and frame decoding method and device, computer program product and processor readable medium and non-transitory storage medium

本案一般係關於訊框/視訊編碼和解碼。具體而言,本案技術領域係關於像素值屬於高動態範圍之訊框編碼/解碼。 This case is generally about frame/video encoding and decoding. In particular, the technical field of the present invention relates to frame encoding/decoding in which pixel values belong to a high dynamic range.

本節旨在對讀者介紹諸技術要旨,與下述和/或所請求之本案諸面向有關。此項論述相信有助於提供讀者以背景資訊,方便更加明瞭本案諸面向。因此,須知此等敘述係以此觀點閱讀,而非引進先前技術。 This section is intended to introduce the technical gist of the reader to the following and/or the claimed aspects of the present invention. This discussion is believed to help provide readers with background information, and it is easier to understand the scope of the case. Therefore, it is to be understood that such statements are read from this point of view rather than the prior art.

低動態範圍訊框(LDR訊框)之亮度值,以有限位元數(最通常為8或10)表示。此限制表示法無法正確描繪小訊號變異,尤其是在暗和明的亮度範圍。在高動態範圍訊框(HDR訊框),延伸訊號表示法,以維持訊號在全範圍之高度準確性。在HDR訊框,像素值通常以浮點格式表示(各分量可以32位元或16位元,即浮動或半浮動),最常見格式為開放EXR半浮動格式(每RGB分量為16位元,即每像素為48位元),或長表示法以整數計,通常為至少16位元。 The luminance value of a low dynamic range frame (LDR frame), expressed as a finite number of bits (most commonly 8 or 10). This restricted representation does not correctly depict small signal variations, especially in the dark and bright range of brightness. In the high dynamic range frame (HDR frame), the signal notation is extended to maintain the high accuracy of the signal over the full range. In the HDR frame, the pixel values are usually expressed in floating point format (each component can be 32 or 16 bits, ie floating or semi-floating), the most common format is open EXR semi-floating format (16 bits per RGB component, That is, 48 bits per pixel), or long notation, in integers, usually at least 16 bits.

編碼HDR訊框之通常策略是,減少訊框動態範圍,以便利用傳統編碼方式(起先構成編碼LDR訊框),來編碼訊框。 The general strategy for encoding an HDR frame is to reduce the dynamic range of the frame to encode the frame using conventional encoding (which initially constitutes the encoded LDR frame).

按照公知策略,從輸入HDR訊框的亮度分量,確定背光訊框。再藉輸入HDR訊框除以背光訊框,獲得剩餘訊框,背光訊框和剩餘訊框二者之編碼均利用傳統編碼器,諸如H.264/AVC(〈一般視聽服務用之進階視訊寫碼〉,叢書H:《視聽和多媒體系統》,建議案ITU-T H.264,ITU電傳標準化部門,2012年1月),或HEVC(〈高效視訊寫碼〉,叢書H:《視聽和多媒體系統》,建議案ITU-T H.265,ITU電傳標準化部門,2013年4月)。 The backlight frame is determined from the luminance component of the input HDR frame according to a known strategy. The input HDR frame is divided by the backlight frame to obtain the remaining frame. The encoding of both the backlight frame and the remaining frame uses traditional encoders, such as H.264/AVC (<Advanced video for general audiovisual services). Code Writing>, Series H: Audiovisual and Multimedia Systems, Recommendation ITU-T H.264, ITU Telex Standardization Department, January 2012), or HEVC (High Efficiency Video Writing), Series H: Audiovisual And Multimedia Systems, Recommendation ITU-T H.265, ITU Telex Standardization Sector, April 2013).

壓縮能力強烈視訊框和各訊框空間平滑性之時間相關而定。實際上,視訊編碼器使用時間和訊框內預估,做為很有效工具,來壓縮視訊資料。 The compression capability is strongly dependent on the time frame of the frame and the spatial smoothness of each frame. In fact, video encoders use time and intraframe estimates as a powerful tool to compress video data.

由編碼剩餘訊框自動提供可視LDR訊框之能力,是關鍵優點,因其容許把HDR訊框(視訊)分配至用戶,裝設標準LDR電視機,以及非專用於後處理背光訊框和剩餘訊框,以解碼HDR訊框(視訊)之接收裝置者。 The ability to automatically provide visual LDR frames from the coded residual frames is a key advantage as it allows the assignment of HDR frames (video) to users, the installation of standard LDR TVs, and the non-dedicated post-processing of backlight frames and remaining Frame to decode the receiver of the HDR frame (video).

可惜,若有人不注意在編碼器側之背光訊框建構,此背光訊框會缺乏均勻性,而此不均勻性會在剩餘訊框(LDR可視訊框)創造若干平滑梯度。人的視覺系統對此等人為因素很敏感。因此,亟需有專用背光訊框建構,能夠提供均勻背光訊框。 Unfortunately, if someone does not pay attention to the construction of the backlight frame on the encoder side, the backlight frame will lack uniformity, and this unevenness will create several smooth gradients in the remaining frame (LDR frame). The human visual system is sensitive to these human factors. Therefore, there is no need to have a dedicated backlight frame construction to provide a uniform backlight frame.

本案旨在解決先前技術之若干缺點,以訊框之編碼方法,包括一處理器,構成:把待編碼之訊框所確定背光訊框,加以編碼;藉訊框之各分量除以背光訊框之解碼版本,獲得剩餘訊框之至少一分量;把剩餘訊框編碼;此方法之特徵為,處理器又構成,為了以至少一2D形狀函數集合之加權線性組合表示背光訊框,各集合之2D形狀函數形成利用其支集聯合所界定域之單一性分割。 The present invention is directed to solving some of the shortcomings of the prior art. The encoding method of the frame includes a processor, which comprises: encoding the backlight frame determined by the frame to be encoded; dividing the components of the frame by the backlight frame Decoding version, obtaining at least one component of the remaining frame; encoding the remaining frame; the method is characterized in that the processor is further configured to represent the backlight frame by a weighted linear combination of at least one 2D shape function set, each set The 2D shape function forms a unitary segmentation using the domain defined by its support union.

按照一具體例,2D形狀函數係按照對其支集邊界的平滑性約束來界定。 According to a specific example, the 2D shape function is defined by the smoothness constraint on its support boundary.

按照一具體例,集合之2D形狀函數具有模型對稱函數之形狀。 According to a specific example, the set 2D shape function has the shape of a model symmetry function.

按照一具體例,2D形狀函數係跨越正規柵格界定。 According to a specific example, the 2D shape function is defined across a regular grid.

按照一具體例,模型對稱函數是二可分離1D多項式之乘積。 According to a specific example, the model symmetry function is the product of two separable 1D polynomials.

按照一具體例,背光訊框是以2D形狀函數若干集合之加權線性組合表示,各集合之2D形狀函數形成其支集聯合所界定域之單一性分 割。 According to a specific example, the backlight frame is represented by a weighted linear combination of a set of 2D shape functions, and the 2D shape function of each set forms a single score of the domain defined by the support combination. Cut.

按照一具體例,加權線性組合和/或2D形狀函數之係數,經編碼於位元流內。 According to a specific example, the coefficients of the weighted linear combination and/or the 2D shape function are encoded in the bit stream.

本案又涉及一種訊框之解碼方法,從代表由訊框所得背光訊框,和訊框除以背光訊框計算的剩餘訊框之至少一位元流解碼。解碼方法包括一處理器,構成:利用至少部份位元流解碼,得解碼背光訊框;利用至少部份位元流解碼,得解碼剩餘訊框;以解碼剩餘訊框乘以解碼背光訊框,得解碼訊框;本方法之特徵為,處理器又構成,為了以至少一2D形狀函數集合之加權線性組合表示解碼背光訊框,各集合之2D形狀函數形成其支集聯合所界定域之單一性分割。 The present invention further relates to a method for decoding a frame, which is decoded from at least one bit stream representing a back frame obtained by the frame and dividing the frame by the remaining frame calculated by the backlight frame. The decoding method comprises a processor, which comprises: decoding at least part of the bit stream to decode the backlight frame; decoding at least part of the bit stream to decode the remaining frame; and decoding the remaining frame by multiplying the decoded backlight frame The method is characterized in that the processor is further configured to: in order to represent the decoded backlight frame by a weighted linear combination of at least one 2D shape function set, the 2D shape functions of each set form a domain defined by the support combination. Single segmentation.

按照一具體例,背光訊框是以2D形狀函數若干集合之加權線性組合表示,各集合之2D形狀函數形成其支集聯合所界定域之單一性分割。 According to a specific example, the backlight frame is represented by a weighted linear combination of a set of 2D shape functions, and the 2D shape function of each set forms a unitary segmentation of the domain defined by the support union.

按照一具體例,處理器又構成,為獲得2D形狀函數利用位元流至少部份解碼和/或2D形狀函數集合之2D形狀函數利用位元流至少部份解碼,所加權線性組合之係數。 According to a specific example, the processor is further configured to obtain a 2D shape function using at least a partial decoding of the bit stream and/or a 2D shape function of the 2D shape function set to at least partially decode the bit stream, the coefficients of the weighted linear combination.

按照其他要旨,本案係關於編碼和解碼裝置、電腦程式製品、處理器可讀式媒體,和非暫態儲存媒體。 According to other gist, the present invention relates to encoding and decoding devices, computer programs, processor readable media, and non-transitory storage media.

本案特別性質,以及本案其他目的、優點、特點和用途,由如下參照附圖所示較佳具體例之說明,即可明白。 The particular nature of the present invention, as well as other objects, advantages, features, and uses of the present invention, will be apparent from the description of the preferred embodiments illustrated herein.

10‧‧‧模組IC獲得光度分量L和訊框I之潛在至少一彩色分量C(i) 10‧‧‧The module IC obtains the photometric component L and the potential at least one color component C(i) of the frame I

11‧‧‧模組BAM從訊框I之亮度分量L確定背光訊框Bal 11‧‧‧Module BAM determines the backlight frame Bal from the luminance component L of frame I

12‧‧‧確定背光訊框Bal所需資料,利用編碼器ENC1編碼並添加於位元流BF 12‧‧‧Determining the information required for the backlight frame Bal, encoded by the encoder ENC1 and added to the bit stream BF

13‧‧‧訊框除以背光訊框之解碼版本,計算剩餘訊框Res 13‧‧‧ Frame divided by the decoded version of the backlight frame , calculate the remaining frame Res

14‧‧‧利用解碼器DEC1解碼至少部份位元流BF,獲得背光訊框之 解碼版本 14‧‧‧ Decode at least part of the bit stream BF using the decoder DEC1 to obtain the decoded version of the backlight frame

15‧‧‧模組BAG從加權係數係以及某些已知非適應性形狀函數,發生背光訊框之解碼版本 15‧‧‧Modular BAG from weighting coefficient And some known non-adaptive shape functions , the decoded version of the backlight frame occurs

16‧‧‧模組TMO色調映射剩餘訊框Res,以獲得可視剩餘訊框Res 16‧‧‧Modular TMO tone mapping residual frame Res to obtain visible residual frame Res

17‧‧‧模組SCA標度可視剩餘訊框Res 17‧‧‧Module SCA scale visible residual frame Res

18‧‧‧模組CLI剪輯可視剩餘訊框Res 18‧‧‧Modular CLI clip visible residual frame Res

19‧‧‧利用編碼器ENC2編碼剩餘訊框Res 19‧‧‧Encoding Residual Frame Res with Encoder ENC2

81‧‧‧利用解碼器DEC2把位元流F至少部份解碼,得解碼剩餘訊框 81‧‧‧ Decode at least part of the bit stream F by the decoder DEC2 to decode the remaining frame

82‧‧‧模組ISCA對解碼剩餘訊框施以反逆標度,即將解碼剩餘訊框除以參數 82‧‧‧Modular ISCA for decoding residual frames Applying an inverse scale, the remaining frame will be decoded Divide by parameter

83‧‧‧模組ITMO利用參數對解碼剩餘訊框施以反逆色調映射 83‧‧‧Modular ITMO utilization parameters Decoding the remaining frame Anti-reverse tone mapping

84‧‧‧由解碼剩餘訊框乘以背光訊框得解碼訊框 84‧‧‧Decoded residual frame Multiply by the backlight frame Decode frame

90‧‧‧裝置 90‧‧‧ device

91‧‧‧資料和位址匯流排 91‧‧‧ Data and address bus

92‧‧‧微處理器 92‧‧‧Microprocessor

93‧‧‧唯讀記憶器 93‧‧‧Read-only memory

94‧‧‧隨機存取記憶器 94‧‧‧ Random Access Memory

95‧‧‧I/O介面 95‧‧‧I/O interface

96‧‧‧電池組 96‧‧‧Battery Pack

A,B‧‧‧遠程裝置 A, B‧‧‧Remote device

NET‧‧‧通訊網路 NET‧‧‧Communication Network

第1圖為本案具體例訊框I編碼方法步驟之方塊圖;第2圖為2D形狀函數支集之實施例;第3圖為三角形網格上的模型對稱函數實施例;第4圖為使用長方形柵格上所界定2D形狀函數四個集合之表示方式實施例;第5圖為本案具體例方法步驟之方塊圖; 第6圖為本案具體例方法步驟之方塊圖;第7圖為本案具體例方法步驟之方塊圖;第8圖為本案具體例方法步驟之方塊圖,把表示訊框除以背光訊框所計算剩餘訊框之位元流解碼;第9圖為本案具體例裝置結構之實施例;第10圖為本案具體例透過通訊網路通訊之二遠程裝置。 Figure 1 is a block diagram of the steps of the specific frame I coding method in the present case; Figure 2 is an embodiment of a 2D shape function support; and Figure 3 is a model symmetry function on a triangular mesh. Embodiment 4; FIG. 4 is a block diagram showing a method of using four sets of 2D shape functions defined on a rectangular grid; FIG. 5 is a block diagram of a method step of a specific example of the present embodiment; Block diagram; Figure 7 is a block diagram of the method steps of the specific example of the present invention; Figure 8 is a block diagram of the method steps of the specific example of the present case, and decoding the bit stream of the remaining frame calculated by dividing the frame by the backlight frame; 9 is an embodiment of a device structure of a specific example of the present invention; FIG. 10 is a second remote device for communicating through a communication network in the specific example of the present invention.

本案茲參照附圖說明於下,附圖表示本案具體例。惟此內容可以許多替代形式具體化,故不應構成僅限於下述具體例。因此,本案雖容許各種修飾和替代形式,惟圖中舉例表示之特別具體例,將詳細說明如下。然而,須知本案無意限制於所揭示之特定形式,反而是本案欲涵蓋在申請專利範圍所界定本案範圍精神內之一切修飾、等效和變通例。在全部附圖說明中,同樣參照號碼指涉相同元件。 The present invention is described below with reference to the accompanying drawings, which show specific examples of the present invention. However, this content may be embodied in many alternative forms and should not be construed as being limited to the specific examples set forth below. Therefore, although the present invention allows various modifications and alternative forms, the specific examples exemplified in the drawings will be described in detail below. However, it is to be understood that the present invention is not intended to be limited to the particular forms disclosed, but rather, all modifications, equivalents and variations are intended to be included within the scope of the scope of the invention. Throughout the description of the figures, the same reference numerals refer to the same elements.

於此所用術語,旨再說明特殊具體例而已,無意限制本案。於此使用單數形「-」也旨在包含複數形,除非文脈另有明確表示。另需知說明書內使用「包括」、「包含」字樣,特指所稱特點、整數、步驟、操作、元件和/或分量之存在,但不排除一個或多個其他特點、整數、步驟、操作、元件、分量,和/或其組群之存在或增加。此外,當所指涉之元件係「因應」或「連接」另一元件時,可直接因應或連接其他元件,亦可有介入元件存在。相對地,當所指涉之元件係「直接因應」或「直接連接」其他元件時,即無介入元件存在。於此使用「和/或」包含一個或多個關聯表列項之任一和全部組合,可以「/」縮寫。 The terminology used herein is intended to be illustrative of specific embodiments and is not intended to limit the invention. The use of the singular "-" is also intended to include the plural unless the context clearly dictates otherwise. In addition, the words "including" and "comprising" are used in the specification to refer to the meaning of the features, integers, steps, operations, components and/or components, but do not exclude one or more other features, integers, steps, operations. The presence or addition of components, components, and/or groups thereof. In addition, when the elements referred to are "responsive" or "connected" to another component, the other components may be directly adapted or connected, and the intervening components may be present. In contrast, when the component referred to is "directly involved" or "directly connected" to other components, no intervening component exists. Where "and/or" is used to include any and all combinations of one or more associated list items, the abbreviation can be "/".

須知雖然第一、第二等術語,可用來說明諸元件,但此等元件不受此等術語限制。此等術語只用來分辨一元件與另一元件。例如,第一元件可稱為第二元件,同理,第二元件可稱為第一元件,不悖本案之教示。 It should be noted that although the terms first, second, etc. may be used to describe the elements, such elements are not limited by the terms. These terms are only used to distinguish one element from another. For example, a first element could be termed a second element, and a second element could be termed a first element, and the teachings of the present invention are not limited.

雖然有些圖上有箭頭指示通訊途徑,表示主要通訊方向,須知通訊亦可按圖示箭頭之相反方向發生。 Although some of the diagrams have arrows indicating the communication path, indicating the main communication direction, it should be noted that the communication can also occur in the opposite direction of the arrow shown.

有些具體例是就方塊圖和操作流程說明,其中各方塊代表一電路元件、模組,或部份碼,包括一個或多個可執行指令,以實施特定邏 輯函數。另須知在其他實施方式中,方塊內註記之函數,可不找註記順序發生。例如接續表示之二方塊,事實上可實質同時執行,有時可按反逆順序執行,視涉及之功能性而定。 Some specific examples are illustrated in the block diagram and the operational flow, where the blocks represent a circuit component, module, or partial code, including one or more executable instructions to implement a particular logic. Edit the function. It should also be noted that in other embodiments, the function of annotation in the block may occur without the order of annotation. For example, the two blocks shown in succession may in fact be executed substantially simultaneously, and sometimes in reverse order, depending on the functionality involved.

指涉「一具體例」或「具體例」意指特別之特點、結構,或就具體例所述特徵,可包含在本案之至少一實施方式內。說明書內多處出現「在一具體例內」或「按照一具體例」,不一定全部指涉同一具體例,也不是分別或另類具體例必須彼此排除其他具體例。 References to "a specific example" or "specific" are intended to mean a particular feature, structure, or feature of the particular example, and may be included in at least one embodiment of the present invention. There are many places in the specification that are "in a specific example" or "in accordance with a specific example", and not necessarily all of the same specific examples, nor are they separate or alternative specific examples that must exclude other specific examples from each other.

申請專利範圍內出現之參照號碼,僅供圖示參考,對申請專利範圍無限制效果。 The reference numbers appearing within the scope of patent application are for reference only and have no limiting effect on the scope of patent application.

除非另有說明,本案具體例和變化例可採用於任何組合或副組合。 Specific examples and variations of the present invention can be employed in any combination or sub-combination unless otherwise indicated.

本案係就編碼/解碼訊框說明,但可延伸到訊框序列之編碼/解碼,因為序列所含各訊框,係按下述依序編碼/解碼。 This case is described in the encoding/decoding frame, but can be extended to the encoding/decoding of the frame sequence, because each frame contained in the sequence is encoded/decoded in the following order.

第1圖表示按照本案具體例訊框I之編碼方法步驟方塊圖。 Figure 1 is a block diagram showing the steps of the encoding method according to the specific example of the present case.

在步驟10,模組IC獲得待編碼訊框I之亮度分量L和潛在至少一彩色分量C(i)。 In step 10, the module IC obtains the luminance component L of the frame I to be encoded and the potential at least one color component C(i).

例如,當訊框I屬於彩色空間(X,Y,Z),亮度分量L可利用分量Y之變換式f(.)獲得,例如L=f(Y)。 For example, when the frame I belongs to the color space (X, Y, Z), the luminance component L can be obtained by using the transformation f(.) of the component Y, for example, L = f (Y).

當訊框I屬於彩色空間(R,G,B),可利用下式之線性組合,獲得亮度分量L,例如為709色域:L=0.2127.R+0.7152.G+0.0722.B When the frame I belongs to the color space (R, G, B), the linear component of the following formula can be used to obtain the luminance component L, for example, the 709 color gamut: L = 0.2127.R + 0.7152.G + 0.0722.B

在步驟11,模組BAM由訊框I之亮度分量L,確定背光訊框Bal。 In step 11, the module BAM determines the backlight frame Bal from the luminance component L of the frame I.

按照第5圖所示步驟11之具體例,模組1B1確定背光訊框Ba,以2D形狀函數至少一集合之加權線性組合表示。 According to the specific example of step 11 shown in FIG. 5, the module 1B1 determines the backlight frame Ba, which is represented by a weighted linear combination of at least one set of 2D shape functions.

就數學方式而言,背光訊框Ba指定為: 其中係加權係數,為2D形狀函數集合j之2D形狀函數。 In terms of mathematics, the backlight frame Ba is specified as: among them Weighting coefficient, J set of shape functions as a 2D 2D shape function.

各集合j之2D形狀函數,形成藉其支集聯合所界定域Do之單一性分割,即亦照定義,2D形狀函數具有精巧支集,全域Do合計 等於1: The 2D shape function of each set j forms a unitary segmentation of the domain Do defined by its support union, that is, also defined, 2D shape function With ingenious support, the total Do total is equal to 1:

按照步驟11之具體例,2D形狀函數是全正規柵格所界定。 According to the specific example of step 11, the 2D shape function is defined by a full regular grid.

做為此具體例之變化例,長方形柵格可視為使用方形柵格按二方向以倍數伸長。 As a variation of this specific example, a rectangular grid can be considered to be multiplied in two directions using a square grid.

按照第2圖所示步驟11之具體例,2D形狀函數獲得如下。 According to the specific example of step 11 shown in Fig. 2, the 2D shape function Obtained as follows.

假設2D形狀函數,,之中心分別為(0,0),(0,1),(1,0)和(1,1),並在正規柵格(於此為長方形柵格),此四個2D形狀函數各有其支集,包含於其中心週圍之四個柵格元件內。因此,利用各2D形狀函數中心週圍之四個柵格元件聯合,界定域Do。對域Do之單一性條件分割得:ψ 1+ψ 2+ψ 3+ψ 4=1 Assume 2D shape function , , with The centers are (0,0), (0,1), (1,0) and (1,1), and in the regular grid (here is a rectangular grid), the four 2D shape functions have their own Its support is contained in four grid elements around its center. Therefore, the domain Do is defined by the combination of four grid elements around the center of each 2D shape function. The singularity condition of the domain Do is divided: ψ 1 + ψ 2 + ψ 3 + ψ 4 =1

按照步驟11之具體例,集合j之2D形狀函數,係模型對稱函數之平移函數,即。在此情況,對域Do之單一性條件分割得: 於第2圖所示之任一柵格元件E。 According to the specific example of step 11, the 2D shape function of the set j is a model symmetry function. Translation function, ie . In this case, the singularity condition of the domain Do is divided: Any of the grid elements E shown in Fig. 2.

按照步驟11之具體例,模型對稱函數是二個可分離1D(單維)多項式P(x)和P(y)之乘積,即(x,y)=P(x)P(y)。 According to the specific example of step 11, the model symmetry function Is the product of two separable 1D (single-dimensional) polynomials P(x) and P(y), ie (x, y) = P(x)P(y).

當又符合單一性條件之分割,即P(x)+P(1-x)=1,即符合2D形狀函數之單一性條件分割,因為可得:P(x)P(y)+P(1-x)P(y)+P(x)P(1-y)+P(1-x)P(1-y)=(P(x)+P(1-x))(P(y)+P(1-y))=1 When it is consistent with the singularity condition, that is, P(x)+P(1-x)=1, that is, the singularity conditionalization of the 2D shape function is obtained because P ( x ) P ( y )+ P ( 1- x ) P ( y )+ P ( x ) P (1- y )+ P (1- x ) P (1- y )=( P ( x )+ P (1- x ))( P ( y ) + P (1- y ))=1

按照步驟11之具體例,2D形狀函數是按照對其支集邊界之平滑性約束界定。 According to the specific example of step 11, the 2D shape function It is defined by the smoothness constraint on its support boundary.

此舉容許2D形狀函數在全訊框域之連續性,和背光訊框Ba全局表示方法之平滑性,因為平滑函數之有限合計為平滑。 This allows the continuity of the 2D shape function in the full frame domain and the smoothness of the global representation of the backlight frame Ba, since the finite total of the smoothing functions is smooth.

按照步驟11之具體例,對2D形狀函數邊界之約束為:˙邊界約束P(0)=1,意即只有一2D形狀函數投注於其中心; ˙相對於在2D形狀函數的支數邊界之連續性和導數連續約束:P(1)=P’(1)=0;˙在中心之導數約束:P’(0)=0,以確保中心週圍之平滑性。 According to the specific example of step 11, the constraint on the boundary of the 2D shape function is: ̇ boundary constraint P(0)=1, meaning that only a 2D shape function is bet on its center; 连续 Continuity and derivative continuous constraint with respect to the branch boundary of the 2D shape function: P(1)=P'(1)=0; 导 derivative constraint at the center: P'(0)=0 to ensure the center Smoothness around.

可參考以上述四個邊界約束度1D多項式P之分析解答。 The analysis solution of the 1D polynomial P with the above four boundary constraints can be referred to.

例如,1D函數P之解答是由P(x)=θx 3+ x 2+kx+λ所得三次多項。上述約束導致下述對參數之條件: For example, the solution to the 1D function P is from P ( x ) = θx 3 + x 2 + kx + λ yields three more than one. The above constraints result in the following conditions for the parameters:

- 1=P(0)=λ - 1=P(0)=λ

- 0=P(1)=θ++κ+λ - 0=P(1)=θ+ +κ+λ

- 0=P’(1)=3θ+2- 0=P'(1)=3θ+2

- 0=P’(0)=κ - 0=P’(0)=κ

此線性方程式系統易解,而得θ=2,=-3,κ=0,λ=1,而模型對稱函數(x,y)得: This linear equation system is easy to solve, and θ=2, =-3, κ=0, λ=1, and the model symmetry function (x, y) got:

其他多項式實施例,是由某些平滑性放鬆而得。例如,只要求連續性,就會注意到P(x)=1-x是連續解答,導致單一性分割具有如下模型對稱函數: 其導數並不連續。 Other polynomial embodiments are obtained by some smoothness relaxation. For example, if only continuity is required, it will be noted that P(x)=1-x is a continuous solution, resulting in a single segmentation with the following model symmetry function: Its derivatives are not continuous.

另外,可尋求更高階參數多項式。例如,上述四個條件應用於前進階多項式P(x)=μx 3+θx 3+ x 2+κx+λ時,導致在約束下的線性系統,其解答係以一參數α予以參數化,因而導致多項式解答Pα之無限性。 In addition, higher order paranorms can be sought. For example, the above four conditions apply to the forward-order polynomial P ( x ) = μx 3 + θx 3 + When x 2 + κx + λ , the linear system under constraints is constrained by a parameter α, thus resulting in the infinity of the polynomial solution P α .

決定哪一個解答最佳之一種方式是,選擇參數α,使拉普拉斯(Laplace)運算子極小化,即: One way to decide which one is best is to choose the parameter α to minimize the Laplace operator, namely:

最後,從如下對P極小化問題之解析,可得非分析之純數值解答: 其中可知P不一定要多項式,而要任何足夠平滑的函數,例如C1級。極小化問題之數值解答,詳後述二維非對稱情況。 Finally, from the analysis of the P minimization problem as follows, a pure numerical solution of non-analysis can be obtained: Wherein not necessarily seen polynomial P, but any sufficiently smooth to function, for example, stage C 1. The numerical solution to the minimization problem is described in detail below.

第3圖表示正規柵格為三角形網格時,模型對稱函數之實施例。 Figure 3 shows the model symmetry function when the normal grid is a triangular grid. An embodiment.

假設2D形狀函數ψ 1,ψ 2ψ 3之中心分別為pt1=(0,0),pt2=(-1/3,sqrt(3)/2)和pt3=(1/3,sqrt(3)/2),在三角形網格上,三個2D形狀函數各有其支數,包含在其中心週圍的六角三角形內(第3圖)。因此,藉2D形狀函數中心週圍之六個三角形聯合,界定域Do。對Do單一性條件之分割得:ψ 1+ψ 2+ψ 3=1 (2) Assume that the centers of the 2D shape functions ψ 1 , ψ 2 and ψ 3 are pt1=(0,0), pt2=(-1/3,sqrt(3)/2), and pt3=(1/3,sqrt(3) ) / 2), on a triangular mesh, the three 2D shape functions each have their own count, contained within a hexagonal triangle around their center (Figure 3). Therefore, the domain Do is defined by the union of six triangles around the center of the 2D shape function. The division of the Do single condition is: ψ 1 + ψ 2 + ψ 3 =1 (2)

按照步驟11之具體例,2D形狀函數具有模型對稱函數之形狀,其支數為單一的三角形。 According to the specific example of step 11, the 2D shape function has a model symmetry function. The shape has a single triangle.

當模型對稱函數對單一的三角形界定時,則獲得對遵照單一性條件分割的背光訊框Ba 2D形狀函數支集(於此為其中心週圍之六個三角形)之表示方法。 Model symmetry function When defining a single triangle, a representation of the backlight frame Ba 2D shape function support (here, the six triangles around its center) that are segmented according to the singularity condition is obtained.

按照步驟11之具體例,支集為三角形之模型對稱函數,係對其邊界約束加以界定。 According to the specific example of step 11, the model symmetric function of the triangle is supported. Is to define its boundary constraints.

此舉容許2D形狀函數在全訊框域之連續性,以及背光訊框Ba全局表示方法之平滑性。 This allows the continuity of the 2D shape function in the full frame domain and the smoothness of the global representation of the backlight frame Ba.

按照步驟11之具體例,對模型對稱函數邊界之約束為: According to the specific example of step 11, the model symmetry function The constraints of the boundary are:

最後,確定模型對稱函數,是解極小化問題:極小化∥△∥,使符號條件(2)和(3)以便解答之平滑性極大化。 Finally, determine the model symmetry function Is the solution to the minimization problem: minimal ∥ Oh, make the symbol conditions (2) and (3) maximize the smoothness of the solution.

把域Do分立化,再在對邊界和單一性分割之約束下極小化,可以標準方式找到數值解答。可參考Raviart和Thomas合著《方程式及部份導數之數值分析入門》(Introduction à l'analyse numérique des équations aux dérivées partielles),為所涉及數值工具之入門書。 The domain Do is separated, and then minimized under the constraint of boundary and unitary segmentation. The numerical solution can be found in a standard way. See Raviart and Thomas in conjunction with "Introduction à l'analyse numérique des équations aux dérivées partielles" for an introduction to the numerical tools involved.

簡言之,對域Do發生網格,模型對稱函數即對各網格採取一分立值。此等分立值可合計成未知向量x。拉普拉斯運算子本身在矩陣M下分立,使運算子△之分立形式變成Mx。條件(2)和(3)致矩陣系統Cx=0。因此,極小化問題變成:極小化∥Mx∥致使Cx=0 In short, a mesh occurs on the domain Do, model symmetry function That is, take a discrete value for each grid. These discrete values can be aggregated into an unknown vector x . The Laplacian operator itself is separated under the matrix M, so that the operator △ The discrete form becomes Mx . Conditions (2) and (3) result in a matrix system Cx =0. Therefore, the minimization problem becomes: minimization ∥ Mx ∥ causes Cx =0

此為傳統在約束下之線性最小平方極小化問題。有許多解法可找出解答x,導致所要解答之分立概數。見P.E.Gill,W.Murray和M.H.Wright合著《實際最適化》(Practical Optimization),英國倫敦學術出版社,1981年。 This is a linear least squares minimization problem under traditional constraints. There are many solutions to find the solution x , which leads to the answer Separate estimates. See PEGill, W. Murray and MHWright in conjunction with Practical Optimization, London Academic Press, 1981.

按照步驟11之具體例,背光訊框是以2D形狀函數若干集合之加權線性組合表示,各集合之2D形狀函數形成以其支集聯合所界定域之單一性分割。 According to the specific example of step 11, the backlight frame is represented by a weighted linear combination of a set of 2D shape functions, and the 2D shape function of each set forms a unitary segmentation of the domain defined by its support combination.

第4圖表示使用全長方形柵格界定的2D形狀函數四個集合之表示方法。黑圖表示第一集合之2D形狀函數中心、三角形為第二集合中心、橢圓形為第三集合中心、叉形為第四集合中心。 Figure 4 shows a representation of four sets of 2D shape functions defined using a full rectangular grid. The black map represents the center of the 2D shape function of the first set, the triangle is the center of the second set, the ellipse is the center of the third set, and the fork is the center of the fourth set.

全部集合之所有2D形狀函數合計,在柵格各處均為常數,於此其值為4。故獲得單一性分割,均為其倍數。重點是2D形狀函數疊合,超過就第2和3圖所述2D形狀函數只有單一集合者。使用若干集合之2D形狀函數,即可得更多疊合,並使用中心更近之2D形狀函數,即形狀函數密度更高,以平滑遵循HDR訊號,而又更為準確。 The total of all 2D shape functions for all sets is constant across the grid, where the value is 4. Therefore, a single segmentation is obtained, which is a multiple thereof. The focus is on the 2D shape function superposition, which is more than a single set of 2D shape functions as described in Figures 2 and 3. Using a number of sets of 2D shape functions, you can get more overlaps and use the 2D shape function closer to the center, that is, the shape function density is higher, to smoothly follow the HDR signal, and more accurate.

本案不限於2D形狀函數之特殊集合數,或在網格上組合在一起之方式,或所用網格種類來定位2D形狀函數中心。 This case is not limited to the special set number of 2D shape functions, or the way they are combined on the grid, or the type of mesh used to locate the 2D shape function center.

按照步驟11具體例或變化例之一,步驟11輸出之背光訊框Bal,即方程式(1)所得背光訊框Ba。 According to the specific example or the modification of step 11, the backlight frame Bal outputted in step 11 is the backlight frame Ba obtained by the equation (1).

按照第6圖所示步驟11之具體例,模組BM以利用模組HL所得訊框I之平均亮度值L mean ,調制背光訊框Ba(得自方程式(1))。 According to the specific example of step 11 shown in FIG. 6, the module BM modulates the backlight frame Ba (from equation (1)) by using the average luminance value L mean of the frame I obtained by the module HL.

按照一具體例,步驟11輸出之背光訊框Bal,係調制背光訊框。 According to a specific example, the backlight frame Bal outputted in step 11 modulates the backlight frame.

按照一具體例,模組HL係構成計算全部亮度分量L之平均亮度值L mean According to a specific example, the module HL constitutes an average luminance value L mean for calculating the total luminance component L.

按照一具體例,模組HL構成計算平均亮度值L mean ,利用 其中β為小於1之係數,而E(X)為亮度分量L之數學期待值(平均)。 According to a specific example, the module HL constitutes a calculated average luminance value L mean , which is utilized. Where β is a coefficient less than 1, and E(X) is the mathematical expected value (average) of the luminance component L.

此最後具體例有好處,因為可避免平均亮度值L mean 在訊框I屬於訊框序列時,受到往往導致麻煩的時間平均亮度不穩定之少數極高值像素影響。 This last specific example is advantageous because it is avoided that the average luminance value L mean is affected by a few extremely high-value pixels that tend to cause troublesome time-averaged luminance instability when the frame I belongs to the frame sequence.

本案不限於計算平均亮度值L mean 之特別具體例。 This case is not limited to the specific example of calculating the average luminance value L mean .

按照第7圖所示具體例之變化例,模組N利用其平均值E(Ba)把背光訊框Ba(由方程式(1)所得)常態化,可為訊框(若訊框I屬於訊框序列,則為全部訊框)得中灰度(mid-gray-at-one)背光訊框Ba gray According to the variation of the specific example shown in Fig. 7, the module N normalizes the backlight frame Ba (obtained by the equation (1)) by using the average value E(Ba), which can be a frame (if the frame I belongs to the message) The frame sequence is all the frames. Mid-gray-at-one backlight frame Ba gray :

則模組BM構成使用下列關係式,以訊框L之平均亮度值L mean ,調制中灰度背光訊框Ba gray 其中cst mod 係調制係數,而α為另一調制係數,小於1,通常為1/3。 Then, the module BM is configured to use the following relationship, the average luminance value L mean of the frame L, and the grayscale backlight frame Ba gray in the modulation: Where cst mod is the modulation factor and α is another modulation factor, less than 1, usually 1/3.

按照此變化例,步驟11輸出之背光訊框Bal,係得自方程式(4)之調制背光訊框Ba mod According to this variation, the backlight frame Bal outputted in step 11 is obtained from the modulated backlight frame Ba mod of equation (4).

須知調制係數cst mod 經調諧,為剩餘訊框得好看亮度,尤視獲得背光訊框之過程而定。例如對最少均方所得背光訊框而言,cstmod 1.7。 It should be noted that the modulation factor cst mod is tuned to give a good look at the brightness of the remaining frames, depending on the process of obtaining the backlight frame. For example, for a least squares backlit frame, cst mod 1.7.

實際上,利用線性,調制背光訊框之所有運算,均可應用背光係數,做為校正因數,把係數變換成新係數,可得: In fact, using linearity to modulate all operations of the backlight frame, the backlight factor can be applied. As a correction factor, the coefficient Transform into a new coefficient ,Available:

在步驟12(第1圖),決定步驟11輸出的背光訊框Bal所需資料,利用編碼器ENC1編碼,添加於位元流BF內,可儲存於局部或遠程記憶器,和/或經通訊介面傳送(例如至匯流排,或透過通訊網路或廣播網路)。 In step 12 (Fig. 1), the data required for the backlight frame Bal outputted in step 11 is determined, encoded by the encoder ENC1, added to the bit stream BF, and stored in a local or remote memory, and/or via communication. Interface transfer (for example to bus, or via a communication network or broadcast network).

例如,當使用已知非適應性形狀函數時,待編碼之資料限於加權係數,但2D形狀函數亦可為先前未知,再經編碼於位元流BF內,例如稍許最適數學建構情況,以求更佳配合。故全部加權係數(和潛在形狀函數)均編碼入位元流BF內。 For example, when a known non-adaptive shape function is used, the data to be encoded is limited to weighting coefficients. or , but 2D shape function It can also be previously unknown, and then encoded in the bit stream BF, for example, a little optimal mathematical construction for better coordination. All weighting factors or (and potential shape function ) are all encoded into the bit stream BF.

優點是,加權係數都在編碼之前,經量化,以減少位元流BF規模。 The advantage is that the weighting factor or Both are quantized before encoding to reduce the bit stream BF scale.

在步驟13,藉訊框除以背光訊框之解碼版本,計算剩餘訊框Res。 In step 13, the borrowing box is divided by the decoded version of the backlight frame. , calculate the remaining frame Res.

宜使用背光訊框之解碼版本,確保在編碼器和解碼器側有同樣背光訊框,因而導致最後解碼訊框更佳準確。 Should use the decoded version of the backlight frame , to ensure that the same backlight frame on the encoder and decoder side, resulting in the final decoding frame Better and more accurate.

更準確而言,由模組IC所得訊框I亮度分量L和潛在各彩色分量C(i),除以背光訊框之解碼版本。此項除法是逐一像素進行。 More precisely, the frame I luminance component L and the potential color component C(i) obtained by the module IC are divided by the decoded version of the backlight frame. . This division is performed pixel by pixel.

例如,當訊框I之分量R,G,B以彩色空間(R,G,B)表達時,可得分量RRes,GRes和BRes如下: For example, when the components R, G, and B of the frame I are expressed in the color space (R, G, B), the scores R Res , G Res , and B Res are as follows:

例如,當訊框I之分量X,Y或Z以彩色空間(X,Y,Z)表達時,可得分量XRes,YRes和ZRes如下: For example, when the component X, Y or Z of the frame I is expressed in the color space (X, Y, Z), the scores X Res , Y Res and Z Res are as follows:

按照一具體例,在步驟14,利用解碼器DEC1把至少部份位元流BF解碼,即得背光訊框之解碼版本According to a specific example, in step 14, the decoder DEC1 is used to decode at least part of the bit stream BF, thereby obtaining a decoded version of the backlight frame. .

如上所述,步驟11輸出為得背光訊框所需某些資料,已經編碼(步驟12),再把至少部份位元流BF解碼而得。 As described above, step 11 outputs certain data required for the backlight frame, which has been encoded (step 12), and then decoded at least part of the bit stream BF.

遵循上述實施例,則得加權係數(和潛在形狀函數),做為步驟14輸出。 Following the above embodiment, the weighting coefficient is obtained. (and potential shape function ), as step 14 output.

然後,在步驟15,模組BAG從加權係數,以及某些已知非適應性形狀函數,或形狀函數,發生背光訊框之解碼版本,如下式: Then, in step 15, the module BAG is weighted by the coefficient And some known non-adaptive shape functions, or shape functions , the decoded version of the backlight frame occurs , as follows:

在步驟16,模組TMO色調映射剩餘訊框Res,以便得可視剩餘訊框ResvAt step 16, the module TMO tone maps the remaining frame Res to obtain the visible frame Res v .

有可能情況是,剩餘訊框Res不可視,因其動態範圍太高,而且此剩餘訊框Res之解碼版本也顯示視覺人為因素。色調映射剩餘訊框,可解決此等缺點至少其一。 It is possible that the remaining frame Res is invisible because its dynamic range is too high, and the decoded version of the remaining frame Res also shows visual artifacts. Tone mapping of the remaining frames can solve at least one of these shortcomings.

本案不限於任何特殊色調映射運算子。此單一條件為,色調映射運算子應可逆。 This case is not limited to any special tone mapping operator. This single condition is that the tone mapping operator should be reversible.

例如,可用Reinhard界定之色調映射運算子,參見Reinhard,E.,Stark,M.,Shirley,P.,和Ferwerda,J.,〈數位訊框之攝影色調重製(Photographic tone reproduction for digital frames)〉,ACM Transactions on Graphics 21(2002年7月),或Boitard,R.,Bouatouch,K.,Cozot,R.,Thoreau,D.,和Gruson,A.(2012)。〈視訊色調映射之時間凝聚性(Temporal coherency for video tone mapping)〉,刊於A.M.J.van Eijk,C.C.Davis,S.M.Hammel,和A.K.Majumdar編,Proc.SPIE 8499,Applications of Digital Frame Processing(p.84990D-84990D-10)。 For example, a tone mapping operator defined by Reinhard can be used, see Reinhard, E., Stark, M., Shirley, P., and Ferwerda, J., "Photographic tone reproduction for digital frames". 〉, ACM Transactions on Graphics 21 (July 2002), or Boitard, R., Bouatouch, K., Cozot, R., Thoreau, D., and Gruson, A. (2012). "Temporal coherency for video tone mapping", published in AMJvan Eijk, CCDavis, SMHammel, and AKMajumdar, Proc. SPIE 8499, Applications of Digital Frame Processing (p.84990D- 84990D-10).

在步驟19,可視剩餘訊框Resv利用編碼器ENC2,編碼於位元流F內,可儲存於局部或遠程記憶器,和/或透過通訊介面傳輸(例如於匯流排,或經通訊網路或廣播網路)。 In step 19, the visible residual frame Res v is encoded in the bit stream F by means of the encoder ENC2, can be stored in a local or remote memory, and/or transmitted via a communication interface (for example, in a bus, or via a communication network or Broadcast network).

按照步驟16之具體例,色調映射剩餘訊框包括伽瑪校正或SLog校正,按照剩餘訊框之像素值為準。 According to the specific example of step 16, the tone mapping residual frame includes gamma correction or SLog correction, according to the pixel value of the remaining frame.

例如,利用下式即得可視剩餘訊框ResvRes v =A.Res γ 其中A係常數,γ係伽瑪曲線係數,例如等於1/2.4。 For example, the residual frame Res v : Res v = A.Res γ is used to obtain the A-line constant, and the γ-based gamma curve coefficient is, for example, equal to 1/2.4.

另外,可視剩餘訊框Resv由例如下式而得:Res v =a.ln(Res+b)+c其中a,b,c係SLog曲線係數,確定0和1不變,而SLog曲線之導數,當利用伽瑪曲線在1以下延長時,可在1連續。因此,a,b,c為參數γ之函數。 In addition, the visible residual frame Res v is obtained by, for example, the following equation: Res v = a .ln( Res + b ) + c where a, b, c are SLog curve coefficients, determining 0 and 1 are unchanged, and the SLog curve is The derivative can be continuous at 1 when the gamma curve is extended by 1 or less. Therefore, a, b, and c are functions of the parameter γ.

按照一具體例,伽瑪-Slog曲線之參數γ,編碼於位元流BF內。 According to a specific example, the parameter γ of the gamma-Slog curve is encoded in the bit stream BF.

對剩餘訊框Res應用伽瑪校正時,拉拔暗區,但不低於足夠高度光線,以免亮像素燃燒。 When applying gamma correction to the remaining frame Res, pull the dark area, but not lower than enough height to avoid burning the bright pixels.

對剩餘訊框Res應用SLog校正,降低足夠高度光線,但不 拉拔暗區。 Apply SLog correction to the remaining frame Res to reduce the light level enough, but not Pull the dark area.

然後,按照步驟16之較佳具體例,模組TMO應用伽瑪校正或SLog校正,按照剩餘訊框Res之像素值為準。 Then, according to a preferred embodiment of step 16, the module TMO applies gamma correction or SLog correction according to the pixel value of the remaining frame Res.

例如,當剩餘訊框Res之像素值低於臨限值(等於1),即應用伽瑪校正,否則應用SLog校正。 For example, when the pixel value of the remaining frame Res is lower than the threshold (equal to 1), the gamma correction is applied, otherwise the SLog correction is applied.

利用建構,可視剩餘訊框Resv通常平均值多少接近1,視訊框I光度而定,則使用上述伽瑪-Slog組合特別有效。 With the construction, it is particularly effective to use the above gamma-Slog combination, depending on how often the average frame Res v is close to 1, depending on the luminosity of the frame I.

按照方法具體例,在步驟17,模組SCA標度可視剩餘訊框Resv,然後編碼(步驟19)將可視剩餘訊框Resv之各分量,乘以標度因數cstscaling。由下式得剩餘訊框Ress:Ress=cstscaling.Resv According to the method specific example, in step 17, the module SCA scale is visible to the residual frame Resv, and then the code (step 19) multiplies the components of the visible residual frame Resv by the scaling factor cst scaling . The residual frame Res s : Res s = cst scaling .Res v

在特別具體例中,界定標度因數cstscaling以映射可視剩餘訊框Resv值,介於0至極大值2N-1之間,其中N為容許輸入供編碼器ENC2寫碼之位元數。 In a particular embodiment, the scaling factor cst scaling is defined to map the visible residual frame Res v value between 0 and the maximum value 2 N -1, where N is the number of bits that the input is allowed to be coded by the encoder ENC2 .

此藉數值1(粗略為可視剩餘訊框Resv之平均值)映射於中灰度值2N-1自然而得。因此,對具有標準位元數N=8之可視剩餘訊框Resv而言,標度因數等於120是很一致數值,因為接近中性灰度27=128。 This borrowing value 1 (roughly the average of the visible residual frame Res v ) is mapped to the medium gray value 2 N-1 naturally. Therefore, for a visible residual frame Res v having a standard number of bits N=8, the scale factor equal to 120 is a very consistent value because the near neutral gray level is 2 7 = 128.

按照方法之此具體例,在步驟19,剩餘訊框Ress是利用編碼器ENC2編碼。 According to this specific example of the method, in step 19, the remaining frame Res s is encoded by the encoder ENC2.

按照方法之一具體例,在步驟18,模組CLI剪輯可視剩餘訊框Resv,然後編碼以限制其動態範圍於目標動態範圍TDR,例如按照編碼器ENC2能力為準。 According to a specific example of the method, in step 18, the module CLI clips the visible frame Res v and then encodes to limit its dynamic range to the target dynamic range TDR, for example according to the encoder ENC2 capability.

按照此最後具體例,例如按照方法具體例,由下式得剩餘訊框Resc:Resc=max(2N,Resv) According to this last specific example, for example, according to the specific example of the method, the residual frame Res c is obtained by the following formula: Res c = max(2 N , Res v )

Resc=max(2N,Ress) Res c = max (2 N, Res s)

本案不限於如此剪輯(max(.)),而是可延伸到任何種類剪輯。 This case is not limited to such a clip (max(.)), but can be extended to any kind of clip.

按照方法之此具體例,在步驟19,剩餘訊框Resc是利用編碼器ENC2編碼。 According to this particular embodiment of the method, at step 19, the remaining information block Res c are encoded by the encoder ENC2.

合併標度和剪輯具體例,導致按照方法具體例,由下式得剩 餘訊框Ressc:Ressc=max(2N,cstscaling*Resv)或Ressc=max(2N,cstscaling*Ress) Combining the scale and the clip specific example, resulting in the following example, the residual frame Res sc : Res sc = max (2 N , cst scaling * Res v ) or Res sc = max (2 N , cst scaling * Res s )

按照方法之此具體例,在步驟19,剩餘訊框Ressc是利用編碼器ENC2編碼。 According to this specific example of the method, in step 19, the residual frame Res sc is encoded by the encoder ENC2.

可視剩餘訊框Resv之色調映射和標度,是參變過程。參數固定與否均可,若不固,可利用編碼器ENC1編碼於位元流BF內。 The tone mapping and scale of the visible residual frame Res v is a parametric process. The parameter can be fixed or not. If it is not solid, it can be encoded in the bit stream BF by the encoder ENC1.

按照方法之一具體例,伽瑪校正之常數值γ,標度因數cstscaling可為參數,編碼於位元流BF內。 According to a specific example of the method, the gamma correction constant value γ, the scaling factor cst scaling can be a parameter, encoded in the bit stream BF.

須知參數α,cstmod,cstscaling,γ,β的選擇,使色調映射有選擇空間,適合最佳內容,遵循專家在後製作和彩色分級方面的品味。 The parameters α, cst mod , cst scaling , γ, β should be selected to make the tone mapping have a choice space, suitable for the best content, and follow the taste of experts in post-production and color grading.

另方面,可界定普用參數,以便全部大多數訊框可接收。然則,即沒有參數會編碼入位元流BF內。 On the other hand, the general parameters can be defined so that most of the frames can be received. However, no parameters are encoded into the bit stream BF.

第8圖表示方法步驟之流程,按照本案具體例,把表示訊框除以背光訊框計算之剩餘訊框的位元流,加以解碼。 Figure 8 shows the flow of the method steps. According to the specific example of the present case, the bit stream divided by the frame of the backlight frame is decoded and decoded.

如上所述,在步驟14和15,背光訊框是例如利用解碼器DEC1把位元流BF至少部份解碼而得。 As described above, in steps 14 and 15, the backlight frame For example, the bit stream BF is at least partially decoded by the decoder DEC1.

位元流BF可已局部儲存,或從通訊網路接收。 The bit stream BF may have been stored locally or received from a communication network.

在步驟81,利用解碼器DEC2把位元流F至少部份解碼,得解碼剩餘訊框At step 81, the bit stream F is at least partially decoded by the decoder DEC2 to obtain a decoded residual frame. .

位元流F已局部儲存,或從通訊網路接收。 The bit stream F has been stored locally or received from a communication network.

如後所述,解碼剩餘訊框,利用傳統裝置可視。 Decoding the remaining frames as described later , visible using traditional devices.

在步驟84,由解碼剩餘訊框乘以背光訊框,得解碼訊框At step 84, by decoding the remaining frame Multiply by the backlight frame Decode frame .

按照步驟14之具體例,不論從局部記憶器,或利用解碼器DEC1把位元流BF至少部份解碼,亦可得參數和/或According to the specific example of step 14, whether the bit stream BF is at least partially decoded from the local memory or by the decoder DEC1, the parameter may be obtained. and / or .

按照方法,在步驟82,模組ISCA對解碼剩餘訊框施以反逆標度,即將解碼剩餘訊框除以參數According to the method, in step 82, the module ISCA decodes the remaining frame. Applying an inverse scale, the remaining frame will be decoded Divide by parameter .

在步驟83,模組ITMO利用參數,對解碼剩餘訊框施以反逆色調映射。 In step 83, the module ITMO utilizes parameters , decoding the remaining frame Apply anti-reverse tone mapping.

例如,參數界定伽瑪曲線,而反逆色調映射只是從伽瑪曲線,找到數值,相當於解碼剩餘訊框之像素值。 For example, parameters Defining the gamma curve, and the inverse tone mapping is just from the gamma curve, finding the value, equivalent to decoding the residual frame The pixel value.

解碼器DEC1和DEC2構成,分別把編碼器ENC1和ENC2已編碼之資料解碼。 The decoders DEC1 and DEC2 are constructed to decode the encoded data of the encoders ENC1 and ENC2, respectively.

編碼器ENC1和ENC2(以及解碼器DEC1和DEC2)不限於特殊編碼器(解碼器),但若需要熵編碼器(解碼器),以熵編碼器,諸如Huffmann編碼器、算術編碼器或文脈適應編碼器,像h264/AVC或HEVC所用之Cabac為佳。 The encoders ENC1 and ENC2 (and decoders DEC1 and DEC2) are not limited to special encoders (decoders), but if an entropy encoder (decoder) is required, an entropy coder such as a Huffmann coder, an arithmetic coder or a context adaptation Encoders, such as those used by h264/AVC or HEVC, are preferred.

編碼器ENC1和ENC2(以及解碼器DEC1和DEC2)不限於特殊編碼器,可例如會損耗之訊框/視訊編碼器,像JPEG,JPEG2000,MPEG2,h264/AVC或HEVC。 The encoders ENC1 and ENC2 (and decoders DEC1 and DEC2) are not limited to special encoders and may for example be lost frame/video encoders like JPEG, JPEG2000, MPEG2, h264/AVC or HEVC.

在第1-8圖上,諸模組是功能單位,和可辨別之實體單位有關係與否均可。例如,此等模組或部份,可一起放到獨特組件或電路,或有功於軟體之功能性。反之,有些模組可潛在由分開之實體組成。與本案相容之裝置,可用純硬體實施,例如使用專業硬體,諸如ASIC、FPGA或VLSI,分別代表應用特定積體電路、外場可規劃閘道器陣列、甚大型積體電路,或由數個積體電子組件內嵌於裝置內,或由硬體和軟體組件混成。 In Figures 1-8, the modules are functional units that are related to the identifiable physical units. For example, such modules or parts may be placed together in a unique component or circuit, or may be functional in software. Conversely, some modules may potentially consist of separate entities. Devices compatible with this case can be implemented in pure hardware, such as using professional hardware such as ASIC, FPGA or VLSI, representing application-specific integrated circuits, external field programmable gateway arrays, very large integrated circuits, or A plurality of integrated electronic components are embedded in the device or are mixed by hardware and software components.

第9圖表示裝置90之構造例,可構成實施關於第1-8圖所述方法。 Fig. 9 shows an example of the configuration of the device 90, which can constitute a method described in the first to eighth embodiments.

裝置90包括下列元件,利用資料和位址匯流排91鏈接在一起:˙微處理器(或CPU)92,係例如DSP(數位訊號處理器);˙ROM(或唯讀記憶器)93;˙RAM(隨機存取記憶器)94;˙I/O介面95,從應用接收要傳送之資料;˙電池組96。 Apparatus 90 includes the following elements linked together by data and address bus 91: ̇ a microprocessor (or CPU) 92, such as a DSP (digital signal processor); ̇ROM (or read only memory) 93; RAM (random access memory) 94; ̇ I/O interface 95, receiving data to be transmitted from the application; ̇ battery pack 96.

按照變化例,電池組96在裝置外部。第9圖之各元件均為技術人員所公知,不需贅述。在所述各記憶器中,說明書所用「暫存器」相當於小容量區(若干位元)或甚大區(例如整個程式,或大量接收或解碼資料)。ROM 93包括至少一程式和若干參數。本案方法之演算式儲存於 ROM 93。導通時,CPU 92上載程式於RAM內,並執行相對應指令。 According to a variant, the battery pack 96 is external to the device. The elements of Figure 9 are well known to those skilled in the art and need not be described. In each of the memories, the "scratchpad" used in the specification is equivalent to a small-capacity area (several bits) or a large area (for example, the entire program, or a large amount of received or decoded data). The ROM 93 includes at least one program and a number of parameters. The calculation method of the method of this case is stored in ROM 93. When turned on, the CPU 92 uploads the program in the RAM and executes the corresponding command.

RAM 94在暫存器內包括由CPU 92執行之程式,於導通裝置90後上載暫存器內之輸入資料、暫存器內方法不同狀態之中間資料,以及在暫存器內執行方法所用其他變數。 The RAM 94 includes a program executed by the CPU 92 in the register, and uploads the input data in the temporary register, the intermediate data in different states of the method in the temporary register, and other methods used in executing the method in the temporary memory. variable.

於此所述實施方式,是例如在方法或過程、裝置、軟體程式、資料串流或訊號內實施。即使在文脈內只討論到單一實施形式(例如只討論方法或裝置),所論特點之實施,亦可以其他形式(例如程式)實施。裝置可以例如適當硬體、軟體和韌體實施。方法可在例如裝置內實施,例如處理器,一般指涉處理裝置,例如電腦、微處理器、積體電路,或可規劃邏輯裝置。處理器亦包含通訊裝置,諸如電腦、手機、可攜式/個人數位輔助器(PDAs),以及方便末端使用者間資訊通訊之其他裝置。 The embodiments described herein are implemented, for example, in a method or process, apparatus, software program, data stream, or signal. Even if only a single implementation is discussed in the context (for example, only methods or devices are discussed), the implementation of the features discussed may be implemented in other forms (eg, programs). The device can be implemented, for example, as a suitable hardware, software and firmware. The method can be implemented, for example, in a device, such as a processor, generally referring to a processing device, such as a computer, a microprocessor, an integrated circuit, or a programmable logic device. The processor also includes communication devices such as computers, cell phones, portable/personal digital aids (PDAs), and other devices that facilitate communication of information between end users.

按照編碼或編碼器特殊具體例,訊框I是從源器取得,源器屬於一集合,包括:˙局部記憶器(93或94),例如視訊記憶器或RAM(隨機存取記憶器)、快閃記憶器、ROM(唯讀記憶器)、硬碟;˙儲存介面(95),例如與大量儲存器之介面、RAM、快閃記憶器、ROM、光碟或磁性基座;˙通訊介面(95),例如有線介面(例如匯流排介面、廣域網路介面、本區網路介面),或無線介面(諸如IEEE 802.11介面或Bluetooth®介面);˙訊框捕獲電路(例如感測器,諸如CCD(電荷耦合裝置)或CMOS(互補金氧半導體))。 According to a specific example of the encoding or encoder, the frame I is taken from the source, and the source belongs to a set, including: ̇ local memory (93 or 94), such as video memory or RAM (random access memory), Flash memory, ROM (read only memory), hard disk; ̇ storage interface (95), such as interface with a large number of memory, RAM, flash memory, ROM, optical disk or magnetic pedestal; ̇ communication interface ( 95), such as a wired interface (such as a bus interface, a wide area network interface, a local area network interface), or a wireless interface (such as an IEEE 802.11 interface or a Bluetooth® interface); a frame capture circuit (such as a sensor such as a CCD) (Charge Coupled Device) or CMOS (Complementary Metal Oxide Semiconductor).

按照解碼或解碼器之不同具體例,解碼訊框發送至目的地;具體而言,目的地屬於包括下列之集合:˙局部記憶器(93或94),例如視訊記憶器或RAM、快閃記憶器、硬碟;˙儲存介面(95),例如與大量儲存器之介面、RAM、快閃記憶器、ROM、光碟或磁性基座;˙通訊介面(95),例如有線介面(例如匯流排介面(像USB(通用串列匯流排))、廣域網路介面、本區網路介面、HDMI(高清晰度 多媒體介面)介面),或無線介面(諸如IEEE 802.11介面、WiFi®或Bluetooth®介面);˙顯示器。 Decoding frame according to different specific examples of decoding or decoder Send to the destination; specifically, the destination belongs to the following set: ̇ local memory (93 or 94), such as video memory or RAM, flash memory, hard disk; ̇ storage interface (95), for example Interface with a large number of storage devices, RAM, flash memory, ROM, optical disk or magnetic base; ̇ communication interface (95), such as wired interface (such as bus interface (like USB (universal serial bus)), wide area network Road interface, local area network interface, HDMI (High Definition Multimedia Interface) interface, or wireless interface (such as IEEE 802.11 interface, WiFi® or Bluetooth® interface); ̇ display.

按照編碼或編碼器之不同具體例,位元流BF和/或F發送到目的地。舉例而言,把位元流F和BF二者,儲存於本地或遠程記憶器,例如視訊記憶器(94)或RAM(94)、硬碟(93)。在一變化例中,一或二個位元流發送到儲存介面(65),例如與大量儲存器之介面、快閃記憶器、ROM、光碟或磁性基座,和/或傳送跨越通訊介面(95),例如與點對點鏈路之介面、通訊匯流排、點對多點鏈路,或廣播網路。 The bitstreams BF and/or F are sent to the destination according to different specific examples of the code or encoder. For example, both bitstreams F and BF are stored in a local or remote memory, such as video memory (94) or RAM (94), hard disk (93). In a variant, one or two bit streams are sent to the storage interface (65), for example to a mass storage interface, a flash memory, a ROM, a compact disc or a magnetic pedestal, and/or to transmit across a communication interface ( 95), for example, an interface with a point-to-point link, a communication bus, a point-to-multipoint link, or a broadcast network.

按照解碼或解碼器之不同具體例,位元流BF和/或F,是從源器獲得。舉例而言,位元流是由本地記憶器讀取,例如視訊記憶器(94)或RAM(94)、ROM(93)、快閃記憶器(93)或硬碟(93)。在一變化例中,位元流是從儲存介面(95)接收,例如與大量儲存器之介面、RAM、ROM、快閃記憶器、光碟或磁性基座,和/或從通訊介面(95)接收,例如與點對點鏈路之介面、匯流排、點對多點鏈路,或廣播網路。 Depending on the specific example of the decoder or decoder, the bitstreams BF and/or F are obtained from the source. For example, the bit stream is read by a local memory, such as video memory (94) or RAM (94), ROM (93), flash memory (93), or hard disk (93). In a variant, the bit stream is received from the storage interface (95), for example with a large number of memory interfaces, RAM, ROM, flash memory, optical or magnetic base, and/or from the communication interface (95) Receive, for example, an interface to a point-to-point link, a bus, a point-to-multipoint link, or a broadcast network.

按照不同具體例,裝置90係構成實施關於第1-7圖所述編碼方法,屬於包括下列之集合:˙行動裝置;˙通訊裝置;˙遊戲裝置;˙平板(或平板電腦);˙膝上型電腦;˙靜止框攝影機;˙視訊攝影機;˙編碼晶片;˙靜止框伺服器;˙視訊伺服器(例如廣播伺服器、視訊應需伺服器,或網站伺服器)。 According to different specific examples, the device 90 constitutes an implementation of the encoding method described in relation to Figures 1-7, and includes the following collections: ̇ mobile device; ̇ communication device; ̇ game device; ̇ tablet (or tablet); ̇ lap Computer; ̇ still frame camera; ̇ video camera; ̇ coded chip; ̇ stationary frame server; ̇ video server (such as broadcast server, video server, or web server).

按照不同具體例,裝置90係構成實施關於第8圖所述解碼方法,屬於包括下列之集合:˙行動裝置; ˙通訊裝置;˙遊戲裝置;˙機上盒;˙電視機;˙平板(或平板電腦);˙膝上型電腦;˙顯示器;˙解碼晶片。 According to different specific examples, the device 90 is configured to implement the decoding method described in FIG. 8 and belongs to the following set: ̇ mobile device; ̇ communication device; ̇ game device; 上 set-top box; ̇ TV; ̇ tablet (or tablet); ̇ laptop; ̇ display;

按照第10圖所示具體例,在二遠程裝置A和B間經通訊網路NET傳輸文脈時,裝置A包括之機構,構成實施關於第1圖所述訊框之編碼方法,而裝置B包括之機構,構成實施關於第8圖所述之解碼方法。 According to the specific example shown in FIG. 10, when the communication between the two remote devices A and B via the communication network NET, the device A includes a mechanism for implementing the coding method for the frame described in FIG. 1, and the device B includes The mechanism constitutes a decoding method described in the eighth diagram.

按照本案變化例,網路係廣播網路,適於從裝置A廣播靜止框或視訊框,給包含裝置B之解碼裝置。 According to a variant of the present invention, the network is a broadcast network adapted to broadcast a stationary frame or a video frame from device A to a decoding device comprising device B.

於此所述各種過程和特點之實施方式,可藉種種不同的設備或應用予以具體例。設備例有編碼器、解碼器、處理解碼器輸出之後處理器,提供輸入給編碼器之預處理器、視訊編碼器、視訊解碼器、視訊寫解碼器、網站伺服器、機上盒、膝上型電腦、個人電腦、手機、PDA,和其他通訊裝置。可知設備可為行動式,或甚至安裝在行動載具上。 Embodiments of the various processes and features described herein may be exemplified by various devices or applications. The device example includes an encoder, a decoder, a processor after processing the decoder output, a preprocessor providing input to the encoder, a video encoder, a video decoder, a video write decoder, a web server, a set-top box, and a laptop. Computers, personal computers, mobile phones, PDAs, and other communication devices. It can be seen that the device can be mobile or even mounted on a mobile vehicle.

另外,方法可利用處理器進行之指令實施,而此等指令(和/或實施方式產生之資料值)可儲存於處理器可讀式媒體,諸如積體電路、軟體載體或其他儲存裝置,例如硬碟、光碟片(CD)、光碟(例如DVD,常稱為數位多樣化光碟或數位視訊光碟)、隨機存取記憶器(RAM),或唯讀記憶器(ROM)。指令可形成應用程式,在處理器可讀式媒體上有形具體化。指令可例如呈硬體、軟體或韌體,或組合式。指令可見於例如操作系統、分開應用,或二者組合。所以,處理器可檢定為,構成進行過程之裝置,或含有處理器可讀式媒體之裝置(諸如儲存裝置),具有進行過程之指令。又,楚楚器可讀式媒體除了或取代指令,還可儲存實施方式產生之資料值。 In addition, the methods may be implemented by instructions executed by a processor, and such instructions (and/or data values generated by an embodiment) may be stored in a processor readable medium, such as an integrated circuit, a software carrier, or other storage device, such as A hard disk, a compact disc (CD), a compact disc (such as a DVD, often referred to as a digitally diverse optical disc or a digital video disc), a random access memory (RAM), or a read-only memory (ROM). The instructions form an application that is tangibly embodied on the processor readable medium. The instructions may be, for example, in hardware, software or firmware, or a combination. Instructions can be found, for example, in an operating system, separately applied, or a combination of both. Therefore, the processor can be arbitrarily configured to constitute a device for performing the process, or a device (such as a storage device) containing the processor-readable medium, having instructions for performing the process. Moreover, the readable media can store the data values generated by the implementation in addition to or in place of the instructions.

凡技術專家均知,實施方式可產生各種訊號,經格式化攜帶資訊,可以例如儲存或傳送。資訊可包含例如進行方法之指令,或上述實 施方式之一產生的資料。例如,訊號可經格式化,攜帶讀寫上述具體例語法規則為資料,或攜帶上述具體例所書寫實際語法值為資料。此等訊號可經格式化,呈例如電磁波(例如使用光譜之射頻部份),或呈基帶訊號。格式化可包含例如把資料串流編碼,以所編碼資料串流調制載體。訊號攜帶之資訊可例如為類比或數位資訊。訊號可傳送跨越各種不同有線或無線鏈路,已屬公知。訊號可儲存於處理器可讀式媒體。 All technical experts know that the implementation can generate various signals, and can be stored or transmitted, for example, by carrying information. The information may include, for example, instructions for performing the method, or the above Information produced by one of the methods. For example, the signal may be formatted, carrying the grammar rules of the above specific example as data, or carrying the actual grammar value written in the above specific example. These signals may be formatted to exhibit, for example, electromagnetic waves (e.g., using the radio frequency portion of the spectrum) or as a baseband signal. Formatting may include, for example, encoding the data stream, and modulating the carrier with the encoded data stream. The information carried by the signal can be, for example, analog or digital information. It is well known that signals can be transmitted across a variety of different wired or wireless links. The signal can be stored in a processor readable medium.

許多實施方式已說明如上。然而,須知可有各種修飾。例如,不同實施方式之元件可組合、補充、修飾,或除去,以產生其他實施方式。 另外,技術專家均知,上述可改用其他結構或過程,所得實施方式可進行與上述實施方式至少實質上同樣功能,以至少實質上同樣方式,達成至少實質上同樣結果。因此,上述和其他實施方式均為本案所構想。 Many embodiments have been described above. However, the instructions are subject to various modifications. For example, elements of different embodiments may be combined, supplemented, modified, or removed to yield other embodiments. In addition, the skilled artisan will appreciate that other configurations or processes may be utilized as described above, and that the resulting embodiments may perform at least substantially the same function as the above-described embodiments, achieving at least substantially the same results in at least substantially the same manner. Therefore, the above and other embodiments are contemplated in the present case.

10‧‧‧模組IC獲得光度分量L和訊框I之潛在至少一彩色分量C(i) 10‧‧‧The module IC obtains the photometric component L and the potential at least one color component C(i) of the frame I

11‧‧‧模組BAM從訊框I之亮度分量L確定背光訊框Bal 11‧‧‧Module BAM determines the backlight frame Bal from the luminance component L of frame I

12‧‧‧確定背光訊框Bal所需資料,利用編碼器ENC1編碼並添加於位元流BF 12‧‧‧Determining the information required for the backlight frame Bal, encoded by the encoder ENC1 and added to the bit stream BF

13‧‧‧訊框除以背光訊框之解碼版本,計算剩餘訊框Res 13‧‧‧ Frame divided by the decoded version of the backlight frame , calculate the remaining frame Res

14‧‧‧利用解碼器DEC1解碼至少部份位元流BF,獲得背光訊框之 解碼版本 14‧‧‧ Decode at least part of the bit stream BF using the decoder DEC1 to obtain the decoded version of the backlight frame

15‧‧‧模組BAG從加權係數係以及某些已知非適應性形狀函數 ,發生背光訊框之解碼版本 15‧‧‧Modular BAG from weighting coefficient And some known non-adaptive shape functions , the decoded version of the backlight frame occurs

16‧‧‧模組TMO色調映射剩餘訊框Res,以獲得可視剩餘訊框Res 16‧‧‧Modular TMO tone mapping residual frame Res to obtain visible residual frame Res

17‧‧‧模組SCA標度可視剩餘訊框Res 17‧‧‧Module SCA scale visible residual frame Res

18‧‧‧模組CLI剪輯可視剩餘訊框Res 18‧‧‧Modular CLI clip visible residual frame Res

19‧‧‧利用編碼器ENC2編碼剩餘訊框Res 19‧‧‧Encoding Residual Frame Res with Encoder ENC2

Claims (9)

一種訊框之編碼方法,包括:˙把從待編碼訊框所確定(11)之背光訊框,加以編碼(12);˙藉訊框之各分量除以背光訊框之解碼版本,獲得(13)剩餘訊框之至少一分量;˙把剩餘訊框編碼(19);背光訊框係以2D形狀函數至少一集合之加權線性組合表示,各集合之2D形狀函數形成利用其支集聯合所界定域之單一性分割;其中一集合之2D形狀函數,具有模型對稱函數之形狀;其中加權線性組合之係數和/或2D形狀函數,係編碼於位元流內者。 A method for encoding a frame, comprising: encoding (12) a backlight frame determined by the frame to be encoded (11); and dividing the components of the frame by the decoded version of the backlight frame to obtain 13) at least one component of the remaining frame; 编码 encoding the remaining frame (19); the backlight frame is represented by a weighted linear combination of at least one set of 2D shape functions, and the 2D shape function of each set is formed by using the joint combination A unitary segmentation of a domain; a set of 2D shape functions having the shape of a model symmetry function; wherein the weighted linear combination coefficients and/or 2D shape functions are encoded within the bitstream. 一種訊框之編碼裝置,包括處理器,構成:˙從待編碼之訊框所確定背光訊框,加以編碼;˙藉訊框之各分量除以背光訊框之解碼版本,獲得剩餘訊框之至少一分量;˙把剩餘訊框編碼;背光訊框係以2D形狀函數至少一集合之加權線性組合表示,各集合之2D形狀函數形成利用其支集聯合所界定域之單一性分割;其中一集合之2D形狀函數具有模型對稱函數之形狀;其中加權線性組合之係數和/或2D形狀函數,係編碼於位元流內者。 A frame encoding device, comprising a processor, is configured to: encode a backlight frame determined by a frame to be encoded, and encode the components of the borrowing frame by a decoded version of the backlight frame to obtain a residual frame. At least one component; 编码 encoding the remaining frame; the backlight frame is represented by a weighted linear combination of at least one set of 2D shape functions, and the 2D shape function of each set forms a singular segmentation using the domain defined by its support combination; The set 2D shape function has the shape of a model symmetry function; wherein the coefficients of the weighted linear combination and/or the 2D shape function are encoded within the bit stream. 一種訊框之解碼方法,從至少一位元流,表示由訊框所得背光訊框,和訊框除以背光訊框計算之剩餘訊框,此方法包括處理器,構成:˙利用位元流至少部份解碼,獲得(14)解碼背光訊框;˙利用位元流至少部份解碼,獲得解碼剩餘訊框;˙利用解碼剩餘訊框乘以解碼背光訊框,獲得(51)解碼訊框;解碼背光訊框係以2D形狀函數至少一集合之加權線性組合表示,各集合之2D形狀函數形成利用其支集聯合所界定域之單一性分割;其中一集合之2D形狀函數具有模型對稱函數之形狀;其中2D形狀函數加權線性組合之係數,係由位元流至少部份解碼而 得,和/或2D形狀函數集合之2D形狀函數,係由位元流至少部份解碼而得者。 A method for decoding a frame, from at least one meta-stream, representing a backlight frame obtained by the frame, and dividing the frame by a residual frame calculated by the backlight frame, the method comprising the processor, comprising: ̇ utilizing a bit stream at least Partially decoding, obtaining (14) decoding the backlight frame; ̇ using at least partial decoding of the bit stream to obtain a decoded residual frame; 乘 multiplying the decoded residual frame by the decoded back frame to obtain (51) the decoded frame; The decoding backlight frame is represented by a weighted linear combination of at least one set of 2D shape functions, and the 2D shape function of each set forms a unitary segmentation using the domain defined by its support combination; wherein a set of 2D shape functions has a model symmetry function a shape; wherein the 2D shape function weights the linear combination of coefficients, which are at least partially decoded by the bit stream The 2D shape function of the set of and/or 2D shape functions is obtained by at least partial decoding of the bit stream. 一種訊框之解碼裝置,從至少一位元流,表示由訊框所得之背光訊框,和訊框除以背光訊框計算之剩餘訊框,此裝置包括處理器,構成:˙利用位元流至少部份解碼,獲得解碼背光訊框;˙利用位元流至少部份解碼,獲得解碼剩餘訊框;˙利用解碼剩餘訊框乘以解碼背光訊框,獲得解碼訊框;解碼背光訊框係以2D形狀函數至少一集合之加權線性組合表示,各集合之2D形狀函數形成利用其支集聯合所界定域之單一性分割;其中一集合之2D形狀函數具有模型對稱函數之形狀;其中處理器又構成利用位元流至少部份解碼,而得2D形狀函數加權線性組合之係數,和/或利用位元流至少部份解碼,而得2D形狀函數集合之2D形狀函數者。 A frame decoding device, which comprises at least one bit stream representing a backlight frame obtained by a frame, and a frame divided by a remaining frame calculated by a backlight frame, the device comprising a processor, comprising: ̇ utilizing a bit stream At least partial decoding, obtaining a decoded backlight frame; ̇ using at least partial decoding of the bit stream to obtain a decoded residual frame; 乘 multiplying the decoded residual frame by the decoded backlight frame to obtain a decoded frame; decoding the backlight frame Expressed by a weighted linear combination of at least one set of 2D shape functions, the 2D shape function of each set forms a unitary segmentation using the domain defined by its support union; wherein a set of 2D shape functions have the shape of a model symmetry function; Further, the block stream is at least partially decoded, and the 2D shape function is used to weight the linear combination of coefficients, and/or the bit stream is at least partially decoded to obtain a 2D shape function of the 2D shape function set. 一種電腦程式製品,包括程式碼指令,當此程式在電腦上執行時,可執行申請專利範圍第1項之一項編碼方法步驟者。 A computer program product, including a code code instruction, which, when executed on a computer, performs a coding method step of claim 1 of the scope of the patent application. 一種電腦程式製品,包括程式碼指令,當此程式在電腦上執行時,可執行申請專利範圍第3項之一項解碼方法步驟者。 A computer program product, including a code code instruction, which, when executed on a computer, performs a decoding method step of claim 3 of the scope of the patent application. 一種處理器可讀式媒體,具有儲存其內之指令,促成處理器至少進行申請專利範圍第1項之一項編碼方法步驟者。 A processor readable medium having instructions for storing therein to cause a processor to at least perform one of the encoding method steps of claim 1 of the patent scope. 一種處理器可讀式媒體,具有儲存其內之指令,促成處理器至少進行申請專利範圍第3項之一項解碼方法步驟者。 A processor readable medium having instructions for storing therein to cause a processor to perform at least one of the decoding method steps of claim 3 of the patent application. 一種非暫態儲存媒體,帶有程式碼指令,當該程式在計算裝置上執行時,供執行申請專利範圍第1或3項之一項方法步驟者。 A non-transitory storage medium with program code instructions for performing a method step of claim 1 or 3 when the program is executed on a computing device.
TW104115464A 2014-05-20 2015-05-15 Method and device for encoding a high-dynamic range frame and/or decoding a bitstream TW201608875A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
EP14305731 2014-05-20

Publications (1)

Publication Number Publication Date
TW201608875A true TW201608875A (en) 2016-03-01

Family

ID=50884313

Family Applications (1)

Application Number Title Priority Date Filing Date
TW104115464A TW201608875A (en) 2014-05-20 2015-05-15 Method and device for encoding a high-dynamic range frame and/or decoding a bitstream

Country Status (2)

Country Link
TW (1) TW201608875A (en)
WO (1) WO2015177136A1 (en)

Also Published As

Publication number Publication date
WO2015177136A1 (en) 2015-11-26

Similar Documents

Publication Publication Date Title
JP6529504B2 (en) Methods and devices for encoding high dynamic range images and / or decoding bitstreams
JP6502947B2 (en) Method and device for tone mapping high dynamic range images
TWI707578B (en) Method and device for decoding a color picture
TWI740830B (en) Method and device for encoding both a high-dynamic range frame and an imposed low-dynamic range frame
US10148958B2 (en) Method and device for encoding and decoding a HDR picture and a LDR picture
TW201545547A (en) Method and device for encoding a high-dynamic range frame and/or decoding a bitstream
TW201608875A (en) Method and device for encoding a high-dynamic range frame and/or decoding a bitstream
TW201603564A (en) Method and device for encoding a high-dynamic range frame and/or decoding a bitstream
TW201608876A (en) Method and device for encoding a high-dynamic range frame and/or decoding a bitstream
TW201537962A (en) Method and device for encoding a high-dynamic range image and/or decoding a bitstream
TW201537965A (en) Method and device for encoding a high-dynamic range image
EP3113494A1 (en) Method and device for encoding a high-dynamic range image
TW201537964A (en) Method and device for encoding a high-dynamic range image and/or decoding a bitstream
TW201537961A (en) Method and device for encoding a high-dynamic range image and/or decoding a bitstream
TW201537963A (en) Method and device for encoding a high-dynamic range image
TW201532424A (en) Method and device for encoding a high-dynamic range image
US20170188049A1 (en) Method and device for encoding a frame and/or decoding a bitstream representing a frame
WO2015097129A1 (en) Method and device for encoding a high-dynamic range image
EP2938083A1 (en) Method and device for processing an information data indicating that a frame contains samples of at least two distinct packed constituent frames according to a specific frame-packing-arrangement scheme
TW201547261A (en) Method and device for encoding a frame and/or decoding a bitstream representing a frame
TW201545542A (en) Method and device for encoding a frame and/or decoding a bitstream representing a frame