<!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>Oil Painting Rendering Changeable by Light Effect</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Sungkuk Chun</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Keechul Jung</string-name>
          <email>kcjung@ssu.ac.kr</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>HCI Lab., Soongsil University</institution>
        </aff>
      </contrib-group>
      <fpage>2</fpage>
      <lpage>3</lpage>
      <abstract>
        <p>Traditional oil painting works enable the spectators to feel the various impressions because it can be shown differently by the changes of light effect. The reason of oil painting's distinguishing feature is that it contains the texture and volume of color expressed by thickness of used pigments and brushing. In this paper, we present a novel method that reproduces oil painting-like image from a source picture based on a virtual light and nonphotorealistic rendering technique. To generate the oil paintinglike image as an output, the system first performs stroke distribution, which is to determine where a brush is located for stroking, using edge detection and image segmentation on an input picture. And the intermediate image is constructed with the suitable color, orientation and size of brush at each stroke point. At last, the system applies light effect to the intermediate image and generates the oil painting-like image.</p>
      </abstract>
      <kwd-group>
        <kwd>Non-photorealistic Rendering</kwd>
        <kwd>oil painting</kwd>
        <kwd>aesthetic</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>INTRODUCTION</title>
      <p>
        In the recent decade, artists express their creativity not only
through the intuitive expression but with the help of computer
technologies such as image processing, computer vision, and
computer graphics. And using these research fields, a more
aesthetically evolution of digital art is being represented into a
fascinating digital form. The aim of these researches, such as
nonphotorealistic rendering techniques [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ][
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], is to make use of
computer techniques to reproduce an aesthetic digital art
representation from a still image.
      </p>
      <p>The lots of existing non-photorealistic rendering methods have
a tendency to focus on intrinsic and technical aspects of how to
paint the image similarly to real painting works. In these methods,
it is important to determine the order, the direction, and the
number of strokes for painterly rendered image generation.
However, for the oil painting works, the extrinsic and
environment points such as light effect also acts essentially,
because the texture and the volume variable by the different light
conditions enable to give spectators various impressions.</p>
      <p>
        In this paper, we present a novel method that reproduces oil
painting-like image from a source picture based on a virtual light
and non-photorealistic rendering technique. The system first
performs stroke distribution to determine the point to be stroke, by
using edge detection and image segmentation [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] on an input
picture. And the intermediate image is constructed with the
suitable color, orientation and size of brush at each stroke point.
At last, intermediate image transformation based on the light
      </p>
    </sec>
    <sec id="sec-2">
      <title>PROPOSED SYSTEM</title>
      <p>This paper proposes a non-photorealistic rendering system to
create an oil painting-like image from an input picture. The
system consists of three modules, stroke distribution, painterly
rendering, and intermediate image transformation. Figure 1 shows
the process of proposed system.</p>
      <p>Stroke distribution process as the first step is to decide the
stroke point where the brush texture defined by user is located.
For the determination of stroke point, the system analyzes the
local complexity of an input image using edge detection and
image segmentation.</p>
      <p>
        In painterly rendering process based on the existing method [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ],
the system draws an intermediate image from an input picture by
using local image moments [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] and the stroke distribution.
      </p>
      <p>Intermediate image transformation retouches the intermediate
image by using light effect and the number of stroke times at each
pixel. After this work, the oil painting-like image that changeable
by light direction and light power is created.
2.1</p>
    </sec>
    <sec id="sec-3">
      <title>Stroke Distribution</title>
      <p>As artists decide initially where they paint, the proposed system
also determines by first the stroke point to be painted. In order for
stroke distribution, the system analyzes the local complexity of
the input picture using edge detection and image segmentation.
This process is based on two assumptions; 1) complicated region
must be painted using lots of small and delicate brushes, 2) simple
region must be painted using a suitable brush to the region.</p>
      <p>Edge detection is used to extract the location where a rapid and
complex color change between neighboring pixels is appeared.
Through this method, it is possible to recognize the complicated
region having large color variation.</p>
      <p>In case of simple region extraction, the system applies image
segmentation, which is generally used for grouping the neighbor
pixels that consists of similar colors. And then the central points
of segmented regions are defined as the stroke point.
Painterly rendering as second process is to generate a
paintinglike image as an intermediate image based on the stroke
distribution computed from the previous step and local image
moments. For rendering the image, the following three properties
must be defined; 1) brush texture, 2) stroke properties, 3) stroke
order.</p>
      <p>Brush texture that means the style of brush is defined by user.
