CN100542298C - A kind of block size computing method of cylinder panorama video code and transmission method - Google Patents

A kind of block size computing method of cylinder panorama video code and transmission method 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
video
code
block size
size
calculate
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

The invention provides a kind of block size computing method and transmission method of cylinder panorama video code, comprise that cylinder panorama video does not carry out the direct precoding of piecemeal, a code check of the panorama video code that obtains; This video carries out the piecemeal precoding according to an optional piece size, obtains the encoder bit rate under this piece size; Calculate the increment of above two code checks; Factor of influence according to this this video of incremental computations; Calculate the optimum code piece size of this video at last according to this factor.The piece size that the present invention calculates according to said method provides a kind of panoramic video to carry out the method for block encoding transmission again.The present invention can calculate optimum encoding block size by twice precoding, uses this optimum piece size to carry out cylinder panorama video code, can be under the identical situation of user's visual quality transmitted data amount minimum.

Description

A kind of block size computing method of cylinder panorama video code and transmission method
Technical field
The present invention relates to video and image coding and decoding field, particularly the block size computing method of cylinder panorama video code and based on the transmission technology of the cylinder panorama video code of piecemeal.
Background technology
Panoramic video is a kind of emerging medium, compares with traditional video, and it is big to have a visual field, resolution height, characteristics such as data volume is big.Utilize panoramic video, observer's viewpoint is constant, change direction of observation and can observe whole scenes on every side, and common two-dimensional video has only reacted certain part of panoramic video.
Cylinder panorama video is a kind of common panoramic video, and it is equivalent to a virtual video camera, and the three-dimensional body in the space is projected on the cylinder.The generation of cylinder panorama video can utilize multi-cam or the collection of single camera acquisition system to form.Because projection surface is a cylinder, so above-below direction has some blind spots.
Because the field range of panoramic video is 5~6 times of ordinary video, providing to the user under the situation of identical visual quality, the data volume of panoramic video is 5~6 times of ordinary video.If according to traditional video transmission scheme, the use of panoramic video under network environment becomes difficult.But, because at synchronization, certain part that the required content of seeing of user is a panoramic video is so block encoding and transmission become the common scheme of panoramic video Network Transmission.
In the block encoding of panoramic video, the size of piecemeal is for the code efficiency and the transmission region important influence of panoramic video, and these two factors need are directly determining data quantity transmitted.If the encoding block size is little, then transmission region is less, but code efficiency can be lower; If the encoding block size is big, then code efficiency is higher, but transmission region is also bigger.So under identical visual quality, different encoding block sizes, it is different needing data quantity transmitted.But in systems more both domestic and external, do not consider the size of piecemeal basically now, generally according to the experience decision, this has just caused the increase of transmitted data amount to block size.
Summary of the invention
The objective of the invention is provides a kind of computational methods fast and effectively for the selection of cylinder panorama video code piece size, makes under local visual situation identical in quality required data quantity transmitted minimum.
To achieve these goals, the invention provides a kind of cylinder panorama video code block size computing method, utilize the width of coding panoramic video, the panoramic video peak width that relates to, and the information calculations such as factor of influence of current video obtain optimum code piece size.Comprise following steps:
Cylinder panorama video does not carry out the direct precoding of piecemeal, the code check R of the panorama video code that obtains 0
Cylinder panorama video carries out the piecemeal precoding according to an optional block size a, obtains the encoder bit rate R under block size a a
According to formula ω a=(R a-R 0)/R 0, calculate code check R aThan code check R 0Increment ω a
According to formula C=ω aAW/ (W-a) calculates the factor of influence C of this video, and wherein W represents that the width of this video is a W macro block;
According to formula a me = [ CM / ( 1 - C W ) ] , Calculate the optimum code piece size a of this video Me, wherein M represents that the target area width is a M macro block.
Based on this block size computing method, the present invention also provides a kind of cylinder panorama video code transmission method, comprises the steps:
Calculate the piece size a that gets according to said method MeThis video is carried out piecemeal;
Behind the piecemeal, the sequence of each piece is independently encoded;
Select the data behind the required coding to transmit.
By cylinder panorama video code block size computing method provided by the invention, can access a piece size that compression efficiency is higher and transmission region is more appropriate that makes panoramic video.Need the data quantity transmitted minimum thereby make.
Description of drawings
Below, describe embodiments of the invention in conjunction with the accompanying drawings in detail, wherein:
Fig. 1 is a cylinder panorama video piecemeal schematic diagram.
Fig. 2 is ω aWith encoding block number and ω aGraph of a relation with the encoding block size.
Fig. 3 is the operational flow figure of cylinder panorama video optimum code block size computing method.
Fig. 4 is compression of cylinder panorama video piecemeal and transmission schematic diagram.
Embodiment
The partial view visual quality is determined by panoramic video original coding quality.In the process of coding, control the quality of panorama video code with quantization parameter (QP).Need under the certain condition of QP, calculate block size a and make the data quantity transmitted minimum, even transmission code rate r aMinimum block size a.So at first calculate transmission code rate r aFunctional relation with block size a.
If the width of target area is a M macro block, dividing block size is a macro block, as shown in Figure 1.Because the position that the target area is dropped in the panoramic video can change, thereby the number of relevant piecemeal also can change thereupon.A kind of situation be the right margin of target area in the scope of a ', relevant piecemeal number is N ', another kind of situation is that the right margin of target area is at a " scope in, relevant piecemeal number is N ".Then:
Figure C20071017544300051
Formula 1
Figure C20071017544300052
The probability that makes the target area drop in a ' scope is P ', and a " probability in the scope is P " is dropped in the target area.Thereby, when minute block size is a, the relevant range width W aDesired value can calculate by following formula:
W a = N ′ · a · P ′ + N ′ ′ · a · P ′ ′
Figure C20071017544300054
Formula 2
Figure C20071017544300055
= M + a .
Transmission code rate is the code check sum of all relevant piecemeals that need transmit, and calculates with following formula.
r a = N a N · R a = W a W · R a Formula 3
Wherein, r aTransmission code rate when the expression block size is a, R aThe encoder bit rate of expression block size panoramic video when being a, the code check sum of all block encodings just, N aComprise the number of the macro block of target area when representing the panoramic video block size for a, N represents panoramic video macro block sum, W aThe width sum of the macro block that comprises the target area when expression panoramic video block size is a, W represents the width of panoramic video.
In order to calculate under the certain situation of original coding quality the optimum code piece size a of transmission code rate minimum Me, the most direct method utilizes above-mentioned formula to calculate the optimum code size by enumerating mode exactly.Embodiment obtains panorama video code code check R at first each possible block size is all encoded a, calculate the width W of relevant piecemeal then according to formula 2, calculate transmission code rate r according to formula 3 then again a, by the transmission code rate of more different block sizes, the block size that obtains the transmission code rate minimum is exactly the optimum code size at last.Example forest, village, bridge and four sequences of assembly hall as shown in table 2 enumerate result of calculation.
Adopt each possible block size to encode to panoramic video, through relatively finding the optimum code piece, such method is unpractical in actual applications.The present invention proposes a kind of piece of optimum code fast size Selection method based on the inverse ratio model.
At first define λ aBe R aAnd R 0Ratio.
λ a = R a R 0 Formula 4
R wherein aPanorama video code code check when being of a size of a for encoding block, R 0Be the panoramic video encoder bit rate during piecemeal not.According to the relation between panorama video code block size and the code efficiency, λ aAll the time be a real number more than or equal to 1.
By formula 3, formula 4 can obtain:
r a = W a W · R a = λ a · R 0 · W a W · Formula 5
For same encoding condition and panoramic video, different encoding block size a, R 0With W is identical, so definition:
P aaW aFormula 6
Make P as long as calculate aMinimum encoding block size promptly gets optimum code piece size.
Further, definition
ω a = R a - R 0 R 0 = λ a - 1 . Formula 7
Table 1 has been listed the bridge sequence under different encoding block sizes, different ω a,, used 4 different quantization parameters (QP) and encoded for each encoding block size.
Table Bridge 1 beam sequence ω aWith the encoding block size relationship
Figure C20071017544300071
The data of table in the arrangement, ω aAnd the relation between encoding block number and the encoding block size is shown in Fig. 2 a.ω aAnd proportional relation between the encoding block number, owing to be inverse relation between encoding block number and the encoding block size, so ω aAnd be inverse relation between the encoding block size, shown in Fig. 2 b.
Because ω aBe inverse relation with the encoding block size, the present invention sets up a model between the two, describes between the two to concern.
ω a = C a - C W . Formula 8
For same video C is constant, when the panoramic video block encoding, and a=W, at this time ω a=0, meet us for ω aDefinition.
Can obtain the computing formula of C by formula 8:
C = ω a · a · W W - a . Formula 11
Thus, video is encoded by any one encoding block size a, calculate ω a, then can computational constant C.
By formula 6,7,8 calculate:
P a = W a · λ a = ( M + a ) · ( 1 + ω a ) = ( M + a ) · ( 1 + C a - C W ) . Formula 9
Calculate P aTo the derivative of a is 0 point, is P aExtreme point, this moment a value be optimum code piece size.
P a ′ = 0 ⇒ a me = [ CM 1 - C W ] . Formula 10
Can calculate optimum code piece size a in view of the above Me
According to above-mentioned analysis, according to the width of panoramic video, information calculations encoding block sizes such as target area width.This computational methods embodiment is as follows as shown in Figure 3:
At first, cylinder panorama video to be encoded is not carried out piecemeal, integral body is carried out precoding, the code check R of the panorama video code that obtains 0Then, select a piece size a arbitrarily, carry out the piecemeal precoding to panoramic video, obtain the encoder bit rate R under piece size a according to this piece size for cylinder panorama video to be encoded aAgain according to formula ω a=(R a-R 0)/R 0Calculate precoding code check R aThan code check R 0Increment ω aAgain then, according to formula C=ω aAW/ (W-a) calculates the factor of influence C of current cylinder panorama video, and wherein W represents the width of panoramic video.At last, according to formula a me = [ CM / ( 1 - C W ) ] , Calculate the optimum code piece size a of cylinder panorama video Me, wherein M is the target area width.
According to the block size computing method of above-mentioned cylinder panorama video code, the transmission method of cylinder panorama video provided by the invention, as shown in Figure 4, concrete steps are as follows:
At first calculate the piece size that gets panoramic video is carried out piecemeal according to the block size computing method of above-mentioned cylinder panorama video code.
According to above piecemeal, the sequence of each piece is independently encoded then.
Select the data behind the needed coding to transmit again then.Can select data according to the current visual angle of user at this.Transmission medium can be the appropriate combination of internet, wireless network, local area network (LAN), optic network, other suitable transmission medium or these transmission mediums.
Last decoding end receives after the data, and these piece sequences are independently decoded and projective transformation, obtains required image.
Table 2 encoding block size and transmission code rate corresponding relation
Figure C20071017544300091
Figure C20071017544300101
Table 2 has illustrated in the transmission of cylinder panorama video image the encoding block size to the influence of actual transmissions code check, its with resolution be 4 image sequences of 1920x352 at quantization parameter QP=28, be transmitted as example under the condition of target area M=20 and describe.For being target image with forest, village, bridge and assembly hall, carry out the coding transmission test respectively with the different masses size, can observe different images optimum block size separately from each piece size corresponding code rate.For example, when target image was forest, the piece size equaled at 2 o'clock, and code check is 194.89, and this value is the minimum value of all different masses size encoder bit rates.The piece size that adopts the inventive method to calculate also is 2, and is consistent with the optimal value of enumerating test.
Enumerate calculating optimal result and the inventive method comparison sheet as a result during table 3 different Q P
Figure C20071017544300102
It is that 4 sequences of target image are utilized the actual test of piece size coding full blast piece size that obtains and the optimum piece size comparative result that obtains with formula of the present invention enumerated that table 3 has illustrated under different quantization parameter QP respectively with forest, village, bridge and assembly hall.
Above by analysis form learns, through enumerating method to calculate full blast block size and the block size basically identical that utilizes the present invention to calculate, what have only band asterisk in the table 3 is not quite identical, but the two is also very approaching.
Should be noted that and understand, under the situation that does not break away from the desired the spirit and scope of the present invention of accompanying Claim, can make various modifications and improvement the present invention of foregoing detailed description.Therefore, the scope of claimed technical scheme is not subjected to the restriction of given any specific exemplary teachings.

