Friday, October 27, 2017

Loops



Repeating tasks in a script is the most important part when programming. This process is done using a specific statement: the loop. In JavaScript, you can use while, for (..), for (.. in ..), for (.. of ..).

Wednesday, October 25, 2017

Conditionals



Using conditionals in a script is a way to execute different parts of a code depending of the result of a condition. What is a condition, the operators (comparison and logical)?

Tuesday, October 24, 2017

Read/Write Pixels in a RGB image



Thanks to the methods of the class ImageProcessor [see Post], it is possible to read and write pixels in an image.


Read and Write Pixels in Grayscale Images



Thanks to the methods of the class ImageProcessor [see Post], it is possible to read and write pixels in an image.


Monday, October 23, 2017

Template Strings in ES6



With the new version of JavaScript (ECMAScript 2015+), new String functionalities — very convenient for ImageJ scripts — are available. Take a tour about these new features.


Friday, October 20, 2017

Variables in ECMAScript



With the new version of JavaScript (ECMAScript 2015+), the variables are now defined by three distinct keywords: var, let, and const. Why? That's what we'll see in this post.


Thursday, October 19, 2017

ImageJ and ECMAScript 6


With the last update of ImageJ 1.51r, it is possible to use Java 9 and its new JavaScript engine Nashorn with ECMAScript 6 functionalities.... and that's a great news!! See how to do that...


Wednesday, August 2, 2017

Analyze: Analyze Particles




In the menu Analyze, the Analyze Particles... is the headquarters of all the various measurements you can do. Here is a brief explanation of the main features of this dialog window.

Friday, February 10, 2017

Video: TOC



Section dedicated to Video - a stack of images in function of time - and some tricks and tips.




Vidéos: How to load large videos?




When working with videos, it is difficult to process large files because of the memory limits in ImageJ. Here are few tips to try to circumvent this limitation.
 

Thursday, February 9, 2017

Import Image Series




After converting your video in a series of image with ffmpeg [Link], the second step is to import them in ImageJ thanks to the command File > Import > Image Sequence...