Saturday, September 24, 2011

Test image: sawtooth wave




After the square wave [see post], another test image whose plot profile corresponds to a sawtooth wave [Wikipedia].

Friday, September 23, 2011

Test image: square wave



To try new features of ImageJ or debug a macro/script, there is always a need of test images. Here is a simple script to create one of them...

Thursday, September 15, 2011

Fourier Series

Understanding the Fourier Transform is not trivial. Here is a simpler approach (only for periodic signals) from the same author termed the Fourier Series.
Joseph Fourier [Wikipedia] demonstrated that any periodic function could be decomposed in a series of sine and cosine functions.

Wednesday, September 14, 2011

Exploring an image file: dump

Understanding the architecture of an image file requires the use of a small utility program (in Unix world, 'od' is one of them) allowing to read byte per byte the contents of such a file. For this purpose, I developed a tiny image dump [Link] ...

Friday, September 9, 2011

Using arrays (part 2.1): Table window


The Results window [see post] is a 'must' in ImageJ for storing numbers like a spreadsheet and also contains tools to explore the data. A more generalized multicolumn window exists in ImageJ termed the Table window which is very useful specially if you need to play with strings and numbers.


Using arrays in script (part 2.0): Results window

If the Array and List data structures are too limited in one of your IJ script, there is an interesting alternative for storing a data collection: The Results which is a specific window (tool?) working like a very basic spreadsheet...

Friday, September 2, 2011

Learning ImageJ scripting language


T a b l e   o f   c o n t e n t s

Once you are familiar with the various tools and menus of ImageJ, it's time to move to the dark side of the force and to start using the programming features of IJ via its macro/script. That's really useful specially if you have repetitive tasks and/or if you need precise data exploration.
Don't worry, learning a programming language is not so complicated and ...May the Force be with you...

Drawing a chessboard v2.1

This version of my series Drawing a chessboard is a minor update of the version 2.0 and is only different because it contains one loop to scan the image.

Drawing a chessboard v2.0



Another version in my series Drawing a chessboard. This is a little bit simpler than the previous one...

My first ImageJ macro/script

Once you are familiar with the various tools and menus of ImageJ, it's time to move to the dark side of the force and to start using the programming features of IJ via its macro/script. That's really useful specially if you have repetitive tasks and/or if you need precise data exploration.
Don't worry, learning a programming language is not so complicated and ...May the Force be with you...