GPU Accelerated Sparse Representation of Light Fields
Gabriel Baravdish, Ehsan Miandji and Jonas Unger
Department of Science and Technology, Linköping University, Bredgatan 33, Norrköping, Sweden
Keywords:
Light Field Compression, Gpgpu Computation, Sparse Representation.
Abstract:
We present a method for GPU accelerated compression of light fields. The approach is by using a dictionary
learning framework for compression of light field images. The large amount of data storage by capturing light
fields is a challenge to compress and we seek to accelerate the encoding routine by GPGPU computations.
We compress the data by projecting each data point onto a set of trained multi-dimensional dictionaries and
seek the most sparse representation with the least error. This is done by a parallelization of the tensor-matrix
product computed on the GPU. An optimized greedy algorithm to suit computations on the GPU is also
presented. The encoding of the data is done segmentally in parallel for a faster computation speed while
maintaining the quality. The results shows an order of magnitude faster encoding time compared to the results
in the same research field. We conclude that there are further improvements to increase the speed, and thus it
is not too far from an interactive compression speed.
1 INTRODUCTION
Light field imaging has been an active research topic
for more than a decade. Several new techniques have
been proposed focusing on light field capture (Liang
et al., 2008; Babacan et al., 2012), super-resolution
(Wanner and Goldluecke, 2013; Choudhury et al.,
2017), depth estimation (Vaish et al., 2006; Williem
and Park, 2016), refocusing (Ng, 2005), geometry
estimation (Levoy, 2001), and display (Jones et al.,
2016; Wetzstein et al., 2012). A light field repre-
sents a subset of the Plenoptic function (Adelson and
Bergen, 1991), where we store the outgoing radiance
at several spatial locations (r
i
,t
j
), and along multi-
ple directions (u
α
,v
β
), as well as as the spectral data
λ
γ
. Note that here we consider a discrete function
l(r
i
,t
j
,u
α
,v
β
,λ
γ
) containing the light field of a scene.
The ongoing advances in sensor design, as well as
computational power, have enabled imaging systems
capable of capturing high resolution light fields along
angular and spatial domains. A key challenge in such
imaging systems is the extremely large amount of data
produced. Difficulties arise in terms of bandwidth du-
ring the capturing phase and the storage phase. Fast
and high quality compression is essential for existing
imaging systems, as well as future designs due to the
rapid increase in the amount of data produced.
In (Miandji et al., 2013) and (Miandji et al., 2015),
a learning based method for compression of light
fields and surface light fields is proposed. After di-
viding a collection of light fields into small two di-
mensional (2D) patches (i.e. matrices), a training
algorithm computes a collection of orthogonal basis
functions. These orthogonal basis functions are in
essence code words that enable sparse representation
(Elad, 2010) of light fields. We refer to these basis
functions as dictionaries, a commonly used term in
sparse representation literature (Aharon et al., 2006).
The training process is performed once on a collection
of light fields. Once the dictionaries are trained, the
next step is to project the patches from a light field we
would like to compress onto the dictionaries. The re-
sult is a set of sparse coefficients, which significantly
reduces the storage cost. While the method produces
a representation with a small storage cost and high
reconstruction quality, the projection step is computa-
tionally expensive. This makes the utility of the algo-
rithm for capturing light fields impractical.
In this paper we propose a GPU accelerated algo-
rithm that enables the sparse representation of light
field data sets for compression. This algorithm repla-
ces the projection step discussed in (Miandji et al.,
2013) and (Miandji et al., 2015), given a set of pre-
computed 2D dictionaries. Moreover, we show that
our algorithm can be extended to higher dimensions,
i.e. instead of using 2D patches, we use 5D patches
for light fields. The higher dimensional method is
shown to be favorable in terms of performance. While
we focus on light fields, we believe our method can
be used for variety of other large scale data sets in
Baravdish, G., Miandji, E. and Unger, J.
GPU Accelerated Sparse Representation of Light Fields.
DOI: 10.5220/0007393101770182
In Proceedings of the 14th International Joint Conference on Computer Vision, Imaging and Computer Graphics Theory and Applications (VISIGRAPP 2019), pages 177-182
ISBN: 978-989-758-354-4
Copyright
c
2019 by SCITEPRESS – Science and Technology Publications, Lda. All rights reserved
177