<!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>Fuzzification of HSI Color Space and its Use in Apparel Coordination</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Pakizar Shamoi</string-name>
          <email>pakita.shamoi@gmail.com</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Atsushi Inoue</string-name>
          <email>inoueatsushij@gmail.com</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Department of Computer Science, Eastern Washington University</institution>
          ,
          <country country="US">USA</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Department of Computer Science, Kazakh-British Technical University</institution>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Graduate School of Engineering, Mie University</institution>
        </aff>
      </contrib-group>
      <pub-date>
        <year>1965</year>
      </pub-date>
      <abstract>
        <p>Human perception of colors constitutes an important part in color theory. The applications of color science are truly omnipresent, and what impression colors make on human plays vital role in them. In this paper we offer the novel approach for color information representation and processing using fuzzy sets and logic theory, which is extremely useful in modeling human impressions. Specifically, we provide the fuzzification of HSI color space and further use it for obtaining the correspondence between colors and human impressions. In addition, the methodology is applied in the implementation of a framework for the apparel coordination based on a color scheme. It deserves attention, since there is always some uncertainty inherent in the description of apparels.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>
        Nowadays, the meaning of color is becoming more and
more important almost in every industry
        <xref ref-type="bibr" rid="ref5">(T. Lu and
C.Chang, 2007)</xref>
        . It is worth noting that the number of
unique colors can reach up to 16 million. Needless to say,
most of these colors are perceptually close and cannot be
differentiated by human eye which can differentiate only
between 30 colors in cognitive space.
      </p>
      <p>More and more related research efforts are oriented
towards application of fuzzy set theory to various tasks in
image processing (L. Hildebrand and B. Reusch, 2000).
This can be explained by the fact that digital images are
mappings of natural scenes and, thus, they carry a
substantial amount of uncertainty, due to the imprecise
nature of pixel values. Moreover, the human perception of
colors is in itself not precise. In most cases, human
perception of colors contrasts with color theory science
because these theories have always assumed perfect
conditions.</p>
      <p>The paper presented herein tackles this problem by
presenting the new methodology for color information
processing using fuzzy set theory.</p>
    </sec>
    <sec id="sec-2">
      <title>Motivations</title>
      <p>It is a well-known fact that most search engines nowadays
are based on indexing. For example, if we try to google
„elegant dresses‟, we get the result set for what we were
searching. If we open the provided links, it can be easily
seen that the corresponding web pages contain the word
„elegant‟ in the header. But it is obvious that there are
some really elegant dresses which are not indexed.
Unfortunately, users will never see them in search results.
So, the disadvantage of giving the keywords is obvious.</p>
      <p>Now let‟s provide another suitable example that can
prove the validity of the proposed approach. Nowadays,
“Taobao” website for online shopping is becoming
extremely popular in Kazakhstan. After a talk with Taobao
consultant, we identified two problems that most users
experience. The first problem is that very often users wish
to find similar items at lower prices. The other one is that
they want to be able to find some item given some picture
from internet, without knowing the brand, for instance.
There is a plenty of sites, which provide the service of
finding goods on taobao based on the image that the user
uploads. However, the functionality of these sites is
limited. Specifically, they can only find goods with the
absolutely same photo. That is why even if you download
the photo from Taobao, the service won‟t find the
corresponding item in case we change the image a bit –
add shading, brightness, cut some edges, flip it, etc. This
happens because such services can find goods based on
exactly the same images, not similar images.</p>
    </sec>
    <sec id="sec-3">
      <title>Overview of Color Representation Methods</title>
      <p>Color space is a method of color representation. There are
a number of color spaces popular today, but none of them
can dominate the others for all kinds of images. Based on
some color space we can develop Fuzzy color space, in
order to systematically organize the set of all possible
human color perceptions. Let‟s consider some of the most
popular color spaces.</p>
      <p>
        Well-known RGB system represents additive color
