[cliquer ici pour la version en français] I show in this post how to write an ImageJ plugin with Clojure. This example is taken from Digital Image Processing: An Algorithmic Introduction Using Java: an image inversion (page 32). The goal is to invert all the pixels of a 8-bit grayscale image, turning an image into [...]
Pixel shaker
Blog on image processing and analysis (by Frédéric Morain-Nicolier)
Tag Archives: clojure
Clojure functions with meta-data. Image representation #3
[cliquer ici pour la version en français] Previously on Pixel Shaker : an image is a bounded function that can be coded as a Java-class. This Java-class involves a lots codelines, even in Clojure. Today is an exploration of this concept in a more idiomatic way. A bounded function is a function with an additional [...]
Image representation (Clojure and Java) #2
[cliquer ici pour la version en français] Last time was given an image representation as a bounded function (see this post). This java class was completely written in Clojure. This representation is the equivament of an image from a mathematical view. It is not very efficient. Usually an image is stored as a 2-d array. [...]