Page history Edit this page How do I edit this website?
This page describes content relating to the ImageJ2 platform. Click the logo for details.

Groovy Scripting

Introduction

Groovy is an agile and dynamic language for the Java Virtual Machine. It builds upon the strengths of Java but has additional power features inspired by languages like Python, Ruby and Smalltalk.

Quickstart

  • Press [ to bring up the Script Editor.
  • Select an example Groovy script from the Templates[by language]Groovy menu.
  • Press ⌃ Ctrl + R to run the script!

Tips for groovy scripting in ImageJ

For an introduction in ImageJ scripting visit the page Scripting basics.

Introduction

The aim of this page is not to teach how to program in Groovy. This purpose is much better fullfiled by the Groovy Quick Start. The focus of this page is to show how to best use Groovy for scripting in ImageJ

Use an IDE for Groovy scripting

As Groovy builds upon Java, it can be use in a full fledged IDE with Fiji. If interested, follow this tutorial.