Claims (4)

1. the block size computing method of a cylinder panorama video code comprises the following steps:
Cylinder panorama video does not carry out the direct precoding of piecemeal, the code check R of the panorama video code that obtains 0
This video carries out the piecemeal precoding according to an optional block size a, obtains the encoder bit rate R under block size a a
According to formula ω a=(R a-R 0)/R 0, calculate described code check R aThan described code check R 0Increment ω a
According to formula C=ω aAW/ (W-a) calculates the factor of influence C of this video, and wherein W represents that the width of panoramic video is a W macro block;
According to formula a me = [ CM / ( 1 - C W ) ] , Calculate the optimum code piece size a of this video Me, wherein M represents that the target area width is a M macro block.
2. a cylinder panorama video code transmission method comprises the following steps:
Calculate the piece size a that gets according to the method for claim 1 MeDescribed panoramic video is carried out piecemeal;
After the described piecemeal, the sequence of each piece is independently encoded;
Data are transmitted after selecting required coding.
3. method as claimed in claim 2, it is characterized in that described transfer of data after, decoding end receives this data, and described data are independently decoded and projective transformation.
4. method as claimed in claim 2 is characterized in that the data based user perspective behind the described required coding is selected.
CN 200710175443 2007-09-29 2007-09-29 A kind of block size computing method of cylinder panorama video code and transmission method Active CN100542298C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200710175443 CN100542298C (en) 2007-09-29 2007-09-29 A kind of block size computing method of cylinder panorama video code and transmission method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200710175443 CN100542298C (en) 2007-09-29 2007-09-29 A kind of block size computing method of cylinder panorama video code and transmission method

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 A kind of block size computing method of cylinder panorama video code and transmission method

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
US10595069B2 (en) 2016-12-05 2020-03-17 Adobe Inc. Prioritizing tile-based virtual reality video streaming using adaptive rate allocation
CN108156484B (en) * 2016-12-05 2022-01-14 奥多比公司 Prioritizing tile-based virtual reality video streams with 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
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
US10356386B2 (en) * 2017-04-05 2019-07-16 Mediatek Inc. Method and apparatus for processing projection-based frame with at least one projection face generated using non-uniform mapping
DE112018002432T5 (en) 2017-08-18 2020-01-23 Mediatek Inc. Method and device for reducing artifacts in a 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 中国科学院计算技术研究所 Flow-line-based frame predictive mode coding acceleration method
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 中国科学院计算技术研究所 Flow-line-based frame predictive mode coding acceleration method
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) A kind of block size computing method of cylinder panorama video code and transmission method
CN101518090B (en) Image encoding method, decoding method, image encoding device and image decoding device
CN101771878B (en) Self-adaptively selecting global motion estimation method for panoramic video coding
US7321374B2 (en) Method and device for the generation of 3-D images
CN101584215B (en) Integrated spatial-temporal prediction
CN105791872B (en) The image processing apparatus and method of intra prediction are executed in HEVC coding and decoding video
CN104539966B (en) Image prediction method and relevant apparatus
CN111798400A (en) Non-reference low-illumination image enhancement method and system based on generation countermeasure network
CN103067715B (en) The decoding method of depth image and coding and decoding device
CN101263713B (en) Method and apparatus for motion compensation by irregular shapes
Stefanoski et al. Automatic view synthesis by image-domain-warping
CN101552924B (en) Spatial prediction method for video coding
CN102630011A (en) Compressive perceptual coding and decoding method and system in video sensor network
CN106131531A (en) Method for processing video frequency and device
CN101933335A (en) Method and system for converting 2d image data to stereoscopic image data
CN103413298B (en) A kind of objective evaluation method for quality of stereo images of view-based access control model characteristic
CN101980538B (en) Fractal-based binocular stereoscopic video compression coding/decoding method
CN103716641B (en) Prognostic chart picture generation method and device
CN103200406B (en) The decoding method of depth image and coding and decoding device
CN104429077A (en) Image encoding method, image decoding method, image encoding device, image decoding device, image encoding program, image decoding program, and recording medium
CN106973281B (en) A kind of virtual view video quality prediction technique
CN101483765B (en) Image processing method, method and apparatus for encoding and decoding
JP2005341580A (en) Method and apparatus for image interpolation system based on motion estimation and compensation
CN101883109A (en) Real-time transmission method for large-scale three-dimensional data in lossy network
CN104767997B (en) A kind of visual signature coding method and device towards video

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