<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>A Spatial Algebra for Multimedia Document Adaptation</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Se´bastien Laborie</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Je´roˆ me Euzenat</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Nabil Laya¨ıda</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Authors are with INRIA Rhoˆne-Alpes</institution>
          ,
          <addr-line>655 Avenue de l'Europe 38334 Saint Ismier</addr-line>
          <country country="FR">France</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>- The multiplication of execution contexts for multimedia documents requires the adaptation of document specifications. This paper instantiates our previous semantic approach for multimedia document adaptation to the spatial dimension of multimedia documents. Our goal is to find a qualitative spatial representation that computes, in a reasonable time, a set of adaptation solutions close to the initial document satisfying a profile. The quality of an adaptation can be regarded in two respects: expressiveness of adaptation solutions and computation speed. In this context, we propose a new spatial representation sufficiently expressive to adapt multimedia documents faster.</p>
      </abstract>
      <kwd-group>
        <kwd>Semantic adaptation</kwd>
        <kwd>qualitative reasoning</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>I. INTRODUCTION</title>
      <p>A multimedia document may be played on different devices
with different capabilities: phones, PDAs, etc. These introduce
different constraints on the presentation itself. For instance,
display limitations can prevent overlapping regions from being
displayed at the same time for visibility reasons.</p>
      <p>To satisfy these constraints, multimedia documents must
be adapted, i.e., transformed into documents compatible with
the target contexts before being played. Several kinds of
adaptation are possible, such as local adaptation (adaptation of
media objects individually) and global adaptation (adaptation
of the document structure). This paper focuses on the latter.</p>
      <p>
        In [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], we have proposed a framework for adapting a
multimedia document based on the qualitative semantics of
the documents and constraints. This work has been applied to
descriptions based on the Allen algebra [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ].
      </p>
      <p>
        As far as the spatial dimension is concerned (§II), many
qualitative representations can be used to describe documents.
Some of them are very precise, e.g., the directional
representation [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], but with a high adaptation computational cost. Others,
like the RCC representation [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ], can be used to quickly adapt
multimedia documents but lack expressiveness. In order to find
an adapted document that is acceptable both in computing
time and precision, we introduce a new algebra of relations
particularly useful in this context (§III).
      </p>
      <p>II. MULTIMEDIA DOCUMENT SPECIFICATION</p>
      <p>Multimedia documents are defined by their temporal,
spatial, logical and interactive dimensions. This paper focuses on
the adaptation of multimedia documents along their spatial
dimension. The organization of such a document over space
is presented in Fig. 1. It features a multimedia presentation
of an Art and Architecture Tour composed of different panels
like a Logo, a Text area, a Photo and a Map.</p>
    </sec>
    <sec id="sec-2">
      <title>Logo</title>
    </sec>
    <sec id="sec-3">
      <title>Photo</title>
    </sec>
    <sec id="sec-4">
      <title>Text</title>
      <p>Map
Fig. 1. Multimedia document example (left) and spatial dimension (right).</p>
      <p>III. ADAPTATION OF A NEW SPATIAL REPRESENTATION
We present a new spatial representation called ABLR,
adapted to the multimedia adaptation task and illustrate it with
the example of Fig. 1.</p>
      <p>A. A new spatial representation: ABLR</p>
      <p>Preserving the directionality property, i.e., orientation in
space, with a sufficient number of relations is our major goal.
Thus, we propose to group together some Allen relations
expressing the same directionality property.</p>
      <p>Suppose two multimedia objects X and Y . On a horizontal
point of view, six relations can be identified to specify directive
qualitative information between them (idem for the vertical
axis). These relations are presented in Fig. 2. The first line is
made of the 13 Allen relations, grouped together for preserving
the directionality property. For example, the relations before
and meets between X and Y specifies that X is on the left of
Y (if we consider the horizontal axis). Thus, we can deduce
62 spatial relations.</p>
      <p>X
X</p>
      <p>Y</p>
      <p>Y</p>
      <sec id="sec-4-1">
        <title>X left Y (L) X above Y (A)</title>
        <p>X
Y
X
Y
X
Y</p>
      </sec>
      <sec id="sec-4-2">
        <title>X overlaps−left Y X contains Y</title>
        <p>(OL) (CX)
X overlaps−above Y X contains Y
(OA) (CY)
X Y
X
Y
X
Y
X</p>
        <p>Y
X inside Y</p>
        <p>(IX)
X inside Y
(IY)</p>
        <p>Y</p>
        <p>X
Y</p>
        <p>X</p>
        <p>Y
Y</p>
        <p>X
X</p>
      </sec>
      <sec id="sec-4-3">
        <title>X overlaps−right Y</title>
        <p>(OR)
X overlaps−below Y
(OB)</p>
      </sec>
      <sec id="sec-4-4">
        <title>X right Y (R) X below Y (B)</title>
        <p>Fig. 2. The ABLR spatial representation.</p>
        <p>In Fig. 1, the Logo is on the left (L) and inside vertically
(Iy ) of the Text (Fig. 3, left). Hence, having the relation L Iy
between Logo and Text.</p>
        <p>B. Semantic adaptation of the ABLR spatial representation</p>
        <p>
          In [
          <xref ref-type="bibr" rid="ref1">1</xref>
          ], a semantic approach for multimedia document
