Package sc.fiji.snt
Class DelineationsManager
java.lang.Object
sc.fiji.snt.DelineationsManager
Implements the Delineation Analysis pane.
- Author:
- Tiago Ferreira
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected JPanelgetPanel()static booleanhasDelineationLabels(Collection<Tree> trees) Checks if the given trees have any delineation labels.static booleanhasDelineationLabels(Tree tree) Checks if the given tree has any delineation labels.intload(List<ij.gui.Roi> delineationROIs) voidreset()Deletes all delineations.
-
Constructor Details
-
DelineationsManager
-
-
Method Details
-
getPanel
-
reset
public void reset()Deletes all delineations. -
getDelineationROIs
-
load
- Parameters:
delineationROIs-- Returns:
- the number of ROIs successfully imported (i.e., associated with at least one path)
-
hasDelineationLabels
Checks if the given trees have any delineation labels.- Parameters:
trees- the collection of trees to be inspected- Returns:
- true if any of the trees has delineation labels, false otherwise
-
hasDelineationLabels
Checks if the given tree has any delineation labels.- Parameters:
tree- the collection of paths to be inspected- Returns:
- true if the tree has delineation labels, false otherwise
-