<!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 Hybrid Image-Based Method to Generate Sketching Portrait</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Ling Xu</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>David Mould</string-name>
          <email>mould@scs.carleton.ca</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>School of Computer Science, Carleton University</institution>
          ,
          <country country="CA">Canada</country>
        </aff>
      </contrib-group>
      <fpage>6</fpage>
      <lpage>7</lpage>
      <abstract>
        <p>In this paper, we describe a hybrid algorithm to create a sketch-like portrait from an input image. First, a user manually selects the face region from the input image. We use an image based method to render the subjects facial features and enhance the shading areas. A stroke based method is then applied to non-face regions to render the silhouette, creases and some dark regions. We show some examples of sketching portraits created by our method and make comparisons to original input images.</p>
      </abstract>
      <kwd-group>
        <kwd>Sketch</kwd>
        <kwd>portrait</kwd>
        <kwd>NPR</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>INTRODUCTION</title>
      <p>Sketching is a classical drawing style that appears in a variety of
contexts. Computer generated methods are often used to convert
an input image into sketchy styles. But the results are not
satisfactory due to the absence of shading variations, vital to express facial
information.</p>
      <p>
        Commercial image processing tools concentrate on edge and
silhouette features. Our method includes such features as well, but
focuses on rendering a shading effect inspired by the sketching style
of Leonard da Vinci (as shown in Figure 1) [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], which emphasizes
on the shading and facial features and deemphasizes the
surroundings. Our algorithm shares some characteristics with Brooks’s
method of mixed media portrait rendering [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] such as
segmentation and interest in image detail, but our method involves feature
and shading enhancement.
      </p>
    </sec>
    <sec id="sec-2">
      <title>ALGORITHM</title>
      <p>We chose human portrait as our sketch subject due to the great
interest from the general public. The objective of our sketching
style bears some similar characteristics as Figure 1:
- Exaggerated shading in the face region;
- Curved strokes describing the silhouette and creases;
- Straight-line strokes rendering the dark regions;
- Background blurred away from the face region with a smooth
2.1</p>
    </sec>
    <sec id="sec-3">
      <title>Shading and Feature Enhancement</title>
      <p>
        In order to manage the shading and feature information, we use
the tone management approach introduced by Bae et al [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. For a
given input image, we apply a bilateral filter to get the base layer
and the detail layer. For the base layer which contains the
shading information, we want to control the proportion of pixels with
low intensity, medium intensity and high intensity; we achieve this
with histogram matching. Since the detail layer bears the feature
information which is generally contained in the low intensity pixels,
we discard the high intensity portion by clipping the high intensity
part of the histogram. With a similar method we get the feature
enhanced detail layer. The process is shown in Figure 2.
      </p>
      <p>We then recompose the shading enhanced base layer and the
feature enhanced detail layer. To simulate the effect of a background
blurred away from the face region, we blurred the non-face region
as shown in Figure 3. The face region and non-face region of the
original image is segmented manually.</p>
    </sec>
    <sec id="sec-4">
      <title>Stroke Rendering</title>
      <p>The strokes of curves that describe the basic shape such as the
silhouette and creases are obtained by Canny edge detection. The
process is shown in Figure 4. Straight lines are used to render the
shading and to imitate some quick pencil scratches which often
appear in many sketch works. More strokes are placed in low intensity
regions of the image. The result is shown in Figure 5.
3</p>
    </sec>
    <sec id="sec-5">
      <title>RESULTS AND DISCUSSION</title>
      <p>Figure 6 shows some results obtained by the above method. For
some input images with flat shading such as the first image, we
successfully enhance the original flat shading to three distinct
shading levels such as the dark shading in the areas of eyes and cheeks,
medium dark shading in the nose, and highlights in the forehead and
chin. For the input images with more obvious highlight regions and
dark regions such as the second image, we keep the original well
shaded information (such as the nose region) and enhance some
features (such as the eye region).</p>
      <p>Our current algorithm still has some drawbacks. The rendering
result depends on the quality of the input image. If the input image
is of low resolution, the shading and feature information is difficult
to enhance. If the input image contains large areas of flat shading,
say a large area of pure white or gray, it is hard for the algorithm to
enhance the shading into distinct levels. Another drawback is the
segmentation of input image into face region and non-face region.
In the current implementation, users need to do the segmentation
manually; in principle, face recognition could be used to extract a
mask automatically.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>S.</given-names>
            <surname>Bae</surname>
          </string-name>
          , S. Paris, and
          <string-name>
            <given-names>F.</given-names>
            <surname>Durand</surname>
          </string-name>
          .
          <article-title>Two-scale tone management for photographic look</article-title>
          .
          <source>ACM Trans. Graph</source>
          .
          <volume>25</volume>
          ,
          <issue>3</issue>
          , pages
          <fpage>637</fpage>
          -
          <lpage>645</lpage>
          ,
          <year>2006</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>S.</given-names>
            <surname>Brooks</surname>
          </string-name>
          .
          <article-title>Mixed media painting and portraiture</article-title>
          .
          <source>In IEEE Transactions on Visualization and Computer Graphics</source>
          ,
          <year>2006</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>M.</given-names>
            <surname>Clayton</surname>
          </string-name>
          . Seven Florentine Heads:
          <article-title>Fifteenth Century Drawing from the Collection of Her Majesty The Queen</article-title>
          .
          <source>Art Gallery of Ontario</source>
          , Toronto,
          <year>1993</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>