adaptation is defined. This approach interprets each document as
the set of its potential executions, i.e., related to the initial
document and a profile as the set of possible executions. In
this context, “adapting” amounts to find the set of potential
executions that are possible. When none is possible, the goal
of adaptation is to find executions as close as possible to
potential executions that satisfy the profile. We consider both
the multimedia document specifications and the profiles as
a set of relations holding between multimedia objects. The
potential and possible executions are ideally represented by
relation graphs. Fig. 3 presents two relation graphs.
        </p>
        <p>Logo {L Iy} // T ext Logo {L Iy} // T ext
P ho{tIoyysxKsKsAKs{{K}sOOKsKRLsKsKCAsKsy}Ks}{KsOKsKRsKsKOsKs//A%%M} ap P ho{tIoyysxKsKsAKs{{K}sORKsKLsKCsKAysKs}}KsKsK{sKRsKsKOsKs//A%%M} ap
{OL OA}
{OL A}</p>
        <p>The potential executions (left) include, in particular, the
execution of Fig.1. The possible executions correspond to the
following profile: overlapping visible objects are impossible
at a time. It may occur that some potential relations are not
possible (e.g., Text OR Cy Photo). In this context, adapting
consists of finding a set of relation graphs corresponding
to possible executions (i.e., respecting adaptation constraints)
at a minimal distance from the relation graph of potential
executions (i.e., the initial document specification).</p>
        <p>Proximity between two relation graphs depends on the
proximity between relations beared by the same edge in both
graphs. This proximity relies on the conceptual neighborhood
between these relations and is measured by the shortest path
distance in the corresponding conceptual neighborhood graph
(Fig. 4 presents the one of ABLR).</p>
        <p>L Cy</p>
        <p>OL Iy</p>
        <p>OL Cy Cx Cy OR Cy</p>
        <p>OR Iy</p>
        <p>R Cy
distance between the initial and the adapted graphs is 3. Fig 5
(left) presents an adapted execution of Fig. 3 (right).
1e+006
100000
10000
1
0.1
0.01 2</p>
        <p>A2D representation
RCC representation
ABLR representation
3
5
6</p>
        <p>
          We evaluate our spatial adaptation framework on SMIL
documents [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ] with the non-overlapping constraint. We have
compared experimentally three spatial representations, namely
the directional one [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ] (A2D), RCC [
          <xref ref-type="bibr" rid="ref4">4</xref>
          ] and ABLR. Our
benchmark was composed of 50 SMIL documents with i ∈
[
          <xref ref-type="bibr" rid="ref2">2, 6</xref>
          ] multimedia objects. Results are provided in Fig. 5 (right).
        </p>
        <p>As we can see the RCC representation is the most efficient
spatial representation for adapting multimedia documents.
However, this one is not precise enough. Our spatial
representation, which is a compromise between all the expressiveness
of the directional representation and the number of spatial
relations, provides much better results than the directional
representation. Moreover, we also observe that for each adaptation
the order of efficiency presented in Fig. 5 (right) is respected.</p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>V. CONCLUSION</title>
      <p>We have presented a way of applying our semantic
adaptation framework to the spatial dimension of multimedia
documents. A new spatial representation, called ABLR, has
been introduced which ensures a compromise between
expressiveness and computation speed.</p>
      <p>This work is limited to the spatial dimension, while
adaptation can take advantage of the other dimensions. We are
currently working on the extension of both the generic solutions
provided by the framework and the SMIL instantiations.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>J.</given-names>
            <surname>Euzenat</surname>
          </string-name>
          ,
          <string-name>
            <surname>N.</surname>
          </string-name>
          <article-title>Laya¨ıda, and V. Dias, “A semantic framework for multimedia document adaptation,”</article-title>
          <source>in Proc. of IJCAI'03</source>
          . Morgan Kauffman,
          <year>2003</year>
          , pp.
          <fpage>31</fpage>
          -
          <lpage>36</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>J.</given-names>
            <surname>Allen</surname>
          </string-name>
          , “
          <article-title>Maintaining knowledge about temporal intervals,” Communications of the ACM</article-title>
          , vol.
          <volume>26</volume>
          , no.
          <issue>11</issue>
          , pp.
          <fpage>832</fpage>
          -
          <lpage>843</lpage>
          ,
          <year>1983</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>D.</given-names>
            <surname>Papadias</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Sellis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Theodoridis</surname>
          </string-name>
          , and
          <string-name>
            <given-names>M. J.</given-names>
            <surname>Egenhofer</surname>
          </string-name>
          , “
          <article-title>Topological relations in the world of minimum bounding rectangles: a study with r-trees,” in SIGMOD'95: Proc. of the ACM SIGMOD international conference on Management of data</article-title>
          . ACM Press,
          <year>1995</year>
          , pp.
          <fpage>92</fpage>
          -
          <lpage>103</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>D. A.</given-names>
            <surname>Randell</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.</given-names>
            <surname>Cui</surname>
          </string-name>
          ,
          <article-title>and</article-title>
          <string-name>
            <given-names>A.</given-names>
            <surname>Cohn</surname>
          </string-name>
          , “
          <article-title>A spatial logic based on regions and connection</article-title>
          ,”
          <source>in KR'92. Principles of Knowledge Representation and Reasoning: Proc. of the Third International Conference</source>
          , B. Nebel, C. Rich, and W. Swartout, Eds., San Mateo (CA),
          <year>1992</year>
          , pp.
          <fpage>165</fpage>
          -
          <lpage>176</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>Synchronized</given-names>
            <surname>Multimedia Integration</surname>
          </string-name>
          <article-title>Language (SMIL 2.0) Specification</article-title>
          ,
          <fpage>W3C</fpage>
          ,
          <year>2001</year>
          . [Online]. Available: http://www.w3.org/TR/smil20/
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>