Package sc.fiji.snt

Class DelineationsManager

java.lang.Object
sc.fiji.snt.DelineationsManager

public class DelineationsManager extends Object
Implements the Delineation Analysis pane.
Author:
Tiago Ferreira
  • Constructor Details

    • DelineationsManager

      public DelineationsManager(SNTUI sntui)
  • Method Details

    • getPanel

      protected JPanel getPanel()
    • reset

      public void reset()
      Deletes all delineations.
    • getDelineationROIs

      public List<ij.gui.Roi> getDelineationROIs()
    • load

      public int load(List<ij.gui.Roi> delineationROIs)
      Parameters:
      delineationROIs -
      Returns:
      the number of ROIs successfully imported (i.e., associated with at least one path)
    • hasDelineationLabels

      public static boolean hasDelineationLabels(Collection<Tree> trees)
      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

      public static boolean hasDelineationLabels(Tree tree)
      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