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.