combinations (e.g. overlapping lights, display on LCD). It
is convenient for color image display, but not for analysis,
due to high correlation (N. Sugano, et al., 2009). So, if
intensity changes, all r, g and b values change accordingly.
As a result, chromatic information can be lost. Moreover, it
is not a uniform scale, so it is difficult to calculate the
similarity between colors based on their distance in RGB
space
        <xref ref-type="bibr" rid="ref3 ref4">(K. Konstantinidis, et al., 2005; Y. Li-jie, et al.,
2009)</xref>
        .
      </p>
      <p>Another popular system is CMYK, which is based on
subtractive color combinations (e.g. mixing dyes, inks,
pigments). Pigments display colors by the way of
absorbing some wavelengths of lights and reflecting the
remaining ones.</p>
      <p>The HSI model is also a popular color model at present,
and it has good performance. In HSI model, colors are
expressed using 3 attributes, namely, hue (e.g. red, orange,
green), intensity (light vs dark) and saturation (intense vs
dull).</p>
      <p>
        In most cases, the RGB model is often used to depict the
color information of an image
        <xref ref-type="bibr" rid="ref4">(Y. Li-jie, et al., 2009)</xref>
        .
However, recent researches in the field of image
processing mostly make use of HSI space. The reason is
that in HSI the specific color can be recognized regardless
of variations in saturation and intensity, since hue is
invariant to certain types of highlights, shading, and
shadows. So, it will be much easier to identify the colors
that are perceptually close and combine them to form
homogeneous regions representing the objects in the
image. As a result, the image could become more
meaningful and easier for analysis.
      </p>
      <p>We adopt the HSI color space, because of its similarity
with the way a human observes colors and the fact that the
intensity is separated from chrominance, so the chromatic
information of the original image will be preserved.</p>
    </sec>
    <sec id="sec-4">
      <title>Methodology</title>
      <p>The main idea of the proposed methodology is to provide
the mapping of different colors, color combinations and
human impressions of them (Fig.1). For achieving this, we
plan to use various tools, including color theory and color
harmony principles, fuzzy sets and logic, Mass Assignment
Theory, surveys, and histograms among others.</p>
      <sec id="sec-4-1">
        <title>Pale, Atomic,</title>
        <p>bright,
contextdeep dependent
and
contextindependent
colors
Atomic,
contextindependent colors</p>
        <p>In fact, same color can create different impressions in
different settings (apparel, interior coordination, medicine,
etc.). So, we can claim that impressions are
contextspecific. Therefore, we need to emphasize that the
proposed methodology aims to provide the correspondence
between colors and certain impressions - atomic(red) and
composite (pale red, formal and elegant) - expressed by
linguistic terms in some context. In simpler words, the
methodology provides Context-based Image Retrieval
(CBIR) based on color scheme. The context dependency
can be easily handled by fuzzy logic.</p>
        <p>In case of composite color impressions, which are based
on atomic ones with the help of various connectives, we
need to employ basic formulas from fuzzy theory.
Specifically, for the intersection (and) and union (or) we
As we know, in computer systems colors are represented
by various color spaces (RGB, CMYK, HSI). We chose
HSI for a number of reasons mentioned earlier. As for
impressions, they are expressed by linguistic terms (e.g.
formal, black and white, pale blue, etc.). The Table 1
below depicts the taxonomy, i.e. classification of color
impressions.
take the minimum and maximum of two memberships
respectively, to get the resultant membership value (Zadeh,
1996; Zadeh, 2002):
A  B(x)  min[A(x),B(x)]
A(x)  B(x)  max[ A(x),B(x)]</p>
        <p>In addition, we use the following formula for the α-cut
(Alpha cut), which is a crisp set that includes all the
members of the given fuzzy subset f whose values are not
less than α for 0&lt; α ≤ 1 (Zadeh, 1965):</p>
        <p>f  {x :  f (x)  }</p>
        <p>Alpha cuts and set operations are connected in the
