Skip to content, Skip to search


TrakEM2 Scripting

1 byte removed, 21:34, 29 October 2009
Introduction to scripting TrakEM2
*The canvas into which images are dragged and visualized is part of a [ Display] object. The latter has methods to access its [ Selection], as well as the [ Layer] and [ LayerSet] that the Display is viewing.
*The Layer contains 2D objects like [ Patch] (each Patch wraps an image) and [ DLabel] (floating text).
*The LayerSet contains 3D objects like [ AreaList], [ Pipe], [ Polyline], [ Ball], [ Dissector], [ Treeline] and [ Stack] (the latter wraps an ij.ImagePlus that contains an ij.ImageStack).
More convenient are the methods <i>scale</i>, <i>translate</i>, <i>rotate</i> and particularly <i>preTransform</i>, for the manipulation of a [ Displayable]'s affine transform (see [ AffineTransform]) and that of its linked Displayables (any transform propagates to the linked ones).
= See also =
Emailconfirmed, uploaders