Showing posts with label chessboard. Show all posts
Showing posts with label chessboard. Show all posts

Monday, December 3, 2012

Drawing a Chessboard:Associative Arrays



The use of associative arrays in JavaScript allows to add some object-oriented capabilities in a classical procedural programming. Here is a small explanation through our classical Drawing a Chessboard example.

Tuesday, November 27, 2012

Drawing a Chessboard: Object-Oriented flavor



JavaScript is really interesting because it has some Object-Oriented capabilities. Here is a small explanation through our classical Drawing a Chessboard example.

Monday, November 19, 2012

Drawing a chessboard in JavaScript


Programming with ImageJ is really easy with the built-in macro language. However, for some more sophisticated scripts, it is - sometimes - interesting to access low-level functions only available in the ImageJ programming interface (I mean only available for Java programmers). For fast prototyping, a good alternative is the use of the JavaScript language.

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.

Wednesday, February 8, 2012

Drawing a chessboard from morphological dilation



A special Drawing a chessboard using morphological dilation to try different structuring elements and observe their influence on the starting dots (acting as seeds).


Thursday, November 10, 2011

Drawing a chessboard from a 2x2 unit cell



In my series Drawing a chessboard, a simple way to build the 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

Drawing a chessboard using ImageJ array



My chessboard series continues with a new script based on arrays and how we can use them in ImageJ.


Friday, September 2, 2011

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...

Tuesday, August 23, 2011

Drawing a chessboard v3.0



The ImageJ scripting language is really powerful. Here is an application in my series Drawing a chessboard...

Drawing a chessboard with IJ script

Drawing a chessboard is a good exercise because you need all the basic tools of programming language: loops and conditional statement.