<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>visual-perception on S Anand</title>
    <link>https://www.s-anand.net/blog/tag/visual-perception/</link>
    <description>Recent content in visual-perception on S Anand</description>
    <generator>Hugo -- 0.164.0</generator>
    <language>en-us</language>
    <lastBuildDate>Mon, 27 Aug 2012 14:04:23 +0000</lastBuildDate>
    <atom:link href="https://www.s-anand.net/blog/tag/visual-perception/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Colour spaces</title>
      <link>https://www.s-anand.net/blog/colour-spaces/</link>
      <pubDate>Mon, 27 Aug 2012 14:04:23 +0000</pubDate>
      <guid>https://www.s-anand.net/blog/colour-spaces/</guid>
      <description>&lt;p&gt;In reality, a colour is a combination of light waves with frequencies between 400-700THz, just like sound is a combination of sound waves with frequencies from 20-20000Hz. Just like mixing various pure notes produces a new sound, mixing various pure colours (like from a rainbow) produces new colours (like white, which isn’t on the rainbow.)&lt;/p&gt;
&lt;p&gt;Our eyes aren’t like our ears, though. They have 3 sensors that are triggered differently by different frequencies. The sensors roughly peak around red, green and blue. Roughly.&lt;/p&gt;
&lt;p&gt;&lt;img loading=&#34;lazy&#34; src=&#34;http://upload.wikimedia.org/wikipedia/commons/thumb/1/1e/Cones_SMJ2_E.svg/300px-Cones_SMJ2_E.svg.png&#34;&gt;&lt;/p&gt;
&lt;p&gt;It turns out that it’s possible to recreate &lt;strong&gt;most&lt;/strong&gt; (not all) colours using a combination of just red, green and blue by mimicking these three sensors to the right level. That’s why TVs and monitors have red, blue and green cells, and we represent colours using &lt;a href=&#34;http://en.wikipedia.org/wiki/Web_colors#Hex_triplet&#34;&gt;hex triplets&lt;/a&gt; for RRGGBB – like #00ff00 (green).&lt;/p&gt;
&lt;p&gt;There are a number of problems with this from a computational perspective. Conceptually, we think of (R, G, B) as a 3-dimensional cube. That’d mean that 100% red is about as bright as 100% green or blue. Unfortunately, green is a lot brighter than red, which is a lot brighter than blue. Our 3 sensors are not equally sensitive.&lt;/p&gt;
&lt;p&gt;You’d also think that a colour that’s numerically mid-way between 2 colours should &lt;strong&gt;appear&lt;/strong&gt; to be mid-way. Far from it.&lt;/p&gt;
&lt;p&gt;This means that if you’re picking colours using the RGB model, you’re using something very far from the intuitive human way of perceiving colours.&lt;/p&gt;
&lt;p&gt;Which is all very nice, but I’m usually in a rush. So what do I do?&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;I go to the Microsoft Office &lt;a href=&#34;http://office.microsoft.com/en-us/infopath-help/apply-a-color-scheme-HP001230316.aspx?CTT=1&#34;&gt;colour themes&lt;/a&gt; and use a colour picker to pick one. (I &lt;a href=&#34;https://github.com/sanand0/less/blob/master/color_themes.less&#34;&gt;extracted them&lt;/a&gt; to make life easier.) These are generally good on the eye.&lt;/li&gt;
&lt;li&gt;Failing that, I pick something from &lt;a href=&#34;http://kuler.adobe.com/&#34;&gt;http://kuler.adobe.com/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Or I go to &lt;a href=&#34;http://colorbrewer2.org/&#34;&gt;http://colorbrewer2.org/&lt;/a&gt; and pick a set of colours&lt;/li&gt;
&lt;li&gt;If I absolutely have to do things programmatically, I use the &lt;a href=&#34;http://tristen.ca/hcl-picker/&#34;&gt;HCL&lt;/a&gt; &lt;a href=&#34;http://vis4.net/blog/posts/avoid-equidistant-hsv-colors/&#34;&gt;colour scheme&lt;/a&gt;. The good part is it’s perceptually uniform. The bad part is: not every interpolation is a valid colour.&lt;/li&gt;
&lt;/ol&gt;
&lt;hr&gt;
&lt;h2 id=&#34;comments&#34;&gt;Comments&lt;/h2&gt;
&lt;!-- wp-comments-start --&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href=&#34;http://isomorphismes.tumblr.com&#34;&gt;isomorphismes&lt;/a&gt;&lt;/strong&gt; &lt;em&gt;13 Mar 2013 5:20 pm&lt;/em&gt;:
What colours can&amp;rsquo;t be created by convex combinations of {R, G, B}? I mean within the visible spectrum.&lt;/li&gt;
&lt;/ul&gt;
&lt;!-- wp-comments-end --&gt;
</description>
    </item>
    <item>
      <title>Change blindness</title>
      <link>https://www.s-anand.net/blog/change-blindness/</link>
      <pubDate>Tue, 02 Jan 2007 12:00:00 +0000</pubDate>
      <guid>https://www.s-anand.net/blog/change-blindness/</guid>
      <description>&lt;p&gt;A &lt;a href=&#34;http://scienceblogs.com/mixingmemory/2006/12/coolest_experiment_ever.php&#34;&gt;cool psychology experiment&lt;/a&gt;. A student asks someone for directions. People carrying a door pass between them. Students switch. They check if the person giving directions has noticed that it&amp;rsquo;s a different person. Many people don&amp;rsquo;t notice the switch.&lt;/p&gt;
