<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel> 

	<title>Comments on: analysing an image</title>
	<link>http://ask.metafilter.com/126558/analysing-an-image/</link>
	<description>Comments on Ask MetaFilter post analysing an image</description>
	<pubDate>Sun, 05 Jul 2009 02:36:55 -0800</pubDate>
	<lastBuildDate>Sun, 05 Jul 2009 02:36:55 -0800</lastBuildDate>
	<language>en-us</language>
	<docs>http://blogs.law.harvard.edu/tech/rss</docs>
	<ttl>60</ttl>

	<item>
		<title>Question: analysing an image</title>
		<link>http://ask.metafilter.com/126558/analysing-an-image</link>	
		<description>I want to write a piece of software which analyses an image, 
and then replicates the image using a minimum of bezier path objects of varying of colour and opacity.  any tips? &lt;br /&gt;&lt;br /&gt; I want to write a piece of software (for my own use, not as a commercial product) which analyses an image, &lt;br&gt;
and then replicates the image using a minimum of bezier path objects of varying of colour and opacity.&lt;br&gt;
&lt;br&gt;
Key to what I want to achieve is that the reproduction and the original should have a similar appearance as judged by a person, but does not need to be a faithful replica of a photograph.&lt;br&gt;
&lt;br&gt;
so relative brightness, hue, saturation, size and position are much more important than being photographically identical.&lt;br&gt;
&lt;br&gt;
As an example, if the original image shows a red balloon in the top left corner, and the reproduction has something that looks like a red balloon in the top left corner then I will have achieved my goal, even if the balloon in the reproduction is not quite in the same position and not quite the same size or colour. &lt;br&gt;
&lt;br&gt;
I am however suffering a little from the &quot;when you have a hammer everything looks like a nail&quot; syndrome. I am imagining i could implement this using a genetic algorithm with something like this &lt;a href=&quot;http://grail.cs.washington.edu/projects/query/&quot;&gt;comparison of wavelet transforms&lt;/a&gt; to select fit solutions. &lt;br&gt;
(I think I&apos;ve seen a project like this before, anyone know what it was?)&lt;br&gt;
&lt;br&gt;
But my main reason for choosing these techniques is that I know about them. I suspect that there are probably more elegant solutions using techniques I don&apos;t now anything about.&lt;br&gt;
&lt;br&gt;
It would be especially interesting to take into account the ways the human vision system analyses what it sees,&lt;br&gt;
so perhaps special attention needs to be paid to straight lines, and angles, high contrast borders and large blocks of similar colours.&lt;br&gt;
&lt;br&gt;
however unlike human vision (and machine vision attempts) i am not attempting to analyse the meaning of an image, I don&apos;t need to know what an image is of, i am only interested in it&apos;s appearance.&lt;br&gt;
&lt;br&gt;
Do you have any suggestions for things I should read?&lt;br&gt;
Articles on vision, algorithms, similar projects or existing code and libraries that I could use?&lt;br&gt;
&lt;br&gt;
thank you&lt;br&gt;
&lt;br&gt;
mat</description>
		<guid isPermaLink="false">post:ask.metafilter.com,2009:site.126558</guid>
		<pubDate>Sun, 05 Jul 2009 02:16:16 -0800</pubDate>
		<dc:creator>compound eye</dc:creator>
		
			<category>imageanalysis</category>
		
	</item> <item>
		<title>By: idiopath</title>
		<link>http://ask.metafilter.com/126558/analysing-an-image#1807900</link>	
		<description>Two things worth looking at that I know about would be the bitmap-&amp;gt;vector conversion in the open source inkscape program, and a recent image &lt;a href=&quot;http://shreevatsa.wordpress.com/2009/05/31/extreme-image-compression-the-twitter-challenge/&quot;&gt;micro-compression contest&lt;/a&gt;, the goal of which was to compress a full image into the size of a single tweet. What those folks did with the compressed images in tweets blew my mind.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2009:site.126558-1807900</guid>
		<pubDate>Sun, 05 Jul 2009 02:36:55 -0800</pubDate>
		<dc:creator>idiopath</dc:creator>
	</item><item>
		<title>By: XMLicious</title>
		<link>http://ask.metafilter.com/126558/analysing-an-image#1807929</link>	
		<description>It sounds like you&apos;re talking about &lt;a href=&quot;http://en.wikipedia.org/wiki/Comparison_of_raster_to_vector_conversion_software&quot;&gt;tracing / vectorization&lt;/a&gt;.  Inkscape I believe calls a tool called &lt;a href=&quot;http://en.wikipedia.org/wiki/Potrace&quot;&gt;Potrace&lt;/a&gt;.  The free version of Potrace works well but only does black and white.  There&apos;s another free tool called &lt;a href=&quot;http://autotrace.sourceforge.net/&quot;&gt;Autotrace&lt;/a&gt; that does color and can produce good results but requires some finesse (you usually need to enlarge your image and color-quantize it ahead of time with something like &lt;a href=&quot;http://en.wikipedia.org/wiki/ImageMagick&quot;&gt;ImageMagick&lt;/a&gt;) because it&apos;s pretty much only half-finished.  And there are wide array of commercial tools that do this, the nicest one I&apos;ve used being &lt;a href=&quot;http://vectormagic.com/&quot;&gt;VectorMagic&lt;/a&gt;.&lt;br&gt;
&lt;br&gt;
If it&apos;s just that you&apos;re gung-ho to take on a software project something I&apos;ve thought of but haven&apos;t come across yet is a similar tool that does everything with translucent gradients, though I would think a substantial amount of work has been done with programs that do dithering.  ImageMagick does simple dithering and GIMPressionist which is part of &lt;a href=&quot;http://en.wikipedia.org/wiki/GIMP&quot;&gt;GIMP&lt;/a&gt; is pretty interesting though they both produce raster graphics... come to think of it, just a tool that does dithering but outputs a vector graphic would be interesting.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2009:site.126558-1807929</guid>
		<pubDate>Sun, 05 Jul 2009 05:00:34 -0800</pubDate>
		<dc:creator>XMLicious</dc:creator>
	</item><item>
		<title>By: cCranium</title>
		<link>http://ask.metafilter.com/126558/analysing-an-image#1807930</link>	
		<description>&lt;a href=&quot;http://rogeralsing.com/2008/12/07/genetic-programming-evolution-of-mona-lisa/&quot;&gt;Genetic Programming: Evolution of Mona Lisa&lt;/a&gt; is an interesting analysis of a project to try reproducing the Mona Lisa using only 50 transparent polygons. It talks about a lot of things that seem relevant to what you&apos;re attempting and may be a useful starting point.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2009:site.126558-1807930</guid>
		<pubDate>Sun, 05 Jul 2009 05:01:45 -0800</pubDate>
		<dc:creator>cCranium</dc:creator>
	</item><item>
		<title>By: dws</title>
		<link>http://ask.metafilter.com/126558/analysing-an-image#1808201</link>	
		<description>I also ask this on &lt;a href=&quot;http://www.stackoverflow.com/&quot;&gt;StackOverflow.com&lt;/a&gt;.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2009:site.126558-1808201</guid>
		<pubDate>Sun, 05 Jul 2009 12:09:47 -0800</pubDate>
		<dc:creator>dws</dc:creator>
	</item><item>
		<title>By: dws</title>
		<link>http://ask.metafilter.com/126558/analysing-an-image#1808205</link>	
		<description>I _would_ also ask ...&lt;br&gt;
&lt;br&gt;
Because the hardcore programmer density there is particularly high.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2009:site.126558-1808205</guid>
		<pubDate>Sun, 05 Jul 2009 12:12:43 -0800</pubDate>
		<dc:creator>dws</dc:creator>
	</item>
	</channel>
</rss>
