<!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>Design of a Perceptual-based Object Group Selection Technique</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Hoda Dehmeshki</string-name>
          <email>hoda@cs.yorku.ca</email>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Wolfgang Stuerzlinger</string-name>
          <email>wolfgang@cs.yorku.ca</email>
        </contrib>
      </contrib-group>
      <fpage>33</fpage>
      <lpage>34</lpage>
      <abstract>
        <p>Selecting groups of objects is a common task in graphical user interfaces. Current selection techniques such as lasso and rectangle selection become time-consuming and error-prone in dense configurations or when the area covered by targets is large or hard to reach. This paper presents a new pen-based interaction technique that allows users to efficiently select perceptual groups formed by the Gestalt principle of good continuity.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1 INTRODUCTION</title>
      <p>
        Selecting groups of objects is a common task in graphical user
interfaces and is required for many standard operations. Current
selection techniques such as lasso and rectangle selection become
time-consuming and error-prone in dense configurations or when
the area covered by targets is large or hard to reach.
Perceptualbased selection techniques considerably reduce selection time when
targets form perceptual groups, as predicted by Gestalt principles
of proximity and good continuity. However, they use heuristic and
not-validated grouping algorithms. Also, they do not allow editing
of a selection or selecting of groups with random configurations.
Dehmeshki and Stuerzlinger developed a perceptual-based object
group selection technique for mouse-based user interfaces [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. In
their system double-clicking on an object that is part of multiple
(curvi-)linear groups selects all the groups. To deselect an
undesired group, the user alt-clicks on its first non-desired object. Three
key elements distinguish that system from the present work. First,
clicks can specify only the location of a group but not the direction
in which a group of objects extends. This makes selection less
efficient when objects belong to multiple groups. Second, it provides
no support for selecting non-perceptual groups. Finally, their
system relies heavily on multiple-clicks, which is not appropriate for
pen-based systems. This problem is shared by other techniques that
use multi-clicking to cycle through different perceptual
interpretations [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ].
      </p>
    </sec>
    <sec id="sec-2">
      <title>PERSEL</title>
      <p>This paper introduces PerSel, a new pen-based object group
selection technique, which addresses the mentioned problems. PerSel
consists of two components: The first component detects good
continuation groups based on a neighborhood graph. The second
provides a set of pen-based interaction techniques that use the detected
groups to facilitate path-based selection.</p>
    </sec>
    <sec id="sec-3">
      <title>Detecting Good Continuation Groups</title>
      <p>The system first constructs a neighborhood graph. When the user
performs a straight flick gesture starting from inside an object, the
system examines all edges in the neighborhood graph that are
connected to this object and picks the one which has the closest
direction and distance to the gesture. The object and the edge are called
the anchor object and the anchor edge, respectively.</p>
      <p>
        PerSel is based on an implementation of Feldman’s model [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] for
linear groups which models paths as groupings of four objects
combined with a sliding window paradigm. Given an anchor object 1
and anchor edge e, the algorithm finds all paths of length four
starting from 1 and along edge e, see also figure 1. We call these paths
primary paths. Then, for each primary path, the method computes a
linearity coefficient (LC) that indicates how strongly the four nodes
are perceived as a line:
      </p>
      <p>LC = exp
(a21 + a2</p>
      <p>
        2
2s2(1
2ra1a2) !
r2)
;
where a1 and a2 are the angles between lines connecting the center
of objects, and r and s are experimentally determined constants [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ].
      </p>
      <p>Primary paths with a LC smaller than a threshold are discarded
as they are unlikely to be perceptually salient.If at least one primary
path remains, the algorithm continues as follows: for each path it
searches its potential continuations by identifying all neighbors of
the last object in the path. Then, the four-object window is shifted
to include each neighbor and the LC is computed in turn. If the
new LC is smaller than a threshold, that completion is ignored,
otherwise, the extension of the path with this neighbor is added to a
stack. If all of the neighbors of the last node are unacceptable, the
original path is kept; otherwise, the original path is discarded since
at least one good extension has been found. The algorithm
continues until all paths inside the stack have been processed.</p>
      <p>Figure 1 illustrates this. In Fig. 1-a, the anchor node ‘1’ and
anchor edge ‘e’ are represented by thick borders. All four-vertex
windows with small LC are visualized with ovals, while the ones with
large LC are shown in rectangles. There are three primary paths,
see Fig. 1-b, but only the one inside the rectangle is considered for
further extension. After two more iterations, see Fig. 1-c and d,
only the straight path is returned as being perceptually plausible,
see Fig. 1-e.</p>
      <p>For line gestures that cross an object, the gesture is first
decomposed into two half-gestures, using the closest point of the gesture
relative to the center of the object. Then, the linear groups
corresponding to each half is found using the above methods, and then
the two groups are merged.</p>
      <p>Curvilinearity group detection: Similar to the linear case,
when the user performs an arc gesture starting from inside an
object, the system examines the edges in the neighborhood graph that
are connected to this object. The edge closest to the gesture is
picked, as defined by the sum of distances between gesture points
and the edge. The rest of algorithm works similar to the linear case,
except that: (1) we use the curvilinearity coefficient that adapts the
formula for LC by using the deviation from the average angle
instead of the angles themselves, and (2) in the initial phase we only
consider primary paths that turn in the same direction as the gesture.</p>
    </sec>
    <sec id="sec-4">
      <title>Gestural Interaction</title>
      <p>In this section we explain the gestural interaction techniques
available in PerSel. As common in pen-based systems, tapping on a
single object selects it. Also, PerSel cancels all selections
whenever the user taps the pen on the background. This affords a simple
and fast way to cancel erroneous selections.</p>
      <p>Path Selection: Performing a straight gesture across an object
selects the Good Continuation group aligned with the gesture
direction. Similarly, an arc gesture across an object selects the
curvilinear group that has a similar direction as the gesture. In both cases,
the selected group is visualized by links connecting the successive
objects, see Fig. 2.</p>
      <p>(a)
(b)
(c)
(d)</p>
      <p>Partial Path Selection: There are two alternatives for partial
selection of paths. The first way is to select the complete path and
then cut undesired part(s) by drawing a flick gesture across one (or
two) visualized links, see Fig. 3. The second alternative is to initiate
the selection by a flick gesture from inside an object, see Fig. 4.
(a)
(b)
(c)</p>
      <p>Resolving Non-Perceptual Groups If a gesture corresponds to
multiple potential curvilinear groups, all of them are selected. The
user can then disambiguate the section by deselecting the
nondesired groups. This is similar to the partial selection technique,
in that the paradigm of “cutting” links is used to separate the
nondesired objects from the targets, see Fig. 5.</p>
      <p>Selecting Paths With Multiple Segments: More complex paths
often consist of connected Good Continuity groups (segments). To
O2
A
O2</p>
      <p>C
O2</p>
      <p>B</p>
      <p>A</p>
      <p>A
enable selection of such paths, we introduce a new path editing
feature. Assume that a path is already selected. If the user draws a
gesture across an already selected node (called an anchor), a
supplementary anchor is created. Then the selected path is modified by
(1) automatically deselecting objects on the path beyond the new
anchor, and (2) adding the new (curvi-)linear group corresponding
to the new gesture and anchor to the selection, see Fig. 6.</p>
      <p>O1</p>
      <p>O2</p>
      <p>O3
(a)
This paper presented PerSel, a new gesture-based selection
technique that is based on the Gestalt principle of Good Continuation.
Performing a flick gesture crossing an object selects the
(curvi)linear group(s) that the object belongs to and is aligned with the
gesture direction. PerSel also provides interaction techniques that
allow users to perform partial group selection and selecting groups
with arbitrary configurations. As future work we will include
Gestalt principle of similarity and extend PerSel to deal with
objects with different visual features such as shape and size.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>H.</given-names>
            <surname>Dehmeshki</surname>
          </string-name>
          and
          <string-name>
            <given-names>W.</given-names>
            <surname>Stuerzlinger</surname>
          </string-name>
          .
          <article-title>Intelligent mouse-based object group selection</article-title>
          .
          <source>In Smart Graphics</source>
          ,
          <year>2008</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>J.</given-names>
            <surname>Feldman</surname>
          </string-name>
          . Curvelinearity, covariance, and
          <article-title>regularity in perceptual groups</article-title>
          .
          <source>Vision Research</source>
          ,
          <volume>37</volume>
          (
          <issue>20</issue>
          ):
          <fpage>2835</fpage>
          -
          <lpage>2848</lpage>
          ,
          <fpage>97</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>E.</given-names>
            <surname>Saund</surname>
          </string-name>
          and
          <string-name>
            <given-names>T.</given-names>
            <surname>Moran</surname>
          </string-name>
          .
          <article-title>A perceptually-supported sketch editor</article-title>
          .
          <source>In Proceedings of the ACM Symposium on User Interface Software and Technology-UIST'94</source>
          , pages
          <fpage>175</fpage>
          -
          <lpage>184</lpage>
          , New York,
          <year>1994</year>
          . ACM.
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>