following way:</p>
        <p>( A  B)  A  B , ( A  B)  A  B
These formulas enable us to find the result of a query
with a certain threshold (which is actually an Alpha cut) –
α, containing or or and operations. We first find the α-cuts
and then take the crisp or / and operation.</p>
        <p>If we analyze Table 1, it can be easily seen that the
higher the abstraction level is, the fuzzier is the
correspondence between linguistic labels(impressions) and
colors. This has primary importance when the
methodology is customized for a certain context.</p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>Color Space Fuzzication</title>
      <p>Based on perceptions, the colors can be modeled as fuzzy
sets in HSI color space. As already mentioned, colors will
be described by linguistic terms. Let's consider how the
fuzzy encoding can be done on each of the parameters of
HSI color space.</p>
      <p>Hue variable is specified by 8 linguistic labels,
specifying various hues. Such division was done based on
the subjective perception. In the future this can be done by
experts in specific domain. Anyway, this division was done
just for the purpose of demonstrating the fuzzy encoding
process, after a more thorough analysis fuzzy sets can be
tuned. The term set consists of 7 fuzzy sets - {"Red",
"Orange", "Yellow", "Green", "Cyan", "Blue", "Violet",
"Magenta"}. Hue values are cyclic and vary from 0 to 360.
So, we define the Hue for the domain X = [0, 360], and the
universal set is U = {0 ,1, 2, …..,359, 360}.</p>
      <p>Concerning the Saturation variable, it is represented by
3 fuzzy sets in our approach - {"Low", "Medium",
"High"}. Saturation values vary from 0 to 1, from dull to
intense, so the domain X = [0, 1], and the universal set is U
= {0, 0.01,…,0.99,1}.</p>
      <p>
        Finally, Intensity fuzzy variable is described by 5
linguistic terms, namely {"Dark", "Deep", "Medium",
"Pale", "Light"}. Intensity values lie in the range X=
[0;255], with the respective U = {0, 1, …, 254, 255}. For
the sake of simplicity, for all the fuzzy variables we
employed either triangular or trapezoidal membership
functions (Fig. 2), depending on the value range of a
certain color property associated with the specific label
        <xref ref-type="bibr" rid="ref3">(A.
Younes, et al., 2005)</xref>
        .. Particularly, for a wide range we
used trapezoidal membership functions, and triangular
ones for all the other fuzzy sets that are not wide.
      </p>
    </sec>
    <sec id="sec-6">
      <title>Dominant Color Identification</title>
      <p>One of the most important subtasks in our methodology is
identification of a dominant color(s) in the image. For that
purpose, we employ a color histogram. As we know, color
histograms reflect tonal distribution in digital images. They
can also be used to extract other various features of an
image for similarity measure, classification, etc. (N.
Sharma, et al., 2011; J. Han and K. Ma, 2002).</p>
      <p>For easy histogram purposes, we divide the colors into
bins (J. Han and K. Ma, 2002), each of which contains 3
fuzzy sets specifying certain fuzzy values of hue,
saturation and intensity. Since we have 8 sets for the hue, 3
for the saturation and 5 for the intensity, we obtain 120
color combinations (e.g. hue is red, saturation is medium,
intensity is deep). But we can reduce it to 86 combinations
taking into account the following general observations:
• if (Saturation is low) then (Hue is irrelevant)
• if (Intensity is light) then (Hue and Saturation are
irrelevant)</p>
      <p>As we know, the Saturation measures the degree of
mixing the hue with uniform white color. Therefore, low
saturation means that the color is a shade of gray.</p>
      <p>Furthermore, for each of the obtained combinations, we
calculate the number of pixels. This serves as a primary
data for building the linguistic color histogram and
identification of a dominant color(s). An illustration for
that is provided in Fig. 3.</p>
    </sec>
    <sec id="sec-7">
      <title>Application</title>
      <p>In order to enliven our methodology we developed apparel
