Method and apparatus for decoding a bitstream including encoded higher order ambisonics representations

Information

  • Patent Grant
  • 11211078
  • Patent Number
    11,211,078
  • Date Filed
    Friday, July 10, 2020
    4 years ago
  • Date Issued
    Tuesday, December 28, 2021
    2 years ago
Abstract
Higher Order Ambisonics represents three-dimensional sound independent of a specific loudspeaker set-up. However, transmission of an HOA representation results in a very high bit rate. Therefore compression with a fixed number of channels is used, in which directional and ambient signal components are processed differently. For coding, portions of the original HOA representation are predicted from the directional signal components. This prediction provides side information which is required for a corresponding decoding. By using some additional specific purpose bits, a known side information coding processing is improved in that the required number of bits for coding that side information is reduced on average.
Description
TECHNICAL FIELD

The invention relates to a method and to an apparatus for improving the coding of side information required for coding a Higher Order Ambisonics representation of a sound field.


BACKGROUND

Higher Order Ambisonics (HOA) offers one possibility to represent three-dimensional sound among other techniques like wave field synthesis (WFS) or channel based approaches like the 22.2 multichannel audio format. In contrast to channel based methods, the HOA representation offers the advantage of being independent of a specific loudspeaker set-up. This flexibility, however, is at the expense of a decoding process which is required for the playback of the HOA representation on a particular loudspeaker set-up. Compared to the WFS approach, where the number of required loudspeakers is usually very large, HOA signals may also be rendered to set-ups consisting of only few loudspeakers. A further advantage of HOA is that the same representation can also be employed without any modification for binaural rendering to head-phones.


HOA is based on the representation of the spatial density of complex harmonic plane wave amplitudes by a truncated Spherical Harmonics (SH) expansion. Each expansion coefficient is a function of angular frequency, which can be equivalently represented by a time domain function. Hence, without loss of generality, the complete HOA sound field representation actually can be assumed to consist of O time domain functions, where O denotes the number of expansion coefficients. These time domain functions will be equivalently referred to as HOA coefficient sequences or as HOA channels in the following.


The spatial resolution of the HOA representation improves with a growing maximum order N of the expansion. Unfortunately, the number of expansion coefficients O grows quadratically with the order N, in particular O=(N+1)2. For example, typical HOA representations using order N=4 require O=25 HOA (expansion) coefficients. According to the previously made considerations, the total bit rate for the transmission of HOA representation, given a desired single-channel sampling rate fS and the number of bits Nb per sample, is determined by O·fS·Nb. Consequently, transmitting an HOA representation of order N=4 with a sampling rate of fS=48 kHz employing Nb=16 bits per sample results in a bit rate of 19.2 MBits/s, which is very high for many practical applications like e.g. streaming. Thus, compression of HOA representations is highly desirable.


The compression of HOA sound field representations is proposed in WO 2013/171083 A1, EP 13305558.2 and PCT/EP2013/075559. These processings have in common that they perform a sound field analysis and decompose the given HOA representation into a directional component and a residual ambient component. On one hand the final compressed representation is assumed to consist of a number of quantised signals, resulting from the perceptual coding of the directional signals and relevant coefficient sequences of the ambient HOA component. On the other hand it is assumed to comprise additional side information related to the quantised signals, which side information is necessary for the reconstruction of the HOA representation from its compressed version.


An important part of that side information is a description of a prediction of portions of the original HOA representation from the directional signals. Since for this prediction the original HOA representation is assumed to be equivalently represented by a number of spatially dispersed general plane waves impinging from spatially uniformly distributed directions, the prediction is referred to as spatial prediction in the following.


The coding of such side information related to spatial prediction is described in ISO/IEC JTC1/SC29/WG11, N14061, “Working Draft Text of MPEG-H 3D Audio HOA RM0”, November 2013, Geneva, Switzerland. However, this state-of-the-art coding of the side information is rather inefficient.


SUMMARY OF INVENTION

A problem to be solved by the invention is to provide a more efficient way of coding side information related to that spatial prediction.


A bit is prepended to the coded side information representation data ζCOD, which bit signals whether or not any prediction is to be performed. This feature reduces over time the average bit rate for the transmission of the ζCOD data. Further, in specific situations, instead of using a bit array indicating for each direction if the prediction is performed or not, it is more efficient to transmit or transfer the number of active predictions and the respective indices. A single bit can be used for indicating in which way the indices of directions are coded for which a prediction is supposed to be performed. On average, this operation over time further reduces the bit rate for the transmission of the ζCOD data.


In principle, the inventive method is suited for improving the coding of side information required for coding a Higher Order Ambisonics representation of a sound field, denoted HOA, with input time frames of HOA coefficient sequences, wherein dominant directional signals as well as a residual ambient HOA component are determined and a prediction is used for said dominant directional signals, thereby providing, for a coded frame of HOA coefficients, side information data describing said prediction, and wherein said side information data can include:


a bit array indicating whether or not for a direction a prediction is performed;


a bit array in which each bit indicates, for the directions where a prediction is to be performed, the kind of the prediction;


a data array whose elements denote, for the predictions to be performed, indices of the directional signals to be used;


