Table 1: EMD and SIFTflow measures for images of Retar-
getMe framework.
Measure EMD SIFTflow
Monte-carlo 8.01± 3.23· 10
3
3.98± 2.02· 10
5
Multi-operator 8.30± 3.58· 10
3
3.94± 1.99· 10
5
Non-homogeneous 8.68±3.73· 10
3
4.12± 2.15· 10
5
Seam carving 8.69± 3.60· 10
3
4.09± 2.38· 10
5
Scale and stretch 8.95± 3.82· 10
3
5.37± 2.69· 10
5
4.1 Complexity Considerations
Looking at the proposed retargeting operator from a
complexity perspective, is possible to take both mem-
ory and computational considerations.
The memory amount required to store all the data
needed to retarget an image composed of s into one
composed of s
′
lines is the following:
• s real values to store the positions of the lines l
i
,
• s real values to store the dpmf,
• s
′
· k
lod
real values to store the samples extracted
from the dpm f,
As a consequence, the proposed method needs a total
of 2s · s
′
· k
lod
real values, keeping the memory com-
plexity polynomial.
From a computational point of view, the main bur-
den is related to the saliency extraction which is com-
mon in all of the retargeting methods, so it is not con-
sidered. For the same reason, image reconstruction
is not taken into account. The rest of the process is
accomplished by the following operations:
• Design of the dpmf. Each value p
d
(i) is designed
starting from the saliency S(i, j) using the max(·)
operator → polynomial,
• Sampling p
d
(i). This operation is repeated s
′
·k
lod
times → polynomial,
• Updating of the lines position l
i
according to the
extracted samples → polynomial.
Being all of the subprocess polynomial, the whole
procedure is polynomial too. In addition, all of the
previous operations can be easily implemented in par-
allel, since little or no dependencies exists both be-
tween data and processes. This allow very fast one-
shot retargeting of images, opposed to many of the
reference literature methods relying onto iterative op-
timization.
5 CONCLUSIONS AND FUTURE
WORKS
A novel efficient method for image retargeting was
presented. It is based on Monte Carlo sampling of the
deformation probability mass function of the image,
which is defined using the image saliency map. This
allows its use for real-time applications. Experimen-
tal results show that its performance are comparable
or even superior tested against more complex existing
systems. The method keeps its complexity very low
both from a memory and computational perspective,
also leveraging the parallelization of its processes.
Further work will involve overall system improve-
ments and its extension to video resizing. This issue
requires the introduction of a time-coherent saliency
map and further constraints. Additionally, the model
will be embedded in systems making use of retarget-
ing for real-time applications, such as personalized
media content distribution on mobile devices or the
web.
REFERENCES
(2007). NVIDIA CUDA Compute Unified Device Architec-
ture - Programming Guide.
Avidan, S. and Shamir, A. (2007). Seam carving for
content-aware image resizing. ACM Trans. Graph.,
26(3):10.
Dalal, N. and Triggs, B. (2005). Histograms of oriented gra-
dients for human detection. In Computer Vision and
Pattern Recognition, 2005. CVPR 2005. IEEE Com-
puter Society Conference on, volume 1, pages 886 –
893 vol. 1.
Harris, C. and Stephens, M. (1988). A combined corner and
edge detection. In Proceedings of The Fourth Alvey
Vision Conference, pages 147–151.
Hou, X., Harel, J., and Koch, C. (2012). Image signature:
Highlighting sparse salient regions. IEEE Trans. Pat-
tern Anal. Mach. Intell., 34(1):194–201.
Itti, L., Koch, C., and Niebur, E. (1998). A model of
saliency-based visual attention for rapid scene anal-
ysis. IEEE Transactions on Pattern Analysis and Ma-
chine Intelligence, 20:1254–1259.
Liu, C., Yuen, J., Torralba, A., Sivic, J., and Freeman, W. T.
(2008). SIFT Flow: dense correspondence across dif-
ferent scenes. In ECCV.
Lowe, D. G. (2004). Distinctive image features from scale-
invariant keypoints. Int. J. Comput. Vision, 60(2):91–
110.
Pele, O. and Werman, M. (2009). Fast and robust earth
mover’s distances. In ICCV.
Rubinstein, M., Gutierrez, D., Sorkine, O., and Shamir, A.
(2010). A comparative study of image retargeting.
ACM Transactions on Graphics (Proc. SIGGRAPH
Asia), 29(5).
Rubinstein, M., Shamir, A., and Avidan, S. (2008). Im-
proved seam carving for video retargeting. ACM
Trans. Graph., 27(3):1–9.
Rubinstein, M., Shamir, A., and Avidan, S. (2009). Multi-
operator media retargeting. ACM Transactions on
Monte-CarloImageRetargeting
407