3.4. MULTI-DIMENSIONAL CODING 27
Figure 3.7: Simultaneous encoding of color and orientation in a local image region. Figure taken
from Jonsson [2008] courtesy Erik Jonsson. e red circle on the left indicates the considered
local region and the color and orientation patterns on the right represent the channels of the
marginal distributions. In the present example, color and orientation are not completely inde-
pendent, such that the channel matrix, represented by the black blobs, cannot be factorized.
If the components of the random vector are not mutually independent, for instance be-
cause the observed objects, such as bananas or skyscrapers, lead to color-dependent orientation
distributions, the identity leading to (3.27) breaks. is effect has also been observed in the case
of texture classification by Khan et al. [2013].
In the general case, the expectation of the product of channel coefficients can thus not be
computed from the product of their expectations,
EŒc
1;n
1
EŒc
2;n
2
¤ EŒc
1;n
1
c
2;n
2
; (3.29)
implying that summation over the sample index must happen after the outer product of channel
vectors.
One such example are optical flow vectors, where moving edges and lines have highly cor-
related spatial displacements [Spies and Forssén, 2003]. Obviously, this leads to an exponential
growth of the number of coefficients with the number of dimensions. If all d dimensions are
encoded with the same number of channels N , the total number of coefficients becomes N
d
.
In practice, however, this is seldom a problem. In many cases, not all product terms stem-
ming from the outer products are required, e.g., Granlund [2000b] suggests to only use second
order terms, or the mutual dependency can be ignored altogether without compromising the
results [Wallenberg et al., 2011].
In the latter work, RGB color and depth gradients (D), which both have a two-
dimensional correlation structure, are channel coded and concatenated. is approach leads
to improved segmentation performance, see Figure 3.8. Presumably, the segmentation perfor-