a data array whose elements represent quantised scaling factors,

    • said method including the step:
    • providing a bit value indicating whether or not said prediction is to be performed;
    • if no prediction is to be performed, omitting said bit arrays and said data arrays in said side information data; if said prediction is to be performed, providing a bit value indicating whether or not, instead of said bit array indicating whether or not for a direction a prediction is performed, a number of active predictions and a data array containing the indices of directions where a prediction is to be performed are included in said side information data.


In principle the inventive apparatus is suited for improving the coding of side information required for coding a Higher Order Ambisonics representation of a sound field, denoted HOA, with input time frames of HOA coefficient sequences, wherein dominant directional signals as well as a residual ambient HOA component are determined and a prediction is used for said dominant directional signals, thereby providing, for a coded frame of HOA coefficients, side information data describing said prediction, and wherein said side information data can include:


a bit array indicating whether or not for a direction a prediction is performed;


a bit array in which each bit indicates, for the directions where a prediction is to be performed, the kind of the prediction;


a data array whose elements denote, for the predictions to be performed, indices of the directional signals to be used;


a data array whose elements represent quantised scaling factors,


said apparatus including means which:

    • provide a bit value indicating whether or not said prediction is to be performed;
    • if no prediction is to be performed, omit said bit arrays and said data arrays in said side information data;
    • if said prediction is to be performed, provide a bit value indicating whether or not, instead of said bit array indicating whether or not for a direction a prediction is performed, a number of active predictions and a data array containing the indices of directions where a prediction is to be performed are included in said side information data.


An aspect of the invention relates to a method for decoding a bitstream including encoded HOA representations. The method includes evaluating a value of a bit KindOfCodedPredIds; evaluating, based on the value of the bit KindOfCodedPredIds, a first array ActivePred, wherein each element of the first array ActivePred indicates if, for a corresponding direction, a prediction is performed; determining, based on the evaluation of the first array ActivePred, elements of a vector ptype; evaluating a second array PredDirSigIds, wherein elements of the second array PredDirSigIds denote indices of directional signals to be used for active predictions; determining, based on the vector ptype and the elements of the second array PredDirSigIds, elements of a matrix FIND denoting indices from which directional signals a prediction for a direction is to be performed. An aspect of the invention may further relate to apparatus and/or non-transitory computer readable medium code configured to perform this method.


Each element of the second array PredDirSigIds may denote, for the predictions to be performed, indices of the directional signals to be used and wherein each element was coded based on ┌log2(|{tilde over (D)}ACT+1|)┐ bits, and is correspondingly decoded, wherein {tilde over (D)}ACT denotes a number of elements of said data set of indices of directional signals.


Advantageous additional embodiments of the invention are disclosed in the respective dependent claims.





BRIEF DESCRIPTION OF DRAWINGS

Exemplary embodiments of the invention are described with reference to the following accompanying drawings:



FIG. 1 illustrates an exemplary coding of side information related to spatial prediction in the HOA compression processing described in EP 13305558.2;



FIG. 2 illustrates an exemplary decoding of side information related to spatial prediction in the HOA decompression processing described in patent application EP 13305558.2;



FIG. 3 illustrates an HOA decomposition as described in patent application PCT/EP2013/075559;



FIG. 4 depicts an illustration of directions (depicted as crosses) of general plane waves representing the residual signal and the directions (depicted as circles) of dominant sound sources. The directions are presented in a three-dimensional coordinate system as sampling positions on the unit sphere;



FIG. 5 illustrates a state of art coding of spatial prediction side information;



FIG. 6 illustrates an inventive coding of spatial prediction side information;



FIG. 7 illustrates inventive decoding of coded spatial prediction side information; and



FIG. 8 is continuation of FIG. 7.





DESCRIPTION OF EMBODIMENTS

In the following, the HOA compression and decompression processing described in patent application EP 13305558.2 is recapitulated in order to provide the context in which the inventive coding of side information related to spatial prediction is used.


HOA Compression


In FIG. 1 it is illustrated how the coding of side information related to spatial prediction can be embedded into the HOA compression processing described patent application EP 13305558.2.


For the HOA representation compression, a frame-wise processing with non-overlapping input frames C(k) of HOA coefficient sequences of length L is assumed, where k denotes the frame index. The first step or stage 11/12 in FIG. 1 is optional and consists of concatenating the non-overlapping k-th and (k−1)-th frames of HOA coefficient sequences C(k) into a long frame {tilde over (C)}(k) as

{tilde over (C)}(k):=[C(k−1)C(k)],  (1)

which long frame is 50% overlapped with an adjacent long frame and which long frame is successively used for the estimation of dominant sound source directions. Similar to the notation for {tilde over (C)}(k), the tilde symbol is used in the following description for indicating that the respective quantity refers to long overlapping frames. If step/stage 11/12 is not present, the tilde symbol has no specific meaning.


A parameter in bold means a set of values, e.g. a matrix or a vector.


The long frame {tilde over (C)}(k) is successively used in step or stage 13 for the estimation of dominant sound source directions as described in EP 13305558.2. This estimation provides a data set custom characterDIR,ACT(k)⊆{1, . . . , D} of indices of the related directional signals that have been detected, as well as a data set custom characterΩ,ACT(k) of the corresponding direction estimates of the directional signals. D denotes the maximum number of directional signals that has to be set before starting the HOA compression and that can be handled in the known processing which follows.


In step or stage 14, the current (long) frame {tilde over (C)}(k) of HOA coefficient sequences is decomposed (as proposed in EP 13305156.5) into a number of directional signals XDIR(k−2) belonging to the directions contained in the set custom characterΩ,ACT(k), and a residual ambient HOA component CAMB(k−2). The delay of two frames is introduced as a result of overlap-add processing in order to obtain smooth signals. It is assumed that XDIR(k−2) is containing a total of D channels, of which however only those corresponding to the active directional signals are non-zero. The indices specifying these channels are assumed to be output in the data set custom characterDIR,ACT(k−2). Additionally, the decomposition in step/stage 14 provides some parameters ζ(k−2) which can be used at decompression side for predicting portions of the original HOA representation from the directional signals (see EP 13305156.5 for more details). In order to explain the meaning of the spatial prediction parameters ζ(k−2), the HOA decomposition is described in more detail in the below section HOA decomposition.


In step or stage 15, the number of coefficients of the ambient HOA component CAMB(k−2) is reduced to contain only ORED+D−NDIR,ACT(k −2) non-zero HOA coefficient sequences, where NDIR,ACT(k −2)×|custom characterDIR,ACT(k−2)| indicates the cardinality of the data set custom characterDIR,ACT(k−2), i.e. the number of active directional signals in frame k−2. Since the ambient HOA component is assumed to be always represented by a minimum number ORED of HOA coefficient sequences, this problem can be actually reduced to the selection of the remaining D−NDIR,ACT(k−2) HOA coefficient sequences out of the possible O−ORED ones. In order to obtain a smooth reduced ambient HOA representation, this choice is accomplished such that, compared to the choice taken at the previous frame k−3, as few changes as possible will occur.


The final ambient HOA representation with the reduced number of ORED+NDIR,ACT(k−2) non-zero coefficient sequences is denoted by CAMB,RED(k−2). The indices of the chosen ambient HOA coefficient sequences are output in the data set custom characterAMB,ACT(k−2).


In step/stage 16, the active directional signals contained in XDIR(k−2) and the HOA coefficient sequences contained in CAMB,RED(k−2) are assigned to the frame Y(k−2) of I channels for individual perceptual encoding as described in EP 13305558.2.


Perceptual coding step/stage 17 encodes the I channels of frame Y(k−2) and outputs an encoded frame {hacek over (Y)}(k−2).


According to the invention, following the decomposition of the original HOA representation in step/stage 14, the spatial prediction parameters or side information data ζ(k−2) resulting from the decomposition of the HOA representation are losslessly coded in step or stage 19 in order to provide a coded data representation ζCOD(k−2), using the index set custom characterDIR,ACT(k) delayed by two frames in delay 18.


HOA Decompression


In FIG. 2 it is exemplary shown how to embed in step or stage 25 the decoding of the received encoded side information data ζCOD(k−2) related to spatial prediction into the HOA decompression processing described in FIG. 3 of patent application EP 13305558.2. The decoding of the encoded side information data ζCOD(k−2) is carried out before entering its decoded version ζ(k−2) into the composition of the HOA representation in step or stage 23, using the received index set custom characterDIR,ACT(k) delayed by two frames in delay 24.


In step or stage 21 a perceptual decoding of the I signals contained in {hacek over (Y)}(k−2) is performed in order to obtain the I decoded signals in Ŷ(k−2).


In signal re-distributing step or stage 22, the perceptually decoded signals in Ŷ(k−2) are re-distributed in order to recreate the frame {circumflex over (X)}DIR(k−2) of directional signals and the frame ĈAMB,RED(k−2) of the ambient HOA component. The information about how to re-distribute the signals is obtained by reproducing the assigning operation performed for the HOA compression, using the index data sets custom characterDIR,ACT(k) and custom characterAMB,ACT(k−2)


