[go: up one dir, main page]

CN100542298C - Block Size Calculation Method and Transmission Method for Cylindrical Panoramic Video Coding - Google Patents

Block Size Calculation Method and Transmission Method for Cylindrical Panoramic Video Coding Download PDF

Info

Publication number
CN100542298C
CN100542298C CN 200710175443 CN200710175443A CN100542298C CN 100542298 C CN100542298 C CN 100542298C CN 200710175443 CN200710175443 CN 200710175443 CN 200710175443 A CN200710175443 A CN 200710175443A CN 100542298 C CN100542298 C CN 100542298C
Authority
CN
China
Prior art keywords
block size
panoramic video
video
block
encoding
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN 200710175443
Other languages
Chinese (zh)
Other versions
CN101127911A (en
Inventor
代锋
张勇东
张冬明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Institute of Computing Technology of CAS
Original Assignee
Institute of Computing Technology of CAS
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 Institute of Computing Technology of CAS filed Critical Institute of Computing Technology of CAS
Priority to CN 200710175443 priority Critical patent/CN100542298C/en
Publication of CN101127911A publication Critical patent/CN101127911A/en
Application granted granted Critical
Publication of CN100542298C publication Critical patent/CN100542298C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

本发明提供一种柱面全景视频编码的块尺寸计算方法和传输方法,包括柱面全景视频不进行分块直接预编码,得到的全景视频编码的一个码率;该视频按照任选的一个块尺寸进行分块预编码,得到在该块尺寸下的编码码率;计算以上两个码率的增量;根据此增量计算该视频的影响因子;最后根据此因子计算该视频的最优编码块尺寸。本发明根据上述方法计算的块尺寸又提供了一种全景视频进行分块编码传输的方法。本发明通过两次预编码,可以计算出最优的编码块尺寸,使用此最优块尺寸进行柱面全景视频编码,能够在用户视觉质量相同的情况下传输数据量最低。

Figure 200710175443

The present invention provides a block size calculation method and transmission method for cylindrical panoramic video coding, including a code rate of the obtained panoramic video coding without performing block-based direct precoding on the cylindrical panoramic video; the video is coded according to an optional block Pre-encode in blocks according to the size of the block to obtain the encoding bit rate under the block size; calculate the increment of the above two bit rates; calculate the impact factor of the video according to this increment; finally calculate the optimal encoding of the video based on this factor block size. According to the block size calculated by the above method, the present invention provides a method for encoding and transmitting the panoramic video in blocks. The present invention can calculate the optimal encoding block size through two pre-encodings, use the optimal block size to perform cylindrical panoramic video encoding, and can transmit the lowest amount of data under the condition of the same user visual quality.

Figure 200710175443

Description

一种柱面全景视频编码的块尺寸计算方法和传输方法 Block Size Calculation Method and Transmission Method for Cylindrical Panoramic Video Coding

技术领域 technical field

本发明涉及视频和图像编解码领域,特别涉及柱面全景视频编码的块尺寸计算方法和基于分块的柱面全景视频编码的传输技术。The invention relates to the field of video and image coding and decoding, in particular to a block size calculation method of cylindrical panoramic video coding and a transmission technology of cylindrical panoramic video coding based on blocks.

背景技术 Background technique

全景视频是一种新兴的媒体,和传统的视频相比,具有视野大,分辨率高,数据量大等特点。利用全景视频,观察者视点不变,改变观察方向能够观察到周围的全部场景,而普通的二维视频只反应了全景视频的某个局部。Panoramic video is an emerging media. Compared with traditional video, it has the characteristics of large field of view, high resolution, and large amount of data. With the panoramic video, the viewer's point of view remains unchanged, and the entire surrounding scene can be observed by changing the observation direction, while the ordinary two-dimensional video only reflects a certain part of the panoramic video.

柱面全景视频是一种常见的全景视频,它相当于一个虚拟的摄像机,把空间中的三维物体投影到柱面上。柱面全景视频的生成可以利用多摄像头或者单摄像头采集系统采集而成。由于投影表面是柱面,所以上下方向有一些盲点。Cylindrical panoramic video is a common panoramic video, which is equivalent to a virtual camera that projects three-dimensional objects in space onto a cylindrical surface. Cylindrical panoramic video can be generated by using a multi-camera or single-camera collection system. Since the projection surface is cylindrical, there are some blind spots in the up and down directions.

由于全景视频的视野范围是普通视频的5~6倍,在给用户提供相同的视觉质量的情况下,全景视频的数据量是普通视频的5~6倍。如果按照传统的视频传输方案,全景视频在网络环境下的使用变得困难重重。但是,由于在同一时刻,用户所需要看到的内容只是全景视频的某一部分,所以分块编码与传输成为了全景视频网络传输的常见方案。Since the field of view of the panoramic video is 5 to 6 times that of the ordinary video, the amount of data of the panoramic video is 5 to 6 times that of the ordinary video while providing users with the same visual quality. According to the traditional video transmission scheme, the use of panoramic video in the network environment becomes very difficult. However, because at the same time, what the user needs to see is only a certain part of the panoramic video, so block coding and transmission has become a common solution for panoramic video network transmission.

在全景视频的分块编码中,分块的尺寸对于全景视频的编码效率以及传输区域有着重要的影响,而这两项因素直接决定着需要传输的数据量。如果编码块尺寸小,则传输区域较小,但是编码效率会较低;如果编码块尺寸大,则编码效率较高,但是传输区域也较大。所以在相同的视觉质量下,不同的编码块尺寸,需要传输的数据量是不一样的。但是现在国内外的一些系统中,基本上没有考虑分块的大小,块大小一般是按照经验决定的,这就导致了传输数据量的增加。In the block coding of panoramic video, the size of the block has an important impact on the coding efficiency and transmission area of panoramic video, and these two factors directly determine the amount of data to be transmitted. If the coding block size is small, the transmission area is small, but the coding efficiency will be low; if the coding block size is large, the coding efficiency is high, but the transmission area is also large. Therefore, under the same visual quality, the amount of data to be transmitted is different for different encoding block sizes. However, in some systems at home and abroad, the size of the block is basically not considered, and the block size is generally determined according to experience, which leads to an increase in the amount of transmitted data.

发明内容 Contents of the invention

本发明的目的是为柱面全景视频编码块尺寸的选择提供一种快速有效的计算方法,使得在局部视觉质量相同的情况下,所需要传输的数据量最小。The purpose of the present invention is to provide a fast and effective calculation method for the selection of cylindrical panoramic video coding block size, so that the amount of data to be transmitted is the smallest under the condition of the same partial visual quality.

为了实现上述目的,本发明提供了一种柱面全景视频编码块尺寸计算方法,利用编码全景视频的宽度,涉及的全景视频区域宽度,以及当前视频的影响因子等信息计算得到最优编码块尺寸。包含如下步骤:In order to achieve the above object, the present invention provides a method for calculating the coding block size of a cylindrical panoramic video, which uses information such as the width of the coding panoramic video, the width of the involved panoramic video area, and the influence factor of the current video to calculate the optimal coding block size . Contains the following steps:

柱面全景视频不进行分块直接预编码,得到的全景视频编码的码率R0Cylindrical panoramic video is not directly pre-encoded in blocks, and the code rate R of the obtained panoramic video encoding is 0 ;

柱面全景视频按照任选的一个分块尺寸a进行分块预编码,得到在分块尺寸a下的编码码率RaThe cylindrical panoramic video is pre-encoded according to an optional block size a to obtain the coding rate R a under the block size a ;

根据公式ωa=(Ra-R0)/R0,计算码率Ra相比于码率R0的增量ωaAccording to the formula ω a =(R a -R 0 )/R 0 , calculate the increment ω a of the code rate R a compared to the code rate R 0 ;

根据公式C=ωa·a·W/(W-a),计算该视频的影响因子C,其中W表示该视频的宽度为W个宏块;According to formula C=ω a · a · W/(Wa), calculate the impact factor C of this video, wherein W represents that the width of this video is W macroblocks;

根据公式 a me = [ CM / ( 1 - C W ) ] , 计算该视频的最优编码块尺寸ame,其中M表示目标区域宽度为M个宏块。According to the formula a me = [ CM / ( 1 - C W ) ] , Calculate the optimal encoding block size a me of the video, where M indicates that the width of the target area is M macroblocks.

基于此块尺寸计算方法,本发明还提供了一种柱面全景视频编码传输方法,包括如下步骤:Based on the block size calculation method, the present invention also provides a cylindrical panoramic video coding transmission method, including the following steps:

根据上述方法计算而得的块尺寸ame对该视频进行分块;According to the block size a me calculated by the above method, the video is divided into blocks;

分块后,对每个块的序列独立进行编码;After chunking, encode the sequence of each chunk independently;

选择所需的编码后的数据进行传输。Select the desired encoded data for transmission.

通过本发明提供的柱面全景视频编码块尺寸计算方法,能够得到一个使全景视频的压缩效率较高且传输区域较恰当的块尺寸。从而使需要传输的数据量最小。Through the method for calculating the block size of the cylindrical panoramic video encoding provided by the present invention, a block size with higher compression efficiency of the panoramic video and a more appropriate transmission area can be obtained. This minimizes the amount of data that needs to be transferred.

附图说明 Description of drawings

以下,结合附图来详细说明本发明的实施例,其中:Hereinafter, embodiments of the present invention will be described in detail in conjunction with the accompanying drawings, wherein:

图1是柱面全景视频分块示意图。FIG. 1 is a block diagram of a cylindrical panoramic video.

图2是ωa与编码块数目和ωa与编码块尺寸的关系图。Fig. 2 is a graph showing the relationship between ω a and the number of coding blocks and between ω a and the size of coding blocks.

图3是柱面全景视频最优编码块尺寸计算方法的操作流图。Fig. 3 is an operation flow chart of a method for calculating an optimal coding block size of a cylindrical panoramic video.

图4是柱面全景视频分块压缩和传输示意图。Fig. 4 is a schematic diagram of block compression and transmission of cylindrical panoramic video.

具体实施方式 Detailed ways

局部视图视觉质量是由全景视频原始编码质量确定的。在编码的过程中,用量化参数(QP)来控制全景视频编码的质量。需要在QP一定的条件下,计算分块尺寸a使传输的数据量最小,即使传输码率ra最小的分块尺寸a。所以首先计算传输码率ra与分块尺寸a的函数关系。Partial view visual quality is determined by the panoramic video raw encoding quality. During the coding process, quantization parameters (QP) are used to control the quality of panoramic video coding. Under certain conditions of QP, it is necessary to calculate the block size a to minimize the amount of transmitted data, even if the transmission code rate r a is the smallest block size a. Therefore, the functional relationship between the transmission code rate r a and the block size a is firstly calculated.

设目标区域的宽度为M个宏块,分块大小为a个宏块,如图1所示。因为目标区域落在全景视频中的位置会发生变化,从而相关分块的个数也会随之变化。一种情况是目标区域的右边界在a′的范围中,相关分块个数为N′,另一种情况是目标区域的右边界在a″的范围中,相关分块个数为N″。则:Assume that the width of the target area is M macroblocks, and the block size is a macroblocks, as shown in FIG. 1 . Because the position where the target area falls in the panoramic video will change, the number of related blocks will also change accordingly. One case is that the right boundary of the target area is in the range of a', and the number of related blocks is N'; the other case is that the right border of the target area is in the range of a", and the number of related blocks is N" . but:

Figure C20071017544300051
公式1
Figure C20071017544300051
Formula 1

Figure C20071017544300052
Figure C20071017544300052

令目标区域落在a′范围中的概率是P′,目标区域落在a″范围中的概率是P″。从而,当分块大小为a时,相关区域宽度Wa的期望值可以由下面的公式计算:Let the probability of the target area fall in the range of a' be P', and the probability of the target area falling in the range of a" be P". Therefore, when the block size is a, the expected value of the relevant area width W a can be calculated by the following formula:

WW aa == NN ′′ ·· aa ·· PP ′′ ++ NN ′′ ′′ ·· aa ·&Center Dot; PP ′′ ′′

Figure C20071017544300054
Figure C20071017544300054

公式2Formula 2

Figure C20071017544300055
Figure C20071017544300055

== Mm ++ aa ..

传输码率为所有需要传输的相关分块的码率之和,用如下公式计算。The transmission code rate is the sum of the code rates of all related blocks that need to be transmitted, and is calculated by the following formula.

r a = N a N · R a = W a W · R a 公式3 r a = N a N &Center Dot; R a = W a W &Center Dot; R a Formula 3

其中,ra表示分块尺寸为a时的传输码率,Ra表示分块尺寸为a时全景视频的编码码率,也就是所有分块编码的码率之和,Na表示全景视频分块尺寸为a时包含目标区域的宏块的数目,N表示全景视频宏块总数,Wa表示全景视频分块尺寸为a时的包含目标区域的宏块的宽度之和,W表示全景视频的宽度。Among them, r a represents the transmission code rate when the block size is a, R a represents the encoding code rate of the panoramic video when the block size is a, that is, the sum of the code rates of all block codes, N a represents the panoramic video resolution The number of macroblocks containing the target area when the block size is a, N represents the total number of macroblocks in the panoramic video, W a represents the sum of the widths of the macroblocks containing the target area when the block size of the panoramic video is a, and W represents the total number of macroblocks in the panoramic video width.

为了计算得到在原始编码质量一定的情况下,传输码率最小的最优编码块尺寸ame,最直接的方法就是利用上述公式通过列举方式计算得到最优编码尺寸。具体实施方式为首先对每一种可能的分块尺寸都进行编码,得到全景视频编码码率Ra,然后按照公式2计算出相关分块的宽度W,再然后按照公式3计算出传输码率ra,最后通过比较不同的分块尺寸的传输码率,得到传输码率最小的分块尺寸就是最优编码尺寸。例如表2所示的森林、村庄、桥梁和会堂四个序列的列举计算结果。In order to calculate the optimal encoding block size a me with the smallest transmission code rate when the original encoding quality is constant, the most direct method is to use the above formula to calculate the optimal encoding size by way of enumeration. The specific implementation method is to first encode each possible block size to obtain the panoramic video coding rate R a , then calculate the width W of the relevant block according to formula 2, and then calculate the transmission bit rate according to formula 3 r a , and finally by comparing the transmission code rates of different block sizes, it is obtained that the block size with the smallest transmission code rate is the optimal coding size. For example, the enumerated calculation results of the four sequences of forest, village, bridge and hall shown in Table 2.

对全景视频采用每一种可能的分块尺寸进行编码,经过比较找到最优编码块,这样的方法在实际应用中是不实用的。本发明提出一种基于反比模型的快速的最优编码块尺寸选择方法。It is impractical to use every possible block size to encode the panoramic video and find the optimal encoding block after comparison. The present invention proposes a fast optimal encoding block size selection method based on an inverse ratio model.

首先定义λa为Ra和R0的比值。First define λ a as the ratio of R a and R 0 .

λ a = R a R 0             公式4 λ a = R a R 0 Formula 4

其中Ra为编码块尺寸为a时的全景视频编码码率,R0为全景视频不分块时的编码码率。根据全景视频编码块大小与编码效率之间的关系,λa始终是大于等于1的一个实数。Where R a is the panoramic video encoding bit rate when the encoding block size is a, and R 0 is the encoding bit rate when the panoramic video is not divided into blocks. According to the relationship between the panoramic video encoding block size and encoding efficiency, λ a is always a real number greater than or equal to 1.

由公式3,公式4可以得到:From formula 3, formula 4 can get:

r a = W a W · R a = λ a · R 0 · W a W ·           公式5 r a = W a W · R a = λ a &Center Dot; R 0 &Center Dot; W a W · Formula 5

对于同样的编码条件和全景视频来说,不同的编码块尺寸a,R0和W是相同的,所以定义:For the same encoding conditions and panoramic video, different encoding block sizes a, R 0 and W are the same, so define:

Pa=λa·Wa          公式6P aa ·W a Formula 6

只要计算令Pa最小的编码块尺寸,即得最优编码块尺寸。As long as the coding block size that makes P a the smallest is calculated, the optimal coding block size can be obtained.

进一步,定义Further, define

ω a = R a - R 0 R 0 = λ a - 1 .          公式7 ω a = R a - R 0 R 0 = λ a - 1 . Formula 7

表1列出了桥梁序列在不同的编码块尺寸下,不同的ωa,对于每个编码块尺寸,应用了4个不同的量化参数(QP)进行编码。Table 1 lists bridge sequences with different ω a under different coding block sizes. For each coding block size, 4 different quantization parameters (QP) are applied for coding.

表1桥梁序列ωa与编码块尺寸关系Table 1 Relationship between bridge sequence ω a and coding block size

Figure C20071017544300071
Figure C20071017544300071

整理上表的数据,ωa与编码块数目以及编码块尺寸之间的关系如图2a所示。ωa与编码块数目之间呈正比关系,由于编码块数目与编码块尺寸之间呈反比关系,所以ωa与编码块尺寸之间呈反比关系,如图2b所示。After organizing the data in the above table, the relationship between ω a and the number of coding blocks and the size of coding blocks is shown in Figure 2a. There is a direct proportional relationship between ω a and the number of coding blocks. Since there is an inverse proportional relationship between the number of coding blocks and the size of the coding block, there is an inverse proportional relationship between ω a and the size of the coding block, as shown in Figure 2b.

由于ωa与编码块尺寸呈反比关系,本发明在二者之间建立一个模型,描述二者之间关系。Since ω a is inversely proportional to the coding block size, the present invention establishes a model between the two to describe the relationship between the two.

ω a = C a - C W .         公式8 ω a = C a - C W . Formula 8

对于同一个视频C是常数,当全景视频分块编码时,a=W,这时候ωa=0,符合我们对于ωa的定义。For the same video C is a constant, when the panoramic video is coded in blocks, a=W, at this time ω a =0, which conforms to our definition of ω a .

由公式8可以得到C的计算公式:The calculation formula of C can be obtained from formula 8:

C = ω a · a · W W - a .           公式11 C = ω a &Center Dot; a &Center Dot; W W - a . Formula 11

由此,对视频通过任意一个编码块尺寸a进行编码,计算出ωa,则可以计算常数C。Thus, the video is coded with any coding block size a, and ω a is calculated, then the constant C can be calculated.

由公式6,7,8计算得到:Calculated by formulas 6, 7, 8:

P a = W a · λ a = ( M + a ) · ( 1 + ω a ) = ( M + a ) · ( 1 + C a - C W ) .            公式9 P a = W a · λ a = ( m + a ) &Center Dot; ( 1 + ω a ) = ( m + a ) &Center Dot; ( 1 + C a - C W ) . Formula 9

计算Pa对a的导数为0的点,即为Pa的极值点,此时a的取值即为最优编码块尺寸。Calculate the point where the derivative of P a to a is 0, which is the extreme point of P a , and the value of a at this time is the optimal coding block size.

P a ′ = 0 ⇒ a me = [ CM 1 - C W ] .          公式10 P a ′ = 0 ⇒ a me = [ CM 1 - C W ] . Formula 10

据此可以计算出最优编码块尺寸ameBased on this, the optimal coding block size a me can be calculated.

根据上述分析,依据全景视频的宽度,目标区域宽度等信息计算编码块尺寸。如附图3所示该计算方法具体实施方式如下:According to the above analysis, the coding block size is calculated according to information such as the width of the panoramic video and the width of the target area. The specific implementation of this calculation method as shown in accompanying drawing 3 is as follows:

首先,对待编码的柱面全景视频不进行分块,整体进行预编码,得到的全景视频编码的码率R0。然后,为待编码的柱面全景视频任意选择一个块尺寸a,按照此块尺寸给全景视频进行分块预编码,得到在块尺寸a下的编码码率Ra。再根据公式ωa=(Ra-R0)/R0计算预编码码率Ra相比于码率R0的增量ωa。再然后,根据公式C=ωa·a·W/(W-a),计算当前柱面全景视频的影响因子C,其中W表示全景视频的宽度。最后,根据公式 a me = [ CM / ( 1 - C W ) ] , 计算柱面全景视频的最优编码块尺寸ame,其中M是目标区域宽度。First, the cylindrical panoramic video to be encoded is not divided into blocks, but pre-encoded as a whole, to obtain a coding rate R 0 of the panoramic video. Then, arbitrarily select a block size a for the cylindrical panoramic video to be encoded, and pre-encode the panoramic video in blocks according to this block size, and obtain the coding rate R a under the block size a. Then calculate the increment ω a of the precoding code rate R a compared to the code rate R 0 according to the formula ω a =(R a −R 0 )/R 0 . Then, according to the formula C= ωa ·a·W/(Wa), the influence factor C of the current cylindrical panoramic video is calculated, where W represents the width of the panoramic video. Finally, according to the formula a me = [ CM / ( 1 - C W ) ] , Compute the optimal coding block size a me of the cylindrical panoramic video, where M is the width of the target region.

根据上述柱面全景视频编码的块尺寸计算方法,本发明提供的柱面全景视频的传输方法,如图4所示,具体步骤如下:According to the above-mentioned block size calculation method of cylindrical panoramic video encoding, the transmission method of cylindrical panoramic video provided by the present invention, as shown in Figure 4, the specific steps are as follows:

首先根据上述柱面全景视频编码的块尺寸计算方法计算而得的块尺寸对全景视频进行分块。Firstly, the panoramic video is divided into blocks according to the block size calculated by the above-mentioned block size calculation method of cylindrical panoramic video coding.

然后依据以上分块,对每个块的序列独立进行编码。Then, according to the above block division, the sequence of each block is encoded independently.

再然后选择所需要的编码后的数据进行传输。在此可以根据用户当前的视角选择数据。传输媒介可以是因特网、无线网络、局域网、光学网络、其它合适的传输媒介、或者这些传输媒介的适当组合。Then select the required encoded data for transmission. Here data can be selected according to the user's current perspective. The transmission medium can be the Internet, a wireless network, a local area network, an optical network, other suitable transmission medium, or a suitable combination of these transmission mediums.

最后解码端接收到数据之后,对这些块序列进行独立的解码和投影变换,得到所需图像。Finally, after receiving the data, the decoder performs independent decoding and projection transformation on these block sequences to obtain the desired image.

表2编码块尺寸与传输码率对应关系Table 2 Correspondence between coding block size and transmission code rate

Figure C20071017544300091
Figure C20071017544300091

Figure C20071017544300101
Figure C20071017544300101

表2说明了柱面全景视频图像传输中编码块尺寸对实际传输码率的影响,其以分辨率为1920x352的4个图像序列在量化参数QP=28,目标区域M=20的条件下传输为例进行说明。对于以森林、村庄、桥梁和会堂为目标图像,以不同块尺寸分别进行编码传输试验,从每个块尺寸对应的码率可以观察到不同图像各自的最优分块尺寸。例如,当目标图像是森林时,块尺寸等于2时,码率为194.89,此值是所有不同块尺寸编码码率的最小值。采用本发明方法计算的块尺寸也是2,与列举试验的最优值一致。Table 2 illustrates the impact of the coding block size on the actual transmission bit rate in the transmission of cylindrical panoramic video images. It is transmitted under the condition of quantization parameter QP=28 and target area M=20 with the resolution of 4 image sequences of 1920x352 as Example to illustrate. For the target images of forests, villages, bridges and halls, the encoding and transmission experiments were carried out with different block sizes, and the optimal block size of different images can be observed from the bit rate corresponding to each block size. For example, when the target image is a forest and the block size is equal to 2, the code rate is 194.89, which is the minimum value of the code rate for all different block sizes. The block size calculated by the method of the present invention is also 2, which is consistent with the optimal value of the enumeration test.

表3不同QP时列举计算最优结果与本发明方法结果比较表When table 3 is different QP, enumerate and calculate optimal result and the method result comparison table of the present invention

Figure C20071017544300102
Figure C20071017544300102

表3说明了在不同的量化参数QP下分别以森林、村庄、桥梁和会堂为目标图像的4个序列利用实际列举块尺寸编码试验得到的最有效率块尺寸与用本发明公式得到的最优块尺寸比较结果。Table 3 has illustrated that under different quantization parameters QP, the most efficient block size obtained by using the actual enumeration block size coding test and the optimal block size obtained by the formula of the present invention are respectively with forest, village, bridge and hall as the 4 sequences of target images. Block size comparison result.

经分析以上表格得知,经列举方法计算而得最有效率分块尺寸,和利用本发明计算得到的分块尺寸基本一致,只有表3中带星号的是不完全一致的,但二者也非常接近。After analyzing the above tables, it is known that the most efficient block size calculated by the enumeration method is basically consistent with the block size calculated by the present invention. Only the asterisks in Table 3 are not completely consistent, but the two Also very close.

应该注意到并理解,在不脱离后附的权利要求所要求的本发明的精神和范围的情况下,能够对上述详细描述的本发明做出各种修改和改进。因此,要求保护的技术方案的范围不受所给出的任何特定示范教导的限制。It should be noted and understood that various modifications and improvements can be made to the invention described in detail above without departing from the spirit and scope of the invention as claimed in the appended claims. Accordingly, the scope of the claimed technical solution is not limited by any particular exemplary teaching given.

Claims (4)

1.一种柱面全景视频编码的块尺寸计算方法,包括下列步骤:1. A block size calculation method of cylindrical panoramic video encoding, comprising the following steps: 柱面全景视频不进行分块直接预编码,得到的全景视频编码的码率R0Cylindrical panoramic video is not directly pre-encoded in blocks, and the code rate R of the obtained panoramic video encoding is 0 ; 该视频按照任选的一个分块尺寸a进行分块预编码,得到在分块尺寸a下的编码码率RaThe video is pre-encoded in blocks according to an optional block size a, and the coding rate R a under the block size a is obtained; 根据公式ωa=(Ra-R0)/R0,计算所述码率Ra相比于所述码率R0的增量ωaAccording to the formula ω a =(R a -R 0 )/R 0 , calculate the increment ω a of the code rate R a compared to the code rate R 0 ; 根据公式C=ωa·a·W/(W-a),计算该视频的影响因子C,其中W表示全景视频的宽度为W个宏块;According to formula C=ω a · a · W/(Wa), calculate the impact factor C of this video, wherein W represents that the width of panoramic video is W macroblocks; 根据公式 a me = [ CM / ( 1 - C W ) ] , 计算该视频的最优编码块尺寸ame,其中M表示目标区域宽度为M个宏块。According to the formula a me = [ CM / ( 1 - C W ) ] , Calculate the optimal encoding block size a me of the video, where M indicates that the width of the target area is M macroblocks. 2.一种柱面全景视频编码传输方法,包括下列步骤:2. A cylindrical panoramic video coding transmission method, comprising the following steps: 根据如权利要求1所述的方法计算而得的块尺寸ame对所述全景视频进行分块;The panoramic video is divided into blocks according to the block size a me calculated by the method according to claim 1; 所述分块之后,对每个块的序列独立进行编码;After the block, the sequence of each block is encoded independently; 选择所需的编码后数据进行传输。Select the desired encoded data for transmission. 3.如权利要求2所述的方法,其特征在于所述数据传输后,解码端接收该数据,并对所述数据进行独立的解码和投影变换。3. The method according to claim 2, wherein after the data is transmitted, the decoding end receives the data, and independently decodes and transforms the data. 4.如权利要求2所述的方法,其特征在于所述所需的编码后的数据根据用户视角选择。4. The method of claim 2, wherein the required encoded data is selected according to the user's perspective.
CN 200710175443 2007-09-29 2007-09-29 Block Size Calculation Method and Transmission Method for Cylindrical Panoramic Video Coding Active CN100542298C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200710175443 CN100542298C (en) 2007-09-29 2007-09-29 Block Size Calculation Method and Transmission Method for Cylindrical Panoramic Video Coding

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200710175443 CN100542298C (en) 2007-09-29 2007-09-29 Block Size Calculation Method and Transmission Method for Cylindrical Panoramic Video Coding

Publications (2)

Publication Number Publication Date
CN101127911A CN101127911A (en) 2008-02-20
CN100542298C true CN100542298C (en) 2009-09-16

Family

ID=39095807

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200710175443 Active CN100542298C (en) 2007-09-29 2007-09-29 Block Size Calculation Method and Transmission Method for Cylindrical Panoramic Video Coding

Country Status (1)

Country Link
CN (1) CN100542298C (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140112589A1 (en) * 2012-10-22 2014-04-24 Gurulogic Microsystems Oy Encoder, decoder and method
CN106060513B (en) * 2016-06-29 2017-11-21 深圳市优象计算技术有限公司 A kind of code stream caching method for cylinder three-dimensional panoramic video netcast
CN106412582B (en) * 2016-10-21 2019-01-29 北京大学深圳研究生院 The description method of panoramic video area-of-interest and coding method
CN108156484B (en) * 2016-12-05 2022-01-14 奥多比公司 Prioritizing tile-based virtual reality video streams with adaptive rate allocation
US10595069B2 (en) 2016-12-05 2020-03-17 Adobe Inc. Prioritizing tile-based virtual reality video streaming using adaptive rate allocation
US11057643B2 (en) 2017-03-13 2021-07-06 Mediatek Inc. Method and apparatus for generating and encoding projection-based frame that includes at least one padding region and at least one projection face packed in 360-degree virtual reality projection layout
WO2018184528A1 (en) * 2017-04-05 2018-10-11 Mediatek Inc. Method and apparatus for processing projection-based frame with at least one projection face generated using non-uniform mapping
US11004173B2 (en) 2017-03-13 2021-05-11 Mediatek Inc. Method for processing projection-based frame that includes at least one projection face packed in 360-degree virtual reality projection layout
WO2019034131A1 (en) 2017-08-18 2019-02-21 Mediatek Inc. Method and apparatus for reducing artifacts in projection-based frame

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1421102A (en) * 1999-11-08 2003-05-28 高通股份有限公司 Variance based adaptive block size DCT image compression
CN1529512A (en) * 2003-10-17 2004-09-15 中国科学院计算技术研究所 Pipeline-Based Acceleration Method for Intra Prediction Mode Block Coding
CN1921628A (en) * 2005-08-23 2007-02-28 松下电器产业株式会社 Motion vector detection apparatus and motion vector detection method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1421102A (en) * 1999-11-08 2003-05-28 高通股份有限公司 Variance based adaptive block size DCT image compression
CN1529512A (en) * 2003-10-17 2004-09-15 中国科学院计算技术研究所 Pipeline-Based Acceleration Method for Intra Prediction Mode Block Coding
CN1921628A (en) * 2005-08-23 2007-02-28 松下电器产业株式会社 Motion vector detection apparatus and motion vector detection method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
特开平8-163376 1996.06.21

Also Published As

Publication number Publication date
CN101127911A (en) 2008-02-20

Similar Documents

Publication Publication Date Title
CN100542298C (en) Block Size Calculation Method and Transmission Method for Cylindrical Panoramic Video Coding
CN106664414B (en) Method and apparatus for candidate generation for single sample mode in video coding
CN101518090B (en) Image encoding method, decoding method, image encoding device and image decoding device
US10582217B2 (en) Methods and apparatuses for coding and decoding depth map
US9716891B2 (en) Quantization method and apparatus in encoding/decoding
CN107046645B9 (en) Image coding and decoding method and device
CN108366261A (en) Image encoding apparatus
CN102752596B (en) Rate distortion optimization method
RU2007106081A (en) METHOD AND DEVICE FOR TRANSFORMING WITH INCREASING FRAME RATE BY USING A CODER (EA-FRUC) FOR COMPRESSING A VIDEO IMAGE
CN107820095B (en) Long-term reference image selection method and device
CA2692250A1 (en) Video encoding and decoding methods using residual prediction, and corresponding apparatuses
JP2018533273A5 (en)
CN102651815A (en) Method of compression of digital images using a fixed number of bits per block
CN103634600B (en) A kind of Video Encoding Mode system of selection based on SSIM evaluation, system
CN109937573A (en) Use the lightfield compression of difference prediction replacement
CN102316323A (en) Rapid binocular stereo-video fractal compressing and uncompressing method
US11303916B2 (en) Motion compensation techniques for video
CN103873862A (en) Method and system for intra-frame quick coding
CN107820084A (en) A kind of video-aware coding method and device
CN105208396B (en) A kind of encoding and decoding method and apparatus of video frame
CN106303547A (en) 3 d video encoding method and apparatus
CN103997635B (en) The synthesis viewpoint distortion prediction method of free viewpoint video and coding method
CN101494718A (en) Method and apparatus for encoding image
CN112929663A (en) Knowledge distillation-based image compression quality enhancement method
CN106028046B (en) Lagrange multiplier modification method for multi-view depth video coding

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant