<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Commentaires sur : Plugin ImageJ minimal en Clojure: inverser une image</title>
	<atom:link href="http://pixel-shaker.fr/fr/2010/01/plugin-imagej-minimal-en-clojure-inverser-une-image/feed/" rel="self" type="application/rss+xml" />
	<link>http://pixel-shaker.fr/fr/2010/01/plugin-imagej-minimal-en-clojure-inverser-une-image/</link>
	<description>Blog d'opinions et de réflexions sur le traitement d'images et autres sujets plus ou moins connexes (par Frédéric Morain-Nicolier)</description>
	<lastBuildDate>Wed, 07 Mar 2012 16:25:59 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
	<item>
		<title>Par : hamza</title>
		<link>http://pixel-shaker.fr/fr/2010/01/plugin-imagej-minimal-en-clojure-inverser-une-image/comment-page-1/#comment-1457</link>
		<dc:creator>hamza</dc:creator>
		<pubDate>Sun, 28 Mar 2010 17:15:20 +0000</pubDate>
		<guid isPermaLink="false">http://pixel-shaker.fr/fr/?p=1007#comment-1457</guid>
		<description>&lt;p&gt;Je veux apprendre à reconnaître des formes géométriques dans le
Image. Grâce à la technologie imageJ avec java et merci&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Je veux apprendre à reconnaître des formes géométriques dans le
Image. Grâce à la technologie imageJ avec java et merci</p>]]></content:encoded>
	</item>
	<item>
		<title>Par : fmn</title>
		<link>http://pixel-shaker.fr/fr/2010/01/plugin-imagej-minimal-en-clojure-inverser-une-image/comment-page-1/#comment-1039</link>
		<dc:creator>fmn</dc:creator>
		<pubDate>Fri, 15 Jan 2010 16:27:34 +0000</pubDate>
		<guid isPermaLink="false">http://pixel-shaker.fr/fr/?p=1007#comment-1039</guid>
		<description>&lt;p&gt;Thanks for the suggestion. The processing time with this version is 0.165s, ~10 million pixel/second, a good improvement. What is captivating with Clojure is that you can start with a version and granularly improve it.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks for the suggestion. The processing time with this version is 0.165s, ~10 million pixel/second, a good improvement. What is captivating with Clojure is that you can start with a version and granularly improve it.</p>]]></content:encoded>
	</item>
	<item>
		<title>Par : Godbe</title>
		<link>http://pixel-shaker.fr/fr/2010/01/plugin-imagej-minimal-en-clojure-inverser-une-image/comment-page-1/#comment-1038</link>
		<dc:creator>Godbe</dc:creator>
		<pubDate>Fri, 15 Jan 2010 16:21:51 +0000</pubDate>
		<guid isPermaLink="false">http://pixel-shaker.fr/fr/?p=1007#comment-1038</guid>
		<description>&lt;p&gt;You can also use the let tric so no reflection is used when calling putPixel&lt;/p&gt;

&lt;p&gt;&lt;pre&gt;
(ns invert_clj
  (:gen-class
   :implements [ij.plugin.filter.PlugInFilter]))&lt;/p&gt;

&lt;p&gt;(defn -setup [this arg im]
  ij.plugin.filter.PlugInFilter/DOES_8G)&lt;/p&gt;

&lt;p&gt;(defn -run [this #^ij.process.ImageProcessor ip]
  (let [w (.getWidth ip)
        h (.getHeight ip)]
    (doseq [u (range w)
            v (range h)]
     (let [u1 (int u) v1 (int v)]
       (.putPixel ip u1 v1 (int (- 255 (.getPixel ip u1 v1))))))))&lt;/p&gt;

&lt;p&gt;&lt;/pre&gt;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>You can also use the let tric so no reflection is used when calling putPixel</p>

<p><pre>
(ns invert_clj
  (:gen-class
   :implements [ij.plugin.filter.PlugInFilter]))</pre></p>

<p>(defn -setup [this arg im]
  ij.plugin.filter.PlugInFilter/DOES_8G)</p>

<p>(defn -run [this #^ij.process.ImageProcessor ip]
  (let [w (.getWidth ip)
        h (.getHeight ip)]
    (doseq [u (range w)
            v (range h)]
     (let [u1 (int u) v1 (int v)]
       (.putPixel ip u1 v1 (int (- 255 (.getPixel ip u1 v1))))))))</p>

<p></p>]]></content:encoded>
	</item>
</channel>
</rss>

