=== Stopping a segmentation in progress ===
* Command '''Plugins>LimeSeg>Stop optimization'''
= Advanced usage=
== LimeSeg architecture ==
== Graphical user interface ==
The command Plugins>LimeSeg> Show GUI displays LimeSeg GUI. This graphical interface allows to do almost almost everything in LimeSeg, however its structure needs to understand a bit more the core structure of LimeSeg. Each tab provided on the left of LimeSeg correspond to specific actions that will be detailed below, but before the structure of LimeSeg will be developed.
LimeSeg mainly consists of:
* A "State"
2. A current frame, (LimeSeg.currentFrame)
3. A current channel, (LimeSeg.currentChannel)
Groovy Scripting ==
== 3D Viewer ==
So far LimeSeg provides its own 3D vizualizer. In LimeSeg GUI, several options are available for the 3D Viewer. The 3D view can be moved with arrows, rotated with mouse dragging, and zoomed/unzoomed with the mouse wheel.
* Image synchronization
First of all, the 3D viewer is synchronized with a selected ImageJ image. This image is automatically set by the user selection during a command launch. However, it can also be set with LimeSeg GUI (Plugins>LimeSeg >Show GUI ). To select this image, go to the STATE tab, then choose the proper image by clicking on img, then click on "setWorkingImage" button (do not forget this, otherwise the image selection has no effect).
The synchronization occurs since the current slice is highlighted (downlighted...) in the 3D view in synchronization with the selected slice in the 2D view. Also change frame will change the 3D object displayed in case of a multiframe image.
== 3D objects handling in LimeSeg ==
Each time a command is performed which is generating objects, these objects are stored within a global array variable (LimeSeg.allCells). Manipulation of these objects with LimeSeg commands is very basic (they can all be erased with clear all command, or the last created objects can be erased with the cancel last optimization command).
== Groovy scripting : advanced usage ==