In composition step or stage 23, a current frame Ĉ(k−3) of the desired total HOA representation is re-composed (according to the processing described in connection with FIG. 2b and FIG. 4 of PCT/EP2013/075559 using the frame {circumflex over (X)}DIR(k−2) of the directional signals, the set custom characterDIR,ACT(k) of the active directional signal indices together with the set custom characterΩ,ACT(k) of the corresponding directions, the parameters ζ(k−2) for predicting portions of the HOA representation from the directional signals, and the frame ĈAMB,RED(k−2) of HOA coefficient sequences of the reduced ambient HOA component.


ĈAMB,RED(k−2) corresponds to component {circumflex over (D)}A(k−2) in PCT/EP2013/075559, and custom characterΩ,ACT(k) and custom characterDIR,ACT(k) correspond to A{circumflex over (Ω)}(k) in PCT/EP2013/075559, wherein active directional signal indices can be obtained by taking those indices of rows of A{circumflex over (Ω)}(k) which contain valid elements. I.e., directional signals with respect to uniformly distributed directions are predicted from the directional signals {circumflex over (X)}DIR(k−2) using the received parameters ζ(k−2) for such prediction, and thereafter the current decompressed frame Ĉ(k−3) is re-composed from the frame of directional signals {circumflex over (X)}DIR(k−2), from custom characterDIR,ACT(k) and custom characterΩ,ACT(k), and from the predicted portions and the reduced ambient HOA component ĈAMB,RED (k−2).


HOA Decomposition


In connection with FIG. 3 the HOA decomposition processing is described in detail in order to explain the meaning of the spatial prediction therein. This processing is derived from the processing described in connection with FIG. 3 of patent application PCT/EP2013/075559.


First, the smoothed dominant directional signals XDIR(k−1) and their HOA representation CDIR(k−1) are computed in step or stage 31, using the long frame {tilde over (C)}(k) of the input HOA representation, the set custom characterΩ,ACT(k) of directions and the set custom characterDIR,ACT(k) of corresponding indices of directional signals. It is assumed that XDIR(k−1) contains a total of D channels, of which however only those corresponding to the active directional signals are non-zero. The indices specifying these channels are assumed to be output in the set custom characterDIR,ACT(k −1).


In step or stage 33 the residual between the original HOA representation {tilde over (C)}(k−1) and the HOA representation CDIR(k−1) of the dominant directional signals is represented by a number of O directional signals {tilde over (X)}RES(k−1), which can be considered as being general plane waves from uniformly distributed directions, which are referred to a uniform grid.


In step or stage 34 these directional signals are predicted from the dominant directional signals XDIR(k−1) in order to provide the predicted signals {circumflex over ({tilde over (X)})}RES(k−1) together with the respective prediction parameters ζ(k−1). For the prediction only the dominant directional signals xDIR,d(k−1) with indices d, which are contained in the set custom characterDIR,ACT(k−1), are considered. The prediction is described in more detail in the below section Spatial prediction.


In step or stage 35 the smoothed HOA representation ĈRES(k−2) of the predicted directional signals {circumflex over ({tilde over (X)})}RES(k−1) is computed.


In step or stage 37 the residual CAMB(k−2) between the original HOA representation {tilde over (C)}(k−2) and the HOA representation CDIR(k−2) of the dominant directional signals together with the HOA representation ĈRES(k−2) of the predicted directional signals from uniformly distributed directions is computed and is output.


The required signal delays in the FIG. 3 processing are performed by corresponding delays 381 to 387.


Spatial Prediction


The goal of the spatial prediction is to predict the O residual signals












X
~

RES



(

k
-
1

)


=

[






x
˜


RES
,
GRID
,
1


(
k
-
1
)








x
˜


RES
,
GRID
,
2


(
k
-
1
)













x
˜


RES
,
GRID
,
o


(
k
-
1
)




]





(
2
)







from the extended frame













X
~

DIR



(

k
-
1

)


:

=

[



X
DIR



(

k
-
3

)









X
DIR



(

k
-
2

)









X
DIR



(

k
-
1

)



]





(
3
)






=

[






x
˜


DIR
,
1


(
k
-
1
)








x
˜


DIR
,
2


(
k
-
1
)













x
˜


DIR
,
D


(
k
-
1
)




]





(
4
)








of smoothed directional signals (see the description in above section HOA decomposition and in patent application PCT/EP2013/075559).


Each residual signal {tilde over (x)}RES,GRID,q(k−1), q=1, . . . , O, represents a spatially dispersed general plane wave impinging from the direction Ωq, whereby it is assumed that all the directions Ωq, q=1, . . . , O are nearly uniformly distributed over the unit sphere. The total of all directions is referred to as a ‘grid’.


Each directional signal {tilde over (x)}DIR,d(k−1), d=1, . . . , D represents a general plane wave impinging from a trajectory interpolated between the directions ΩACT,d(k−3), ΩACT,d(k−2, ΩACT,d(k−1) and ΩACT,d(k), assuming that the d-th directional signal is active for the respective frames.


To illustrate the meaning of the spatial prediction by means of an example, the decomposition of an HOA representation of order N=3 is considered, where the maximum number of directions to extract is equal to D=4. For simplicity it is further assumed that only the directional signals with indices ‘1’ and ‘4’ are active, while those with indices ‘2’ and ‘3’ are non-active. Additionally, for simplicity it is assumed that the directions of the dominant sound sources are constant for the considered frames, i.e.

ΩACT,d(k−3)=ΩACT,d(k−2)=ΩACT,d(k−1)=ΩACT,d for d=1,4  (5)


As a consequence of order N=3, there are O=16 directions Ωq of spatially dispersed general plane waves {tilde over (x)}RES,GRID,q(k−1), q=1, . . . , O. FIG. 4 shows these directions together with the directions ΩACT,1 and ΩACT,4 of the active dominant sound sources.


State-of-the-Art Parameters for Describing the Apatial Prediction


One way of describing the spatial prediction is presented in the above-mentioned ISO/IEC document. In this document, the signals {tilde over (x)}RES,GRID,q(k−1), q=1, . . . , O are assumed to be predicted by a weighted sum of a predefined maximum number DARED of directional signals, or by a low pass filtered version of the weighted sum. The side information related to spatial prediction is described by the parameter set ζ(k−1)={pTYPE(k −1), PIND(k−1), PQ,F(k−1)}, which consists of the following three components:

    • The vector pTYPE(k−1) whose elements pTYPE,q(k−1), q=1, . . . , O indicate whether or not for the q-th direction Ωq a prediction is performed, and if so, then they also indicate which kind of prediction. The meaning of the elements is as follows:











p

TYPE
,
q




(

k
-
1

)


=

(




0



for





no





prediction





for





direction






Ω
q






1



for





a





full





band





prediction





for





direction






Ω
q






2



for





a





low





band





prediction





for





direction






Ω
q





.






(
6
)









    • The matrix PIND(k−1), whose elements PIND,d,q(k−1),





d=1, . . . , DPRED, q=1, . . . , O denote the indices from which directional signals the prediction for the direction has to be performed. If no prediction is to be performed for a direction Ωq, the corresponding column of the matrix PIND(k−1) consists of zeros. Further, if less than DPRED directional signals are used for the prediction for a direction Ωq, the non-required elements in the q-th column of PIND(k−1) are also zero.

    • The matrix PQ,F(k−1), which contains the corresponding quantised prediction factors pQ,F,d,q(k−1), d=1, . . . , DPRED, q=1, . . . , O.


The following two parameters have to be known at decoding side for enabling the appropriate interpretation of these parameters:

    • The maximum number DPRED of directional signals, from which a general plane wave signal {tilde over (x)}RES,GRID,q(k−1) is allowed to be predicted.
    • The number BSC of bits used for quantising the prediction factors pQ,F,D,q(k−1), d=1, . . . , DPRED, q=1, . . . , O. The de-quantisation rule is given in equation (10).


These two parameters have to either be set to fixed values known to the encoder and decoder, or to be additionally transmitted, but distinctly less frequently than the frame rate. The latter option may be used for adapting the two parameters to the HOA representation to be compressed.


An example for a parameter set may look like the following, assuming O=16, DPRED=2 and BSC=8:












p
TYPE



(

k
-
1

)


=

[



1


0


0


0


0


0


2


0


0


0


0


0


0


0


0


0



]


,




(
7
)









P

I

N

D




(

k
-
1

)


=

[



1


0


0


0


0


0


1


0


0


0


0


0


0


0


0


0




0


0


0


0


0


0


4


0


0


0


0


0


0


0


0


0



]


,




(
8
)








P

Q
,
F




(

k
-
1

)


=


[






40


0


0


0


0


0


15


0


0


0


0


0


0


0


0


0










0


0


0


0


0


0



-
13



0


0


0


0


0


0


0


0


0






]

.





(
9
)







Such parameters would mean that the general plane wave signal {tilde over (x)}RES,GRID,1(k−1) from direction Ω1 is predicted from the directional signal {tilde over (x)}DIR,1(k−1) from direction ΩACT,1 by a pure multiplication (i.e. full band) with a factor that results from de-quantising the value 40. Further, the general plane wave signal {tilde over (x)}RES,GRID,7(k−1) from direction Ω7 is predicted from the directional signals {tilde over (x)}DIR,1(k−1) and {tilde over (x)}DIRm4(k−1) by a lowpass filtering and multiplication with factors that result from de-quantising the values 15 and −13.


Given this side information, the prediction is assumed to be performed as follows:


First, the quantised prediction factors PQ,F,d,q(k −1),


d=1, . . . , DPRED, q=1, . . . , O are dequantised to provide the actual prediction factors











p

F
,
d
,
q




(

k
-
1

)


=

(






(



p

Q
,
F
,
d
,
q




(

k
-
1

)


+

1
2


)



2


-

B
SC


+
1







if







p

IND
,
d
,
q




(

k
-
1

)




0





0




if







p

IND
,
d
,
q




(

k
-
1

)



=
0




.






(
10
)







As already mentioned, BSC denotes a predefined number of bits to be used for the quantisation of the prediction factors. Additionally, pF,d,q(k−1) is assumed to be set to zero, if pIND,d,q(k−1) is equal to zero.


For the previously mentioned example, assuming BSC=8, the de-quantised prediction factor vector would result in











P
F



(

k
-
1

)













[









0
.
3


1

6

4



0


0


0


0


0




0
.
1


2

1

1



0


0


0


0


0


0


0


0


0




0


0


0


0


0


0




-

0
.
0



9

7

7



0


0


0


0


0


0


0


0


0







]

.





(
11
)








Further, for performing a low pass prediction a predefined low pass FIR filter

hLP:=[hLP(0) hLP(1) . . . hLP(Lh−1)]  (12)

of length Lh=31 is used. The filter delay is given by Dh=15 samples.


Assuming as signals the predicted signals












X

~
^



R

E

S




(

k
-
1

)


=

[







x
˜

^


RES
,
1


(
k
-
1
)









x
˜

^


RES
,
2


(
k
-
1
)














x
˜

^


RES
,
o




(

k
-
1

)





]





(
13
)








and the directional signals












X
~

DIR



(

k
-
1

)


=

[






x
˜


DIR
,
1


(
k
-
1
)








x
˜


DIR
,
2


(
k
-
1
)













x
˜


DIR
,
D


(
k
-
1
)




]





(
14
)








to be composed of their samples by

{tilde over ({circumflex over (x)})}RES,q(k−1)=[{circumflex over ({tilde over (x)})}FRES,q(k−1,1) {circumflex over ({tilde over (x)})}RES,q(k−1,2) . . . {circumflex over ({tilde over (x)})}RES,q(k−1,2L)] for q=1, . . . , O,   (15)
and {tilde over (x)}DIR,d(k−1)=[{tilde over (x)}DIR,d(k−1,1) {tilde over (x)}DIR,d(k−1,2) . . . {tilde over (x)}DIR,d(k−1,3L)] for d=1, . . . , D,  (16)

the sample values of the predicted signals are given by













x
˜

^


RES
,
q




(


k
-
1

,
l

)


=

(



0




if







p

TYPE
,
q




(

k
-
1

)



=
0









d
=
1


D
PRED






p

F
,
d
,
q




(

k
-
1

)


·






if







p

TYPE
,
q




(

k
-
1

)



=
1








x
~


DIR


,

p

IND
,
d
,
q







(


k
-
1

,

L
+
l


)















d
=
1


D
PRED






p

F
,
d
,
q




(

k
-
1

)


·






if







p

TYPE
,
q




(

k
-
1

)



=
2








y
~


LP
,
q




(


k
-
1

,
l

)















(
17
)







with








y
~


LP
,
q




(


k
-
1

,
l

)



:=




j
=
0


min


(



L
h

-
1

,

l
+

2


D
h


-
1


)







h
LP



(
j
)


·




x
~


DIR


,

p

IND
,
d
,
q





(

k
-
1

)





(


k
-
1

,

L
+
l
+

D
h

-
j


)


.







(
18
)







As already mentioned and as now can be seen from equation (17), the signals {tilde over (x)}RES,GRID,q(k−1), q=1, . . . , O are assumed to be predicted by a weighted sum of a predefined maximum number DPRED of directional signals, or by a low pass filtered versions of the weighted sum.


State-of-the-Art Coding of the Side Information Related to Spatial Prediction


In the above-mentioned ISO/IEC document the coding of the spatial prediction side information is addressed. It is summarised in Algorithm 1 depicted in FIG. 5 and will be explained in the following. For a clearer presentation the frame index k−1 is neglected in all expressions.


First, a bit array ActivePred consisting of O bits is created, in which the bit ActivePred[q] indicates whether or not for the direction Ωq a prediction is performed. The number of ‘ones’ in this array is denoted by NumActivePred.


Next, the bit array PredType of length NumActivePred is created where each bit indicates, for the directions where a prediction is to be performed, the kind of the prediction, i.e. full band or low pass. At the same time, the unsigned integer array PredDirSigIds of length NumActivePred·DPRED is created, whose elements denote for each active prediction the DPRED indices of the directional signals to be used. If less than DPRED directional signals are to be used for the prediction, the indices are assumed to be set to zero. Each element of the array PredDirSigIds is assumed to be represented by ┌log2(D+1)┐ bits. The number of non-zero elements in the array PredDirSigIds is denoted by NumNonZeroIds.


Finally, the integer array QuantPredGains of length NumNonZeroIds is created, whose elements are assumed to represent the quantised scaling factors PQ,F,d,q(k−1) to be used in equation (17). The dequantisation to obtain the corresponding dequantised scaling factors PF,d,q(k−1) is given in equation (10). Each element of the array QuantPredGains is assumed to be represented by BSC bits.


In the end, the coded representation of the side information ζCOD consists of the four aforementioned arrays according to

ζCOD=[ActivePred PredType PredDirSigIds QuantPredGains].  (19)


For explaining this coding by an example, the coded representation of equations (7) to (9) is used:

ActivePred=[1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0]  (20)
PredType=[0 1]  (21)
PredDirSigIds=[1 0 1 4]  (22)
QuantPredGains=[40 15 −13].  (23)


The number of required bits is equal to 16+2+3·4+8·3=54.


Inventive Coding of the Side Information Related to Spatial Prediction


In order to increase the efficiency of the coding of the side information related to spatial prediction, the state-of-the-art processing is advantageously modified.


A) When coding HOA representations of typical sound scenes, the inventors have observed that there are often frames where in the HOA compression processing the decision is taken to not perform any spatial prediction at all. However, in such frames the bit array ActivePred consists of zeros only, the number of which is equal to O. Since such frame content occurs quite often, the inventive processing prepends to the coded representation ζCOD a single bit PSPredictionActive, which indicates if any prediction is to be performed or not. If the value of the bit PSPredictionActive is zero (or ‘1’ as an alternative), the array ActivePred and further data related to the prediction are not to be included into the coded side information ζCOD In practise, this operation reduces over time the average bit rate for the transmission of ζCOD.


B) A further observation made while coding HOA representations of typical sound scenes is that the number NumActivePred of active prediction is often very low. In such situation, instead of using the bit array ActivePred for indicating for each direction Ωq whether or not the prediction is performed, it can be more efficient to transmit or transfer instead the number of active predictions and the respective indices. In particular, this modified kind of coding the activity is more efficient in case that

NumActivePred≤MM,  (24)

where MM is the greatest integer number that satisfies

┌log2(MM)┐+MM·┌log2(O)┐<O.  (25)


The value of MM can be computed only with the knowledge of the HOA order N: O=(N+1)2 as mentioned above.


In equation (25), ┌log2(MM)┐ denotes the number of bits required for coding the actual number NumActivePred of active predictions, and MM·┌log2(O)┐ is the number of bits required for coding the respective direction indices. The right hand side of equation (25) corresponds to the number of bits of the array ActivePred, which would be required for coding the same information in the known way.


According to the aforementioned explanations, a single bit KindOfCodedPredIds can be used for indicating in which way the indices of those directions, where a prediction is supposed to be performed, are coded. If the bit KindOfCodedPredIds has the value ‘1’ (or ‘0’ in the alternative), the number NumActivePred and the array PredIds containing the indices of directions, where a prediction is supposed to be performed, are added to the coded side information ζCOD. Otherwise, if the bit KindOfCodedPredIds has the value ‘0’ (or ‘1’ in the alternative), the array ActivePred is used to code the same information.


In average, this operation reduces over time the bit rate for the transmission of ζCOD.


C) To further increase the side information coding efficiency, the fact is exploited that often the actually available number of active directional signals to be used for prediction is less than D. This means that for the coding of each element of the index array PredDirSigIds less than ┌log2(D+1)┐ bits are required. In particular, the actually available number of active directional signals to be used for prediction is given by the number {tilde over (D)}ACT of elements of the data set custom characterDIR,ACT, which contains the indices ĩACT,1, . . . , ĩACT,{tilde over (D)}ACT of the active directional signals. Hence, ┌log2(|{tilde over (D)}ACT+1|)┐ bits can be used for coding each element of the index array PredDirSigIds, which kind of coding is more efficient. In the decoder the data set custom characterDIR,ACT is assumed to be known, and thus the decoder also knows how many bits have to be read for decoding an index of a directional signal. Note that the frame indices of ζCOD to be computed and the used index data set custom characterDIR,ACT have to be identical.


The above modifications A) to C) for the known side information coding processing result in the example coding processing depicted in FIG. 6.