And stroke properties, such as suitable brush color, location,
orientation, and size to each stoke point, can be obtained by local
image moments which are used for calculating the centoid, width,
height, orientation of local image. Stroke order is in order to paint
large regions first, and depict small regions on the painted large
regions based on the brush size at each stroke point.
To create the oil painting-like image, the system transforms the
intermediate image by using light direction, light power, and the
number of stoke times at each pixel.</p>
      <p>For application of light effect, the system utilizes two kinds of
data, depth map (D) and gradient map (G). Depth map contains
the number of stroke times at each pixel, and gradient map is
obtained by differentiation of depth map along the defined light
direction. Through adding the gradient image to the intermediate
image, a transformed image (T) as the oil painting-like image is
completed. The following equations represent intermediate image
transformation. In these equations, , , , , and ,
mean respectively a pixel value in the transformed image, the
gradient image, and the intermediate image.</p>
      <p>, , ,
Here, is a light power parameter and
following equation,
,
, 0 .
is calculated by the
(1)
, 1, if left light
, ,, , 11, iiff briogthtot mliglhigtht ,
, , 1 if top light
where , is a pixel value in the depth map.</p>
      <p>Figure 3(a) and (b) are the results by using right light and top
light respectively. As shown in Figure 3, the system enables to
generate the oil painting-like image changeable by the light effect.
(2)
We have tested 50 pictures obtained from the web for the
experiments. Two examples of them are shown in Figure 4.</p>
    </sec>
    <sec id="sec-4">
      <title>CONCLUSION</title>
      <p>This paper proposed a novel method of reproducing oil
paintinglike image from a source picture based on virtual light effect and
non-photorealistic rendering technique. Computational
methodology such as edge detection, color quantization based
image segmentation, and image moments serves as the core
engine for stroke distribution and painterly rendering. And
through applying light effect into the intermediate image, the
system generated oil painting-like image changeable by virtual
light condition. For the future work corresponding to this, we will
try to apply the more reasonable light effect through analysis of
light flow on an input picture.</p>
    </sec>
    <sec id="sec-5">
      <title>Acknowledgements</title>
      <p>This research was supported by the MKE(The Ministry of
Knowledge Economy), Korea, under the ITRC(Information
Technology Research Center) support program supervised by the
NIPA(National IT Industry Promotion
Agency)(NIPA-2009(C1090-0902-0007)), and the Soongsil University BK 21 Digital
Media Division.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>A.</given-names>
            <surname>Hertzmann</surname>
          </string-name>
          .
          <article-title>Painterly rendering with curved brush strokes of multiple sizes</article-title>
          .
          <source>Proceedings of SIGGRAPH '98, Computer Graphics Proceedings, Annual Conference Series</source>
          , pages
          <fpage>453</fpage>
          -
          <lpage>460</lpage>
          . ACM SIGGRAPH, ACM Press,
          <year>1998</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>M.</given-names>
            <surname>Shiraishi</surname>
          </string-name>
          and
          <string-name>
            <given-names>Y.</given-names>
            <surname>Yamaguchi</surname>
          </string-name>
          .
          <article-title>An algorithm for automatic painterly rendering based on local source image approximation</article-title>
          .
          <source>Proceedings of 1th International Symposium on Non Photorealistic Animation and Rendering</source>
          , pages
          <fpage>53</fpage>
          -
          <lpage>58</lpage>
          ,
          <year>2000</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>A. H.</given-names>
            <surname>Dekker</surname>
          </string-name>
          .
          <article-title>Kohonen neural networks for optimal colour quantization</article-title>
          .
          <source>Network: Computation in Neural Systems</source>
          , volume
          <volume>5</volume>
          , pages
          <fpage>351</fpage>
          -
          <lpage>367</lpage>
          ,
          <year>1994</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>C.H.</given-names>
            <surname>The</surname>
          </string-name>
          and
          <string-name>
            <given-names>R.T.</given-names>
            <surname>Chin</surname>
          </string-name>
          .
          <article-title>On image analysis by the methods of moments</article-title>
          .
          <source>IEEE Transactions on Pattern Analysis and Machine Intelligence</source>
          , volume
          <volume>10</volume>
          , pages
          <fpage>496</fpage>
          -
          <lpage>513</lpage>
          ,
          <year>1988</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>