<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 18/05/2013 14:57, spike wrote:<br>
</div>
<blockquote cite="mid:010d01ce53cf$9b68dec0$d23a9c40$@rainier66.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";
color:black;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";
color:black;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:Consolas;
color:black;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">>…</span>"Dominant
shirt colour must be present in tie pattern"<span
style="color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">It
doesn’t actually define the term dominant shirt.
Extrapolating from the definition of dominant term in a
polynomial, they mean your largest shirt. OK so I know what
color that one is, but I don’t wear it often because it
doesn’t fit well. I would think they would restrict their
interest to whatever shirt or shirts one is wearing at the
time, perhaps the outermost shirt, even if that one isn’t
actually the largest.</span></p>
</div>
</blockquote>
<br>
Hehe. Operationalizing "dominant shirt color" is also tricky: it
could be the color found on the largest area, but some patterns have
several similar colors that add together. And "be present" clearly
has a degree of fuzziness. Presumably one could handle this by doing
clustering in a suitable color-space for shirt and tie, select the
shirt color cluster with the most weight, and then ensure that the
overlap with one of the tie clusters is above some threshold. <br>
<br>
<blockquote cite="mid:010d01ce53cf$9b68dec0$d23a9c40$@rainier66.com"
type="cite">
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">>…</span>"Bonus/penalty
if tie is darker/lighter than shirt"<span
style="color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Excellent
suggestion. I never thought about it, but my bride
apparently has, for she is the one who buys my ties. I do
tend to grab one at random.</span></p>
</div>
</blockquote>
<br>
Note that "darker" is also a slightly tricky concept, since it is
based on human subjective perception. The way to automate this is to
use a spectrocolorimeter to measure tristimulus values and then
multiply by the human sensitivity function - blue light appears
darker than the same intensity of yellow light. Normal cameras
likely can do the same job with slightly less reliability. <br>
<br>
<br>
<blockquote cite="mid:010d01ce53cf$9b68dec0$d23a9c40$@rainier66.com"
type="cite">
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><br>
<span style="color:#1F497D">>…</span>"Correlation length of
shirt pattern should be dissimilar to correlation length of
tie pattern"<span style="color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">This
suggestion needs further explanation in terms of correlation
coefficient.s</span></p>
</div>
</blockquote>
<br>
You calculate the autocorrelation function (how much the pattern
correlates with itself when translated by a certain distance) and
then look for the characteristic length - either the decay constant
if the pattern is random, or the distance to the first peak for a
repeated pattern. This is a standard operation in signal processing
and computer vision, and can be done quickly in Fourier space. See
<a class="moz-txt-link-freetext" href="http://www.ijcte.org/show-46-593-1.html">http://www.ijcte.org/show-46-593-1.html</a> for an example of how to use
this on fabrics. <br>
<br>
<br>
<blockquote cite="mid:010d01ce53cf$9b68dec0$d23a9c40$@rainier66.com"
type="cite">
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><br>
<span style="color:#1F497D">>…</span>"Width of tie should
be within X% of shirt collar and jacket lapel" Anders Sandberg<span
style="color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">We
would need to define where to measure the width. I would
assume maximum width of all given parameters without further
information.</span></p>
</div>
</blockquote>
<br>
Yes, and during different periods ties have had different divergence
angles. Still, most of these measurements are very loose - 10%
errors are likely quite acceptable. It is not rocket science :-)<br>
<br>
<br>
<blockquote cite="mid:010d01ce53cf$9b68dec0$d23a9c40$@rainier66.com"
type="cite">
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Our
computers and phones have cameras in them now. It seems
like we should be able to stand in front of it and have it
use some set of criteria, then tell us ‘good to go’ or ‘lose
that revolting charteuse tie,’ etc. We could show it all
our clothing and let it make suggestions depending on the
occasion, which it knows too, since the occasion is written
in the calendar app. It would be Silicon Eye for the
Straight Guy.</span></p>
</div>
</blockquote>
<br>
Love that name. <br>
<br>
Given current research, it might not be entirely impossible to make.
Segmenting clothing from pictures seems very doable:
<a class="moz-txt-link-freetext" href="http://cs229.stanford.edu/proj2009/McDanielsWorsley.pdf">http://cs229.stanford.edu/proj2009/McDanielsWorsley.pdf</a><br>
<br>
And this paper suggests where to buy similar clothing as a person
wears in a photo:<br>
<a class="moz-txt-link-freetext" href="http://labs.yahoo.com/publication/getting-the-look-automatic-clothing-suggestions-for-everyday-photos/">http://labs.yahoo.com/publication/getting-the-look-automatic-clothing-suggestions-for-everyday-photos/</a>
( paper at <a class="moz-txt-link-freetext" href="http://tinyurl.com/d67mj5n">http://tinyurl.com/d67mj5n</a> ). If you use this system on a
collection of pictures certified to be of well-dressed people,
presumably it would suggest what to get.<br>
<br>
Ooh! Just found this paper: “Hi, Magic Closet, Tell Me What to
Wear!” <a class="moz-txt-link-freetext" href="http://www.lv-nus.org/papers/2012/magic_closet-MM12.pdf">http://www.lv-nus.org/papers/2012/magic_closet-MM12.pdf</a> <br>
Wow. It seems to do almost all you wish for. I especially like that
they use latent variable mining of example clothes: those formal
rules we started with are just the tip of the style iceberg, and
this way the system can in principle learn implicit and unwritten
rules, even rules no style guru has ever articulated.<br>
<br>
<br>
<br>
<pre class="moz-signature" cols="72">--
Anders Sandberg,
Future of Humanity Institute
Philosophy Faculty of Oxford University </pre>
</body>
</html>