coordination application, which is highly useful in
understanding the importance and practical application of
the approach. Knowing the colors that are perceived as
formal, for example, we can recommend formal apparels
based on a dominant color in the image. It is even possible
to recommend a whole “look”. So, the main idea of the
application is to retrieve best matching images with
relevant apparels corresponding to the complex query
posed by user based on color scheme.</p>
    </sec>
    <sec id="sec-8">
      <title>Context-dependent Color Impressions</title>
      <p>Visual effects of specific color and color combinations
cannot be underestimated. So, besides the atomic and
composite context-independent impressions (e.g. light
green, white and blue) the system provides the retrieval of
images corresponding to context-dependent color
impressions, that represent qualitative linguistic labels, e.g.
informal, elegant, etc.</p>
      <p>Now the represented set is limited, but it can be easily
extended in the future. Table 2 below presents some of
such atomic impressions and the corresponding colors
fitting to that impressions. This correspondence was
obtained by deep analysis of existing online shops with
tagged images, fashion blogs, and some other related
resources.</p>
      <p>The list can be further extended with impressions like
provocative, informal, etc. It is assumed that the proposed
system will provide the image retrieval functionality based
on the following queries:</p>
      <p>• Linguistic query, in which attributes are specified by
words, for example, Retrieve popular elegant dresses.</p>
      <p>• Exemplar query, which allows image input to a
system. This is for the case when user wishes to retrieve
apparels that fit to some other apparel (inputted image),
by taking into account color harmony principles, among
other, trivial ones. The relevance is ranked according to a
color harmony measure computed from the dominant
color(s) in the images.</p>
      <p>• Combinational query, which has properties of both
linguistic and exemplar queries. For instance, user aims to
find apparels of dark hues that are perfectly combined with
some other apparel in the uploaded image.</p>
      <p>Note that in case of exemplar or combinational query,
the given RGB image is first converted into HSI color
space. Furthermore, based on the histogram, we identify
the dominant color in the image and try to find apparels
that fit to it. The harmony between a query image and
database image is computed from the dominant color(s),
using the table of color harmonies selections. For now, our
prototype application provides the processing of just
linguistic queries.</p>
      <p>Now let‟s look at some use cases of the system. For the
initial testing, we used database containing 65 apparels,
mostly dresses. Note that the default retrieval threshold is
set to 0.5, but it can be tuned in the system.</p>
      <p>Impression</p>
      <sec id="sec-8-1">
        <title>Elegant</title>
      </sec>
      <sec id="sec-8-2">
        <title>Formal, Modest</title>
      </sec>
      <sec id="sec-8-3">
        <title>Casual</title>
      </sec>
      <sec id="sec-8-4">
        <title>Romantic</title>
      </sec>
      <sec id="sec-8-5">
        <title>Vintage</title>
      </sec>
      <sec id="sec-8-6">
        <title>Fresh</title>
      </sec>
      <sec id="sec-8-7">
        <title>Passion</title>
      </sec>
      <sec id="sec-8-8">
        <title>Example 1. Deep red or pale green dress.</title>
        <sec id="sec-8-8-1">
          <title>Number of apparel types – 2</title>
          <p>Number of dominant colors (apparel 1) – 1
Number of dominant colors (apparel 2) – 1
Color (apparel 1) – Color [Hue = red; Saturation = medium
or high; Intensity=deep]
Color (apparel 2) – Color [Hue = green; Saturation =
medium or high; Intensity=pale]</p>
        </sec>
      </sec>
      <sec id="sec-8-9">
        <title>Results:</title>
        <p>The main advantage of such systems is that they enable
retrieval of images based on their content and context, not
tags. As a result, there is no need in giving the tags or
keywords specifying the image, with the exception of
trivial ones (i.e. type of an apparel - dress, shirt, etc.). This
will free administrators from spending time on describing
the apparel.</p>
      </sec>
    </sec>
    <sec id="sec-9">
      <title>Conclusion</title>
      <p>In the present article, we propose a fuzzy sets and logic