</description>
    </item>
    <item>
      <title>Now your tongue can see</title>
      <link>https://www.s-anand.net/blog/now-your-tongue-can-see/</link>
      <pubDate>Sat, 06 May 2006 12:00:00 +0000</pubDate>
      <guid>https://www.s-anand.net/blog/now-your-tongue-can-see/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;http://www.msnbc.msn.com/id/12459883/&#34;&gt;Now your tongue can see&lt;/a&gt;. &lt;a href=&#34;http://www.collisiondetection.net/mt/archives/2006/05/i_blogged_a_whi_1.html&#34;&gt;Clive Thomson suggests&lt;/a&gt; that this could be a good interface for video games too.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id=&#34;comments&#34;&gt;Comments&lt;/h2&gt;
&lt;!-- wp-comments-start --&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;rajkumarc&lt;/strong&gt; &lt;em&gt;6 May 2006 12:00 pm&lt;/em&gt;:
10/10&lt;/li&gt;
&lt;/ul&gt;
&lt;!-- wp-comments-end --&gt;
</description>
    </item>
    <item>
      <title>How to tie a bandage</title>
      <link>https://www.s-anand.net/blog/how-to-tie-a-bandage/</link>
      <pubDate>Sun, 23 Apr 2006 12:00:00 +0000</pubDate>
      <guid>https://www.s-anand.net/blog/how-to-tie-a-bandage/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;http://youtube.com/watch?v=FhklMGA01Gg&#34;&gt;How to tie a bandage&lt;/a&gt; without it falling off. It&amp;rsquo;s in Japanese, but the video is pretty clear.&lt;/p&gt;
</description>
    </item>
    <item>
      <title>Neuroscience for kids</title>
      <link>https://www.s-anand.net/blog/neuroscience-for-kids/</link>
      <pubDate>Fri, 27 Sep 2002 12:00:00 +0000</pubDate>
      <guid>https://www.s-anand.net/blog/neuroscience-for-kids/</guid>
      <description>&lt;p&gt;I found this site on &lt;a href=&#34;http://faculty.washington.edu/chudler/neurok.html&#34;&gt;neuroscience (for kids)&lt;/a&gt;. Nice. Has lots of brain games (no &amp;ndash; not smart ones &amp;ndash; more like testing your reaction time, etc.) Actually I was reading up on neuroscience because of this article on &lt;a href=&#34;http://www.nature.com/nsu/020923/020923-8.html&#34;&gt;how neuroscience helped figure out the meaning behind a Zen garden&lt;/a&gt;. &lt;a href=&#34;http://missingmatter.net/article.pl?sid=02/09/27/0225233&#34;&gt;via missing matter&lt;/a&gt;&lt;/p&gt;
</description>
    </item>
    <item>
      <title>Do not look at the needle</title>
      <link>https://www.s-anand.net/blog/do-not-look-at-the-needle/</link>
      <pubDate>Wed, 11 Sep 2002 12:00:00 +0000</pubDate>
      <guid>https://www.s-anand.net/blog/do-not-look-at-the-needle/</guid>
      <description>&lt;p&gt;I always knew it. If you&amp;rsquo;re taking an injection, &lt;a href=&#34;http://www.newscientist.com/news/news.jsp?id=ns99992772&#34;&gt;don&amp;rsquo;t look at the needle&lt;/a&gt;.&lt;/p&gt;
</description>
    </item>
    <item>
      <title>Pretty faces help you think better</title>
      <link>https://www.s-anand.net/blog/pretty-faces-help-you-think-better/</link>
      <pubDate>Mon, 12 Nov 2001 12:00:00 +0000</pubDate>
      <guid>https://www.s-anand.net/blog/pretty-faces-help-you-think-better/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;http://www.sciencenetlinks.com/sci_update.cfm?DocID=299&#34;&gt;Pretty faces help you think better&lt;/a&gt;.&lt;/p&gt;
</description>
    </item>
    <item>
      <title>Super vision</title>
      <link>https://www.s-anand.net/blog/super-vision/</link>
      <pubDate>Sun, 25 Feb 2001 12:00:00 +0000</pubDate>
      <guid>https://www.s-anand.net/blog/super-vision/</guid>
      <description>&lt;p&gt;It&amp;rsquo;s possible to have better than 20/20 vision: &lt;a href=&#34;http://www.popsci.com/exclusive/mar2001/super_vision.html&#34;&gt;SuperVision&lt;/a&gt;. Apparantly, even &lt;a href=&#34;http://www.opt.indiana.edu/dtmiller/SVision.html&#34;&gt;20/2.5&lt;/a&gt; is possible.&lt;/p&gt;
</description>
    </item>
  </channel>
</rss>
