Showing posts with label ECMAScript. Show all posts
Showing posts with label ECMAScript. Show all posts
Tuesday, January 2, 2018
Functions in ECMAScript
Functions have a central role in JavaScript (ECMAScript 2015+),this is important to know how to use them...
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.
Labels:
ECMAScript,
ImageJ,
javascript,
programming
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...
Friday, November 25, 2011
Numbers: binary, decimal, hexadecimal
Numbers used by computers and by extension by programming languages can be represented in different radix (base). Usually, the decimal notation is the most convenient - specially for human beings - but in certain circumstances, it's better to use the binary or hexadecimal notations.
Labels:
ECMAScript,
image,
ImageJ,
javascript,
script
Subscribe to:
Comments (Atom)