guided novel technique for color processing. The proposed
approach produces results which are highly relevant to the
content of the linguistic query corresponding to a human
impression.</p>
      <p>In the prototype application we tried to provide the
correspondence between linguistic labels and user‟s
impression of a certain color or color combinations in a
specific context – fashion. But impressions can greatly
vary from context to context. Therefore, conducting
comparative evaluation of color perceptions considering
different environments (even countries!) of use is very
important (O. Penatti, et al., 2012). For example, red can
symbolize something exciting, sensual, romantic, feminine,
good luck, signal of danger, etc. In apparel coordination, it
can mean something provocative. The problem of strong
context dependency can be easily handled by fuzzy sets
and logic, e.g. by way of collecting the experts‟ opinions
and building the corresponding fuzzy sets. We plan to
address these issues in our future works.</p>
      <p>As we know, image processing rests upon analysis of
color pixels and shapes. However, we did not focus on
shape descriptors in our study, since almost all of them
depend on segmentation, which is still hard and extremely
application-dependent task.</p>
      <p>Finally, it needs to be highlighted that the proposed
methodology is suitable for a number of domains. Namely,
it is also possible to use it in real-time medical decision
support, interior design coordination, among others.
Penatti, O., Valle, E., Torres, R. Comparative study of global
color and texture descriptors for web image retrieval. J. Vis.
Commun. Image R. 23 (2012).</p>
      <p>Sharma, R., Rawat, P., Singh, J. Efficient CBIR using color
histogram processing. Signal Image Process. Int. J. (SIPIJ) 2 (1)
(2011).</p>
      <p>Sugano, N., Komatsuzaki, S., Ono, H., Chiba, Y. Fuzzy Set
Theoretical Analysis of Human Membership Values on the Color
. Triangle, Journal of Computers, VOL. 4, NO. 7, 2009.
Younes, A., Truck, A., Akdag, H. Color Image Proling Using
Fuzzy Sets. Turk J Elec Engin, VOL.13, NO.3 2005.</p>
      <p>Zadeh, L. From Computing with Numbers to Computing with
Words – from Manipulation of Measurements to Manipulation of
Perceptions. Int. J. Appl. Math. Comput. Sci., Vol. 12, No. 3,
307-324, 2002.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          <string-name>
            <surname>Hildebrand</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Reusch</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          <article-title>Fuzzy color processing</article-title>
          . In:
          <string-name>
            <surname>Book Kerre</surname>
            <given-names>E</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Nachtegael</surname>
            <given-names>M</given-names>
          </string-name>
          <article-title>(eds) Fuzzy techniques in image processing, studies in fuziness and soft computing</article-title>
          , vol
          <volume>52</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          <string-name>
            <surname>Physica-Verlag</surname>
          </string-name>
          ,Heidelberg,
          <year>2000</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          <string-name>
            <surname>Konstantinidis</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gasteratos</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Andreadis</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          <article-title>Image retrieval based on fuzzy color histogram processing</article-title>
          .
          <source>Optics Communications</source>
          <volume>248</volume>
          (
          <year>2005</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          <string-name>
            <surname>Li-jie</surname>
          </string-name>
          , Y.,
          <string-name>
            <surname>De-sheng</surname>
          </string-name>
          , L.,
          <string-name>
            <surname>Guan-ling</surname>
          </string-name>
          ,
          <source>Z. Automatic Image Segmentation Based on Human Color Perceptions. I.J. Image, Graphics and Signal Processing</source>
          ,
          <volume>1</volume>
          ,
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          <string-name>
            <surname>Lu</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chang</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          <article-title>Color image retrieval technique based on color features and image bitmap</article-title>
          .
          <source>Inf. Process. Manag</source>
          .
          <volume>43</volume>
          (
          <issue>2</issue>
          ) (
          <year>2007</year>
          ).
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>