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.
Conventional algorithms
Version 1.0 with a 256x256 image ... [Link]Version 2.0 with a 8x8 image ... [Link]
Version 2.1 with a 8x8 image and one loop ... [Link]
Version 3.0: the shortest script!! using Process > Math > Macro... [Link]
Another version...From a 2x2 unit cell [Link]
Exploring ImageJ functions
Using ImageJ array ... [Link]Using Stack tools ... [Link]
Using stripes and boolean operators ... [Link]
Using morphological dilation ... [Link]
JavaScript
Drawing a chessboard with JavaScript [Link]Object-Oriented Programming [Link]
Using Associative Arrays [Link]
No comments:
Post a Comment