Showing posts with label macro. Show all posts
Showing posts with label macro. Show all posts
Wednesday, September 12, 2012
Learning IJ scripting language: Part II
IJ Scripting Language - Part II: Table of Contents
In this series of posts, more programming techniques of the ImageJ scripting macro language are detailed...
Wednesday, May 23, 2012
Drawing a chessboard using Stack Tools
A really non optimized way for Drawing a Chessboard but a good opportunity to explore the functions available in Image > Stacks, specially those located in the submenu Stacks > Tools.
Saturday, December 24, 2011
Friday, December 23, 2011
Drawing arrows in IJ script
Drawing arrows in a ImageJ macro/script is sometimes useful to display direction of a feature (oriented lines of interest, gradient,etc.) but this simple drawing isn't so straightforward...
Tuesday, December 6, 2011
Using images as arrays in script
In my previous posts Using arrays in script... [TOC], we have seen in Part 1 how to store data in arrays using the built-in function newArray(...) and in Part 2, the use of Table windows (Results [Link] or any Table window [Link]). Here I'll describe how data storage can be done via images and how this technique is powerful for large arrays.
Monday, December 5, 2011
Fade-in, Fade-out, Dissolve video effects
When working on videos (stacks in ImageJ), it is always interesting to make transitions between video clips to finalize a small movie .... and that's possible with ImageJ.
Friday, December 2, 2011
The sieve of Eratosthenes
Finding prime numbers is a good exercise to improve your skills in the programming scripting language of ImageJ. Moreover, that's a good opportunity to use a 2D image as a temporary array.
Thursday, November 10, 2011
Drawing a chessboard from a 2x2 unit cell
Thursday, October 27, 2011
Drawing a chessboard using boolean operators
A small use of boolean operators to draw my favorite chessboard and also a good example to use other functions like geometrical transforms.
Monday, October 24, 2011
Drawing a chessboard: Table of Contents
Through several examples, this series Drawing a chessboard - a simple and graphical object - is a very good opportunity to explore the built-in functions of the scripting language and the various operations and tools available in the ImageJ menus.
Saturday, October 8, 2011
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...
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
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.
Labels:
chessboard,
ImageJ,
macro,
script
Drawing a chessboard v2.0
Another version in my series Drawing a chessboard. This is a little bit simpler than the previous one...
Labels:
chessboard,
ImageJ,
macro,
script
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...
Don't worry, learning a programming language is not so complicated and ...May the Force be with you...
Tuesday, August 23, 2011
ImageJ script: the loop
One of the main purposes of a ImageJ macro/script is to perform repetitive tasks. In programming languages (and in IJ script), this can be done by using a specific iterative mechanism: the loop.
Subscribe to:
Posts (Atom)





