Skip to main content
. 2017 Nov 29;18:529. doi: 10.1186/s12859-017-1934-z

Fig. 5.

Fig. 5

Comparison of pure ImageJ 1.x command with one using SciJava declarative syntax. Panel a (left) shows an ImageJ 1.x implementation of a plugin that copies slice labels from one image to another, as chosen by the user. Panel b (right) shows the same plugin written using the SciJava declarative command syntax. Changed lines are highlighted in blue, new lines in green. The actual operation (the copyLabels method) is identical, but the routine for selecting which images to process is no longer necessary