Consequently, the coded side information consists of the following components:










ζ
COD

=

(




[
PSPredictionActive
]





if





PSPredictionActive

=
0






[



PSPredictionActive




KindOfCodedPredIds




ActivePred




PredType




PredDirSigIds




QuantPredGains



]








if





PSPredictionActive

=







1

KindOfCodedPredIds

=
0









[



PSPredictionActive




KindOfCodedPredIds




NumActivePred




PredIds




PredType




PredDirSigIds




QuantPredGains



]








if





PSPredictionActive

=







1

KindOfCodedPredIds

=
1












(
26
)







Remark: in the above-mentioned ISO/IEC document e.g. in section 6.1.3, QuantPredGains is called PredGains, which however contains quantised values.


The coded representation for the example in equations (7) to (9) would be:

PSPredictionActive=1  (27)
KindOfCodedPredIds=1  (28)
NumActivePred=2  (29)
PredIds=[1 7]  (30)
PredType=[0 1]  (31)
PredDirSigIds=[1 0 1 4]  (32)
QuantPredGains=[40 15 −13],  (33)

and the required number of bits is 1+1+2+2·4+2+2·4+8·3=46. Advantageously, compared to the state of the art coded representation in equations (20) to (23), this representation coded according to the invention requires 8 bits less.


Decoding of the Modified Side Information Coding Related to Spatial Prediction


The decoding of the modified side information related to spatial prediction is summarised in the example decoding processing depicted in FIG. 7 and FIG. 8 (the processing depicted in FIG. 8 is the continuation of the processing depicted in FIG. 7) and is explained in the following.


Initially, all elements of vector pTYPE and matrices PIND and PQ,F are initialised by zero. Then the bit PSPredictionActive is read, which indicates if a spatial prediction is to be performed at all. In the case of a spatial prediction (i.e. PSPredictionActive=1), the bit KindOfCodedPredIds is read, which indicates the kind of coding of the indices of directions for which a prediction is to be performed.


In the case that KindOfCodedPredIds=0, the bit array ActivePred of length O is read, of which the q-th element indicates if for the direction Ωq a prediction is performed or not. In a next step, from the array ActivePred the number NumActivePred of predictions is computed and the bit array PredType of length NumActivePred is read, of which the elements indicate the kind of prediction to be performed for each of the relevant directions. With the information contained in ActivePred and PredType, the elements of the vector pTYPE are computed.


In case KindOfCodedPredIds=1, the number NumActivePred of active predictions is read, which is assumed to be coded with ┌log2(MM)┐ bits, where MM is the greatest integer number satisfying equation (25). Then, the data array PredIds consisting of NumActivePred elements is read, where each element is assumed to be coded by ┌log2(O)┐ bits. The elements of this array are the indices of directions, where a prediction has to be performed. Successively, the bit array PredType of length NumActivePred is read, of which the elements indicate the kind of prediction to be performed for each one of the relevant directions. With the knowledge of NumActivePred, PredIds and PredType, the elements of the vector PTYPE are computed.


For both cases (i.e. KindOfCodedPredIds=0 and KindOfCodedPredIds=1), in the next step the array PredDirSigIds is read, which consists of NumActivePred·DPRED elements. Each element is assumed to be coded by ┌log2({tilde over (D)}ACT)┐ bits. Using the information contained in pTYPE. custom characterDIR,ACT and PredDirSigIds, the elements of matrix RIND are set and the number NumNonZeroIds of non-zero elements in RIND is computed.


Finally, the array QuantPredGains is read, which consists of NumNonZeroIds elements, each coded by BSC bits. Using the information contained in RIND and QuantPredGains, the elements of the matrix PQ,F are set.


The inventive processing can be carried out by a single processor or electronic circuit, or by several processors or electronic circuits operating in parallel and/or operating on different parts of the inventive processing.

Claims
  • 1. A method for decoding a bitstream that includes encoded HOA representations, said method comprising: evaluating a value of a bit KindOfCodedPredIds;evaluating, based on the value of the bit KindOfCodedPredIds, a first array ActivePred, wherein each element of the first array ActivePred indicates if, for a corresponding direction, a prediction is performed;determining, based on an evaluation of the first array ActivePred, elements of a vector ptype;evaluating a second array PredDirSigIds, wherein elements of the second array PredDirSigIds denote indices of directional signals to be used for active predictions, wherein the evaluation is based on a variable NumActivePred, and wherein the variable NumActivePred indicates how many ones there are in the array ActivePred; anddetermining, based on the vector Ptype and the elements of the second array PredDirSigIds, elements of a matrix PIND denoting indices from which directional signals of a prediction for a direction are performed.
  • 2. The method of claim 1, wherein each element of said first array denote, for the predictions to be performed, an index of the directional signals to be used.
  • 3. A non-transitory computer readable storage medium containing instructions that when executed by a processor perform the method according to claim 1.
  • 4. An apparatus comprising a decoder for decoding a bitstream including encoded HOA representations, said apparatus comprising: a processor configured to evaluate a value of a bit KindOfCodedPredIds, wherein the processor is further configured to evaluate, based on the value of the bit KindOfCodedPredIds, a first array ActivePred, wherein each element of the first array ActivePred indicates if, for a corresponding direction, a prediction is performed, wherein the processor is further configured to determine, based on an evaluation of the first array ActivePred, elements of a vector ptype, and wherein the processor is further configured to evaluate a second array PredDirSigIds, wherein elements of the second array PredDirSigIds denote indices of directional signals to be used for active predictions, wherein the evaluation is based on a variable NumActivePred, and wherein the variable NumActivePred indicates how many ones there are in the array ActivePred; anda decoder configured to decode, based on the vector ptype and the elements of the second array PredDirSigIds, elements of a matrix PIND denoting indices from which directional signals a prediction for a direction are performed.
  • 5. The apparatus of claim 4, wherein each element of said first array denote, for the predictions to be performed, an index of the directional signals to be used.
Priority Claims (2)
Number Date Country Kind
14305022 Jan 2014 EP regional
14305061 Jan 2014 EP regional
CROSS REFERENCE TO RELATED APPLICATIONS

This application is a divisional of U.S. patent application Ser. No. 16/719,806, filed Dec. 18, 2019, which is a divisional of U.S. patent application Ser. No. 16/532,302, filed Aug. 5, 2019, now U.S. Pat. No. 10,553,233, which is a divisional of U.S. patent application Ser. No. 16/189,797, filed Nov. 13, 2018, now U.S. Pat. No. 10,424,312, which is a divisional of U.S. patent application Ser. No. 15/956,295, filed Apr. 18, 2018, now U.S. Pat. No. 10,147,437, which is a divisional of U.S. patent application Ser. No. 15/110,354, filed Jul. 7, 2016, now U.S. Pat. No. 9,990,934, which is U.S. national stage of International Application No. PCT/EP2014/078641, filed Dec. 19, 2014, which claims priority to European Patent Application Nos. 14305061.5 and 14305022.7, filed Jan. 16, 2014 and Jan. 8, 2014, respectively, each of which is hereby incorporated by reference in its entirety.

US Referenced Citations (9)
Number Name Date Kind
7394903 Herre Jul 2008 B2
20050157883 Herre Jul 2005 A1
20070127733 Henn Jun 2007 A1
20070269063 Goodwin Nov 2007 A1
20080002842 Neusinger Jan 2008 A1
20090248425 Vetterli Oct 2009 A1
20120155653 Jax Jun 2012 A1
20130216070 Keiler Aug 2013 A1
20150304766 Delikaris-Manias Oct 2015 A1
Foreign Referenced Citations (9)
Number Date Country
102823277 Dec 2012 CN
103313182 Sep 2013 CN
2451196 May 2012 EP
2637428 Sep 2013 EP
2665208 Nov 2013 EP
2015537256 Dec 2015 JP
2012059385 May 2012 WO
WO-2012059385 May 2012 WO
2013000740 Jan 2013 WO
Non-Patent Literature Citations (5)
Entry
Boehm, J. et al. “RMO-HOA Working Draft Text” MPEG Meeting/M31408, ISO/IEC JTC1/SC29/WG11, Oct. 23, 2013, Geneva, Switzerland.
Sen, D. et al. “RM1-HOA Working Draft Text 1 & 2” Qualcomm, Technicolor, Orange, ISO/IEC JTC1/SC29/WG11 MPEG 2014/M31827, Jan. 2014, San Jose, USA.
Wikipedia, free encyclopedia “Sparse Array” Jul. 6, 2012.
Gong Huizhe “The Improvement for Ambisonic System Optimization” a Dissertation submitted for the Degree of Doctor of Philosophy, Oct. 15, 2011.
Nicol, Rozenn “Sound Spatialization by Higher Order Ambisonics: Encoding and Decoding a Sound Scene in Practice from a Theoretical Point of View . . . ” Proc. of the 2nd International Symposium on Ambisonics and Spherical Acoustics, May 6-7, 2010, Paris, France, pp. 1-9.
Related Publications (1)
Number Date Country
20210027795 A1 Jan 2021 US
Divisions (5)
Number Date Country
Parent 16719806 Dec 2019 US
Child 16925334 US
Parent 16532302 Aug 2019 US
Child 16719806 US
Parent 16189797 Nov 2018 US
Child 16532302 US
Parent 15956295 Apr 2018 US
Child 16189797 US
Parent 15110354 US
Child 15956295 US